{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WebhookRegistrationDetails",
  "title": "WebhookRegistrationDetails",
  "additionalProperties": false,
  "description": "Details of webhooks to register.",
  "properties": {
    "url": {
      "description": "The URL that specifies where to send the webhooks. This URL must use the same base URL as the Connect app. Only a single URL per app is allowed to be registered.",
      "type": "string"
    },
    "webhooks": {
      "description": "A list of webhooks.",
      "items": {
        "$ref": "#/components/schemas/WebhookDetails"
      },
      "type": "array"
    }
  },
  "required": [
    "url",
    "webhooks"
  ],
  "type": "object"
}