This website requires JavaScript.
Explore
ben
ben/packages
Help
Sign In
matrix
/
matrix-doc
mirror of
https://github.com/matrix-org/matrix-doc.git
Watch
1
Star
0
Fork
You've already forked matrix-doc
0
Code
Issues
Projects
Releases
Wiki
Activity
d6f2b8f2a2
Branches
Tags
No results found.
matrix-doc
/
event-schemas
/
examples
/
core
/
room_edu.json
5 lines
79 B
JSON
Raw
Normal View
History
Unescape
Escape
Fix client-server event schemas: remove `age`, dedupe fields This commit adds support for event schema examples to have references to help reduce the chance of fields being forgotten. This also helps reduce duplication of fields, allowing for a more consistent spec that uses the same values everywhere. This also removes both `unsigned` and `age` from the examples as per: * https://github.com/matrix-org/matrix-doc/issues/1524 * https://github.com/matrix-org/matrix-doc/issues/630 Finally, this replaces "localhost" in the examples with an example domain. This is really just a nitpick thing on my part where seeing a "real world" domain is preferred. Fixes https://github.com/matrix-org/matrix-doc/issues/1524 Fixes https://github.com/matrix-org/matrix-doc/issues/630 Step towards https://github.com/matrix-org/matrix-doc/issues/1530
2018-08-24 23:59:48 +00:00
{
"$ref"
:
"event.json"
,
Use example.org on examples instead of domain.com which is a real domain Signed-off-by: Konstantinos Sideris <sideris.konstantin@gmail.com>
2018-09-02 14:58:21 +00:00
"room_id"
:
"!jEsUZKDJdhlrceRyVU:example.org"
Fix client-server event schemas: remove `age`, dedupe fields This commit adds support for event schema examples to have references to help reduce the chance of fields being forgotten. This also helps reduce duplication of fields, allowing for a more consistent spec that uses the same values everywhere. This also removes both `unsigned` and `age` from the examples as per: * https://github.com/matrix-org/matrix-doc/issues/1524 * https://github.com/matrix-org/matrix-doc/issues/630 Finally, this replaces "localhost" in the examples with an example domain. This is really just a nitpick thing on my part where seeing a "real world" domain is preferred. Fixes https://github.com/matrix-org/matrix-doc/issues/1524 Fixes https://github.com/matrix-org/matrix-doc/issues/630 Step towards https://github.com/matrix-org/matrix-doc/issues/1530
2018-08-24 23:59:48 +00:00
}