{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.auraui.cc/examples/a2ui-ticket/catalog.json",
  "catalogId": "https://www.auraui.cc/examples/a2ui-ticket/catalog.json",
  "protocolVersion": "1.0",
  "instructions": "Use TicketCard to show the details of a proposed ticket. Bind its status and confirmation state to the data model.",
  "components": {
    "TicketCard": {
      "type": "object",
      "properties": {
        "component": { "const": "TicketCard" },
        "ticketId": { "$ref": "common_types.json#/$defs/DynamicString" },
        "title": { "$ref": "common_types.json#/$defs/DynamicString" },
        "description": { "$ref": "common_types.json#/$defs/DynamicString" },
        "status": { "$ref": "common_types.json#/$defs/DynamicString" },
        "confirmed": { "$ref": "common_types.json#/$defs/DynamicBoolean" },
        "action": { "$ref": "common_types.json#/$defs/Action" }
      },
      "required": ["component", "ticketId", "title", "description", "status", "confirmed", "action"]
    }
  },
  "$defs": {
    "anyComponent": { "oneOf": [{ "$ref": "#/components/TicketCard" }] },
    "anyFunction": { "not": {} }
  }
}
