{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theagentc-io/json-schema/theagentc-io-gallery-asset-read-schema.json",
  "title": "GalleryAssetRead",
  "description": "A finished asset enriched with its batch kind + owning app, for the\nper-app and recent-work galleries. ``storage_path`` is carried only so\n``storage.refresh_urls`` can re-sign ``url`` in place — it's never serialized.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theagentc-io-openapi.json#/components/schemas/GalleryAssetRead",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "batch_id": {
      "type": "string",
      "format": "uuid",
      "title": "Batch Id"
    },
    "app_listing_id": {
      "type": "string",
      "format": "uuid",
      "title": "App Listing Id"
    },
    "app_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "App Name"
    },
    "batch_kind": {
      "type": "string",
      "title": "Batch Kind"
    },
    "concept_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Concept Id"
    },
    "format_key": {
      "type": "string",
      "title": "Format Key"
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Url"
    },
    "poster_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Poster Url"
    },
    "thumb_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thumb Url"
    },
    "width": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Width"
    },
    "height": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Height"
    },
    "duration_s": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Duration S"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "batch_id",
    "app_listing_id",
    "batch_kind",
    "format_key",
    "kind",
    "status",
    "created_at"
  ]
}