| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<xs:schema xmlns="http://tempuri.org/amqp_definitions" elementFormDefault="qualified" targetNamespace="http://tempuri.org/amqp_definitions" xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| 3 |
<xs:element name="amqp"> |
| 4 |
<xs:complexType> |
| 5 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 6 |
<xs:element ref="doc" /> |
| 7 |
<xs:element ref="section" /> |
| 8 |
</xs:choice> |
| 9 |
<xs:attribute name="name" type="xs:string" use="required" /> |
| 10 |
<xs:attribute name="label" type="xs:string" /> |
| 11 |
</xs:complexType> |
| 12 |
</xs:element> |
| 13 |
<xs:element name="section"> |
| 14 |
<xs:complexType> |
| 15 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 16 |
<xs:element ref="doc" /> |
| 17 |
<xs:element ref="definition" /> |
| 18 |
<xs:element ref="type" /> |
| 19 |
</xs:choice> |
| 20 |
<xs:attribute name="name" type="xs:string" use="required" /> |
| 21 |
<xs:attribute name="title" type="xs:string" /> |
| 22 |
<xs:attribute name="label" type="xs:string" /> |
| 23 |
</xs:complexType> |
| 24 |
</xs:element> |
| 25 |
<xs:element name="definition"> |
| 26 |
<xs:complexType> |
| 27 |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> |
| 28 |
<xs:element ref="doc" /> |
| 29 |
</xs:sequence> |
| 30 |
<xs:attribute name="name" type="xs:string" use="required" /> |
| 31 |
<xs:attribute name="value" type="xs:string" use="required" /> |
| 32 |
<xs:attribute name="label" type="xs:string" /> |
| 33 |
</xs:complexType> |
| 34 |
</xs:element> |
| 35 |
<xs:element name="type"> |
| 36 |
<xs:complexType> |
| 37 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 38 |
<xs:element ref="encoding" /> |
| 39 |
<xs:element ref="descriptor" /> |
| 40 |
<xs:element ref="field" /> |
| 41 |
<xs:element ref="choice" /> |
| 42 |
<xs:element ref="doc" /> |
| 43 |
</xs:choice> |
| 44 |
<xs:attribute name="name" type="xs:string" use="required" /> |
| 45 |
<xs:attribute name="class" use="required"> |
| 46 |
<xs:simpleType> |
| 47 |
<xs:restriction base="xs:NMTOKEN"> |
| 48 |
<xs:enumeration value="primitive" /> |
| 49 |
<xs:enumeration value="composite" /> |
| 50 |
<xs:enumeration value="restricted" /> |
| 51 |
<xs:enumeration value="union" /> |
| 52 |
</xs:restriction> |
| 53 |
</xs:simpleType> |
| 54 |
</xs:attribute> |
| 55 |
<xs:attribute name="source" type="xs:string" /> |
| 56 |
<xs:attribute name="provides" type="xs:string" /> |
| 57 |
<xs:attribute name="label" type="xs:string" /> |
| 58 |
</xs:complexType> |
| 59 |
</xs:element> |
| 60 |
<xs:element name="encoding"> |
| 61 |
<xs:complexType> |
| 62 |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> |
| 63 |
<xs:element ref="doc" /> |
| 64 |
</xs:sequence> |
| 65 |
<xs:attribute name="name" type="xs:string" /> |
| 66 |
<xs:attribute name="label" type="xs:string" /> |
| 67 |
<xs:attribute name="code" type="xs:string" use="required" /> |
| 68 |
<xs:attribute name="category" use="required"> |
| 69 |
<xs:simpleType> |
| 70 |
<xs:restriction base="xs:NMTOKEN"> |
| 71 |
<xs:enumeration value="fixed" /> |
| 72 |
<xs:enumeration value="variable" /> |
| 73 |
<xs:enumeration value="compound" /> |
| 74 |
<xs:enumeration value="array" /> |
| 75 |
</xs:restriction> |
| 76 |
</xs:simpleType> |
| 77 |
</xs:attribute> |
| 78 |
<xs:attribute name="width" type="xs:string" /> |
| 79 |
</xs:complexType> |
| 80 |
</xs:element> |
| 81 |
<xs:element name="descriptor"> |
| 82 |
<xs:complexType> |
| 83 |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> |
| 84 |
<xs:element ref="doc" /> |
| 85 |
</xs:sequence> |
| 86 |
<xs:attribute name="name" type="xs:string" /> |
| 87 |
<xs:attribute name="code" type="xs:string" /> |
| 88 |
</xs:complexType> |
| 89 |
</xs:element> |
| 90 |
<xs:element name="field"> |
| 91 |
<xs:complexType> |
| 92 |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> |
| 93 |
<xs:element ref="doc" /> |
| 94 |
</xs:sequence> |
| 95 |
<xs:attribute name="name" type="xs:string" use="required" /> |
| 96 |
<xs:attribute name="type" type="xs:string" /> |
| 97 |
<xs:attribute name="requires" type="xs:string" /> |
| 98 |
<xs:attribute name="default" type="xs:string" /> |
| 99 |
<xs:attribute name="label" type="xs:string" /> |
| 100 |
<xs:attribute name="mandatory" type="xs:string" /> |
| 101 |
<xs:attribute name="multiple" type="xs:string" /> |
| 102 |
</xs:complexType> |
| 103 |
</xs:element> |
| 104 |
<xs:element name="choice"> |
| 105 |
<xs:complexType> |
| 106 |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> |
| 107 |
<xs:element ref="doc" /> |
| 108 |
</xs:sequence> |
| 109 |
<xs:attribute name="name" type="xs:string" use="required" /> |
| 110 |
<xs:attribute name="value" type="xs:string" use="required" /> |
| 111 |
</xs:complexType> |
| 112 |
</xs:element> |
| 113 |
<xs:element name="doc"> |
| 114 |
<xs:complexType> |
| 115 |
<xs:attribute name="name" type="xs:string" /> |
| 116 |
<xs:attribute name="title" type="xs:string" /> |
| 117 |
</xs:complexType> |
| 118 |
</xs:element> |
| 119 |
</xs:schema> |