# 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.
14 lines
308 B
Text
14 lines
308 B
Text
{
|
|
"$ref": "core/room_event.json",
|
|
"type": "m.room.message",
|
|
"content": {
|
|
"body": "Bee Gees - Stayin' Alive",
|
|
"url": "mxc://example.org/ffed755USFFxlgbQYZGtryd",
|
|
"info": {
|
|
"duration": 2140786,
|
|
"size": 1563685,
|
|
"mimetype": "audio/mpeg"
|
|
},
|
|
"msgtype": "m.audio"
|
|
}
|
|
}
|