|
30 | 30 |
|
31 | 31 |
|
32 | 32 | </author>
|
| 33 | + <revision> |
| 34 | + <version>0.1.1</version> |
| 35 | + <date>2025-01-26</date> |
| 36 | + <initials>egp</initials> |
| 37 | + <remark> |
| 38 | + <p>Add the XML Schema.</p> |
| 39 | + </remark> |
| 40 | + </revision> |
33 | 41 | <revision>
|
34 | 42 | <version>0.1.0</version>
|
35 | 43 | <date>2023-05-04</date>
|
|
204 | 212 | <p>This document requires no interaction with ®ISTRAR;.</p>
|
205 | 213 | </section1>
|
206 | 214 |
|
| 215 | + <section1 topic='XML Schema' anchor='schema'> |
| 216 | + <code><![CDATA[<?xml version='1.0' encoding='UTF-8'?> |
| 217 | +
|
| 218 | +<xs:schema |
| 219 | + xmlns:xs='http://www.w3.org/2001/XMLSchema' |
| 220 | + xmlns:sid='urn:xmpp:sid:0' |
| 221 | + xmlns='urn:xmpp:call-invites:0' |
| 222 | + targetNamespace='urn:xmpp:call-invites:0' |
| 223 | + elementFormDefault='qualified'> |
| 224 | +
|
| 225 | + <xs:annotation> |
| 226 | + <xs:documentation> |
| 227 | + The protocol documented by this schema is defined in |
| 228 | + XEP-0482: https://xmpp.org/extensions/xep-0482.html |
| 229 | + </xs:documentation> |
| 230 | + </xs:annotation> |
| 231 | +
|
| 232 | + <xs:element name='invite'> |
| 233 | + <xs:complexType> |
| 234 | + <xs:sequence> |
| 235 | + <xs:element ref='jingle'/> |
| 236 | + <xs:element ref='external' minOccurs='0' maxOccurs='unbounded'/> |
| 237 | + </xs:sequence> |
| 238 | + <xs:attribute name='audio' type='xs:boolean' use='optional'/> |
| 239 | + <xs:attribute name='video' type='xs:boolean' use='optional'/> |
| 240 | + </xs:complexType> |
| 241 | + </xs:element> |
| 242 | +
|
| 243 | + <xs:element name='jingle'> |
| 244 | + <xs:complexType> |
| 245 | + <xs:attribute name='sid' type='xs:string' use='required'/> |
| 246 | + <xs:attribute name='jid' type='xs:string' use='optional'/> |
| 247 | + </xs:complexType> |
| 248 | + </xs:element> |
| 249 | +
|
| 250 | + <xs:element name='external'> |
| 251 | + <xs:complexType> |
| 252 | + <xs:attribute name='uri' type='xs:string' use='required'/> |
| 253 | + </xs:complexType> |
| 254 | + </xs:element> |
| 255 | +
|
| 256 | + <xs:element name='retract'> |
| 257 | + <xs:complexType> |
| 258 | + <xs:attribute name='id' type='xs:string' use='required'/> |
| 259 | + </xs:complexType> |
| 260 | + </xs:element> |
| 261 | +
|
| 262 | + <xs:element name='accept'> |
| 263 | + <xs:complexType> |
| 264 | + <xs:choice> |
| 265 | + <xs:element ref='jingle'/> |
| 266 | + <xs:element ref='external'/> |
| 267 | + </xs:choice> |
| 268 | + <xs:attribute name='id' type='xs:string' use='required'/> |
| 269 | + </xs:complexType> |
| 270 | + </xs:element> |
| 271 | +
|
| 272 | + <xs:element name='reject'> |
| 273 | + <xs:complexType> |
| 274 | + <xs:attribute name='id' type='xs:string' use='required'/> |
| 275 | + </xs:complexType> |
| 276 | + </xs:element> |
| 277 | +
|
| 278 | + <xs:element name='left'> |
| 279 | + <xs:complexType> |
| 280 | + <xs:attribute name='id' type='xs:string' use='required'/> |
| 281 | + </xs:complexType> |
| 282 | + </xs:element> |
| 283 | +
|
| 284 | +</xs:schema>]]></code> |
| 285 | + </section1> |
| 286 | + |
207 | 287 | </xep>
|
0 commit comments