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="Parameter.xsd"/> 5 <xs:complexType name="ComponentType"> 6 <xs:sequence> 7 <xs:sequence maxOccurs="unbounded"> 8 <xs:group ref="ParameterBlockGroup"/> 9 </xs:sequence> 10 </xs:sequence> 11 <xs:attributeGroup ref="Nameable"/> 12 <xs:attribute name="Extends" use="optional"/> 13 <xs:attribute name="Mapping" use="optional"/> 14 </xs:complexType> 15 <xs:group name="ComponentTypeSetGroup"> 16 <xs:choice> 17 <xs:element name="ComponentLibrary" type="ComponentTypeSetType"/> 18 <xs:element name="ComponentTypeSet" type="ComponentTypeSetType"/> 19 <xs:element name="ComponentType" type="ComponentType"> 20 <xs:unique name="ComponentTypeSubElementsUniqueness"> 21 <xs:selector xpath="*"/> 22 <xs:field xpath="@Name"/> 23 </xs:unique> 24 </xs:element> 25 </xs:choice> 26 </xs:group> 27 <xs:complexType name="ComponentTypeSetType"> 28 <xs:sequence> 29 <xs:group ref="ComponentTypeSetGroup" minOccurs="0" maxOccurs="unbounded"/> 30 </xs:sequence> 31 <xs:attribute ref="xml:base"/> 32 </xs:complexType> 33 <xs:element name="ComponentTypeSet" type="ComponentTypeSetType"> 34 <xs:unique name="ComponentTypeUniquenessInComponentTypeSet"> 35 <xs:selector xpath=".//ComponentType"/> 36 <xs:field xpath="@Name"/> 37 </xs:unique> 38 </xs:element> 39</xs:schema> 40