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
35 lines
842 B
JSON
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"
|
|
]
|
|
}
|