{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-catalog-entry-input-schema.json",
  "title": "CatalogEntryInput",
  "description": "Input for creating or updating a catalog entry",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optimizely-catalog-entries-api-openapi.yml#/components/schemas/CatalogEntryInput",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Unique code for the catalog entry"
    },
    "name": {
      "type": "string",
      "description": "Display name of the entry"
    },
    "entry_type": {
      "type": "string",
      "description": "Type of catalog entry",
      "enum": [
        "Product",
        "Variation",
        "Package",
        "Bundle"
      ]
    },
    "is_active": {
      "type": "boolean",
      "description": "Whether the entry is active"
    },
    "properties": {
      "type": "object",
      "description": "Dynamic properties specific to the entry type",
      "additionalProperties": true
    }
  }
}