{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CatalogEntryInput",
  "title": "CatalogEntryInput",
  "type": "object",
  "description": "Input for creating or updating a catalog entry",
  "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
    }
  }
}