Shorten references to StrippedState in s2s spec

pull/2067/head
Travis Ralston 5 years ago
parent b9c4a2561f
commit 237d585e07

@ -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": {

@ -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": {

Loading…
Cancel
Save