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