# 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.
27 lines
529 B
Text
27 lines
529 B
Text
{
|
|
"$ref": "m.room.member",
|
|
"content": {
|
|
"membership": "invite",
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF#auto",
|
|
"displayname": "Alice Margatroid"
|
|
},
|
|
"unsigned": {
|
|
"age": 1234,
|
|
"invite_room_state": [
|
|
{
|
|
"type": "m.room.name",
|
|
"state_key": "",
|
|
"content": {
|
|
"name": "Forest of Magic"
|
|
}
|
|
},
|
|
{
|
|
"type": "m.room.join_rules",
|
|
"state_key": "",
|
|
"content": {
|
|
"join_rule": "invite"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|