aboutsummaryrefslogtreecommitdiff
path: root/xsd/ee-index.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'xsd/ee-index.xsd')
-rw-r--r--xsd/ee-index.xsd24
1 files changed, 24 insertions, 0 deletions
diff --git a/xsd/ee-index.xsd b/xsd/ee-index.xsd
new file mode 100644
index 0000000..21dbeb2
--- /dev/null
+++ b/xsd/ee-index.xsd
@@ -0,0 +1,24 @@
+<xs:schema
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://purl.org/ee/bom-file"
+ xmlns="http://purl.org/ee/bom-file">
+
+ <xs:element name="file-index" type="IndexFile"/>
+
+ <xs:complexType name="IndexFile">
+ <xs:sequence>
+ <xs:element name="files" type="FileList" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="File">
+ <xs:attribute name="path" use="required" type="xs:string"/>
+ </xs:complexType>
+
+ <xs:complexType name="FileList">
+ <xs:sequence>
+ <xs:element name="file" type="File" maxOccurs="unbounded"/>
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>