{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-handler-view-event-response-schema.json",
  "title": "handler.viewEventResponse",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-live-event-ticketing-v1-openapi.yml#/components/schemas/handler.viewEventResponse",
  "properties": {
    "created_at": {
      "type": "string"
    },
    "description": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "discount_label": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "downloadable_from": {
      "type": "string"
    },
    "end_at": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "is_active": {
      "type": "boolean"
    },
    "is_downloadable": {
      "type": "boolean"
    },
    "is_order_invoice_enabled": {
      "type": "boolean"
    },
    "is_personalization_enabled": {
      "type": "boolean"
    },
    "is_visible": {
      "type": "boolean"
    },
    "languages": {
      "items": {
        "$ref": "#/$defs/handler.eventLanguage"
      },
      "type": "array",
      "uniqueItems": false
    },
    "minutes_to_order": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "online_from": {
      "type": "string"
    },
    "online_till": {
      "type": "string"
    },
    "short_id": {
      "type": "string"
    },
    "start_at": {
      "type": "string"
    },
    "timezone": {
      "properties": {
        "country_code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    },
    "venue": {
      "$ref": "#/$defs/handler.eventVenue"
    }
  },
  "type": "object",
  "$defs": {
    "handler.eventLanguage": {
      "properties": {
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "handler.eventVenue": {
      "properties": {
        "address": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country_code": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zipcode": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}