Document overlay alert settings contract
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user