Shorten references to StrippedState in s2s spec

This commit is contained in:
Travis Ralston 2019-06-02 17:59:19 -06:00
parent b9c4a2561f
commit 237d585e07
2 changed files with 6 additions and 6 deletions

View file

@ -82,9 +82,9 @@ paths:
identify the room. The recommended events to include are the join rules, identify the room. The recommended events to include are the join rules,
canonical alias, avatar, and name of the room. canonical alias, avatar, and name of the room.
items: items:
$ref: "../client-server/definitions/event-schemas/schema/stripped_state.yaml" $ref: "../../event-schemas/schema/stripped_state.yaml"
example: example:
$ref: "../client-server/definitions/event-schemas/examples/stripped_state.json" $ref: "../../event-schemas/examples/stripped_state.json"
example: { example: {
"$ref": "examples/minimal_pdu.json", "$ref": "examples/minimal_pdu.json",
"type": "m.room.member", "type": "m.room.member",
@ -135,7 +135,7 @@ paths:
"sender": "@someone:example.org", "sender": "@someone:example.org",
"unsigned": { "unsigned": {
"invite_room_state": { "invite_room_state": {
"$ref": "../../client-server/definitions/event-schemas/examples/stripped_state.json" "$ref": "../../../event-schemas/examples/stripped_state.json"
} }
}, },
"content": { "content": {

View file

@ -83,9 +83,9 @@ paths:
identify the room. The recommended events to include are the join rules, identify the room. The recommended events to include are the join rules,
canonical alias, avatar, and name of the room. canonical alias, avatar, and name of the room.
items: items:
$ref: "../client-server/definitions/event-schemas/schema/stripped_state.yaml" $ref: "../../event-schemas/schema/stripped_state.yaml"
example: example:
$ref: "../client-server/definitions/event-schemas/examples/stripped_state.json" $ref: "../../event-schemas/examples/stripped_state.json"
required: ['room_version', 'event'] required: ['room_version', 'event']
example: { example: {
"room_version": "2", "room_version": "2",
@ -131,7 +131,7 @@ paths:
"sender": "@someone:example.org", "sender": "@someone:example.org",
"unsigned": { "unsigned": {
"invite_room_state": { "invite_room_state": {
"$ref": "../../client-server/definitions/event-schemas/examples/stripped_state.json" "$ref": "../../../event-schemas/examples/stripped_state.json"
} }
}, },
"content": { "content": {