From 774968b65d679ad3741d20bd737923d5d968ce65 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 3 May 2023 14:42:13 +0100 Subject: [PATCH] Remember how JSON works --- data/event-schemas/schema/m.call.answer.yaml | 3 ++- data/event-schemas/schema/m.call.candidates.yaml | 3 ++- data/event-schemas/schema/m.call.hangup.yaml | 3 ++- data/event-schemas/schema/m.call.invite.yaml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/data/event-schemas/schema/m.call.answer.yaml b/data/event-schemas/schema/m.call.answer.yaml index 08058aed..be978387 100644 --- a/data/event-schemas/schema/m.call.answer.yaml +++ b/data/event-schemas/schema/m.call.answer.yaml @@ -34,7 +34,8 @@ "description": "The version of the VoIP specification this message adheres to. This specification is version 1. This field is a string such that experimental implementations can use non-integer versions. This field was an integer in the previous spec version and implementations must accept an integer 0" }, "party_id": { - "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " + "type": "string", + "description": "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " } }, "required": ["call_id", "answer", "version"] diff --git a/data/event-schemas/schema/m.call.candidates.yaml b/data/event-schemas/schema/m.call.candidates.yaml index 1ae83fca..dc328b95 100644 --- a/data/event-schemas/schema/m.call.candidates.yaml +++ b/data/event-schemas/schema/m.call.candidates.yaml @@ -36,7 +36,8 @@ } }, "party_id": { - "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " + "type": "string", + "description": "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " }, "version": { "type": "integer", diff --git a/data/event-schemas/schema/m.call.hangup.yaml b/data/event-schemas/schema/m.call.hangup.yaml index 7342f133..da871d36 100644 --- a/data/event-schemas/schema/m.call.hangup.yaml +++ b/data/event-schemas/schema/m.call.hangup.yaml @@ -17,7 +17,8 @@ "description": "The version of the VoIP specification this message adheres to. This specification is version 1. This field is a string such that experimental implementations can use non-integer versions. This field was an integer in the previous spec version and implementations must accept an integer 0." }, "party_id": { - "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " + "type": "string", + "description": "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " }, "reason": { "type": "string", diff --git a/data/event-schemas/schema/m.call.invite.yaml b/data/event-schemas/schema/m.call.invite.yaml index bbfcbcda..7f8618bf 100644 --- a/data/event-schemas/schema/m.call.invite.yaml +++ b/data/event-schemas/schema/m.call.invite.yaml @@ -34,7 +34,8 @@ "description": "The version of the VoIP specification this message adheres to. This specification is version 1. This field is a string such that experimental implementations can use non-integer versions. This field was an integer in the previous spec version and implementations must accept an integer 0." }, "party_id": { - "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " + "type": "string", + "description": "This identifies the party that sent this event. A client may choose to re-use the device ID from end-to-end cryptography for the value of this field. " }, "lifetime": { "type": "integer",