{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentonair-com/json-schema/agentonair-com-webhook-test-response-schema.json",
  "title": "WebhookTestResponse",
  "description": "Response from testing a webhook.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentonair-com-webhooks-api-openapi.yml#/components/schemas/WebhookTestResponse",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success"
    },
    "status_code": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Status Code"
    },
    "response_time_ms": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Response Time Ms"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    },
    "delivery_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Delivery Id"
    },
    "payload_hash": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payload Hash",
      "description": "SHA-256 hash of the exact compact JSON test payload bytes sent to the receiver."
    },
    "delivery_logging_enabled": {
      "type": "boolean",
      "title": "Delivery Logging Enabled",
      "default": true
    },
    "delivery_logging_note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Delivery Logging Note"
    },
    "payload_stored_for_redelivery": {
      "type": "boolean",
      "title": "Payload Stored For Redelivery",
      "description": "True when exact compact JSON payload bytes were stored server-side so a failed delivery-history row can be manually replayed after the receiver is fixed.",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "success"
  ]
}