1 <?xml version='1.0' encoding='UTF-8'?>
\r
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
\r
4 <xs:element name="adapters" type="Adapters" />
\r
6 <xs:complexType name="Adapters">
\r
8 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
9 <xs:element name="target" type="Target"/>
\r
10 <xs:element name="installer" type="Installer"/>
\r
15 <xs:complexType name="Target">
\r
17 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
18 <xs:element name="baseType" type="BaseType"/>
\r
19 <xs:element name="type" type="Type"/>
\r
20 <xs:element name="adapter" type="Adapter"/>
\r
21 <xs:element name="resource" type="Type"/>
\r
24 <xs:attribute name="interface" type="ClassName"/>
\r
27 <xs:complexType name="BaseType">
\r
28 <xs:attribute name="uri" type="xs:anyURI"/>
\r
31 <xs:complexType name="Type">
\r
33 <xs:choice minOccurs="0" maxOccurs="unbounded">
\r
34 <xs:element name="this" type="Empty"/>
\r
35 <xs:element name="graph" type="Empty"/>
\r
36 <xs:element name="bundle" type="xs:string"/>
\r
37 <xs:element name="related" type="RelatedResource"/>
\r
38 <xs:element name="single" type="RelatedResource"/>
\r
39 <xs:element name="atMostOne" type="RelatedResource"/>
\r
40 <xs:element name="orderedSet" type="RelatedResource"/>
\r
41 <xs:element name="string" type="xs:string"/>
\r
44 <xs:attribute name="uri" type="xs:anyURI"/>
\r
45 <xs:attribute name="class" type="ClassName"/>
\r
46 <xs:attribute name="constructor" type="xs:string"/>
\r
49 <xs:complexType name="Adapter">
\r
50 <xs:attribute name="uri" type="xs:anyURI" />
\r
51 <xs:attribute name="adapterClass" type="ClassName" />
\r
52 <xs:attribute name="contextClass" type="ClassName"></xs:attribute>
\r
56 <xs:complexType name="Resource">
\r
57 <xs:attribute name="uri" type="xs:anyURI"/>
\r
58 <xs:attribute name="class" type="ClassName"/>
\r
62 <xs:complexType name="Installer">
\r
63 <xs:attribute name="class" type="ClassName"/>
\r
66 <xs:complexType name="RelatedResource">
\r
67 <xs:attribute name="uri" type="xs:anyURI"/>
\r
68 <xs:attribute name="to" type="ClassName" use="optional"/>
\r
71 <xs:complexType name="Empty">
\r
74 <xs:simpleType name="ClassName">
\r
75 <xs:restriction base="xs:string">
\r
76 <xs:pattern value="([a-zA-Z_][a-zA-Z_0-9]*[.])*[a-zA-Z_][a-zA-Z_0-9]*"/>
\r