mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-18 03:53:43 +01:00
As a side effect, I got rid of all of the horrible symlinks and just put in all of the proper relative paths. Because the horrible symlinks were horrible.
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
{
|
|
"type": "object",
|
|
"title": "LocationMessage",
|
|
"description": "This message represents a real-world location.",
|
|
"allOf": [{
|
|
"$ref": "core-event-schema/room_event.json"
|
|
}],
|
|
"properties": {
|
|
"content": {
|
|
"type": "object",
|
|
"properties": {
|
|
"msgtype": {
|
|
"type": "string",
|
|
"enum": ["m.location"]
|
|
},
|
|
"body": {
|
|
"type": "string",
|
|
"description": "A description of the location e.g. 'Big Ben, London, UK', or some kind of content description for accessibility e.g. 'location attachment'."
|
|
},
|
|
"geo_uri": {
|
|
"type": "string",
|
|
"description": "A geo URI representing this location."
|
|
},
|
|
"thumbnail_url": {
|
|
"type": "string",
|
|
"description": "The URL to a thumbnail of the location being represented."
|
|
},
|
|
"thumbnail_info": {
|
|
"type": "object",
|
|
"title": "ImageInfo",
|
|
"allOf": [{
|
|
"$ref": "core-event-schema/msgtype_infos/image_info.json"
|
|
}]
|
|
}
|
|
},
|
|
"required": ["msgtype", "body", "geo_uri"]
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["m.room.message"]
|
|
}
|
|
}
|
|
}
|