docs consolidation work
This commit is contained in:
20
docs/modules/notify/schemas/channel.schema.json
Normal file
20
docs/modules/notify/schemas/channel.schema.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://stella-ops.org/notify/schemas/channel.schema.json",
|
||||
"title": "Notify Channel Configuration",
|
||||
"type": "object",
|
||||
"required": ["schema_version", "tenant_id", "channel_id", "kind", "config"],
|
||||
"properties": {
|
||||
"schema_version": { "type": "string", "pattern": "^v[0-9]+\\.[0-9]+$" },
|
||||
"tenant_id": { "type": "string", "minLength": 1 },
|
||||
"channel_id": { "type": "string", "pattern": "^[A-Z0-9_-]{4,64}$" },
|
||||
"kind": { "type": "string", "enum": ["email", "slack", "teams", "webhook", "sms"] },
|
||||
"config": { "type": "object" },
|
||||
"secrets_ref": { "type": "object", "additionalProperties": { "type": "string" } },
|
||||
"rate_limit": { "type": "object" },
|
||||
"enabled": { "type": "boolean", "default": true },
|
||||
"created_at": { "type": "string", "format": "date-time" },
|
||||
"updated_at": { "type": "string", "format": "date-time" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user