# 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.
20 lines
522 B
Text
20 lines
522 B
Text
{
|
|
"$ref": "m.room.member",
|
|
"content": {
|
|
"membership": "invite",
|
|
"avatar_url": "mxc://example.org/SEsfnsuifSDFSSEF#auto",
|
|
"displayname": "Alice Margatroid",
|
|
"third_party_invite": {
|
|
"display_name": "alice",
|
|
"signed": {
|
|
"mxid": "@alice:example.org",
|
|
"signatures": {
|
|
"magic.forest": {
|
|
"ed25519:3": "fQpGIW1Snz+pwLZu6sTy2aHy/DYWWTspTJRPyNp0PKkymfIsNffysMl6ObMMFdIJhk6g6pwlIqZ54rxo8SLmAg"
|
|
}
|
|
},
|
|
"token": "abc123"
|
|
}
|
|
}
|
|
}
|
|
}
|