• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--W3C Schema generated by XMLSpy v2007 (http://www.altova.com)-->
3<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
4	<xs:include schemaLocation="ComponentLibrary.xsd"/>
5	<xs:complexType name="SubsystemType">
6		<xs:sequence>
7			<xs:element ref="ComponentLibrary"/>
8			<xs:element name="InstanceDefinition">
9				<xs:complexType>
10					<xs:sequence>
11						<xs:sequence maxOccurs="unbounded">
12							<xs:group ref="ParameterBlockGroup"/>
13						</xs:sequence>
14					</xs:sequence>
15				</xs:complexType>
16				<xs:unique name="InstanceDefintionSubElementsUniqueness">
17					<xs:selector xpath="*"/>
18					<xs:field xpath="@Name"/>
19				</xs:unique>
20			</xs:element>
21		</xs:sequence>
22		<xs:attributeGroup ref="Nameable"/>
23		<xs:attribute name="Endianness" use="required">
24			<xs:simpleType>
25				<xs:restriction base="xs:NMTOKEN">
26					<xs:enumeration value="Little"/>
27					<xs:enumeration value="Big"/>
28				</xs:restriction>
29			</xs:simpleType>
30		</xs:attribute>
31		<xs:attribute name="Type" use="required"/>
32		<xs:attribute name="Mapping" use="optional"/>
33	</xs:complexType>
34	<xs:element name="Subsystem" type="SubsystemType">
35		<xs:keyref name="InstanceDefinitionComponentTypeNotFound" refer="ComponentTypeUniqueness">
36			<xs:selector xpath="InstanceDefinition/Component"/>
37			<xs:field xpath="@Type"/>
38		</xs:keyref>
39	</xs:element>
40</xs:schema>
41