Fix typos and missing file

This commit is contained in:
Richard van der Hoff 2015-11-16 00:17:22 +00:00
parent 29bd4d45ee
commit e1b12a753e
2 changed files with 16 additions and 4 deletions

View file

@ -0,0 +1,12 @@
{
"type": "object",
"additionalProperties": {
"type": "object",
"x-pattern": "$EVENT_TYPE",
"additionalProperties": {
"type": "object",
"x-pattern": "$STATE_KEY",
"allOf": [{"$ref": "event.json" }]
}
}
}

View file

@ -227,7 +227,7 @@ paths:
"content": {"membership": "join"}, "content": {"membership": "join"},
"prev_content": {"membership": "invite"}, "prev_content": {"membership": "invite"},
"origin_server_ts": 1417731086795, "origin_server_ts": 1417731086795,
"event_id": "$7365636s6r6432:example.com": "event_id": "$7365636s6r6432:example.com"
}, },
{ {
"sender": "@alice:example.com", "sender": "@alice:example.com",
@ -265,8 +265,7 @@ paths:
"type": "m.room.name", "type": "m.room.name",
"state_key": "", "state_key": "",
"content": {"name": "My Room Name"}, "content": {"name": "My Room Name"},
"event_id": "$asdkgjrsfg2314375:example.com", "event_id": "$asdkgjrsfg2314375:example.com"
} }
}, },
"m.room.member": { "m.room.member": {
@ -275,7 +274,8 @@ paths:
"type": "m.room.member", "type": "m.room.member",
"state_key": "@bob:example.com", "state_key": "@bob:example.com",
"content": {"membership": "invite"}, "content": {"membership": "invite"},
"event_id": "$257kasjdg315324akhg:example.com", "event_id": "$257kasjdg315324akhg:example.com"
}
} }
} }
} }