aboutsummaryrefslogtreecommitdiff
path: root/xsd
diff options
context:
space:
mode:
Diffstat (limited to 'xsd')
-rw-r--r--xsd/ee.xsd14
1 files changed, 14 insertions, 0 deletions
diff --git a/xsd/ee.xsd b/xsd/ee.xsd
index 18d8665..0e322e5 100644
--- a/xsd/ee.xsd
+++ b/xsd/ee.xsd
@@ -47,6 +47,7 @@ TODO: rename 'id' to 'url'.
<!-- TODO: this should be a fact -->
<xs:element name="part-type" type="xs:anyURI"/>
<xs:element name="description" type="xs:string"/>
+ <xs:element name="links" type="LinkList"/>
<xs:element name="references" type="ReferencesList"/>
<xs:element name="distributor-info" type="DistributorInfo"/>
<xs:element name="facts" type="FactList"/>
@@ -135,4 +136,17 @@ TODO: rename 'id' to 'url'.
</xs:sequence>
</xs:complexType>
+ <xs:complexType name="Link">
+ <xs:attribute name="url" type="xs:anyURI"/>
+ <xs:attribute name="relation" type="xs:string"/>
+ <xs:attribute name="media-type" type="xs:string"/>
+ <xs:attribute name="title" type="xs:string"/>
+ </xs:complexType>
+
+ <xs:complexType name="LinkList">
+ <xs:sequence>
+ <xs:element name="link" type="Link" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
</xs:schema>