{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wowreveal-com/json-schema/wowreveal-com-upload-schema.json",
  "title": "Upload",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wowreveal-com-openapi.json#/components/schemas/Upload",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "kind": {
      "enum": [
        "video",
        "audio",
        "image"
      ]
    },
    "name": {
      "type": "string"
    },
    "sizeBytes": {
      "type": "integer"
    },
    "durationSec": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "width": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "height": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "kind",
    "name",
    "sizeBytes",
    "durationSec",
    "width",
    "height",
    "createdAt"
  ]
}