{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-api-connect/json-schema/ibm-api-connect-subscriber-event-list-schema.json",
  "title": "SubscriberEventList",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-api-connect-webhooks-api-openapi.yml#/components/schemas/SubscriberEventList",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "total_results": {
      "type": "integer"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubscriberEvent"
      }
    }
  },
  "$defs": {
    "SubscriberEvent": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "readOnly": true,
          "enum": [
            "subscriber_event"
          ]
        },
        "api_version": {
          "type": "string",
          "readOnly": true,
          "enum": [
            "2.0.0"
          ]
        },
        "id": {
          "type": "string",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "maxLength": 255
        },
        "title": {
          "type": "string",
          "maxLength": 1023
        },
        "summary": {
          "type": "string",
          "maxLength": 65535
        },
        "scope": {
          "type": "string"
        },
        "event": {
          "type": "string"
        },
        "filter": {
          "type": "string"
        },
        "event_type": {
          "type": "string",
          "enum": [
            "create",
            "update",
            "delete"
          ]
        },
        "payload_sent": {
          "type": "string"
        },
        "payload": {
          "type": "object"
        },
        "generated_at": {
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "queued",
            "sent",
            "failed"
          ]
        },
        "retries": {
          "type": "integer",
          "minimum": 0,
          "maximum": 2147483647
        },
        "request_id": {
          "type": "string"
        },
        "ids_in_payload": {
          "type": "array",
          "readOnly": true,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "resourceUrl": {
                "type": "string",
                "format": "uri-reference"
              },
              "resourceType": {
                "type": "string"
              }
            }
          }
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "readOnly": true
        },
        "url": {
          "type": "string",
          "readOnly": true,
          "format": "uri"
        }
      }
    }
  }
}