diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-02-26 23:14:22 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-02-26 23:14:22 +0100 |
commit | f14a40a4f80275daceeb73f944e1aa1f84d16c79 (patch) | |
tree | 9ce3cd2b8702214bc94ae3f38b568bf8bdd5eaa0 /xsd | |
parent | 97c8bb9db96e27051f8746865f657408263db0b8 (diff) | |
download | ee-python-f14a40a4f80275daceeb73f944e1aa1f84d16c79.tar.gz ee-python-f14a40a4f80275daceeb73f944e1aa1f84d16c79.tar.bz2 ee-python-f14a40a4f80275daceeb73f944e1aa1f84d16c79.tar.xz ee-python-f14a40a4f80275daceeb73f944e1aa1f84d16c79.zip |
o Removing digikey specific DistributionInfo element. Can be generic.
Diffstat (limited to 'xsd')
-rw-r--r-- | xsd/ee-bom.xsd | 31 |
1 files changed, 5 insertions, 26 deletions
diff --git a/xsd/ee-bom.xsd b/xsd/ee-bom.xsd index a357deb..e0c523e 100644 --- a/xsd/ee-bom.xsd +++ b/xsd/ee-bom.xsd @@ -14,15 +14,13 @@ </xs:sequence> </xs:complexType> - <xs:complexType name="DistributorInfo" abstract="true"/> - <xs:complexType name="Part"> <xs:sequence> <xs:element name="schema-reference" type="xs:string"/> <xs:element name="part-type" type="xs:anyURI"/> <xs:element name="part-numbers" type="PartNumberList"/> <xs:element name="distributor-info" type="DistributorInfo"/> - <xs:element name="fact-sets" type="FactSetList"/> + <xs:element name="facts" type="FactList"/> </xs:sequence> <xs:attribute ref="id" use="required"/> </xs:complexType> @@ -46,19 +44,6 @@ </xs:sequence> </xs:complexType> - <xs:complexType name="FactSetList"> - <xs:sequence> - <xs:element name="fact-set" type="FactSet" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="FactSet"> - <xs:sequence> - <xs:element name="source" type="xs:anyURI"/> - <xs:element name="facts" type="FactList"/> - </xs:sequence> - </xs:complexType> - <xs:complexType name="Fact"> <xs:sequence> <xs:element name="key" type="xs:anyURI"/> @@ -73,16 +58,10 @@ </xs:sequence> </xs:complexType> - <!-- Digi-Key --> - - <xs:complexType name="DigikeyDistributorInfo"> - <xs:complexContent> - <xs:extension base="DistributorInfo"> - <xs:sequence> - <xs:element name="state" type="xs:string"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> + <xs:complexType name="DistributorInfo"> + <xs:sequence> + <xs:element name="state" type="xs:string"/> + </xs:sequence> </xs:complexType> </xs:schema> |