{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/videogen-io/json-schema/videogen-io-add-entity-reference-request-schema.json",
  "title": "AddEntityReferenceRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/videogen-io-entities-api-openapi.yml#/components/schemas/AddEntityReferenceRequest",
  "type": "object",
  "required": [
    "fileId"
  ],
  "properties": {
    "fileId": {
      "type": "string",
      "description": "The file id (e.g. `vg_file_...`) of an image to attach as a reference."
    },
    "description": {
      "type": "string",
      "description": "Optional description of the reference."
    },
    "isDefault": {
      "type": "boolean",
      "default": false,
      "description": "When true, make this the entity's primary reference (used for its thumbnail)."
    }
  }
}