aboutsummaryrefslogtreecommitdiff
path: root/xsd
diff options
context:
space:
mode:
Diffstat (limited to 'xsd')
-rw-r--r--xsd/ee.xsd17
1 files changed, 17 insertions, 0 deletions
diff --git a/xsd/ee.xsd b/xsd/ee.xsd
index 87f072d..8aad7d2 100644
--- a/xsd/ee.xsd
+++ b/xsd/ee.xsd
@@ -35,11 +35,13 @@ TODO: rename 'id' to 'url'.
<xs:element name="part-db" type="PartDb"/>
<xs:element name="part" type="Part"/>
+ <xs:element name="categories" type="CategoryList"/>
<xs:complexType name="PartDb">
<xs:sequence>
<xs:element name="parts" type="PartList" minOccurs="0"/>
<xs:element name="assembly" type="Assembly" minOccurs="0"/>
+ <xs:element name="categories" type="CategoryList" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
@@ -47,6 +49,7 @@ TODO: rename 'id' to 'url'.
<xs:sequence>
<xs:element name="supplier" type="xs:anyURI" minOccurs="0"/>
<xs:element name="description" type="xs:string"/>
+ <xs:element name="category" type="xs:anyURI"/>
<xs:element name="links" type="LinkList"/>
<xs:element name="references" type="ReferenceList"/>
<xs:element name="facts" type="FactList"/>
@@ -61,6 +64,20 @@ TODO: rename 'id' to 'url'.
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="Category">
+ <xs:sequence>
+ <xs:element name="name" type="xs:string" minOccurs="0"/>
+ <xs:element name="links" type="LinkList"/>
+ </xs:sequence>
+ <xs:attribute ref="uri"/>
+ </xs:complexType>
+
+ <xs:complexType name="CategoryList">
+ <xs:sequence>
+ <xs:element name="category" type="Category" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
<xs:complexType name="PartReference">
<xs:sequence>
<xs:element name="part-uri" type="xs:anyURI"/>