{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/animgen-com/json-schema/animgen-com-upload-create-response-schema.json",
  "title": "UploadCreateResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/animgen-com-uploads-api-openapi.yml#/components/schemas/UploadCreateResponse",
  "properties": {
    "uploadId": {
      "type": "string",
      "format": "uuid",
      "title": "Uploadid"
    },
    "mimeType": {
      "type": "string",
      "title": "Mimetype"
    },
    "previewDataUrl": {
      "type": "string",
      "title": "Previewdataurl"
    },
    "veo": {
      "$ref": "#/$defs/VeoPrepareOut"
    },
    "hasAlphaChannel": {
      "type": "boolean",
      "title": "Hasalphachannel",
      "default": false
    },
    "hasMeaningfulAlpha": {
      "type": "boolean",
      "title": "Hasmeaningfulalpha",
      "default": false
    },
    "alphaTransparentRatio": {
      "type": "number",
      "title": "Alphatransparentratio",
      "default": 0.0
    },
    "foregroundBounds": {
      "anyOf": [
        {
          "$ref": "#/$defs/ForegroundBoundsOut"
        },
        {
          "type": "null"
        }
      ]
    },
    "foregroundTouchesEdge": {
      "type": "boolean",
      "title": "Foregroundtouchesedge",
      "default": false
    },
    "recommendedKeyColor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Recommendedkeycolor"
    }
  },
  "type": "object",
  "required": [
    "uploadId",
    "mimeType",
    "previewDataUrl",
    "veo"
  ],
  "$defs": {
    "ForegroundBoundsOut": {
      "properties": {
        "x": {
          "type": "integer",
          "title": "X"
        },
        "y": {
          "type": "integer",
          "title": "Y"
        },
        "width": {
          "type": "integer",
          "title": "Width"
        },
        "height": {
          "type": "integer",
          "title": "Height"
        }
      },
      "type": "object",
      "required": [
        "x",
        "y",
        "width",
        "height"
      ],
      "title": "ForegroundBoundsOut"
    },
    "VeoImageInfoOut": {
      "properties": {
        "width": {
          "type": "integer",
          "title": "Width"
        },
        "height": {
          "type": "integer",
          "title": "Height"
        },
        "mode": {
          "type": "string",
          "title": "Mode"
        },
        "mimeType": {
          "type": "string",
          "title": "Mimetype"
        },
        "bytes": {
          "type": "integer",
          "title": "Bytes"
        }
      },
      "type": "object",
      "required": [
        "width",
        "height",
        "mode",
        "mimeType",
        "bytes"
      ],
      "title": "VeoImageInfoOut"
    },
    "VeoPrepareOut": {
      "properties": {
        "aspectRatio": {
          "type": "string",
          "enum": [
            "16:9",
            "9:16"
          ],
          "title": "Aspectratio"
        },
        "transforms": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Transforms"
        },
        "original": {
          "$ref": "#/$defs/VeoImageInfoOut"
        },
        "prepared": {
          "$ref": "#/$defs/VeoImageInfoOut"
        }
      },
      "type": "object",
      "required": [
        "aspectRatio",
        "original",
        "prepared"
      ],
      "title": "VeoPrepareOut"
    }
  }
}