1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
3    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="W3cXmlAttributes.xsd"/>
4    <xs:include schemaLocation="ComponentTypeSet.xsd"/>
5    <xs:element name="ComponentLibrary" type="ComponentTypeSetType">
6        <xs:key name="ComponentTypeUniqueness">
7            <xs:selector xpath=".//ComponentType"/>
8            <xs:field xpath="@Name"/>
9        </xs:key>
10        <xs:keyref name="ComponentTypeNotFound" refer="ComponentTypeUniqueness">
11            <xs:selector xpath=".//ComponentType/Component"/>
12            <xs:field xpath="@Type"/>
13        </xs:keyref>
14    </xs:element>
15</xs:schema>
16