aboutsummaryrefslogtreecommitdiff
path: root/xsd
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-03-28 16:38:50 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-03-28 16:43:14 +0100
commitfa85d46af0b91477cf354947df628af0dc0d2800 (patch)
treeb18b775d232560f57eaeb3f43d0861b98201d4ef /xsd
parent52401b170d8f1c9deaa153acca76e7d6060a06df (diff)
downloadee-python-fa85d46af0b91477cf354947df628af0dc0d2800.tar.gz
ee-python-fa85d46af0b91477cf354947df628af0dc0d2800.tar.bz2
ee-python-fa85d46af0b91477cf354947df628af0dc0d2800.tar.xz
ee-python-fa85d46af0b91477cf354947df628af0dc0d2800.zip
ee.xsd:
o Renaming <part-uri> to <part-reference>. o Adding <supplier> on <part>, removing from <supplier-part-number>. A part can have exactly one part. create-order: o Creating anonymous part objects, with two references, one schematic reference and one part-uri reference to the selected part. o Redoing how the order is calculated with the new ObjDb structure. ee.part.Part: o Absorbing bom_file_utils into Part. Much better wrapper object around the xml goop.
Diffstat (limited to 'xsd')
-rw-r--r--xsd/ee.xsd8
1 files changed, 4 insertions, 4 deletions
diff --git a/xsd/ee.xsd b/xsd/ee.xsd
index 0e322e5..446bab7 100644
--- a/xsd/ee.xsd
+++ b/xsd/ee.xsd
@@ -44,6 +44,7 @@ TODO: rename 'id' to 'url'.
<xs:complexType name="Part">
<xs:sequence>
+ <xs:element name="supplier" type="xs:anyURI" minOccurs="0"/>
<!-- TODO: this should be a fact -->
<xs:element name="part-type" type="xs:anyURI"/>
<xs:element name="description" type="xs:string"/>
@@ -62,9 +63,9 @@ TODO: rename 'id' to 'url'.
</xs:sequence>
</xs:complexType>
- <xs:complexType name="PartUri">
+ <xs:complexType name="PartReference">
<xs:sequence>
- <xs:element name="value" type="xs:anyURI"/>
+ <xs:element name="part-uri" type="xs:anyURI"/>
</xs:sequence>
</xs:complexType>
@@ -77,7 +78,6 @@ TODO: rename 'id' to 'url'.
<xs:complexType name="SupplierPartNumber">
<xs:sequence>
<xs:element name="value" type="xs:string"/>
- <xs:element name="supplier" type="xs:anyURI"/>
</xs:sequence>
</xs:complexType>
@@ -90,8 +90,8 @@ TODO: rename 'id' to 'url'.
<xs:complexType name="ReferencesList">
<xs:sequence>
<xs:choice maxOccurs="unbounded">
+ <xs:element name="part-reference" type="PartReference"/>
<xs:element name="schematic-reference" type="SchematicReference"/>
- <xs:element name="part-uri" type="PartUri"/>
<xs:element name="part-number" type="PartNumber"/>
<xs:element name="supplier-part-number" type="SupplierPartNumber"/>
</xs:choice>