{
  "$schema": "https://webhooks.json/spec/v1",
  "version": "1.0.0",
  "publisher": "ThaiNotary",
  "description": "Outbound webhook events for agent integrations. Subscribe via contact@thainotary.co.th.",
  "delivery": {
    "transport": "https",
    "method": "POST",
    "contentType": "application/json",
    "signatureHeader": "X-ThaiNotary-Signature",
    "signatureAlgorithm": "HMAC-SHA256",
    "retries": 5,
    "backoff": "exponential"
  },
  "events": [
    {
      "name": "appointment.created",
      "description": "Notary/translation appointment created",
      "payloadSchema": "https://xn--82czbx2bczd4fl8a.online/webhooks/schemas/appointment-created.json"
    },
    {
      "name": "appointment.confirmed",
      "description": "Appointment confirmed by staff",
      "payloadSchema": "https://xn--82czbx2bczd4fl8a.online/webhooks/schemas/appointment-confirmed.json"
    },
    {
      "name": "appointment.completed",
      "description": "Service completed, document ready",
      "payloadSchema": "https://xn--82czbx2bczd4fl8a.online/webhooks/schemas/appointment-completed.json"
    },
    {
      "name": "document.ready",
      "description": "Document ready for pickup or shipping",
      "payloadSchema": "https://xn--82czbx2bczd4fl8a.online/webhooks/schemas/document-ready.json"
    },
    {
      "name": "shipment.dispatched",
      "description": "Document shipped (EMS/DHL tracking)",
      "payloadSchema": "https://xn--82czbx2bczd4fl8a.online/webhooks/schemas/shipment-dispatched.json"
    },
    {
      "name": "quote.issued",
      "description": "Price quote issued for translation/notary",
      "payloadSchema": "https://xn--82czbx2bczd4fl8a.online/webhooks/schemas/quote-issued.json"
    },
    {
      "name": "pricing.updated",
      "description": "Pricing feed updated",
      "payloadSchema": "https://xn--82czbx2bczd4fl8a.online/webhooks/schemas/pricing-updated.json"
    }
  ]
}