mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-26 10:58:38 +01:00
# is reserved by the swagger validator as a way to include partial content from a JSON object (eg: "#/path" would include {"test": true} from the object {"path":{"test":true}}). Instead of trying to convince the validator that it is wrong, we'll just use a different character.
Note that our rendering tools do not care about #-style references to objects. It's still somewhat worth changing the character though.
12 lines
340 B
Plaintext
12 lines
340 B
Plaintext
{
|
|
"$ref": "core/room_event.json",
|
|
"type": "m.room.message",
|
|
"content": {
|
|
"body": "Human-readable message to explain the notice",
|
|
"msgtype": "m.server_notice",
|
|
"server_notice_type": "m.server_notice.usage_limit_reached",
|
|
"admin_contact": "mailto:server.admin@example.org",
|
|
"limit_type": "monthly_active_user"
|
|
}
|
|
}
|