Skip to content

StudioProjectImportDto

Endpoints · All schemas

FieldRequiredDescription
checksumYesSHA-256 of the bytes, hex
contentTypeYesContent type read from the bytes, not the name
createdAtYesWhen it was uploaded
externalReferencesYesExternal subresources an SVG or Lottie graphic names; a graphic with any cannot be rendered
fileNameYesThe name the file was uploaded with
idYesImport id; clips reference it as `importId`
kindYesSee definition below
sizeBytesYesSize in bytes

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

Field definitions: StudioProjectImportKind

{
  "properties": {
    "checksum": {
      "description": "SHA-256 of the bytes, hex",
      "type": "string"
    },
    "contentType": {
      "description": "Content type read from the bytes, not the name",
      "type": "string"
    },
    "createdAt": {
      "description": "When it was uploaded",
      "format": "date-time",
      "type": "string"
    },
    "externalReferences": {
      "description": "External subresources an SVG or Lottie graphic names; a graphic with any cannot be rendered",
      "maximum": 9007199254740991,
      "minimum": 0,
      "nullable": true,
      "type": "integer"
    },
    "fileName": {
      "description": "The name the file was uploaded with",
      "type": "string"
    },
    "id": {
      "description": "Import id; clips reference it as `importId`",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "type": "string"
    },
    "kind": {
      "$ref": "#/components/schemas/StudioProjectImportKind"
    },
    "sizeBytes": {
      "description": "Size in bytes",
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "checksum",
    "contentType",
    "createdAt",
    "externalReferences",
    "fileName",
    "id",
    "kind",
    "sizeBytes"
  ],
  "type": "object"
}