45 lines
1.5 KiB
XML
45 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<xs:schema targetNamespace="https://tunnelbroker.net/"
|
|
xmlns="https://tunnelbroker.net/"
|
|
xmlns:heIPv6="https://tunelbroker.net/"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified"
|
|
attributeFormDefault="unqualified">
|
|
|
|
<xs:include schemaLocation="../lib/elements/he_ipv6.xsd"/>
|
|
|
|
<!-- ROOT -->
|
|
<xs:element name="heIPv6">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="creds" minOccurs="1">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="cred" type="e_he_ipv6_cred" minOccurs="1" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="tunnels" minOccurs="1">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="tunnel" minOccurs="1" maxOccurs="unbounded" type="e_he_ipv6_tunnel">
|
|
<xs:unique name="uniq_alloc">
|
|
<xs:unique name="uniq_alloc_addr">
|
|
<xs:selector xpath="heIPv6:tunnel/alloc"/>
|
|
<xs:field xpath="."/>
|
|
</xs:unique>
|
|
</xs:unique>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:unique name="uniq_tun">
|
|
<xs:selector xpath="heIPv6:tunnel"/>
|
|
<xs:field xpath="@id"/>
|
|
</xs:unique>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
</xs:schema>
|