{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.com/hft71/schemas/webhook-request.schema.json",
  "title": "HFT71 Webhook Request",
  "description": "Payload accepted by POST /wp-json/hft71/v1/order-status.",
  "type": "object",
  "required": [
    "external_id",
    "status"
  ],
  "properties": {
    "external_id": {
      "type": "string",
      "minLength": 1
    },
    "status": {
      "type": "string",
      "minLength": 1
    },
    "webhook_secret": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

