{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hmcts/main/json-schema/hmcts-event-type-response-schema.json",
  "title": "EventTypeResponse",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hmcts-crime-hearing-results-document-subscription-openapi.yml#/components/schemas/EventTypeResponse",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EventTypePayload"
      }
    }
  },
  "$defs": {
    "EventTypePayload": {
      "type": "object",
      "properties": {
        "eventName": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "category": {
          "type": "string"
        }
      }
    }
  }
}