Uploadcare · Schema

Uploadcare Contentinfo

Information about file content.

File UploadFile ManagementCDNImage TransformationDocument ConversionVideo EncodingMalware ScanningStorageWebhooks

Properties

Name Type Description
mime object MIME type.
image object
video object
View JSON Schema on GitHub

JSON Schema

uploadcare-contentinfo.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://uploadcare.com/schemas/contentInfo",
  "title": "Uploadcare Contentinfo",
  "description": "Information about file content.",
  "type": "object",
  "nullable": true,
  "properties": {
    "mime": {
      "type": "object",
      "description": "MIME type.",
      "required": [
        "mime",
        "type",
        "subtype"
      ],
      "properties": {
        "mime": {
          "type": "string",
          "description": "Full MIME type.",
          "example": "image/jpeg"
        },
        "type": {
          "type": "string",
          "description": "Type of MIME type.",
          "example": "image"
        },
        "subtype": {
          "type": "string",
          "description": "Subtype of MIME type.",
          "example": "jpeg"
        }
      }
    },
    "image": {
      "$ref": "#/components/schemas/imageInfo"
    },
    "video": {
      "$ref": "#/components/schemas/videoInfo"
    }
  }
}