root element for a wine - file extension to be used is .vinoxml, this is the prefered root element to be used when you want to exchange information with another system.
<xs:element name="wine" type="wineDetail"><xs:annotation><xs:documentation>root element for a wine - file extension to be used is .vinoxml, this is the prefered root element to be used when you want to exchange information with another system.</xs:documentation></xs:annotation></xs:element>
Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage
Diagram
Type
xs:string
Properties
content:
simple
minOccurs:
0
Source
<xs:element name="variety" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage</xs:documentation></xs:annotation></xs:element>
<xs:element name="year" minOccurs="0"><xs:annotation><xs:documentation>The vintage of the wine.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:gYear"><xs:minInclusive value="1700"/><xs:maxInclusive value="9999"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="bottle" type="bottleDetail"><xs:annotation><xs:documentation>Information on the bottle size, price and other information.</xs:documentation></xs:annotation></xs:element>
<xs:element name="price" type="priceDetail" maxOccurs="unbounded"><xs:annotation><xs:documentation>Pricing information on the bottle size. Multiple different prices can be included.</xs:documentation></xs:annotation></xs:element>
<xs:element name="apogee" type="apogeeDetail" minOccurs="0"><xs:annotation><xs:documentation>Approximate years for when to start to drink, when it is at its best and when the wine will start to degrade.</xs:documentation></xs:annotation></xs:element>
<xs:element name="firstyear" type="xs:gYear" minOccurs="0"><xs:annotation><xs:documentation>The year when one can start to drink the wine.</xs:documentation></xs:annotation></xs:element>
<xs:element name="bestyear" type="xs:gYear" minOccurs="0"><xs:annotation><xs:documentation>The year when the wine should at its best.</xs:documentation></xs:annotation></xs:element>
<xs:element name="pastyear" type="xs:gYear" minOccurs="0"><xs:annotation><xs:documentation>The year when the wine is starting to degrade.</xs:documentation></xs:annotation></xs:element>
<xs:element name="tasting" type="tastingDetail" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Tasting notes, sometimes called ratings or reviews.</xs:documentation></xs:annotation></xs:element>
Who did the tasting, e.g. Robert Parker, RVF, wein-plus.de etc
Diagram
Type
xs:string
Properties
content:
simple
Source
<xs:element name="tastedby" type="xs:string"><xs:annotation><xs:documentation>Who did the tasting, e.g. Robert Parker, RVF, wein-plus.de etc</xs:documentation></xs:annotation></xs:element>
<xs:element name="tastingextended" type="tastingExtendedDetail" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>deprecated as of 1.1</xs:documentation></xs:annotation></xs:element>
<xs:element name="valuename" type="xs:string"><xs:annotation><xs:documentation>An element name as a string</xs:documentation></xs:annotation></xs:element>
<xs:element name="valuedatatype"><xs:annotation><xs:documentation>The datatype of the value, see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="date"/><xs:enumeration value="string"/><xs:enumeration value="int"/></xs:restriction></xs:simpleType></xs:element>
i.e. for 100 point Parker this is set to 50 otherwise it should probably be set to 0
Diagram
Type
restriction of xs:decimal
Properties
content:
simple
Facets
fractionDigits
1
Source
<xs:element name="adjustmentpoints"><xs:annotation><xs:documentation>i.e. for 100 point Parker this is set to 50 otherwise it should probably be set to 0</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"><xs:fractionDigits value="1"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="description" type="xs:string"><xs:annotation><xs:documentation>Description of the tasting, e.g. "Annual tasting"</xs:documentation></xs:annotation></xs:element>
<xs:element name="tastingmethod" type="xs:string"><xs:annotation><xs:documentation>Name of the tasting method used</xs:documentation></xs:annotation></xs:element>
<xs:element name="matznermethod" type="tastingMatznerDetail"><xs:annotation><xs:documentation>Author of Zapfen ab (ISBN 3-280-06005-2) his web site: http://www.vinicus.ch/</xs:documentation></xs:annotation></xs:element>
<xs:element name="points"><xs:annotation><xs:documentation>points for first impression</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="20"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="taste"><xs:complexType><xs:sequence><xs:element name="harmonypoints"><xs:annotation><xs:documentation>points for harmony of taste</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="15"/></xs:restriction></xs:simpleType></xs:element><xs:element name="intensitypoints"><xs:annotation><xs:documentation>points for intensity of taste</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="10"/></xs:restriction></xs:simpleType></xs:element><xs:element name="maturitypotentialpoints"><xs:annotation><xs:documentation>points for maturity or potential</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="5"/></xs:restriction></xs:simpleType></xs:element><xs:element name="notes" type="notes" minOccurs="0"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="harmonypoints"><xs:annotation><xs:documentation>points for harmony of taste</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="15"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="intensitypoints"><xs:annotation><xs:documentation>points for intensity of taste</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="10"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="maturitypotentialpoints"><xs:annotation><xs:documentation>points for maturity or potential</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="5"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="qualitypoints"><xs:annotation><xs:documentation>points for quality of finish</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="15"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="lengthpoints"><xs:annotation><xs:documentation>points for length of finish</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="tastingPoints"><xs:minInclusive value="0"/><xs:maxInclusive value="5"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="parkermethod" type="tastingParkerDetail"><xs:annotation><xs:documentation>Robert Parker author of Guide Parker des vins de France and others</xs:documentation></xs:annotation></xs:element>
<xs:element name="johnsonbroadbentmethod" type="tastingJohnsonBroadbentDetail"><xs:annotation><xs:documentation>Hugh Johnson author of World Atlas of Wine and others</xs:documentation></xs:annotation></xs:element>
<xs:element name="broadbentmethod" type="tastingBroadbentDetail"><xs:annotation><xs:documentation>Michael Broadbent author of Wine Tasting ISBN 1-84000-854-7</xs:documentation></xs:annotation></xs:element>
<xs:element name="refcode" type="refCode" minOccurs="0"><xs:annotation><xs:documentation>Ideally this should be a "world wide" uniqe code such as a TAX ID, a Dun and Bradstreet company code or similar.</xs:documentation></xs:annotation></xs:element>
<xs:element name="negotiant" type="xs:boolean" minOccurs="0"><xs:annotation><xs:documentation>Set this to "true" or "1" if this is a Negotiant</xs:documentation></xs:annotation></xs:element>
This can be used for the GS1 (previously EAN/UPC) code applied to bottle labels as a bar code (See also - http://www.ean-int.org/ ), it can also be used for other unique identifiers. When it is used the source attribute should be filled with a string to identify it, e.g. "GS1" if it is barcode or "GWS" for GlobalWineStocks etc.
<xs:element name="refcode" minOccurs="0"><xs:annotation><xs:documentation>This can be used for the GS1 (previously EAN/UPC) code applied to bottle labels as a bar code (See also - http://www.ean-int.org/ ), it can also be used for other unique identifiers. When it is used the source attribute should be filled with a string to identify it, e.g. "GS1" if it is barcode or "GWS" for GlobalWineStocks etc.</xs:documentation></xs:annotation><xs:complexType><xs:simpleContent><xs:extension base="refCode"><xs:attribute name="source" type="xs:string" use="optional"/></xs:extension></xs:simpleContent></xs:complexType></xs:element>
<xs:element name="cellar" type="xs:string"><xs:annotation><xs:documentation>The description of the wine cellar</xs:documentation></xs:annotation></xs:element>
<xs:element name="rackname" type="xs:string"><xs:annotation><xs:documentation>The description of the wine rack</xs:documentation></xs:annotation></xs:element>
<xs:element name="rackbin" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The bin number or code</xs:documentation></xs:annotation></xs:element>
<xs:element name="rackcolumn" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The column number within the wine rack</xs:documentation></xs:annotation></xs:element>
<xs:element name="rackrow" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The row number within the wine rack</xs:documentation></xs:annotation></xs:element>
The quantity of bottles within this particular location
Diagram
Type
xs:nonNegativeInteger
Properties
content:
simple
default:
0
Source
<xs:element name="quantity" type="xs:nonNegativeInteger" default="0"><xs:annotation><xs:documentation>The quantity of bottles within this particular location</xs:documentation></xs:annotation></xs:element>
<xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>The name of the storage location</xs:documentation></xs:annotation></xs:element>
<xs:element name="lane" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The lane number or code</xs:documentation></xs:annotation></xs:element>
<xs:element name="bin" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The bin number or code</xs:documentation></xs:annotation></xs:element>
<xs:element name="column" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The column number within the bin</xs:documentation></xs:annotation></xs:element>
<xs:element name="row" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The row number within the bin</xs:documentation></xs:annotation></xs:element>
<xs:element name="containertype" type="containerType" minOccurs="0"><xs:annotation><xs:documentation>The type of container in this location - see enumerations.</xs:documentation></xs:annotation></xs:element>
The quantity of bottles within this particular location
Diagram
Type
xs:nonNegativeInteger
Properties
content:
simple
default:
0
Source
<xs:element name="quantity" type="xs:nonNegativeInteger" default="0"><xs:annotation><xs:documentation>The quantity of bottles within this particular location</xs:documentation></xs:annotation></xs:element>
url to the product page, sometimes refered to as "deeplink"
Diagram
Type
xs:anyURI
Properties
content:
simple
minOccurs:
0
Source
<xs:element name="producturl" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>url to the product page, sometimes refered to as "deeplink"</xs:documentation></xs:annotation></xs:element>
<xs:element name="videourl" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>url to a video file with a clip for the product</xs:documentation></xs:annotation></xs:element>
<xs:element name="audiourl" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>url to an audio file in mp3 format</xs:documentation></xs:annotation></xs:element>
<xs:element name="weight" minOccurs="0"><xs:annotation><xs:documentation>The weight of all the bottle in this detail.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="measure"><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="lbs"/><xs:enumeration value="kg"/></xs:restriction></xs:simpleType></xs:element><xs:element name="value" type="xs:decimal"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="condition" type="notes" minOccurs="0"><xs:annotation><xs:documentation>The physical condition of the bottle(s), label is dirty, cork is moldy</xs:documentation></xs:annotation></xs:element>
Used with a collection to link a bottle to a particular package
Diagram
Type
xs:string
Properties
content:
simple
minOccurs:
0
Source
<xs:element name="packagerefcode" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>Used with a collection to link a bottle to a particular package</xs:documentation></xs:annotation></xs:element>
Who provided this rating average as a free format string, e.g. 'GWS'
Diagram
Type
xs:string
Properties
content:
simple
Source
<xs:element name="averageby" type="xs:string"><xs:annotation><xs:documentation>Who provided this rating average as a free format string, e.g. 'GWS'</xs:documentation></xs:annotation></xs:element>
<xs:element name="averageon" type="date"><xs:annotation><xs:documentation>When was this rating average generated.</xs:documentation></xs:annotation></xs:element>
<xs:element name="ratingsystem"><xs:annotation><xs:documentation>What rating systems is used, see enumerations.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="100"/><xs:enumeration value="20"/></xs:restriction></xs:simpleType></xs:element>
Average rating points based on the ratings of the crictics included for this rating average.
Diagram
Type
restriction of xs:decimal
Properties
content:
simple
minOccurs:
1
Facets
fractionDigits
1
Source
<xs:element name="points" minOccurs="1"><xs:annotation><xs:documentation>Average rating points based on the ratings of the crictics included for this rating average.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"><xs:fractionDigits value="1"/></xs:restriction></xs:simpleType></xs:element>
Number of critics rating wine with:100 point system: 50 to 79 points20 point system: 1 to 10
Diagram
Type
restriction of xs:integer
Properties
content:
simple
minOccurs:
0
Facets
fractionDigits
0
Source
<xs:element name="category1" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 50 to 79 points
20 point system: 1 to 10</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element>
Number of critics rating wine with:100 point system: 80 to 84 points20 point system: 11 to 14
Diagram
Type
restriction of xs:integer
Properties
content:
simple
minOccurs:
0
Facets
fractionDigits
0
Source
<xs:element name="category2" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 80 to 84 points
20 point system: 11 to 14</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element>
Number of critics rating wine with:100 point system: 85 to 89 points20 point system: 15 to 16
Diagram
Type
restriction of xs:integer
Properties
content:
simple
minOccurs:
0
Facets
fractionDigits
0
Source
<xs:element name="category3" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 85 to 89 points
20 point system: 15 to 16</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element>
Number of critics rating wine with:100 point system: 90 to 94 points20 point system: 17 to 18
Diagram
Type
restriction of xs:integer
Properties
content:
simple
minOccurs:
0
Facets
fractionDigits
0
Source
<xs:element name="category4" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 90 to 94 points
20 point system: 17 to 18</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element>
Number of critics rating wine with:100 point system: 95 to 100 points20 point system: 19 to 20
Diagram
Type
restriction of xs:integer
Properties
content:
simple
minOccurs:
0
Facets
fractionDigits
0
Source
<xs:element name="category5" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 95 to 100 points
20 point system: 19 to 20</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="critics" type="notes" minOccurs="0"><xs:annotation><xs:documentation>A comma separated list of the critic names for this rating average.</xs:documentation></xs:annotation></xs:element>
<xs:element name="cuvee" type="cuveeDetail" minOccurs="0"><xs:annotation><xs:documentation>The cuvee details of the wine, the percentage per grape varity, and free form notes.</xs:documentation></xs:annotation></xs:element>
<xs:element name="servingtemperature" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Serving temperature in degree, e.g. 18.0</xs:documentation></xs:annotation></xs:element>
<xs:element name="decantingtime" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Decanting time in hours, e.g. 1.5</xs:documentation></xs:annotation></xs:element>
<xs:element name="bottlelabel" type="imageDetail" minOccurs="0"><xs:annotation><xs:documentation>An image of the bottle or its label</xs:documentation></xs:annotation></xs:element>
Image file name, extension should hopefully match imageformat
Diagram
Type
xs:string
Properties
content:
simple
Source
<xs:element name="imagefilename" type="xs:string"><xs:annotation><xs:documentation>Image file name, extension should hopefully match imageformat</xs:documentation></xs:annotation></xs:element>
<xs:element name="imageformat"><xs:annotation><xs:documentation>Image format, see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="JPEG"/><xs:enumeration value="GIF"/><xs:enumeration value="PNG"/><xs:enumeration value="BMP"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="imagedata" type="xs:base64Binary"><xs:annotation><xs:documentation>image data encoded in base64 - see RFC 2045</xs:documentation></xs:annotation></xs:element>
<xs:element name="harvestdate" type="date" minOccurs="0"><xs:annotation><xs:documentation>The date of the harvest.</xs:documentation></xs:annotation></xs:element>
<xs:element name="bottlingdate" type="date" minOccurs="0"><xs:annotation><xs:documentation>The date the wine was bottled.</xs:documentation></xs:annotation></xs:element>
<xs:element name="winemaker" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The name of the wine maker.</xs:documentation></xs:annotation></xs:element>
<xs:element name="brix" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>The degree of brix the wine had.</xs:documentation></xs:annotation></xs:element>
<xs:element name="baumé" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>The degree of baumé the wine had.</xs:documentation></xs:annotation></xs:element>
The number of month the wine was aged in barrel/barrique.
Diagram
Type
xs:int
Properties
content:
simple
minOccurs:
0
Source
<xs:element name="barrelaged" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The number of month the wine was aged in barrel/barrique.</xs:documentation></xs:annotation></xs:element>
<xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Additional free from notes with regards to the vinification of this vintage.</xs:documentation></xs:annotation></xs:element>
<xs:element name="winetype" type="winetypeDetail"><xs:annotation><xs:documentation>Type of wine, e.g. red, white etc, and optional winefamily</xs:documentation></xs:annotation></xs:element>
The wine family, as defined by Larousse des vins, they are useful to pair wine and food. see enumerations.
Diagram
Type
restriction of xs:string
Properties
content:
simple
minOccurs:
0
Facets
enumeration
white, dry, light and lively
enumeration
white, dry, soft and fruity
enumeration
white, dry, rich and distinctive
enumeration
white, dry, very aromatic
enumeration
white, demi-sec, mellow, syrupy
enumeration
rosé, lively, and fruity
enumeration
rosé, winey and full-bodied
enumeration
red, light and fruity
enumeration
red, full-bodied and fruity
enumeration
red, complex, powerful and generous
enumeration
red, complex, tanic and distinctive
enumeration
red, complex, elegant and distinctive
enumeration
effervescent
enumeration
sweet natural and sweet liqueur
enumeration
others
Source
<xs:element name="winefamily" minOccurs="0"><xs:annotation><xs:documentation>The wine family, as defined by Larousse des vins, they are useful to pair wine and food. see enumerations.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="white, dry, light and lively"/><xs:enumeration value="white, dry, soft and fruity"/><xs:enumeration value="white, dry, rich and distinctive"/><xs:enumeration value="white, dry, very aromatic"/><xs:enumeration value="white, demi-sec, mellow, syrupy"/><xs:enumeration value="rosé, lively, and fruity"/><xs:enumeration value="rosé, winey and full-bodied"/><xs:enumeration value="red, light and fruity"/><xs:enumeration value="red, full-bodied and fruity"/><xs:enumeration value="red, complex, powerful and generous"/><xs:enumeration value="red, complex, tanic and distinctive"/><xs:enumeration value="red, complex, elegant and distinctive"/><xs:enumeration value="effervescent"/><xs:enumeration value="sweet natural and sweet liqueur"/><xs:enumeration value="others"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="origin" type="originDetail"><xs:annotation><xs:documentation>Origin of the wine including country, state, region and vineyard</xs:documentation></xs:annotation></xs:element>
Name of the state, used for countries like the USA, Australia, not used for e.g. France
Diagram
Type
restriction of xs:string
Properties
content:
simple
minOccurs:
0
Facets
whiteSpace
collapse
maxLength
50
Source
<xs:element name="state" minOccurs="0"><xs:annotation><xs:documentation>Name of the state, used for countries like the USA, Australia, not used for e.g. France</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element>
e.g. Bordeaux, preferably in the countries language
Diagram
Type
restriction of xs:string
Properties
content:
simple
minOccurs:
0
Facets
whiteSpace
collapse
maxLength
50
Source
<xs:element name="geographicregion" minOccurs="0"><xs:annotation><xs:documentation>e.g. Bordeaux, preferably in the countries language</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element>
e.g. St. Emillion, preferably in the countries language. This would normally be used for AOC, DOC etc, i.e. officially reconized wine regions. If the wine regions are further divided then the following elements can be used.
Diagram
Type
restriction of xs:string
Properties
content:
simple
minOccurs:
0
Facets
whiteSpace
collapse
maxLength
50
Source
<xs:element name="wineregion" minOccurs="0"><xs:annotation><xs:documentation>e.g. St. Emillion, preferably in the countries language. This would normally be used for AOC, DOC etc, i.e. officially reconized wine regions. If the wine regions are further divided then the following elements can be used.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="area" minOccurs="0"><xs:annotation><xs:documentation>A wine area, a sub-division of a wine region.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element>
A wine sub-area, used to further divide a wine area.
Diagram
Type
restriction of xs:string
Properties
content:
simple
minOccurs:
0
Facets
whiteSpace
collapse
maxLength
50
Source
<xs:element name="subarea" minOccurs="0"><xs:annotation><xs:documentation>A wine sub-area, used to further divide a wine area.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element>
Used to define the actual vineyard/lot were the grapes come from. Often used in the new world, especially Napa Valley
Diagram
Type
restriction of xs:string
Properties
content:
simple
minOccurs:
0
Facets
whiteSpace
collapse
maxLength
50
Source
<xs:element name="vineyard" minOccurs="0"><xs:annotation><xs:documentation>Used to define the actual vineyard/lot were the grapes come from. Often used in the new world, especially Napa Valley</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="subvineyard" minOccurs="0"><xs:annotation><xs:documentation>A sub-division of a vineyard.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="category" type="categoryDetail" minOccurs="0"><xs:annotation><xs:documentation>The category of the wine e.g. AOC, DOC etc</xs:documentation></xs:annotation></xs:element>
<xs:element name="producer" type="producerDetail" minOccurs="0"><xs:annotation><xs:documentation>The producer of the wine, e.g. a vineyard, coop etc</xs:documentation></xs:annotation></xs:element>
<xs:element name="refcode" type="refCode" minOccurs="0"><xs:annotation><xs:documentation>Ideally this should be a "world wide" uniqe code such as a TAX ID, a Dun and Bradstreet company code or similar.</xs:documentation></xs:annotation></xs:element>
<xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>Name/description of the vineyard</xs:documentation></xs:annotation></xs:element>
<xs:element name="reseller" type="resellerDetail" minOccurs="0"><xs:annotation><xs:documentation>The reseller of the wine</xs:documentation></xs:annotation></xs:element>
<xs:element name="foodaccompaniments" type="foodAccompaniments" minOccurs="0"><xs:annotation><xs:documentation>What food goes well with this wine, see also winefamily under winetype.</xs:documentation></xs:annotation></xs:element>
<xs:element name="customextension" type="customExtension" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Should only be used temporarily, post to the custom extension forum on www.vinoxml.org and explain your particular requirement!</xs:documentation></xs:annotation></xs:element>
<xs:element name="generator" type="generatorDetail"><xs:annotation><xs:documentation>Information on how/who generated the XML instance.</xs:documentation></xs:annotation></xs:element>
Who generated this vinoXML document, e.g. the name of the software or the website.
Diagram
Type
xs:string
Properties
content:
simple
Source
<xs:element name="genname" type="xs:string"><xs:annotation><xs:documentation>Who generated this vinoXML document, e.g. the name of the software or the website.</xs:documentation></xs:annotation></xs:element>
A valid email address, should be the support email address for the generator.
Diagram
Type
xs:anyURI
Properties
content:
simple
Source
<xs:element name="email" type="xs:anyURI"><xs:annotation><xs:documentation>A valid email address, should be the support email address for the generator.</xs:documentation></xs:annotation></xs:element>
<xs:element name="gendatetime" type="datetime"><xs:annotation><xs:documentation>The date when the instance was generated.</xs:documentation></xs:annotation></xs:element>
<xs:element name="xmlschemaversion" type="xs:string" default="1.1.3"><xs:annotation><xs:documentation>The vinoXML schema version the instance used.</xs:documentation></xs:annotation></xs:element>
<xs:element name="containertype" type="containerType"><xs:annotation><xs:documentation>Packaging type - see enumerations</xs:documentation></xs:annotation></xs:element>
<xs:element name="wineBatch"><xs:annotation><xs:documentation>root element for a batch - file extension to be used is .vinoxmlbatch</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="batchcreator"><xs:annotation><xs:documentation>Details about organisation/person who created this batch</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="name"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail"/><xs:element name="batchdate" type="date"/><xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="batchitem" type="wineDetailBatch" maxOccurs="unbounded"><xs:annotation><xs:documentation>One for each wine in the batch</xs:documentation></xs:annotation></xs:element><xs:element name="generator" type="generatorDetail"/><xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Notes to this batch, e.g. allowed use, i.e. license type etc.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element>
<xs:element name="batchcreator"><xs:annotation><xs:documentation>Details about organisation/person who created this batch</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="name"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail"/><xs:element name="batchdate" type="date"/><xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element>
<xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element>
<xs:element name="batchitem" type="wineDetailBatch" maxOccurs="unbounded"><xs:annotation><xs:documentation>One for each wine in the batch</xs:documentation></xs:annotation></xs:element>
Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage
Diagram
Properties
minOccurs:
0
Source
<xs:element name="variety" minOccurs="0"><xs:annotation><xs:documentation>Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage</xs:documentation></xs:annotation></xs:element>
<xs:element name="winetype" type="winetypeDetail"><xs:annotation><xs:documentation>Type of wine, e.g. red, white etc, and optional winefamily</xs:documentation></xs:annotation></xs:element>
<xs:element name="origin" type="originDetail" minOccurs="0"><xs:annotation><xs:documentation>Origin of the wine including country, state, region and vineyard</xs:documentation></xs:annotation></xs:element>
<xs:element name="category" type="categoryDetail" minOccurs="0"><xs:annotation><xs:documentation>The category of the wine e.g. AOC, DOC etc</xs:documentation></xs:annotation></xs:element>
<xs:element name="producer" type="producerDetail" minOccurs="0"><xs:annotation><xs:documentation>The producer of the wine, e.g. a vineyard, coop etc</xs:documentation></xs:annotation></xs:element>
<xs:element name="foodaccompaniments" type="foodAccompaniments" minOccurs="0"><xs:annotation><xs:documentation>What food goes well with this wine, see also winefamily under winetype.</xs:documentation></xs:annotation></xs:element>
<xs:element name="customextension" type="customExtension" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Should only be used temporarily, post to the custom extension forum on www.vinoxml.org and explain your particular requirement!</xs:documentation></xs:annotation></xs:element>
A sequence number of this item, i.e. a unique number within a batch to identify this item. Can be used to 'link' this item to the corresponding query item.
Diagram
Type
xs:integer
Properties
content:
simple
Source
<xs:element name="sequence" type="xs:integer"><xs:annotation><xs:documentation>A sequence number of this item, i.e. a unique number within a batch to identify this item. Can be used to 'link' this item to the corresponding query item.</xs:documentation></xs:annotation></xs:element>
<xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Notes to this batch, e.g. allowed use, i.e. license type etc.</xs:documentation></xs:annotation></xs:element>
Element contactBatch
Namespace
http://www.vinoxml.org/XMLschema
Annotations
root element for a batch of contact addresses - file extension to be used is .vinoXMLcontact
<xs:element name="contactBatch"><xs:annotation><xs:documentation>root element for a batch of contact addresses - file extension to be used is .vinoXMLcontact</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="batchcreator"><xs:annotation><xs:documentation>Details about organisation/person who created this batch</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="name"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail"/><xs:element name="batchdate" type="date"/><xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="producer" type="producerDetail" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Producer information</xs:documentation></xs:annotation></xs:element><xs:element name="reseller" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Reseller information</xs:documentation></xs:annotation><xs:complexType><xs:complexContent><xs:extension base="resellerDetail"><xs:attribute name="type" type="xs:string" use="optional"><xs:annotation><xs:documentation source="Reseller type">broker, retailer, wholesale, distributor etc</xs:documentation></xs:annotation></xs:attribute><xs:attribute name="catalog" type="xs:anyURI" use="optional"><xs:annotation><xs:documentation source="URL of the catalog"/></xs:annotation></xs:attribute><xs:attribute name="catalogupdatefreq" type="xs:int" use="optional"><xs:annotation><xs:documentation source="Catalog update frequency in days"/></xs:annotation></xs:attribute></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="generator" type="generatorDetail"/><xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Notes to this batch, e.g. allowed use, i.e. license type etc.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element>
<xs:element name="batchcreator"><xs:annotation><xs:documentation>Details about organisation/person who created this batch</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="name"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail"/><xs:element name="batchdate" type="date"/><xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element>
<xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element>
<xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Notes to this batch, e.g. allowed use, i.e. license type etc.</xs:documentation></xs:annotation></xs:element>
Element query
Namespace
http://www.vinoxml.org/XMLschema
Annotations
root element for a query - used for online query of wines
<xs:element name="query"><xs:annotation><xs:documentation>root element for a query - used for online query of wines</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="querycreator"><xs:annotation><xs:documentation>Details about organisation/person who created this query</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="name"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail"/><xs:element name="querydate" type="date"/><xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="queryitem" type="queryDetail" maxOccurs="unbounded"><xs:annotation><xs:documentation>One for each wine in the query</xs:documentation></xs:annotation></xs:element><xs:element name="generator" type="generatorDetail"/><xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Notes to this query, e.g. allowed use, i.e. license type etc.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element>
<xs:element name="querycreator"><xs:annotation><xs:documentation>Details about organisation/person who created this query</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="name"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail"/><xs:element name="querydate" type="date"/><xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element>
<xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this batch</xs:documentation></xs:annotation></xs:element>
<xs:element name="queryitem" type="queryDetail" maxOccurs="unbounded"><xs:annotation><xs:documentation>One for each wine in the query</xs:documentation></xs:annotation></xs:element>
Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage
Diagram
Properties
minOccurs:
0
Source
<xs:element name="variety" minOccurs="0"><xs:annotation><xs:documentation>Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage</xs:documentation></xs:annotation></xs:element>
<xs:element name="year" minOccurs="0"><xs:annotation><xs:documentation>The vintage of the wine.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:gYear"><xs:minInclusive value="1700"/><xs:maxInclusive value="9999"/></xs:restriction></xs:simpleType></xs:element>
This can be used for the GS1 (previously EAN/UPC) code applied to bottle labels as a bar code (See also - http://www.ean-int.org/ ), it can also be used for other unique identifiers. When it is used the source attribute should be filled with a string to identify it, e.g. "GS1" if it is barcode or "GWS" for GlobalWineStocks etc.
<xs:element name="refcode" minOccurs="0"><xs:annotation><xs:documentation>This can be used for the GS1 (previously EAN/UPC) code applied to bottle labels as a bar code (See also - http://www.ean-int.org/ ), it can also be used for other unique identifiers. When it is used the source attribute should be filled with a string to identify it, e.g. "GS1" if it is barcode or "GWS" for GlobalWineStocks etc.</xs:documentation></xs:annotation><xs:complexType><xs:simpleContent><xs:extension base="refCode"><xs:attribute name="source" type="xs:string" use="optional"/></xs:extension></xs:simpleContent></xs:complexType></xs:element>
<xs:element name="winetype" type="winetypeDetail" minOccurs="0"><xs:annotation><xs:documentation>Type of wine, e.g. red, white etc, and optional winefamily</xs:documentation></xs:annotation></xs:element>
<xs:element name="origin" type="originDetail" minOccurs="0"><xs:annotation><xs:documentation>Origin of the wine including country, state, region and vineyard</xs:documentation></xs:annotation></xs:element>
<xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Additional notes to the item</xs:documentation></xs:annotation></xs:element>
A sequence number of this item, i.e. a unique number within a query to identify this item
Diagram
Type
xs:integer
Properties
content:
simple
Source
<xs:element name="sequence" type="xs:integer"><xs:annotation><xs:documentation>A sequence number of this item, i.e. a unique number within a query to identify this item</xs:documentation></xs:annotation></xs:element>
<xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Notes to this query, e.g. allowed use, i.e. license type etc.</xs:documentation></xs:annotation></xs:element>
Element wineCollection
Namespace
http://www.vinoxml.org/XMLschema
Annotations
root element for a collection - file extension to be used is .vinoxmlcoll, not all software will support this, due to its structure it is complexer to represent it in a GUI and makes an import routine more complex.
<xs:element name="wineCollection"><xs:annotation><xs:documentation>root element for a collection - file extension to be used is .vinoxmlcoll, not all software will support this, due to its structure it is complexer to represent it in a GUI and makes an import routine more complex.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="collectioncreator"><xs:annotation><xs:documentation>Details about organisation/person who created this collection</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="name"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail"/><xs:element name="batchdate" type="date"/><xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this collection</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="collectioninfo" type="collectionInformation"><xs:annotation><xs:documentation>Information on this collection</xs:documentation></xs:annotation></xs:element><xs:element name="packaging" type="packagingDetails" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Details on the packaging used for this collection</xs:documentation></xs:annotation></xs:element><xs:element name="collectionitem" maxOccurs="unbounded"><xs:annotation><xs:documentation>One for each wine in the collection</xs:documentation></xs:annotation><xs:complexType><xs:complexContent><xs:extension base="wineDetailCollection"/></xs:complexContent></xs:complexType></xs:element><xs:element name="generator" type="generatorDetail"/></xs:sequence></xs:complexType></xs:element>
<xs:element name="collectioncreator"><xs:annotation><xs:documentation>Details about organisation/person who created this collection</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="name"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail"/><xs:element name="batchdate" type="date"/><xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this collection</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element>
<xs:element name="refcode" type="refCode"><xs:annotation><xs:documentation>a unique identifier for this collection</xs:documentation></xs:annotation></xs:element>
<xs:element name="collectioninfo" type="collectionInformation"><xs:annotation><xs:documentation>Information on this collection</xs:documentation></xs:annotation></xs:element>
<xs:element name="price" type="priceDetail"><xs:annotation><xs:documentation>The price of the whole collection</xs:documentation></xs:annotation></xs:element>
<xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Additional notes to this collection</xs:documentation></xs:annotation></xs:element>
<xs:element name="packaging" type="packagingDetails" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Details on the packaging used for this collection</xs:documentation></xs:annotation></xs:element>
<xs:element name="collectionitem" maxOccurs="unbounded"><xs:annotation><xs:documentation>One for each wine in the collection</xs:documentation></xs:annotation><xs:complexType><xs:complexContent><xs:extension base="wineDetailCollection"/></xs:complexContent></xs:complexType></xs:element>
Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage
Diagram
Properties
minOccurs:
0
Source
<xs:element name="variety" minOccurs="0"><xs:annotation><xs:documentation>Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage</xs:documentation></xs:annotation></xs:element>
<xs:element name="year" minOccurs="0"><xs:annotation><xs:documentation>The vintage of the wine.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:gYear"><xs:minInclusive value="1700"/><xs:maxInclusive value="9999"/></xs:restriction></xs:simpleType></xs:element>
<xs:element name="bottle" type="bottleDetail" maxOccurs="unbounded"><xs:annotation><xs:documentation>Information on the bottle size, price and other information.</xs:documentation></xs:annotation></xs:element>
<xs:element name="cuvee" type="cuveeDetail" minOccurs="0"><xs:annotation><xs:documentation>The cuvee details of the wine, the percentage per grape varity, and free form notes.</xs:documentation></xs:annotation></xs:element>
<xs:element name="servingtemperature" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Serving temperature in degree, e.g. 18.0</xs:documentation></xs:annotation></xs:element>
<xs:element name="decantingtime" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Decanting time in hours, e.g. 1.5</xs:documentation></xs:annotation></xs:element>
<xs:element name="bottlelabel" type="imageDetail" minOccurs="0"><xs:annotation><xs:documentation>An image of the bottle or its label</xs:documentation></xs:annotation></xs:element>
<xs:element name="winetype" type="winetypeDetail"><xs:annotation><xs:documentation>Type of wine, e.g. red, white etc, and optional winefamily</xs:documentation></xs:annotation></xs:element>
<xs:element name="origin" type="originDetail" minOccurs="0"><xs:annotation><xs:documentation>Origin of the wine including country, state, region and vineyard</xs:documentation></xs:annotation></xs:element>
<xs:element name="category" type="categoryDetail" minOccurs="0"><xs:annotation><xs:documentation>The category of the wine e.g. AOC, DOC etc</xs:documentation></xs:annotation></xs:element>
<xs:element name="producer" type="producerDetail" minOccurs="0"><xs:annotation><xs:documentation>The producer of the wine, e.g. a vineyard, coop etc</xs:documentation></xs:annotation></xs:element>
<xs:element name="foodaccompaniments" type="foodAccompaniments" minOccurs="0"><xs:annotation><xs:documentation>What food goes well with this wine, see also winefamily under winetype.</xs:documentation></xs:annotation></xs:element>
<xs:element name="customextension" type="customExtension" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Should only be used temporarily, post to the custom extension forum on www.vinoxml.org and explain your particular requirement!</xs:documentation></xs:annotation></xs:element>
<xs:complexType name="wineDetail"><xs:annotation><xs:documentation>Contains all the details about a particular wine</xs:documentation></xs:annotation><xs:sequence><xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>The name of the wine</xs:documentation></xs:annotation></xs:element><xs:element name="additionalname" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>Optional/additional name information</xs:documentation></xs:annotation></xs:element><xs:element name="variety" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage</xs:documentation></xs:annotation></xs:element><xs:element name="vintage" type="vintageDetail"><xs:annotation><xs:documentation>Vintage detail, bottle size, cuvee, alcohol, label image etc</xs:documentation></xs:annotation></xs:element><xs:element name="winetype" type="winetypeDetail"><xs:annotation><xs:documentation>Type of wine, e.g. red, white etc, and optional winefamily</xs:documentation></xs:annotation></xs:element><xs:element name="origin" type="originDetail"><xs:annotation><xs:documentation>Origin of the wine including country, state, region and vineyard</xs:documentation></xs:annotation></xs:element><xs:element name="category" type="categoryDetail" minOccurs="0"><xs:annotation><xs:documentation>The category of the wine e.g. AOC, DOC etc</xs:documentation></xs:annotation></xs:element><xs:element name="producer" type="producerDetail" minOccurs="0"><xs:annotation><xs:documentation>The producer of the wine, e.g. a vineyard, coop etc</xs:documentation></xs:annotation></xs:element><xs:element name="reseller" type="resellerDetail" minOccurs="0"><xs:annotation><xs:documentation>The reseller of the wine</xs:documentation></xs:annotation></xs:element><xs:element name="foodaccompaniments" type="foodAccompaniments" minOccurs="0"><xs:annotation><xs:documentation>What food goes well with this wine, see also winefamily under winetype.</xs:documentation></xs:annotation></xs:element><xs:element name="customextension" type="customExtension" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Should only be used temporarily, post to the custom extension forum on www.vinoxml.org and explain your particular requirement!</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="notes" minOccurs="0"/><xs:element name="generator" type="generatorDetail"><xs:annotation><xs:documentation>Information on how/who generated the XML instance.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="vintageDetail"><xs:annotation><xs:documentation>Information related to the vintage/millessime.</xs:documentation></xs:annotation><xs:sequence><xs:element name="year" minOccurs="0"><xs:annotation><xs:documentation>The vintage of the wine.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:gYear"><xs:minInclusive value="1700"/><xs:maxInclusive value="9999"/></xs:restriction></xs:simpleType></xs:element><xs:element name="bottle" type="bottleDetail"><xs:annotation><xs:documentation>Information on the bottle size, price and other information.</xs:documentation></xs:annotation></xs:element><xs:element name="ratingaverage" type="ratingAverageDetail" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Critics rating average</xs:documentation></xs:annotation></xs:element><xs:element name="cuvee" type="cuveeDetail" minOccurs="0"><xs:annotation><xs:documentation>The cuvee details of the wine, the percentage per grape varity, and free form notes.</xs:documentation></xs:annotation></xs:element><xs:element name="alcohol" minOccurs="0"><xs:annotation><xs:documentation>Alcohol content in volume %</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"><xs:fractionDigits value="1"/></xs:restriction></xs:simpleType></xs:element><xs:element name="sugar" minOccurs="0"><xs:annotation><xs:documentation>Residual sugar content in g/L</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"/></xs:simpleType></xs:element><xs:element name="acidity" minOccurs="0"><xs:annotation><xs:documentation>Total acidity in g/L</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"/></xs:simpleType></xs:element><xs:element name="acidtitratable" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Titratable acid in g/L</xs:documentation></xs:annotation></xs:element><xs:element name="acidvolatile" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Volatile acid in g/L</xs:documentation></xs:annotation></xs:element><xs:element name="ph" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>pH value</xs:documentation></xs:annotation></xs:element><xs:element name="servingtemperature" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Serving temperature in degree, e.g. 18.0</xs:documentation></xs:annotation></xs:element><xs:element name="decantingtime" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Decanting time in hours, e.g. 1.5</xs:documentation></xs:annotation></xs:element><xs:element name="bottlelabel" type="imageDetail" minOccurs="0"><xs:annotation><xs:documentation>An image of the bottle or its label</xs:documentation></xs:annotation></xs:element><xs:element name="vinificationdetail" type="vinificationDetail" minOccurs="0"/><xs:element name="notes" type="notes" minOccurs="0"/></xs:sequence></xs:complexType>
<xs:complexType name="bottleDetail"><xs:annotation><xs:documentation>Information related to the bottle size</xs:documentation></xs:annotation><xs:sequence><xs:element name="size"><xs:annotation><xs:documentation>mostly in "ml" see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="100ml"/><xs:enumeration value="200ml"/><xs:enumeration value="250ml"/><xs:enumeration value="350ml"/><xs:enumeration value="375ml"/><xs:enumeration value="400ml"/><xs:enumeration value="500ml"/><xs:enumeration value="620ml"/><xs:enumeration value="700ml"/><xs:enumeration value="750ml"/><xs:enumeration value="1000ml"/><xs:enumeration value="1500ml"/><xs:enumeration value="1750ml"/><xs:enumeration value="2250ml"/><xs:enumeration value="2500ml"/><xs:enumeration value="3000ml-DMag"/><xs:enumeration value="3000ml-Jér"/><xs:enumeration value="4500ml-Jér"/><xs:enumeration value="4500ml-Réh"/><xs:enumeration value="6000ml-Mat"/><xs:enumeration value="6000ml-Imp"/><xs:enumeration value="9000ml-Sal"/><xs:enumeration value="12000ml"/><xs:enumeration value="15000ml"/><xs:enumeration value="Bocks"/></xs:restriction></xs:simpleType></xs:element><xs:element name="price" type="priceDetail" maxOccurs="unbounded"><xs:annotation><xs:documentation>Pricing information on the bottle size. Multiple different prices can be included.</xs:documentation></xs:annotation></xs:element><xs:element name="apogee" type="apogeeDetail" minOccurs="0"><xs:annotation><xs:documentation>Approximate years for when to start to drink, when it is at its best and when the wine will start to degrade.</xs:documentation></xs:annotation></xs:element><xs:element name="sealtype" minOccurs="0"><xs:annotation><xs:documentation>The type of bottle seal used, see enumerations.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="cork"/><xs:enumeration value="twist top"/><xs:enumeration value="glass cork"/><xs:enumeration value="synthetic cork"/><xs:enumeration value="agglomerate cork"/><xs:enumeration value="vino-lok"/></xs:restriction></xs:simpleType></xs:element><xs:element name="tasting" type="tastingDetail" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Tasting notes, sometimes called ratings or reviews.</xs:documentation></xs:annotation></xs:element><xs:choice minOccurs="0"><xs:element name="tastingextended" type="tastingExtendedDetail" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>deprecated as of 1.1</xs:documentation></xs:annotation></xs:element><xs:element name="tastingextended2" type="tastingExtendedDetail2" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Detailed tasting notes.</xs:documentation></xs:annotation></xs:element></xs:choice><xs:element name="purchases" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Purchase transactions.</xs:documentation></xs:annotation><xs:complexType><xs:complexContent><xs:extension base="stockMovement"><xs:sequence><xs:element name="reseller" type="resellerDetail" minOccurs="0"/></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:element><xs:element name="consumptions" type="stockMovement" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Consumption transactions.</xs:documentation></xs:annotation></xs:element><xs:element name="sales" type="stockMovement" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Sale transactions.</xs:documentation></xs:annotation></xs:element><xs:element name="refcode" minOccurs="0"><xs:annotation><xs:documentation>This can be used for the GS1 (previously EAN/UPC) code applied to bottle labels as a bar code (See also - http://www.ean-int.org/ ), it can also be used for other unique identifiers. When it is used the source attribute should be filled with a string to identify it, e.g. "GS1" if it is barcode or "GWS" for GlobalWineStocks etc.</xs:documentation></xs:annotation><xs:complexType><xs:simpleContent><xs:extension base="refCode"><xs:attribute name="source" type="xs:string" use="optional"/></xs:extension></xs:simpleContent></xs:complexType></xs:element><xs:element name="stock" minOccurs="0" maxOccurs="unbounded"><xs:complexType><xs:choice><xs:element name="rack" type="rackLocation" minOccurs="0"><xs:annotation><xs:documentation>Wine rack storage location details</xs:documentation></xs:annotation></xs:element><xs:element name="generic" type="genericLocation" minOccurs="0"><xs:annotation><xs:documentation>Generic storage location</xs:documentation></xs:annotation></xs:element></xs:choice></xs:complexType></xs:element><xs:element name="producturl" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>url to the product page, sometimes refered to as "deeplink"</xs:documentation></xs:annotation></xs:element><xs:element name="videourl" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>url to a video file with a clip for the product</xs:documentation></xs:annotation></xs:element><xs:element name="audiourl" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>url to an audio file in mp3 format</xs:documentation></xs:annotation></xs:element><xs:element name="weight" minOccurs="0"><xs:annotation><xs:documentation>The weight of all the bottle in this detail.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="measure"><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="lbs"/><xs:enumeration value="kg"/></xs:restriction></xs:simpleType></xs:element><xs:element name="value" type="xs:decimal"/></xs:sequence></xs:complexType></xs:element><xs:element name="condition" type="notes" minOccurs="0"><xs:annotation><xs:documentation>The physical condition of the bottle(s), label is dirty, cork is moldy</xs:documentation></xs:annotation></xs:element><xs:element name="packagerefcode" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>Used with a collection to link a bottle to a particular package</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="apogeeDetail"><xs:annotation><xs:documentation>Information on the aging/apogeee of the wine</xs:documentation></xs:annotation><xs:sequence minOccurs="0"><xs:element name="firstyear" type="xs:gYear" minOccurs="0"><xs:annotation><xs:documentation>The year when one can start to drink the wine.</xs:documentation></xs:annotation></xs:element><xs:element name="bestyear" type="xs:gYear" minOccurs="0"><xs:annotation><xs:documentation>The year when the wine should at its best.</xs:documentation></xs:annotation></xs:element><xs:element name="pastyear" type="xs:gYear" minOccurs="0"><xs:annotation><xs:documentation>The year when the wine is starting to degrade.</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="notes" minOccurs="0"/></xs:sequence></xs:complexType>
Simple Type notes
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Free format descriptions, of just about unlimited number of characters
<xs:simpleType name="notes" final="#all"><xs:annotation><xs:documentation>Free format descriptions, of just about unlimited number of characters</xs:documentation></xs:annotation><xs:restriction base="xs:string"/></xs:simpleType>
<xs:simpleType name="date"><xs:annotation><xs:documentation>in the format yyyy-mm-dd, e.g. 2005-12-15</xs:documentation></xs:annotation><xs:restriction base="xs:date"/></xs:simpleType>
<xs:complexType name="tastingExtendedDetail"><xs:annotation><xs:documentation>DEPRECATED as of 1.1!!!</xs:documentation></xs:annotation><xs:sequence><xs:element name="tastingsystem" type="xs:string"/><xs:element name="description" type="xs:string"/><xs:element name="tastedon" type="date"/><xs:element name="participant" type="guest" minOccurs="0" maxOccurs="unbounded"/><xs:element name="firstimpression" type="tastingExtSection" minOccurs="0"/><xs:element name="sight" type="tastingExtSection"/><xs:element name="smell" type="tastingExtSection"/><xs:element name="taste" type="tastingExtSection"/><xs:element name="finish" type="tastingExtSection" minOccurs="0"/><xs:element name="overall" type="tastingExtSection" minOccurs="0"/><xs:element name="adjustmentpoints"><xs:annotation><xs:documentation>i.e. for 100 point Parker this is set to 50 otherwise it should probably be set to 0</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"><xs:fractionDigits value="1"/></xs:restriction></xs:simpleType></xs:element><xs:element name="notes" type="notes" minOccurs="0"/></xs:sequence></xs:complexType>
<xs:complexType name="guest"><xs:annotation><xs:documentation>Guest details, used on tastingExtendedDetail</xs:documentation></xs:annotation><xs:sequence><xs:element name="firstname" type="xs:string"/><xs:element name="lastname" type="xs:string"/></xs:sequence></xs:complexType>
Complex Type tastingExtSection
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Tasting information, used by tastingExtendedDetail
<xs:complexType name="customExtension"><xs:annotation><xs:documentation>Should only be used temporarily, until the schema is updated to support the requirement!</xs:documentation></xs:annotation><xs:sequence><xs:element name="valuename" type="xs:string"><xs:annotation><xs:documentation>An element name as a string</xs:documentation></xs:annotation></xs:element><xs:element name="valuedatatype"><xs:annotation><xs:documentation>The datatype of the value, see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="date"/><xs:enumeration value="string"/><xs:enumeration value="int"/></xs:restriction></xs:simpleType></xs:element><xs:element name="value" type="xs:string"><xs:annotation><xs:documentation>The value as a string</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
Complex Type tastingExtendedDetail2
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Detailed tasting information - replaces tastingExtendedDetail
<xs:complexType name="tastingExtendedDetail2"><xs:annotation><xs:documentation>Detailed tasting information - replaces tastingExtendedDetail</xs:documentation></xs:annotation><xs:sequence><xs:element name="description" type="xs:string"><xs:annotation><xs:documentation>Description of the tasting, e.g. "Annual tasting"</xs:documentation></xs:annotation></xs:element><xs:element name="tastedon" type="date"/><xs:element name="participant" type="guest" minOccurs="0" maxOccurs="unbounded"/><xs:element name="notes" type="notes" minOccurs="0"/><xs:element name="tastingmethod" type="xs:string"><xs:annotation><xs:documentation>Name of the tasting method used</xs:documentation></xs:annotation></xs:element><xs:choice><xs:element name="matznermethod" type="tastingMatznerDetail"><xs:annotation><xs:documentation>Author of Zapfen ab (ISBN 3-280-06005-2) his web site: http://www.vinicus.ch/</xs:documentation></xs:annotation></xs:element><xs:element name="parkermethod" type="tastingParkerDetail"><xs:annotation><xs:documentation>Robert Parker author of Guide Parker des vins de France and others</xs:documentation></xs:annotation></xs:element><xs:element name="johnsonbroadbentmethod" type="tastingJohnsonBroadbentDetail"><xs:annotation><xs:documentation>Hugh Johnson author of World Atlas of Wine and others</xs:documentation></xs:annotation></xs:element><xs:element name="broadbentmethod" type="tastingBroadbentDetail"><xs:annotation><xs:documentation>Michael Broadbent author of Wine Tasting ISBN 1-84000-854-7</xs:documentation></xs:annotation></xs:element><xs:element name="hundredpointgeneric" type="tastingHundredPointDetail"><xs:annotation><xs:documentation>"Generic" 100 point tasting method</xs:documentation></xs:annotation></xs:element><xs:element name="twentypointgeneric" type="tastingTwentyPointDetail"><xs:annotation><xs:documentation>"Generic" 20 point tasting method</xs:documentation></xs:annotation></xs:element></xs:choice></xs:sequence></xs:complexType>
Complex Type tastingMatznerDetail
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Tasting notes using the Matzner - Zapfen ab system
<xs:complexType name="resellerDetail"><xs:annotation><xs:documentation>Contact information for a supplier/reseller</xs:documentation></xs:annotation><xs:sequence minOccurs="0"><xs:element name="name" type="xs:string"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail" minOccurs="0"/><xs:element name="contact" type="contactDetail" minOccurs="0"/><xs:element name="notes" type="notes" minOccurs="0"/><xs:element name="refcode" type="refCode" minOccurs="0"><xs:annotation><xs:documentation>Ideally this should be a "world wide" uniqe code such as a TAX ID, a Dun and Bradstreet company code or similar.</xs:documentation></xs:annotation></xs:element><xs:element name="negotiant" type="xs:boolean" minOccurs="0"><xs:annotation><xs:documentation>Set this to "true" or "1" if this is a Negotiant</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
Complex Type addressDetail
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Address information, used for supplier and producer details
<xs:complexType name="contactDetail"><xs:annotation><xs:documentation>Contact information, used by supplier and producer</xs:documentation></xs:annotation><xs:sequence><xs:element name="name" type="xs:string" minOccurs="0"/><xs:element name="communication" type="comDetail" minOccurs="0"/></xs:sequence></xs:complexType>
<xs:complexType name="rackLocation"><xs:annotation><xs:documentation>Wine rack storage location details (see bottleDetail)</xs:documentation></xs:annotation><xs:sequence><xs:element name="cellar" type="xs:string"><xs:annotation><xs:documentation>The description of the wine cellar</xs:documentation></xs:annotation></xs:element><xs:element name="rackname" type="xs:string"><xs:annotation><xs:documentation>The description of the wine rack</xs:documentation></xs:annotation></xs:element><xs:sequence maxOccurs="unbounded"><xs:annotation><xs:documentation>The details for a particular location</xs:documentation></xs:annotation><xs:element name="rackbin" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The bin number or code</xs:documentation></xs:annotation></xs:element><xs:element name="rackcolumn" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The column number within the wine rack</xs:documentation></xs:annotation></xs:element><xs:element name="rackrow" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The row number within the wine rack</xs:documentation></xs:annotation></xs:element><xs:element name="quantity" type="xs:nonNegativeInteger" default="0"><xs:annotation><xs:documentation>The quantity of bottles within this particular location</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:sequence></xs:complexType>
Complex Type genericLocation
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Generic wine storage location details (see bottleDetail)
<xs:complexType name="genericLocation"><xs:annotation><xs:documentation>Generic wine storage location details (see bottleDetail)</xs:documentation></xs:annotation><xs:sequence><xs:sequence><xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>The name of the storage location</xs:documentation></xs:annotation></xs:element><xs:element name="address" type="addressDetail" minOccurs="0"/></xs:sequence><xs:sequence maxOccurs="unbounded"><xs:annotation><xs:documentation>The details for a particular location</xs:documentation></xs:annotation><xs:element name="lane" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The lane number or code</xs:documentation></xs:annotation></xs:element><xs:element name="bin" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The bin number or code</xs:documentation></xs:annotation></xs:element><xs:element name="column" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The column number within the bin</xs:documentation></xs:annotation></xs:element><xs:element name="row" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The row number within the bin</xs:documentation></xs:annotation></xs:element><xs:element name="containertype" type="containerType" minOccurs="0"><xs:annotation><xs:documentation>The type of container in this location - see enumerations.</xs:documentation></xs:annotation></xs:element><xs:element name="quantity" type="xs:nonNegativeInteger" default="0"><xs:annotation><xs:documentation>The quantity of bottles within this particular location</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:sequence></xs:complexType>
<xs:simpleType name="containerType"><xs:annotation><xs:documentation>Container type - see enumerations</xs:documentation></xs:annotation><xs:restriction base="xs:string"><xs:enumeration value="carton"/><xs:enumeration value="wood"/><xs:enumeration value="palett"/></xs:restriction></xs:simpleType>
Complex Type ratingAverageDetail
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Rating, consolidated rating information from multiple critics.
<xs:complexType name="ratingAverageDetail"><xs:annotation><xs:documentation>Rating, consolidated rating information from multiple critics.</xs:documentation></xs:annotation><xs:sequence minOccurs="0"><xs:element name="averageby" type="xs:string"><xs:annotation><xs:documentation>Who provided this rating average as a free format string, e.g. 'GWS'</xs:documentation></xs:annotation></xs:element><xs:element name="averageon" type="date"><xs:annotation><xs:documentation>When was this rating average generated.</xs:documentation></xs:annotation></xs:element><xs:element name="ratingsystem"><xs:annotation><xs:documentation>What rating systems is used, see enumerations.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="100"/><xs:enumeration value="20"/></xs:restriction></xs:simpleType></xs:element><xs:element name="points" minOccurs="1"><xs:annotation><xs:documentation>Average rating points based on the ratings of the crictics included for this rating average.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"><xs:fractionDigits value="1"/></xs:restriction></xs:simpleType></xs:element><xs:element name="pointshigh" minOccurs="1"><xs:annotation><xs:documentation>Highest points rating</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"><xs:fractionDigits value="1"/></xs:restriction></xs:simpleType></xs:element><xs:element name="pointslow" minOccurs="1"><xs:annotation><xs:documentation>Lowest points rating</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"><xs:fractionDigits value="1"/></xs:restriction></xs:simpleType></xs:element><xs:sequence><xs:element name="category1" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 50 to 79 points
20 point system: 1 to 10</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element><xs:element name="category2" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 80 to 84 points
20 point system: 11 to 14</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element><xs:element name="category3" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 85 to 89 points
20 point system: 15 to 16</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element><xs:element name="category4" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 90 to 94 points
20 point system: 17 to 18</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element><xs:element name="category5" minOccurs="0"><xs:annotation><xs:documentation>Number of critics rating wine with:
100 point system: 95 to 100 points
20 point system: 19 to 20</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:integer"><xs:fractionDigits value="0"/></xs:restriction></xs:simpleType></xs:element></xs:sequence><xs:element name="critics" type="notes" minOccurs="0"><xs:annotation><xs:documentation>A comma separated list of the critic names for this rating average.</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="notes" minOccurs="0"/></xs:sequence></xs:complexType>
Complex Type cuveeDetail
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Cuvée information, grape varitial and percentage thereof
<xs:complexType name="imageDetail"><xs:annotation><xs:documentation>Images, embedded or as a URL</xs:documentation></xs:annotation><xs:sequence minOccurs="0"><xs:element name="imageurl" type="xs:anyURI" minOccurs="0"><xs:annotation><xs:documentation>URL to image</xs:documentation></xs:annotation></xs:element><xs:element name="imageembedded" minOccurs="0"><xs:complexType><xs:sequence><xs:element name="imagefilename" type="xs:string"><xs:annotation><xs:documentation>Image file name, extension should hopefully match imageformat</xs:documentation></xs:annotation></xs:element><xs:element name="imageformat"><xs:annotation><xs:documentation>Image format, see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="JPEG"/><xs:enumeration value="GIF"/><xs:enumeration value="PNG"/><xs:enumeration value="BMP"/></xs:restriction></xs:simpleType></xs:element><xs:element name="imagemode"><xs:annotation><xs:documentation>Image mode, see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="RGB"/><xs:enumeration value="RGBA"/><xs:enumeration value="CMYK"/><xs:enumeration value="L"/><xs:enumeration value="P"/><xs:enumeration value="YCbCr"/><xs:enumeration value="I"/><xs:enumeration value="F"/><xs:enumeration value="1"/></xs:restriction></xs:simpleType></xs:element><xs:element name="imagesize" type="xs:string"><xs:annotation><xs:documentation>in the format (w, h)</xs:documentation></xs:annotation></xs:element><xs:element name="imagedata" type="xs:base64Binary"><xs:annotation><xs:documentation>image data encoded in base64 - see RFC 2045</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="vinificationDetail"><xs:annotation><xs:documentation>Information on the vinification of the wine</xs:documentation></xs:annotation><xs:sequence><xs:element name="harvestdate" type="date" minOccurs="0"><xs:annotation><xs:documentation>The date of the harvest.</xs:documentation></xs:annotation></xs:element><xs:element name="bottlingdate" type="date" minOccurs="0"><xs:annotation><xs:documentation>The date the wine was bottled.</xs:documentation></xs:annotation></xs:element><xs:element name="winemaker" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>The name of the wine maker.</xs:documentation></xs:annotation></xs:element><xs:element name="brix" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>The degree of brix the wine had.</xs:documentation></xs:annotation></xs:element><xs:element name="oechsle" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>The degree Oechsle the wine had.</xs:documentation></xs:annotation></xs:element><xs:element name="baumé" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>The degree of baumé the wine had.</xs:documentation></xs:annotation></xs:element><xs:element name="barrelaged" type="xs:int" minOccurs="0"><xs:annotation><xs:documentation>The number of month the wine was aged in barrel/barrique.</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Additional free from notes with regards to the vinification of this vintage.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="winetypeDetail"><xs:annotation><xs:documentation>Contains the details about the type of wine</xs:documentation></xs:annotation><xs:sequence><xs:element name="winetype"><xs:annotation><xs:documentation>The type, e.g. Red, White etc, see enumerations.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="Red wine"/><xs:enumeration value="White wine"/><xs:enumeration value="Rosé wine"/><xs:enumeration value="Vin jaune"/><xs:enumeration value="Champagne Brut"/><xs:enumeration value="Champagne Demi-Sec"/><xs:enumeration value="Champagne Sec"/><xs:enumeration value="Champagne Rosé"/><xs:enumeration value="Sparkling"/><xs:enumeration value="Moelleux"/><xs:enumeration value="Cognac"/><xs:enumeration value="Armagnac"/><xs:enumeration value="Brandy"/><xs:enumeration value="Eau de Vie"/><xs:enumeration value="Other"/></xs:restriction></xs:simpleType></xs:element><xs:element name="winefamily" minOccurs="0"><xs:annotation><xs:documentation>The wine family, as defined by Larousse des vins, they are useful to pair wine and food. see enumerations.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="white, dry, light and lively"/><xs:enumeration value="white, dry, soft and fruity"/><xs:enumeration value="white, dry, rich and distinctive"/><xs:enumeration value="white, dry, very aromatic"/><xs:enumeration value="white, demi-sec, mellow, syrupy"/><xs:enumeration value="rosé, lively, and fruity"/><xs:enumeration value="rosé, winey and full-bodied"/><xs:enumeration value="red, light and fruity"/><xs:enumeration value="red, full-bodied and fruity"/><xs:enumeration value="red, complex, powerful and generous"/><xs:enumeration value="red, complex, tanic and distinctive"/><xs:enumeration value="red, complex, elegant and distinctive"/><xs:enumeration value="effervescent"/><xs:enumeration value="sweet natural and sweet liqueur"/><xs:enumeration value="others"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="originDetail"><xs:annotation><xs:documentation>Information about the origin of the wine</xs:documentation></xs:annotation><xs:sequence><xs:element name="country" type="countryDetail"/><xs:element name="state" minOccurs="0"><xs:annotation><xs:documentation>Name of the state, used for countries like the USA, Australia, not used for e.g. France</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element><xs:element name="geographicregion" minOccurs="0"><xs:annotation><xs:documentation>e.g. Bordeaux, preferably in the countries language</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element><xs:element name="wineregion" minOccurs="0"><xs:annotation><xs:documentation>e.g. St. Emillion, preferably in the countries language. This would normally be used for AOC, DOC etc, i.e. officially reconized wine regions. If the wine regions are further divided then the following elements can be used.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element><xs:element name="area" minOccurs="0"><xs:annotation><xs:documentation>A wine area, a sub-division of a wine region.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element><xs:element name="subarea" minOccurs="0"><xs:annotation><xs:documentation>A wine sub-area, used to further divide a wine area.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element><xs:element name="vineyard" minOccurs="0"><xs:annotation><xs:documentation>Used to define the actual vineyard/lot were the grapes come from. Often used in the new world, especially Napa Valley</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element><xs:element name="subvineyard" minOccurs="0"><xs:annotation><xs:documentation>A sub-division of a vineyard.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:maxLength value="50"/><xs:whiteSpace value="collapse"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType>
Complex Type categoryDetail
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Category information such as Grand Cru etc, see enumerations for details
<xs:complexType name="producerDetail"><xs:annotation><xs:documentation>Contact information for the wine producer.</xs:documentation></xs:annotation><xs:sequence minOccurs="0"><xs:element name="name" type="xs:string"/><xs:element name="address" type="addressDetail" minOccurs="0"/><xs:element name="communication" type="comDetail" minOccurs="0"/><xs:element name="contact" type="contactDetail" minOccurs="0"/><xs:element name="notes" type="notes" minOccurs="0"/><xs:element name="refcode" type="refCode" minOccurs="0"><xs:annotation><xs:documentation>Ideally this should be a "world wide" uniqe code such as a TAX ID, a Dun and Bradstreet company code or similar.</xs:documentation></xs:annotation></xs:element><xs:element name="vineyard" type="vineyardDetail" minOccurs="0" maxOccurs="unbounded"/></xs:sequence></xs:complexType>
Complex Type vineyardDetail
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Vineyard detail, grape varity and average production per year
<xs:complexType name="foodAccompaniments"><xs:annotation><xs:documentation>What food goes well with this wine as free form text</xs:documentation></xs:annotation><xs:sequence><xs:element name="notes" type="notes"/></xs:sequence></xs:complexType>
Complex Type generatorDetail
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Information on the generation of this instance. This helps when one needs to track down a problem with an instance file.
<xs:complexType name="packagingDetails"><xs:annotation><xs:documentation>Packaging details - see wineCollection</xs:documentation></xs:annotation><xs:sequence><xs:element name="containertype" type="containerType"><xs:annotation><xs:documentation>Packaging type - see enumerations</xs:documentation></xs:annotation></xs:element><xs:element name="authenticity"><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="original"/><xs:enumeration value="repack"/></xs:restriction></xs:simpleType></xs:element><xs:element name="recode" type="refCode"><xs:annotation><xs:documentation>A unique reference code, see bottleDetail</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
Complex Type wineDetailBatch
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Contains all the details about a particular wine, used with batch. Just about the same as wineDetail, but does not include resellerDetail, nor generatorDetail.
<xs:complexType name="wineDetailBatch"><xs:annotation><xs:documentation>Contains all the details about a particular wine, used with batch. Just about the same as wineDetail, but does not include resellerDetail, nor generatorDetail.</xs:documentation></xs:annotation><xs:sequence><xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>The name of the wine</xs:documentation></xs:annotation></xs:element><xs:element name="additionalname" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>Optional/additional name information</xs:documentation></xs:annotation></xs:element><xs:element name="variety" minOccurs="0"><xs:annotation><xs:documentation>Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage</xs:documentation></xs:annotation></xs:element><xs:element name="vintage" type="vintageDetail"><xs:annotation><xs:documentation>Vintage detail, bottle size, cuvee, alcohol, label image etc</xs:documentation></xs:annotation></xs:element><xs:element name="winetype" type="winetypeDetail"><xs:annotation><xs:documentation>Type of wine, e.g. red, white etc, and optional winefamily</xs:documentation></xs:annotation></xs:element><xs:element name="origin" type="originDetail" minOccurs="0"><xs:annotation><xs:documentation>Origin of the wine including country, state, region and vineyard</xs:documentation></xs:annotation></xs:element><xs:element name="category" type="categoryDetail" minOccurs="0"><xs:annotation><xs:documentation>The category of the wine e.g. AOC, DOC etc</xs:documentation></xs:annotation></xs:element><xs:element name="producer" type="producerDetail" minOccurs="0"><xs:annotation><xs:documentation>The producer of the wine, e.g. a vineyard, coop etc</xs:documentation></xs:annotation></xs:element><xs:element name="foodaccompaniments" type="foodAccompaniments" minOccurs="0"><xs:annotation><xs:documentation>What food goes well with this wine, see also winefamily under winetype.</xs:documentation></xs:annotation></xs:element><xs:element name="customextension" type="customExtension" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Should only be used temporarily, post to the custom extension forum on www.vinoxml.org and explain your particular requirement!</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="notes" minOccurs="0"/><xs:element name="sequence" type="xs:integer"><xs:annotation><xs:documentation>A sequence number of this item, i.e. a unique number within a batch to identify this item. Can be used to 'link' this item to the corresponding query item.</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="queryDetail"><xs:annotation><xs:documentation>Defines what wines are to be queried</xs:documentation></xs:annotation><xs:sequence><xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>The name of the wine</xs:documentation></xs:annotation></xs:element><xs:element name="additionalname" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>Optional/additional name information</xs:documentation></xs:annotation></xs:element><xs:element name="variety" minOccurs="0"><xs:annotation><xs:documentation>Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage</xs:documentation></xs:annotation></xs:element><xs:element name="vintage" minOccurs="0"><xs:annotation><xs:documentation>Vintage and bottle size detail etc.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="year" minOccurs="0"><xs:annotation><xs:documentation>The vintage of the wine.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:gYear"><xs:minInclusive value="1700"/><xs:maxInclusive value="9999"/></xs:restriction></xs:simpleType></xs:element><xs:element name="bottle" minOccurs="0"><xs:annotation><xs:documentation>Information on the bottle size, price and other information.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="size"><xs:annotation><xs:documentation>mostly in "ml" see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="250ml"/><xs:enumeration value="375ml"/><xs:enumeration value="400ml"/><xs:enumeration value="500ml"/><xs:enumeration value="620ml"/><xs:enumeration value="750ml"/><xs:enumeration value="1000ml"/><xs:enumeration value="1500ml"/><xs:enumeration value="2250ml"/><xs:enumeration value="2500ml"/><xs:enumeration value="3000ml-DMag"/><xs:enumeration value="3000ml-Jér"/><xs:enumeration value="4500ml-Jér"/><xs:enumeration value="4500ml-Réh"/><xs:enumeration value="6000ml-Mat"/><xs:enumeration value="6000ml-Imp"/><xs:enumeration value="9000ml-Sal"/><xs:enumeration value="12000ml"/><xs:enumeration value="15000ml"/><xs:enumeration value="Bocks"/></xs:restriction></xs:simpleType></xs:element><xs:element name="price" maxOccurs="unbounded"><xs:annotation><xs:documentation>Pricing information on the bottle size. Multiple different prices can be requested.</xs:documentation></xs:annotation><xs:complexType><xs:sequence><xs:element name="pricetype"><xs:annotation><xs:documentation>see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="listPrice"/><xs:enumeration value="discountedPrice"/><xs:enumeration value="lastpurchasePrice"/><xs:enumeration value="marketValue"/><xs:enumeration value="auctionValue"/><xs:enumeration value="personalValue"/></xs:restriction></xs:simpleType></xs:element><xs:element name="currencycode"><xs:annotation><xs:documentation>ISO code, see enumerations</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="EUR"/><xs:enumeration value="BEF"/><xs:enumeration value="DEM"/><xs:enumeration value="ESP"/><xs:enumeration value="FRF"/><xs:enumeration value="IEP"/><xs:enumeration value="ITL"/><xs:enumeration value="LUF"/><xs:enumeration value="NLG"/><xs:enumeration value="ATS"/><xs:enumeration value="PTE"/><xs:enumeration value="FIM"/><xs:enumeration value="USD"/><xs:enumeration value="CAD"/><xs:enumeration value="CHF"/><xs:enumeration value="ADP"/><xs:enumeration value="AED"/><xs:enumeration value="AFA"/><xs:enumeration value="ALL"/><xs:enumeration value="AMD"/><xs:enumeration value="ANG"/><xs:enumeration value="AOK"/><xs:enumeration value="ARA"/><xs:enumeration value="ARS"/><xs:enumeration value="AUD"/><xs:enumeration value="AWG"/><xs:enumeration value="AZM"/><xs:enumeration value="BAD"/><xs:enumeration value="BBD"/><xs:enumeration value="BDT"/><xs:enumeration value="BGL"/><xs:enumeration value="BHD"/><xs:enumeration value="BIF"/><xs:enumeration value="BMD"/><xs:enumeration value="BND"/><xs:enumeration value="BOB"/><xs:enumeration value="BRL"/><xs:enumeration value="BRR"/><xs:enumeration value="BSD"/><xs:enumeration value="BWP"/><xs:enumeration value="BYR"/><xs:enumeration value="BZD"/><xs:enumeration value="CDP"/><xs:enumeration value="CLP"/><xs:enumeration value="CNY"/><xs:enumeration value="COP"/><xs:enumeration value="CRC"/><xs:enumeration value="CUP"/><xs:enumeration value="CVE"/><xs:enumeration value="CYP"/><xs:enumeration value="CZK"/><xs:enumeration value="DJF"/><xs:enumeration value="DKK"/><xs:enumeration value="DOP"/><xs:enumeration value="DRP"/><xs:enumeration value="DZD"/><xs:enumeration value="ECS"/><xs:enumeration value="EEK"/><xs:enumeration value="EGP"/><xs:enumeration value="ETB"/><xs:enumeration value="FJD"/><xs:enumeration value="FKP"/><xs:enumeration value="GBP"/><xs:enumeration value="GEK"/><xs:enumeration value="GHC"/><xs:enumeration value="GIP"/><xs:enumeration value="GMD"/><xs:enumeration value="GNF"/><xs:enumeration value="GRD"/><xs:enumeration value="GTQ"/><xs:enumeration value="GWP"/><xs:enumeration value="GYD"/><xs:enumeration value="HKD"/><xs:enumeration value="HNL"/><xs:enumeration value="HRD"/><xs:enumeration value="HTG"/><xs:enumeration value="HUF"/><xs:enumeration value="IDR"/><xs:enumeration value="ILS"/><xs:enumeration value="INR"/><xs:enumeration value="IQD"/><xs:enumeration value="IRR"/><xs:enumeration value="ISK"/><xs:enumeration value="JMD"/><xs:enumeration value="JOD"/><xs:enumeration value="JPY"/><xs:enumeration value="KES"/><xs:enumeration value="KHR"/><xs:enumeration value="KIS"/><xs:enumeration value="KMF"/><xs:enumeration value="KPW"/><xs:enumeration value="KRW"/><xs:enumeration value="KWD"/><xs:enumeration value="KYD"/><xs:enumeration value="KZT"/><xs:enumeration value="LAK"/><xs:enumeration value="LBP"/><xs:enumeration value="LKR"/><xs:enumeration value="LRD"/><xs:enumeration value="LSL"/><xs:enumeration value="LTL"/><xs:enumeration value="LVL"/><xs:enumeration value="LYD"/><xs:enumeration value="MAD"/><xs:enumeration value="MDL"/><xs:enumeration value="MGF"/><xs:enumeration value="MNC"/><xs:enumeration value="MNT"/><xs:enumeration value="MOP"/><xs:enumeration value="MRO"/><xs:enumeration value="MTL"/><xs:enumeration value="MUR"/><xs:enumeration value="MVR"/><xs:enumeration value="MWK"/><xs:enumeration value="MXN"/><xs:enumeration value="MXP"/><xs:enumeration value="MYR"/><xs:enumeration value="MZM"/><xs:enumeration value="NGN"/><xs:enumeration value="NIC"/><xs:enumeration value="NIO"/><xs:enumeration value="NIS"/><xs:enumeration value="NOK"/><xs:enumeration value="NPR"/><xs:enumeration value="NZD"/><xs:enumeration value="OMR"/><xs:enumeration value="PAB"/><xs:enumeration value="PEI"/><xs:enumeration value="PEN"/><xs:enumeration value="PES"/><xs:enumeration value="PGK"/><xs:enumeration value="PHP"/><xs:enumeration value="PKR"/><xs:enumeration value="PLN"/><xs:enumeration value="PLZ"/><xs:enumeration value="PYG"/><xs:enumeration value="QAR"/><xs:enumeration value="RMB"/><xs:enumeration value="ROL"/><xs:enumeration value="RUR"/><xs:enumeration value="RWF"/><xs:enumeration value="SAR"/><xs:enumeration value="SBD"/><xs:enumeration value="SCR"/><xs:enumeration value="SDP"/><xs:enumeration value="SEK"/><xs:enumeration value="SGD"/><xs:enumeration value="SHP"/><xs:enumeration value="SIT"/><xs:enumeration value="SKK"/><xs:enumeration value="SLL"/><xs:enumeration value="SOL"/><xs:enumeration value="SOS"/><xs:enumeration value="SRG"/><xs:enumeration value="STD"/><xs:enumeration value="SUR"/><xs:enumeration value="SVC"/><xs:enumeration value="SYP"/><xs:enumeration value="SZL"/><xs:enumeration value="THB"/><xs:enumeration value="TJR"/><xs:enumeration value="TMM"/><xs:enumeration value="TND"/><xs:enumeration value="TOP"/><xs:enumeration value="TPE"/><xs:enumeration value="TRL"/><xs:enumeration value="TTD"/><xs:enumeration value="TWD"/><xs:enumeration value="TZS"/><xs:enumeration value="UAK"/><xs:enumeration value="UGS"/><xs:enumeration value="UYP"/><xs:enumeration value="UYU"/><xs:enumeration value="VEB"/><xs:enumeration value="VND"/><xs:enumeration value="VUV"/><xs:enumeration value="WST"/><xs:enumeration value="XAF"/><xs:enumeration value="XCD"/><xs:enumeration value="XOF"/><xs:enumeration value="YER"/><xs:enumeration value="ZAR"/><xs:enumeration value="ZMK"/><xs:enumeration value="ZRZ"/><xs:enumeration value="ZWD"/></xs:restriction></xs:simpleType></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="refcode" minOccurs="0"><xs:annotation><xs:documentation>This can be used for the GS1 (previously EAN/UPC) code applied to bottle labels as a bar code (See also - http://www.ean-int.org/ ), it can also be used for other unique identifiers. When it is used the source attribute should be filled with a string to identify it, e.g. "GS1" if it is barcode or "GWS" for GlobalWineStocks etc.</xs:documentation></xs:annotation><xs:complexType><xs:simpleContent><xs:extension base="refCode"><xs:attribute name="source" type="xs:string" use="optional"/></xs:extension></xs:simpleContent></xs:complexType></xs:element></xs:sequence></xs:complexType></xs:element></xs:sequence></xs:complexType></xs:element><xs:element name="winetype" type="winetypeDetail" minOccurs="0"><xs:annotation><xs:documentation>Type of wine, e.g. red, white etc, and optional winefamily</xs:documentation></xs:annotation></xs:element><xs:element name="origin" type="originDetail" minOccurs="0"><xs:annotation><xs:documentation>Origin of the wine including country, state, region and vineyard</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Additional notes to the item</xs:documentation></xs:annotation></xs:element><xs:element name="sequence" type="xs:integer"><xs:annotation><xs:documentation>A sequence number of this item, i.e. a unique number within a query to identify this item</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
<xs:complexType name="collectionInformation"><xs:annotation><xs:documentation>Information about this collection of wines</xs:documentation></xs:annotation><xs:sequence><xs:element name="name"><xs:annotation><xs:documentation>The name or description of this collection</xs:documentation></xs:annotation></xs:element><xs:element name="price" type="priceDetail"><xs:annotation><xs:documentation>The price of the whole collection</xs:documentation></xs:annotation></xs:element><xs:element name="type" minOccurs="0"><xs:simpleType><xs:restriction base="xs:string"><xs:enumeration value="vertical collection"/><xs:enumeration value="horizontal collection"/></xs:restriction></xs:simpleType></xs:element><xs:element name="notes" type="notes" minOccurs="0"><xs:annotation><xs:documentation>Additional notes to this collection</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType>
Complex Type wineDetailCollection
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Contains all the details about a particular wine, used with collection. Just about the same as wineDetail, but does not include resellerDetail, nor generatorDetail and it allows multiple vintages.
<xs:complexType name="wineDetailCollection"><xs:annotation><xs:documentation>Contains all the details about a particular wine, used with collection. Just about the same as wineDetail, but does not include resellerDetail, nor generatorDetail and it allows multiple vintages.</xs:documentation></xs:annotation><xs:sequence><xs:element name="name" type="xs:string"><xs:annotation><xs:documentation>The name of the wine</xs:documentation></xs:annotation></xs:element><xs:element name="additionalname" type="xs:string" minOccurs="0"><xs:annotation><xs:documentation>Optional/additional name information</xs:documentation></xs:annotation></xs:element><xs:element name="variety" minOccurs="0"><xs:annotation><xs:documentation>Used for wines which state the grape variety on their label, e.g. "Penfolds Grange Shiraz" you would enter here "Shiraz". For more detailed definition of varities contained in the wine please see "cuvee" under vintage</xs:documentation></xs:annotation></xs:element><xs:element name="vintage" type="vintageDetailCollection" maxOccurs="unbounded"><xs:annotation><xs:documentation>Vintage detail, bottle size, cuvee, alcohol, label image etc</xs:documentation></xs:annotation></xs:element><xs:element name="winetype" type="winetypeDetail"><xs:annotation><xs:documentation>Type of wine, e.g. red, white etc, and optional winefamily</xs:documentation></xs:annotation></xs:element><xs:element name="origin" type="originDetail" minOccurs="0"><xs:annotation><xs:documentation>Origin of the wine including country, state, region and vineyard</xs:documentation></xs:annotation></xs:element><xs:element name="category" type="categoryDetail" minOccurs="0"><xs:annotation><xs:documentation>The category of the wine e.g. AOC, DOC etc</xs:documentation></xs:annotation></xs:element><xs:element name="producer" type="producerDetail" minOccurs="0"><xs:annotation><xs:documentation>The producer of the wine, e.g. a vineyard, coop etc</xs:documentation></xs:annotation></xs:element><xs:element name="foodaccompaniments" type="foodAccompaniments" minOccurs="0"><xs:annotation><xs:documentation>What food goes well with this wine, see also winefamily under winetype.</xs:documentation></xs:annotation></xs:element><xs:element name="customextension" type="customExtension" minOccurs="0" maxOccurs="unbounded"><xs:annotation><xs:documentation>Should only be used temporarily, post to the custom extension forum on www.vinoxml.org and explain your particular requirement!</xs:documentation></xs:annotation></xs:element><xs:element name="notes" type="notes" minOccurs="0"/></xs:sequence></xs:complexType>
Complex Type vintageDetailCollection
Namespace
http://www.vinoxml.org/XMLschema
Annotations
Information related to the vintage/millessime, same as vintageDetails but allows multiple bottle sizes
<xs:complexType name="vintageDetailCollection"><xs:annotation><xs:documentation>Information related to the vintage/millessime, same as vintageDetails but allows multiple bottle sizes</xs:documentation></xs:annotation><xs:sequence><xs:element name="year" minOccurs="0"><xs:annotation><xs:documentation>The vintage of the wine.</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:gYear"><xs:minInclusive value="1700"/><xs:maxInclusive value="9999"/></xs:restriction></xs:simpleType></xs:element><xs:element name="bottle" type="bottleDetail" maxOccurs="unbounded"><xs:annotation><xs:documentation>Information on the bottle size, price and other information.</xs:documentation></xs:annotation></xs:element><xs:element name="cuvee" type="cuveeDetail" minOccurs="0"><xs:annotation><xs:documentation>The cuvee details of the wine, the percentage per grape varity, and free form notes.</xs:documentation></xs:annotation></xs:element><xs:element name="alcohol" minOccurs="0"><xs:annotation><xs:documentation>Alcohol content in volume %</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"><xs:fractionDigits value="1"/></xs:restriction></xs:simpleType></xs:element><xs:element name="sugar" minOccurs="0"><xs:annotation><xs:documentation>Residual sugar content in g/L</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"/></xs:simpleType></xs:element><xs:element name="acidity" minOccurs="0"><xs:annotation><xs:documentation>Total acidity in g/L</xs:documentation></xs:annotation><xs:simpleType><xs:restriction base="xs:decimal"/></xs:simpleType></xs:element><xs:element name="acidtitratable" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Titratable acid in g/L</xs:documentation></xs:annotation></xs:element><xs:element name="acidvolatile" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Volatile acid in g/L</xs:documentation></xs:annotation></xs:element><xs:element name="ph" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>pH value</xs:documentation></xs:annotation></xs:element><xs:element name="servingtemperature" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Serving temperature in degree, e.g. 18.0</xs:documentation></xs:annotation></xs:element><xs:element name="decantingtime" type="xs:decimal" minOccurs="0"><xs:annotation><xs:documentation>Decanting time in hours, e.g. 1.5</xs:documentation></xs:annotation></xs:element><xs:element name="bottlelabel" type="imageDetail" minOccurs="0"><xs:annotation><xs:documentation>An image of the bottle or its label</xs:documentation></xs:annotation></xs:element><xs:element name="vinificationdetail" type="vinificationDetail" minOccurs="0"/><xs:element name="notes" type="notes" minOccurs="0"/></xs:sequence></xs:complexType>
<xs:attribute name="catalog" type="xs:anyURI" use="optional"><xs:annotation><xs:documentation source="URL of the catalog"/></xs:annotation></xs:attribute>
<xs:attribute name="catalogupdatefreq" type="xs:int" use="optional"><xs:annotation><xs:documentation source="Catalog update frequency in days"/></xs:annotation></xs:attribute>