| 1 |
<?xml version="1.0"?> |
| 2 |
<xs:schema |
| 3 |
xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 4 |
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" |
| 5 |
elementFormDefault="qualified" |
| 6 |
vc:minVersion="1.1"> |
| 7 |
|
| 8 |
<xs:complexType name="ConfigurationType"> |
| 9 |
<xs:all> |
| 10 |
<xs:element name="DefaultProt1" type="ProtocolDefault" minOccurs="0" maxOccurs="1"/> |
| 11 |
<xs:element name="DefaultProt2" type="ProtocolDefault" minOccurs="0" maxOccurs="1"/> |
| 12 |
<!-- More elements --> |
| 13 |
<xs:element name="DefaultProt13" type="ProtocolDefault" minOccurs="0" maxOccurs="1"/> |
| 14 |
<xs:element name="connectionChannel" type="connectionChannel" maxOccurs="1" > |
| 15 |
<xs:unique name="redChannelNameUniqueness"> |
| 16 |
<xs:selector xpath="redChannel"/> |
| 17 |
<xs:field xpath="@name"/> |
| 18 |
</xs:unique> |
| 19 |
</xs:element> |
| 20 |
</xs:all> |
| 21 |
</xs:complexType> |
| 22 |
|
| 23 |
<xs:complexType name="connectionChannel"> |
| 24 |
<xs:all> |
| 25 |
<xs:element name="Prot1" type="Protocol" minOccurs="0" maxOccurs="1"/> |
| 26 |
<xs:element name="Prot2" type="Protocol" minOccurs="0" maxOccurs="1"/> |
| 27 |
<!-- More elements --> |
| 28 |
<xs:element name="Prot13" type="Protocol" minOccurs="0" maxOccurs="1"/> |
| 29 |
<xs:element name="redChannel" type="redChannelType" minOccurs="1" maxOccurs="8"/> |
| 30 |
</xs:all> |
| 31 |
<xs:attribute name="name" use="required"> |
| 32 |
<xs:simpleType> |
| 33 |
<xs:restriction base="xs:string"> |
| 34 |
<xs:minLength value="1"/> |
| 35 |
<xs:maxLength value="63"/> |
| 36 |
<xs:pattern value="([a-zA-Z0-9\._\-])*"/> |
| 37 |
</xs:restriction> |
| 38 |
</xs:simpleType> |
| 39 |
</xs:attribute> |
| 40 |
</xs:complexType> |
| 41 |
|
| 42 |
|
| 43 |
<xs:element name="Configuration" type="ConfigurationType"> |
| 44 |
<xs:unique name="connectionChannelNameUniqueness"> |
| 45 |
<xs:selector xpath="connectionChannel"/> |
| 46 |
<xs:field xpath="@name"/> |
| 47 |
</xs:unique> |
| 48 |
</xs:element> |
| 49 |
|
| 50 |
|
| 51 |
<xs:complexType name="redChannelType"> |
| 52 |
<xs:attribute name="name" use="required" type="xs:string"/> |
| 53 |
</xs:complexType> |
| 54 |
|
| 55 |
<xs:complexType name="ProtocolDefault"> |
| 56 |
<xs:attribute name="interfaceIdentifier" use="optional" type="xs:unsignedByte"/> |
| 57 |
<xs:attribute name="outgoingDirectionIdentifier" use="optional" type="xs:unsignedByte"/> |
| 58 |
</xs:complexType> |
| 59 |
|
| 60 |
<xs:complexType name="Protocol"> |
| 61 |
<xs:attribute name="interfaceIdentifier" use="optional" type="xs:unsignedByte"/> |
| 62 |
<xs:attribute name="outgoingDirectionIdentifier" use="optional" type="xs:unsignedByte"/> |
| 63 |
</xs:complexType> |
| 64 |
|
| 65 |
</xs:schema> |