push subscription leaks endpoint error
This example exists to prove the schema refuses something the specification forbids. Validator output at build time:
/deliveryStatus/lastErrormust be equal to one of the allowed values
{
"specVersion": "0.5",
"type": "push-subscription",
"subscriptionId": "sub_Vq8nR3kX0bT5wLz2Hc7Ym4Pd",
"status": "active",
"events": [
"intent.matches.delivered"
],
"refreshBefore": "2026-11-07T14:00:00Z",
"deliveryStatus": {
"active": false,
"lastError": "HTTP/1.1 403 Forbidden: internal admin panel, user root",
"failedSince": "2026-11-06T10:00:00Z"
}
}