1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3    <xs:include schemaLocation="ConfigurableDomain.xsd"/>
4    <xs:element name="ConfigurableDomains">
5        <xs:complexType>
6            <xs:sequence>
7                <xs:element maxOccurs="unbounded" name="ConfigurableDomain" type="ConfigurableDomainType">
8                    <xs:key name="ConfigurableElementKey">
9                        <xs:selector xpath="ConfigurableElements/ConfigurableElement"/>
10                        <xs:field xpath="@Path"/>
11                    </xs:key>
12                    <xs:keyref refer="ConfigurableElementKey" name="ConfigurableDomainReference">
13                        <xs:selector xpath="Settings/Configuration/ConfigurableElement"/>
14                        <xs:field xpath="@Path"/>
15                    </xs:keyref>
16                    <xs:key name="ConfigurationKey">
17                        <xs:selector xpath="Configurations/Configuration"/>
18                        <xs:field xpath="@Name"/>
19                    </xs:key>
20                    <xs:keyref refer="ConfigurationKey" name="ConfigurationReference2">
21                        <xs:selector xpath="ConfigurableElements/ConfigurableElement/Configuration"/>
22                        <xs:field xpath="@Name"/>
23                    </xs:keyref>
24                    <xs:keyref refer="ConfigurationKey" name="ConfigurationReference">
25                        <xs:selector xpath="Settings/Configuration"/>
26                        <xs:field xpath="@Name"/>
27                    </xs:keyref>
28                </xs:element>
29            </xs:sequence>
30            <xs:attribute name="SystemClassName" use="required" type="xs:NCName"/>
31        </xs:complexType>
32        <xs:unique name="ConfigurableDomainUniqueness">
33            <xs:selector xpath="ConfigurableDomain"/>
34            <xs:field xpath="@Name"/>
35        </xs:unique>
36    </xs:element>
37</xs:schema>
38