diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-03-23 07:29:49 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-03-23 07:32:10 +0100 |
commit | 689508e07dba890fff8d1cd06e0029eca1c30994 (patch) | |
tree | 50898ade69fc853bf7310ee002767ba3990ae86a /xsd | |
parent | 1fe278b37b4031a42f8e27ee4f3251b474efcb16 (diff) | |
download | ee-python-689508e07dba890fff8d1cd06e0029eca1c30994.tar.gz ee-python-689508e07dba890fff8d1cd06e0029eca1c30994.tar.bz2 ee-python-689508e07dba890fff8d1cd06e0029eca1c30994.tar.xz ee-python-689508e07dba890fff8d1cd06e0029eca1c30994.zip |
xsd:
o Adding <link> list on <part>. For media, datasheets etc.
digikey:
o Parsing out media.
PartDb:
o starting on a more generic object db with indexes.
order:
o Using the new object db for building data while resolving parts.
o Creating a report from the order.
Diffstat (limited to 'xsd')
-rw-r--r-- | xsd/ee.xsd | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -47,6 +47,7 @@ TODO: rename 'id' to 'url'. <!-- TODO: this should be a fact --> <xs:element name="part-type" type="xs:anyURI"/> <xs:element name="description" type="xs:string"/> + <xs:element name="links" type="LinkList"/> <xs:element name="references" type="ReferencesList"/> <xs:element name="distributor-info" type="DistributorInfo"/> <xs:element name="facts" type="FactList"/> @@ -135,4 +136,17 @@ TODO: rename 'id' to 'url'. </xs:sequence> </xs:complexType> + <xs:complexType name="Link"> + <xs:attribute name="url" type="xs:anyURI"/> + <xs:attribute name="relation" type="xs:string"/> + <xs:attribute name="media-type" type="xs:string"/> + <xs:attribute name="title" type="xs:string"/> + </xs:complexType> + + <xs:complexType name="LinkList"> + <xs:sequence> + <xs:element name="link" type="Link" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:schema> |