Make party_id required in other events

This commit is contained in:
David Baker 2023-05-03 16:33:56 +01:00
parent ebed260bf4
commit efdb1ecb46
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@
"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"]
"required": ["call_id", "answer", "version", "party_id"]
},
"type": {
"type": "string",

View file

@ -44,7 +44,7 @@
"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."
}
},
"required": ["call_id", "candidates", "version"]
"required": ["call_id", "candidates", "version", "party_id"]
},
"type": {
"type": "string",

View file

@ -29,7 +29,7 @@
]
}
},
"required": ["call_id", "version"]
"required": ["call_id", "version", "party_id"]
},
"type": {
"type": "string",