msml.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
  3. elementFormDefault="qualified"
  4. attributeFormDefault="unqualified">
  5. <xs:include schemaLocation="msml-core-datatypes.xsd"/>
  6. <xs:include schemaLocation="msml-conf-core-datatypes.xsd"/>
  7. <xs:include schemaLocation="msml-dialog-core-datatypes.xsd"/>
  8. <xs:include schemaLocation="msml-dialog-base-datatypes.xsd"/>
  9. <xs:include schemaLocation="msml-dialog-transform-datatypes.xsd"/>
  10. <xs:include schemaLocation="msml-dialog-group-datatypes.xsd"/>
  11. <xs:include schemaLocation="msml-dialog-speech-datatypes.xsd"/>
  12. <xs:include schemaLocation="msml-dialog-fax-detect-datatypes.xsd"/>
  13. <xs:include schemaLocation="msml-dialog-fax-sendrecv-
  14. datatypes.xsd"/>
  15. <xs:include schemaLocation="msml-audit-core-datatypes.xsd"/>
  16. <xs:include schemaLocation="msml-audit-conf-datatypes.xsd"/>
  17. <xs:include schemaLocation="msml-audit-conn-datatypes.xsd"/>
  18. <xs:include schemaLocation="msml-audit-dialog-datatypes.xsd"/>
  19. <xs:include schemaLocation="msml-audit-stream-datatypes.xsd"/>
  20. <xs:element name="msml">
  21. <xs:complexType>
  22. <xs:choice>
  23. <xs:group ref="msmlRequestType" maxOccurs="unbounded"/>
  24. <xs:element name="event">
  25. <xs:complexType>
  26. <xs:choice maxOccurs="unbounded">
  27. <xs:sequence>
  28. <xs:element name="name" type="msmlEventNameValue.datatype"/>
  29. <xs:element name="value">
  30. <xs:simpleType>
  31. <xs:restriction base="xs:string">
  32. <xs:pattern value="[a-zA-Z0-9.]+"/>
  33. </xs:restriction>
  34. </xs:simpleType>
  35. </xs:element>
  36. </xs:sequence>
  37. </xs:choice>
  38. <xs:attribute name="name" type="msmlEventName.datatype"
  39. use="required"/>
  40. <xs:attribute name="id" type="msmlEventSource.datatype"
  41. use="required"/>
  42. </xs:complexType>
  43. </xs:element>
  44. <xs:element name="result">
  45. <xs:complexType>
  46. <xs:choice>
  47. <xs:element ref="description" minOccurs="0"/>
  48. <xs:sequence>
  49. <xs:element ref="msmlResultSimple" minOccurs="0"
  50. maxOccurs="unbounded"/>
  51. <xs:element ref="msmlResultComplex" minOccurs="0"
  52. maxOccurs="unbounded"/>
  53. </xs:sequence>
  54. </xs:choice>
  55. <xs:attribute name="response">
  56. <xs:simpleType>
  57. <xs:restriction base="xs:string">
  58. <xs:pattern value="\d{3}"/>
  59. </xs:restriction>
  60. </xs:simpleType>
  61. </xs:attribute>
  62. <xs:attribute name="mark" type="mark.datatype"/>
  63. </xs:complexType>
  64. </xs:element>
  65. </xs:choice>
  66. <xs:attribute name="version" type="xs:string" use="required"
  67. fixed="1.1"/>
  68. </xs:complexType>
  69. </xs:element>
  70. </xs:schema>