{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-devops/json-schema/microsoft-azure-devops-event-type-schema.json",
  "title": "EventType",
  "description": "An event type that a publisher can produce",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-devops-publishers-api-openapi.yml#/components/schemas/EventType",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the event type"
    },
    "name": {
      "type": "string",
      "description": "Display name of the event type"
    },
    "description": {
      "type": "string",
      "description": "Detailed description of when this event fires"
    },
    "publisherId": {
      "type": "string",
      "description": "ID of the publisher that produces this event"
    },
    "supportedResourceVersions": {
      "type": "array",
      "description": "Supported versions of the event resource schema",
      "items": {
        "type": "string"
      }
    },
    "fields": {
      "type": "object",
      "description": "Fields available in the event payload",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "fieldType": {
            "type": "string"
          },
          "isFilterable": {
            "type": "boolean"
          },
          "isQueryable": {
            "type": "boolean"
          }
        }
      }
    }
  }
}