docs consolidation work
This commit is contained in:
20
docs/modules/notify/schemas/webhook.schema.json
Normal file
20
docs/modules/notify/schemas/webhook.schema.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://stella-ops.org/notify/schemas/webhook.schema.json",
|
||||
"title": "Notify Webhook Payload",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "tenant_id", "delivery_id", "signature", "body"],
|
||||
"properties": {
|
||||
"schema_version": { "type": "string", "pattern": "^v[0-9]+\\.[0-9]+$" },
|
||||
"tenant_id": { "type": "string", "minLength": 1 },
|
||||
"delivery_id": { "type": "string", "pattern": "^[0-9a-fA-F-]{18,36}$" },
|
||||
"signature": { "type": "string" },
|
||||
"hmac_id": { "type": "string" },
|
||||
"body": { "type": "object" },
|
||||
"sent_at": { "type": "string", "format": "date-time" },
|
||||
"nonce": { "type": "string" },
|
||||
"audience": { "type": "string" },
|
||||
"expires_at": { "type": "string", "format": "date-time" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user