{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/animgen-com/json-schema/animgen-com-video-import-job-create-schema.json",
  "title": "VideoImportJobCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/animgen-com-jobs-api-openapi.yml#/components/schemas/VideoImportJobCreate",
  "properties": {
    "type": {
      "type": "string",
      "const": "video_import",
      "title": "Type"
    },
    "workspaceId": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Workspaceid"
    },
    "sourceUploadId": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sourceuploadid"
    },
    "sourceVideo": {
      "anyOf": [
        {
          "$ref": "#/$defs/MediaSourceInput"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "type"
  ],
  "$defs": {
    "MediaSourceInput": {
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "upload",
            "asset"
          ],
          "title": "Type"
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        }
      },
      "type": "object",
      "required": [
        "type",
        "id"
      ],
      "title": "MediaSourceInput"
    }
  }
}