{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/animgen-com/json-schema/animgen-com-resource-out-schema.json",
  "title": "ResourceOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/animgen-com-resources-api-openapi.yml#/components/schemas/ResourceOut",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "resourceType": {
      "type": "string",
      "enum": [
        "asset",
        "upload"
      ],
      "title": "Resourcetype"
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "displayName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Displayname"
    },
    "sourceType": {
      "type": "string",
      "title": "Sourcetype"
    },
    "mimeType": {
      "type": "string",
      "title": "Mimetype"
    },
    "downloadPath": {
      "type": "string",
      "title": "Downloadpath"
    },
    "thumbnailPath": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thumbnailpath"
    },
    "byteSize": {
      "type": "integer",
      "title": "Bytesize",
      "default": 0
    },
    "workspaceId": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Workspaceid"
    },
    "jobId": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jobid"
    },
    "jobType": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jobtype"
    },
    "jobStatus": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Jobstatus"
    },
    "createdAt": {
      "type": "string",
      "title": "Createdat"
    },
    "meta": {
      "additionalProperties": true,
      "type": "object",
      "title": "Meta"
    }
  },
  "type": "object",
  "required": [
    "id",
    "resourceType",
    "kind",
    "sourceType",
    "mimeType",
    "downloadPath",
    "createdAt"
  ]
}