Azure DevOps · Schema

EventType

An event type that a publisher can produce

AgileCI/CDDevOpsProject ManagementVersion Control

Properties

Name Type Description
id string Unique identifier of the event type
name string Display name of the event type
description string Detailed description of when this event fires
publisherId string ID of the publisher that produces this event
supportedResourceVersions array Supported versions of the event resource schema
fields object Fields available in the event payload
View JSON Schema on GitHub

JSON Schema

microsoft-azure-devops-eventtype-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventType",
  "title": "EventType",
  "type": "object",
  "description": "An event type that a publisher can produce",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the event type",
      "example": "workitem.created"
    },
    "name": {
      "type": "string",
      "description": "Display name of the event type",
      "example": "Work item created"
    },
    "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"
          }
        }
      }
    }
  }
}