mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-28 19:48:37 +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.
19 lines
401 B
Plaintext
19 lines
401 B
Plaintext
{
|
|
"$ref": "core/room_event.json",
|
|
"type": "m.room.message",
|
|
"content": {
|
|
"body": "Big Ben, London, UK",
|
|
"geo_uri": "geo:51.5008,0.1247",
|
|
"info": {
|
|
"thumbnail_url": "mxc://example.org/FHyPlCeYUSFFxlgbQYZmoEoe",
|
|
"thumbnail_info": {
|
|
"mimetype": "image/jpeg",
|
|
"size": 46144,
|
|
"w": 300,
|
|
"h": 300
|
|
}
|
|
},
|
|
"msgtype": "m.location"
|
|
}
|
|
}
|