continuwuity/docs/public/schema/announcements.schema.json
coolGi af1b4de231
Some checks are pending
Documentation / Build and Deploy Documentation (pull_request) Blocked by required conditions
Checks / Prek / Pre-commit & Formatting (pull_request) Blocked by required conditions
Checks / Prek / Clippy and Cargo Tests (pull_request) Blocked by required conditions
Documentation / Build and Deploy Documentation (push) Successful in 1m11s
Checks / Prek / Pre-commit & Formatting (push) Successful in 2m53s
Checks / Prek / Clippy and Cargo Tests (push) Successful in 8m23s
fix: Typo in the domain for the announcment schema
2026-03-22 21:34:55 +13:00

35 lines
842 B
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://continuwuity.org/schema/announcements.schema.json",
"type": "object",
"properties": {
"announcements": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"message": {
"type": "string"
},
"date": {
"type": "string"
},
"mention_room": {
"type": "boolean",
"description": "Whether to mention the room (@room) when posting this announcement"
}
},
"required": [
"id",
"message"
]
}
}
},
"required": [
"announcements"
]
}