{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/paypal/json-schema/paypal-event-type-list-schema.json",
  "title": "Event Type List",
  "description": "A list of webhook events.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/paypal-webhooks-api-openapi.yml#/components/schemas/EventTypeList",
  "type": "object",
  "properties": {
    "event_types": {
      "$ref": "#/$defs/event_type_list"
    }
  },
  "$defs": {
    "event_type": {
      "type": "object",
      "title": "Event Type",
      "description": "An event type.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The unique event name.<blockquote><strong>Note:</strong> To subscribe to all events, including events as they are added, specify an `*` as the value to represent a wildcard.</blockquote>",
          "readOnly": false
        },
        "description": {
          "type": "string",
          "description": "A human-readable description of the event.",
          "readOnly": true
        },
        "status": {
          "type": "string",
          "description": "The status of a webhook event.",
          "readOnly": true
        },
        "resource_versions": {
          "$ref": "#/$defs/resource_versions_list"
        }
      },
      "required": [
        "name"
      ]
    },
    "event_type_list": {
      "type": "array",
      "description": "An array of webhook events.",
      "items": {
        "$ref": "#/$defs/event_type"
      }
    },
    "resource_versions": {
      "type": "string",
      "description": "The ID for an event type. For example, `1.0` or `2.0`."
    },
    "resource_versions_list": {
      "type": "array",
      "description": "Identifier for the event type example: 1.0/2.0 etc.",
      "readOnly": true,
      "items": {
        "$ref": "#/$defs/resource_versions"
      }
    }
  }
}