oddb2xml.xsd in oddb2xml-2.7.8 vs oddb2xml.xsd in oddb2xml-2.7.9

- old
+ new

@@ -46,11 +46,10 @@ REF_DATA 1 in oddb_article if coming from a refdata source (migel, bag, swissmedic), else 0 FIRST import all data from swissINDEX * DSCRD German name * DSCRF French name (Products/article only from ZurRose do not have a french name) - * DSCRI Italian name (Products/article only from ZurRose do not have a french name) * GTIN GTIN may be 8, 12, 13 or 14 chars long (https://en.wikipedia.org/wiki/Global_Trade_Item_Number) The EAN-8 code is an eight-digit barcode used usually for very small articles, such as a battery for hearing aid, where fitting a larger code onto the item would be difficult you may test GTIN via the GS1 information GEPIR, eg www.gepir.ch or globally http://gepir.gs1.org/ Drugs registered in Switzerland have GTINs starting with 7680 (which is reserved by Swissmedic) @@ -127,19 +126,10 @@ <xs:maxLength value="120" /> </xs:restriction> </xs:simpleType> </xs:element> - <xs:element name="DSCRI"> - <xs:simpleType> - <xs:restriction base="xs:string"> - <xs:minLength value="3" /> - <xs:maxLength value="120" /> - </xs:restriction> - </xs:simpleType> - </xs:element> - <xs:element name="ART"> <xs:complexType> <xs:sequence> <xs:element name="REF_DATA"> <xs:simpleType> @@ -165,19 +155,16 @@ <xs:sequence minOccurs="0"> <xs:element ref="ns1:CDBG"/> <xs:element ref="ns1:BG"/> </xs:sequence> <xs:element ref="ns1:DSCRD"/> - <xs:element ref="ns1:DSCRF" minOccurs="0" /> - <xs:element ref="ns1:DSCRI" minOccurs="0"/> + <xs:element ref="ns1:DSCRF"/> <xs:element ref="ns1:SORTD"/> - <xs:element ref="ns1:SORTF" minOccurs="0"/> - <xs:element ref="ns1:SORTI" minOccurs="0"/> + <xs:element ref="ns1:SORTF"/> <xs:sequence minOccurs="0"> <xs:element ref="ns1:SYN1D"/> <xs:element ref="ns1:SYN1F"/> - <xs:element ref="ns1:SYN1I"/> <xs:element ref="ns1:SLOPLUS"/> </xs:sequence> <xs:element ref="ns1:ARTCOMP"/> <xs:element ref="ns1:ARTBAR"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:ARTPRI"/> @@ -256,14 +243,12 @@ </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="SORTD" type="xs:string"/> <xs:element name="SORTF" type="xs:string"/> - <xs:element name="SORTI" type="xs:string"/> <xs:element name="SYN1D" type="xs:string"/> <xs:element name="SYN1F" type="xs:string"/> - <xs:element name="SYN1I" type="xs:string"/> <xs:element name="SLOPLUS"> <xs:simpleType> <xs:restriction base="xs:byte"> <xs:enumeration value="2" /> <xs:enumeration value="1" /> @@ -359,14 +344,12 @@ <xs:element ref="ns1:CDBGMD"/> <xs:element ref="ns1:BGMD"/> <xs:element ref="ns1:QTYMD"/> <xs:element ref="ns1:DSCRDMD"/> <xs:element ref="ns1:DSCRFMD"/> - <xs:element ref="ns1:DSCRIMD"/> <xs:element ref="ns1:SORTDMD"/> <xs:element ref="ns1:SORTFMD"/> - <xs:element ref="ns1:SORTIMD"/> <xs:sequence minOccurs="0"> <xs:element ref="ns1:SYN1DMD"/> <xs:element ref="ns1:SYN1FMD"/> <xs:element ref="ns1:SLOPLUSMD"/> </xs:sequence> @@ -414,14 +397,12 @@ </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="SORTDMD" type="xs:string"/> <xs:element name="SORTFMD" type="xs:string"/> - <xs:element name="SORTIMD" type="xs:string"/> <xs:element name="SYN1DMD" type="xs:string"/> <xs:element name="SYN1FMD" type="xs:string"/> - <xs:element name="SYN1IMD" type="xs:string"/> <xs:element name="SLOPLUSMD"> <xs:simpleType> <xs:restriction base="xs:byte"> <xs:enumeration value="2" /> <xs:enumeration value="1" /> @@ -739,11 +720,10 @@ <xs:element ref="ns1:LIMVAL"/> <xs:element ref="ns1:LIMNAMEBAG"/> <xs:element ref="ns1:LIMNIV"/> <xs:element name="DSCRD" type="xs:string"/> <xs:element name="DSCRF" type="xs:string"/> - <xs:element name="DSCRI" type="xs:string"/> <xs:element ref="ns1:VDAT"/> </xs:sequence> <xs:attribute name="DT" use="required"/> <xs:attribute type="xs:string" name="SHA256" use="required"/> </xs:complexType> @@ -798,11 +778,10 @@ <xs:element ref="ns1:LIMVALMD"/> <xs:element ref="ns1:LIMNAMEBAGMD"/> <xs:element ref="ns1:LIMNIVMD"/> <xs:element name="DSCRDMD" type="xs:string"/> <xs:element name="DSCRFMD" type="xs:string"/> - <xs:element name="DSCRIMD" type="xs:string"/> <xs:element ref="ns1:VDATMD"/> </xs:sequence> <xs:attribute name="DT" use="required"/> <xs:attribute type="xs:string" name="SHA256" use="required"/> </xs:complexType> @@ -863,12 +842,11 @@ <xs:sequence> <xs:element ref="ns1:GTIN"/> <xs:element minOccurs="0" ref="ns1:PRODNO"/> <xs:sequence minOccurs="0"> <xs:element ref="ns1:DSCRD"/> - <xs:element ref="ns1:DSCRF" minOccurs="0"/> - <xs:element ref="ns1:DSCRI" minOccurs="0"/> + <xs:element ref="ns1:DSCRF"/> </xs:sequence> <xs:element minOccurs="0" ref="ns1:ADINFD"/> <xs:element minOccurs="0" ref="ns1:ADINFF"/> <xs:element minOccurs="0" ref="ns1:GENCD"/> <xs:element minOccurs="0" ref="ns1:ATC"/> @@ -940,11 +918,10 @@ <xs:element ref="ns1:GTINMD"/> <xs:element minOccurs="0" ref="ns1:PRODNOMD"/> <xs:sequence minOccurs="0"> <xs:element ref="ns1:DSCRDMD"/> <xs:element ref="ns1:DSCRFMD"/> - <xs:element ref="ns1:DSCRIMD"/> </xs:sequence> <xs:element minOccurs="0" ref="ns1:ADINFDMD"/> <xs:element minOccurs="0" ref="ns1:ADINFFMD"/> <xs:element minOccurs="0" ref="ns1:GENCDMD"/> <xs:element minOccurs="0" ref="ns1:ATCMD"/> @@ -1109,10 +1086,9 @@ <xs:complexType/> </xs:element> <xs:element name="ITMD" type="xs:string"/> <xs:element name="DSCRDMD" type="xs:string"/> <xs:element name="DSCRFMD" type="xs:string"/> - <xs:element name="DSCRIMD" type="xs:string"/> <xs:element name="VDATMD" type="xs:NMTOKEN"/> <xs:element name="RESULTMD"> <xs:complexType> <xs:sequence> <xs:element ref="ns1:OK_ERRORMD"/>