{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/assembly-payments/main/json-schema/assembly-payments-webhooks-schema.json",
  "title": "Webhooks",
  "x-generated": "2026-10-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assembly-payments-webhooks-api-openapi.yml#/components/schemas/Webhooks",
  "type": "object",
  "properties": {
    "webhooks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Webhook"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        }
      }
    }
  },
  "$defs": {
    "Webhook": {
      "type": "object",
      "properties": {
        "uuid": {
          "type": "string",
          "format": "uuid"
        },
        "object_type": {
          "type": "string"
        },
        "http_method": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "enabled": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "links": {
          "$ref": "#/$defs/WebhookLinks"
        }
      }
    },
    "WebhookLinks": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string"
        },
        "webhooks": {
          "type": "string"
        }
      }
    }
  }
}