diff options
Diffstat (limited to 'xsd')
-rw-r--r-- | xsd/ee.xsd | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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> |