{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/proppely-com/json-schema/proppely-com-webhook-endpoint-schema.json",
  "title": "WebhookEndpoint",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/proppely-com-openapi.json#/components/schemas/WebhookEndpoint",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "eventTypes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "apiVersion": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "paused",
        "disabled"
      ]
    },
    "disabledReason": {
      "type": [
        "string",
        "null"
      ]
    },
    "disabledAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "failingSince": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "previousSecretValidUntil": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "While set, deliveries are signed with both the new and the previous secret."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}