{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amberai/json-schema/amberai-images-schema.json",
  "title": "Images",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amberai-images-api-openapi.yml#/components/schemas/Images",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
    },
    "filename": {
      "type": "string"
    },
    "fileSize": {
      "type": "number"
    },
    "mimeType": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "entityId": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
        },
        {
          "type": "null"
        }
      ]
    },
    "entityType": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "idx": {
      "type": "number"
    },
    "isThumbnail": {
      "type": "boolean"
    },
    "isInternal": {
      "type": "boolean"
    },
    "uploadedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "filename",
    "fileSize",
    "mimeType",
    "category",
    "entityId",
    "entityType",
    "description",
    "title",
    "idx",
    "isThumbnail",
    "isInternal",
    "uploadedAt",
    "createdAt",
    "updatedAt"
  ],
  "additionalProperties": false
}