diff options
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> |