aboutsummaryrefslogtreecommitdiff
path: root/xsd
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-03-14 06:27:16 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-03-15 08:22:02 +0100
commit8d17fb5bc4b0dae0758e01a44d77d87acf2e686a (patch)
treea13ed043962b8a8da355bba956dc9e77b7fb217e /xsd
parent2315d1a34cb777f1731368619a4ca14f46125bb4 (diff)
downloadee-python-8d17fb5bc4b0dae0758e01a44d77d87acf2e686a.tar.gz
ee-python-8d17fb5bc4b0dae0758e01a44d77d87acf2e686a.tar.bz2
ee-python-8d17fb5bc4b0dae0758e01a44d77d87acf2e686a.tar.xz
ee-python-8d17fb5bc4b0dae0758e01a44d77d87acf2e686a.zip
o Adding module for searching on element14.
o Starting on functionality create orders. Very WIP. o Adding a concept of an "ee project". Can load a gitconfig-like config file. o Adding a tool to import a yaml file into a part xml file.
Diffstat (limited to 'xsd')
-rw-r--r--xsd/ee-bom.xsd29
1 files changed, 29 insertions, 0 deletions
diff --git a/xsd/ee-bom.xsd b/xsd/ee-bom.xsd
index dddfa8a..b88a87e 100644
--- a/xsd/ee-bom.xsd
+++ b/xsd/ee-bom.xsd
@@ -1,3 +1,31 @@
+<!--
+Link:
+ - url
+ - relation
+ - media-type
+
+SupplierDatabase
+ Supplier
+ - url
+ - id (short name, used for UI)
+
+ExchangeRateDatabase
+ ExchangeRate
+ - from
+ - to
+ - rate
+
+PartListFile
+ PartList
+ Pricing (also used directly on a Part)
+
+PartListFile is used for
+* BOM (schema export)
+* downloading facts and prices from suppliers
+* Creating orders from sets of available part lists
+
+TODO: rename 'id' to 'url'.
+-->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://purl.org/ee/bom-file"
@@ -15,6 +43,7 @@
</xs:complexType>
<xs:complexType name="Part">
+ <!-- TODO: add links, references to product page,data sheets. -->
<xs:sequence>
<xs:element name="schema-reference" type="xs:string"/>
<xs:element name="part-type" type="xs:anyURI"/>