aboutsummaryrefslogtreecommitdiff
path: root/xsd/ee-catalog.xsd
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-02-21 11:21:12 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-02-21 11:21:12 +0100
commitd9cf71000fb7c2197d05bae1c7bce47af5297aa5 (patch)
tree6e3bf56590ebd51dd6744193f44609a33d183a12 /xsd/ee-catalog.xsd
parentb9c8e02072ea6da04ddc9fe9795f699697f25d07 (diff)
downloadee-python-d9cf71000fb7c2197d05bae1c7bce47af5297aa5.tar.gz
ee-python-d9cf71000fb7c2197d05bae1c7bce47af5297aa5.tar.bz2
ee-python-d9cf71000fb7c2197d05bae1c7bce47af5297aa5.tar.xz
ee-python-d9cf71000fb7c2197d05bae1c7bce47af5297aa5.zip
Trying a new way to generate way to generate files.
Diffstat (limited to 'xsd/ee-catalog.xsd')
-rw-r--r--xsd/ee-catalog.xsd26
1 files changed, 26 insertions, 0 deletions
diff --git a/xsd/ee-catalog.xsd b/xsd/ee-catalog.xsd
new file mode 100644
index 0000000..6da3558
--- /dev/null
+++ b/xsd/ee-catalog.xsd
@@ -0,0 +1,26 @@
+<xsd:schema
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://purl.org/ee/bom-file"
+ xmlns="http://purl.org/ee/bom-file">
+
+ <xsd:element name="catalog-file" type="CatalogFile"/>
+
+ <xsd:complexType name="CatalogFile">
+ <xsd:sequence>
+ <xsd:element name="products" type="ProductList" minOccurs="0" maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="Product">
+ <xsd:sequence>
+ <xsd:element name="ref" type="xsd:string"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+ <xsd:complexType name="ProductList">
+ <xsd:sequence>
+ <xsd:element name="product" type="Product" maxOccurs="unbounded"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+</xsd:schema>