Document overlay alert settings contract
API checks / checks (push) Canceled after 0s
API dependency and security checks / audit (push) Canceled after 0s

This commit is contained in:
2026-10-25 06:18:40 +01:00
parent 99a1e3e07d
commit 67378bd193
2 changed files with 9 additions and 3 deletions
+5 -2
View File
@@ -4,13 +4,16 @@
"title": "Trixie public overlay",
"type": "object",
"additionalProperties": false,
"required": ["slug", "html", "css", "javascript", "enabled", "disabled_design"],
"required": ["slug", "html", "css", "javascript", "enabled", "disabled_design", "alert_group_window_ms", "alert_group_size", "alert_display_ms"],
"properties": {
"slug": { "type": "string", "pattern": "^[a-z0-9-]+$" },
"html": { "type": "string" },
"css": { "type": "string" },
"javascript": { "type": "string" },
"enabled": { "type": "boolean" },
"disabled_design": { "type": "string" }
"disabled_design": { "type": "string" },
"alert_group_window_ms": { "type": "integer", "minimum": 0, "maximum": 5000 },
"alert_group_size": { "type": "integer", "minimum": 1, "maximum": 20 },
"alert_display_ms": { "type": "integer", "minimum": 500, "maximum": 60000 }
}
}