{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/backworkhealth-com/json-schema/backworkhealth-com-webhook-test-delivery-schema.json",
  "title": "WebhookTestDelivery",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/backworkhealth-com-webhooks-api-openapi.yml#/components/schemas/WebhookTestDelivery",
  "type": "object",
  "properties": {
    "delivery_id": {
      "type": "integer"
    },
    "endpoint_id": {
      "type": "integer"
    },
    "event": {
      "type": "string",
      "const": "test.ping"
    },
    "http_status": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Status the endpoint answered with; null when unreachable"
    },
    "success": {
      "type": "boolean",
      "description": "Whether the endpoint answered with a 2xx status"
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "delivery_id",
    "endpoint_id",
    "event",
    "http_status",
    "success",
    "error",
    "created_at"
  ]
}