Schema EuroFIR_Metadata_Transport_Package_version_1_1.xsd


attribute name
type xsd:string
source <xsd:attribute name="name" type="xsd:string"/>

attribute sentdate
type xsd:date
used by
element EuroFIRMetaDataTransportPackage
source <xsd:attribute name="sentdate" type="xsd:date"/>

attribute version
type xsd:string
used by
element EuroFIRMetaDataTransportPackage
source <xsd:attribute name="version" type="xsd:string"/>

attribute versiondate
type date-as-string
source <xsd:attribute name="versiondate" type="date-as-string"/>

element EuroFIRMetaDataTransportPackage
diagram mdtp_schemata_documentation_1_1_p1.png
properties
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
versionrequired      
sentdaterequired      
source <xsd:element name="EuroFIRMetaDataTransportPackage">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="StandardVocabularies"/>
     
<xsd:element ref="SenderInformation"/>
     
<xsd:element ref="Content"/>
     
<xsd:element ref="FCDB_Describe" minOccurs="0"/>
     
<xsd:element ref="ComponentList" minOccurs="0"/>
     
<xsd:element ref="FoodList" minOccurs="0"/>
     
<xsd:element ref="TermList" minOccurs="0"/>
     
<xsd:element ref="Grouping" minOccurs="0"/>
   
</xsd:sequence>
   
<xsd:attribute ref="version" use="required"/>
   
<xsd:attribute ref="sentdate" use="required"/>
 
</xsd:complexType>
</xsd:element>

element StandardVocabularies
diagram mdtp_schemata_documentation_1_1_p2.png
properties
content complex
used by
element EuroFIRMetaDataTransportPackage
annotation
documentation
ROOT ELEMENT. All Standard vocabularies (thesauri). Used in the FDTP and in the MDTP
source <xsd:element name="StandardVocabularies">
 
<xsd:annotation>
   
<xsd:documentation>ROOT ELEMENT. All Standard vocabularies (thesauri). Used in the FDTP and in the MDTP</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="StandardVocabulary" type="T_StandardVocabulary" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element StandardVocabularies/StandardVocabulary
diagram mdtp_schemata_documentation_1_1_p3.png
type T_StandardVocabulary
properties
isRef 0
minOcc 1
maxOcc unbounded
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
systemT_Vocabularyrequired      
positionxsd:anyURIrequired      
source <xsd:element name="StandardVocabulary" type="T_StandardVocabulary" maxOccurs="unbounded"/>

complexType T_StandardVocabulary
diagram mdtp_schemata_documentation_1_1_p4.png
used by
element StandardVocabularies/StandardVocabulary
attributes
Name  Type  Use  Default  Fixed  annotation
systemT_Vocabularyrequired      
positionxsd:anyURIrequired      
source <xsd:complexType name="T_StandardVocabulary">
 
<xsd:attribute name="system" type="T_Vocabulary" use="required"/>
 
<xsd:attribute name="position" type="xsd:anyURI" use="required"/>
</xsd:complexType>

attribute T_StandardVocabulary/@system
type T_Vocabulary
properties
isRef 0
use required
source <xsd:attribute name="system" type="T_Vocabulary" use="required"/>

attribute T_StandardVocabulary/@position
type xsd:anyURI
properties
isRef 0
use required
source <xsd:attribute name="position" type="xsd:anyURI" use="required"/>

simpleType T_Vocabulary
type xsd:string
used by
attribute T_StandardVocabulary/@system
source <xsd:simpleType name="T_Vocabulary">
 
<xsd:restriction base="xsd:string">
   
<!--<xsd:enumeration value="LanguaL"/>
<xsd:enumeration value="acquisitiontype"/>
<xsd:enumeration value="componentidentifier"/>
<xsd:enumeration value="country"/>
<xsd:enumeration value="language"/>
<xsd:enumeration value="matrixunit"/>
<xsd:enumeration value="methodindicator"/>
<xsd:enumeration value="methodtype"/>
<xsd:enumeration value="publicationtype"/>
<xsd:enumeration value="unit"/>
<xsd:enumeration value="valuetype"/>-->
 
</xsd:restriction>
</xsd:simpleType>

element SenderInformation
diagram mdtp_schemata_documentation_1_1_p5.png
properties
content complex
used by
element EuroFIRMetaDataTransportPackage
source <xsd:element name="SenderInformation">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="Sender" type="xsd:string"/>
     
<xsd:element name="OrganisationName" type="xsd:string"/>
     
<xsd:element name="SuperOrganisationName" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="PostalAddress" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="Country" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="Telephone" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="Fax" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="Email" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="WWWs" minOccurs="0">
       
<xsd:complexType>
         
<xsd:sequence>
           
<xsd:element name="WWW" type="xsd:anyURI" maxOccurs="unbounded"/>
         
</xsd:sequence>
       
</xsd:complexType>
     
</xsd:element>
     
<xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element SenderInformation/Sender
diagram mdtp_schemata_documentation_1_1_p6.png
type xsd:string
properties
isRef 0
content simple
source <xsd:element name="Sender" type="xsd:string"/>

element SenderInformation/OrganisationName
diagram mdtp_schemata_documentation_1_1_p7.png
type xsd:string
properties
isRef 0
content simple
source <xsd:element name="OrganisationName" type="xsd:string"/>

element SenderInformation/SuperOrganisationName
diagram mdtp_schemata_documentation_1_1_p8.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="SuperOrganisationName" type="xsd:string" minOccurs="0"/>

element SenderInformation/PostalAddress
diagram mdtp_schemata_documentation_1_1_p9.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="PostalAddress" type="xsd:string" minOccurs="0"/>

element SenderInformation/Country
diagram mdtp_schemata_documentation_1_1_p10.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Country" type="xsd:string" minOccurs="0"/>

element SenderInformation/Telephone
diagram mdtp_schemata_documentation_1_1_p11.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Telephone" type="xsd:string" minOccurs="0"/>

element SenderInformation/Fax
diagram mdtp_schemata_documentation_1_1_p12.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Fax" type="xsd:string" minOccurs="0"/>

element SenderInformation/Email
diagram mdtp_schemata_documentation_1_1_p13.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Email" type="xsd:string" minOccurs="0"/>

element SenderInformation/WWWs
diagram mdtp_schemata_documentation_1_1_p14.png
properties
isRef 0
minOcc 0
maxOcc 1
content complex
source <xsd:element name="WWWs" minOccurs="0">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="WWW" type="xsd:anyURI" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element SenderInformation/WWWs/WWW
diagram mdtp_schemata_documentation_1_1_p15.png
type xsd:anyURI
properties
isRef 0
minOcc 1
maxOcc unbounded
content simple
source <xsd:element name="WWW" type="xsd:anyURI" maxOccurs="unbounded"/>

element SenderInformation/Remarks
diagram mdtp_schemata_documentation_1_1_p16.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>

element Content
diagram mdtp_schemata_documentation_1_1_p17.png
properties
content complex
used by
element EuroFIRMetaDataTransportPackage
attributes
Name  Type  Use  Default  Fixed  annotation
languagestring-languagerequired      
datasetcreateddate-as-stringoptional      
acquisitiontypestring255-no-emptyrequired      
annotation
documentation
ROOT ELEMENT. All fields of the content information block. Used in the FDTP and in the MDTP
source <xsd:element name="Content">
 
<xsd:annotation>
   
<xsd:documentation>ROOT ELEMENT. All fields of the content information block. Used in the FDTP and in the MDTP</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="ContentName" type="xsd:string"/>
     
<xsd:element name="ShortContentName" type="string20"/>
     
<xsd:element name="ResponsibleBody" type="xsd:string"/>
     
<xsd:element name="LegalRestrictions" type="xsd:string"/>
     
<xsd:element name="SummaryOfContent" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="BibliographicReference" type="T_Reference"/>
     
<xsd:element name="OriginalFoodClassification" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="QualityAssessmentScheme" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="ReasonForCreation" type="xsd:string" minOccurs="0"/>
   
</xsd:sequence>
   
<xsd:attribute name="language" type="string-language" use="required"/>
   
<xsd:attribute name="datasetcreated" type="date-as-string" use="optional"/>
   
<xsd:attribute name="acquisitiontype" type="string255-no-empty" use="required"/>
 
</xsd:complexType>
</xsd:element>

attribute Content/@language
type string-language
properties
isRef 0
use required
facets
Kind Value annotation 
pattern ([a-z]{2})|([a-z]{2}[ ][A-Z]{2}) 
source <xsd:attribute name="language" type="string-language" use="required"/>

attribute Content/@datasetcreated
type date-as-string
properties
isRef 0
use optional
source <xsd:attribute name="datasetcreated" type="date-as-string" use="optional"/>

attribute Content/@acquisitiontype
type string255-no-empty
properties
isRef 0
use required
facets
Kind Value annotation 
minLength 
maxLength 255 
source <xsd:attribute name="acquisitiontype" type="string255-no-empty" use="required"/>

element Content/ContentName
diagram mdtp_schemata_documentation_1_1_p18.png
type xsd:string
properties
isRef 0
content simple
source <xsd:element name="ContentName" type="xsd:string"/>

element Content/ShortContentName
diagram mdtp_schemata_documentation_1_1_p19.png
type string20
properties
isRef 0
content simple
facets
Kind Value annotation 
maxLength 20 
source <xsd:element name="ShortContentName" type="string20"/>

element Content/ResponsibleBody
diagram mdtp_schemata_documentation_1_1_p20.png
type xsd:string
properties
isRef 0
content simple
source <xsd:element name="ResponsibleBody" type="xsd:string"/>

element Content/LegalRestrictions
diagram mdtp_schemata_documentation_1_1_p21.png
type xsd:string
properties
isRef 0
content simple
source <xsd:element name="LegalRestrictions" type="xsd:string"/>

element Content/SummaryOfContent
diagram mdtp_schemata_documentation_1_1_p22.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="SummaryOfContent" type="xsd:string" minOccurs="0"/>

element Content/BibliographicReference
diagram mdtp_schemata_documentation_1_1_p23.png
type T_Reference
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
standardreferencecodexsd:stringoptional      
referencetypestring255-no-emptyrequired      
originalreferencecodexsd:stringoptional      
linkxsd:anyURIoptional      
acquisitiontypestring255-no-emptyrequired      
source <xsd:element name="BibliographicReference" type="T_Reference"/>

element Content/OriginalFoodClassification
diagram mdtp_schemata_documentation_1_1_p24.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="OriginalFoodClassification" type="xsd:string" minOccurs="0"/>

element Content/QualityAssessmentScheme
diagram mdtp_schemata_documentation_1_1_p25.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="QualityAssessmentScheme" type="xsd:string" minOccurs="0"/>

element Content/Remarks
diagram mdtp_schemata_documentation_1_1_p26.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>

element Content/ReasonForCreation
diagram mdtp_schemata_documentation_1_1_p27.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="ReasonForCreation" type="xsd:string" minOccurs="0"/>

element FCDB_Describe
diagram mdtp_schemata_documentation_1_1_p28.png
properties
content complex
used by
element EuroFIRMetaDataTransportPackage
annotation
documentation
ROOT ELEMENT. FCDB describe is implemented by Grouping (level 1). It should include one element for amount of foods, second for components and third for component values.
source <xsd:element name="FCDB_Describe">
 
<xsd:annotation>
   
<xsd:documentation>ROOT ELEMENT. FCDB describe is implemented by Grouping (level 1). It should include one element for amount of foods, second for components and third for component values.</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="Grouping"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element Group
diagram mdtp_schemata_documentation_1_1_p29.png
properties
content complex
used by
elements Grouping MainGroup
source <xsd:element name="Group">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="Label"/>
     
<xsd:element ref="Value"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element Grouping
diagram mdtp_schemata_documentation_1_1_p30.png
properties
content complex
used by
elements EuroFIRMetaDataTransportPackage FCDB_Describe
attributes
Name  Type  Use  Default  Fixed  annotation
namexsd:stringrequired      
annotation
documentation
Schema for single or nested grouping
source <xsd:element name="Grouping">
 
<xsd:annotation>
   
<xsd:documentation>Schema for single or nested grouping</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:choice>
     
<xsd:element ref="MainGroup" maxOccurs="unbounded"/>
     
<xsd:element ref="Group" maxOccurs="unbounded"/>
   
</xsd:choice>
   
<xsd:attribute name="name" type="xsd:string" use="required"/>
 
</xsd:complexType>
</xsd:element>

attribute Grouping/@name
type xsd:string
properties
isRef 0
use required
source <xsd:attribute name="name" type="xsd:string" use="required"/>

element Label
diagram mdtp_schemata_documentation_1_1_p31.png
type extension of xsd:string
properties
content complex
used by
elements Group MainGroup
attributes
Name  Type  Use  Default  Fixed  annotation
systemxsd:stringoptional      
source <xsd:element name="Label">
 
<xsd:complexType>
   
<xsd:simpleContent>
     
<xsd:extension base="xsd:string">
       
<xsd:attribute name="system" type="xsd:string" use="optional"/>
     
</xsd:extension>
   
</xsd:simpleContent>
 
</xsd:complexType>
</xsd:element>

attribute Label/@system
type xsd:string
properties
isRef 0
use optional
source <xsd:attribute name="system" type="xsd:string" use="optional"/>

element MainGroup
diagram mdtp_schemata_documentation_1_1_p32.png
properties
content complex
used by
elements Grouping MainGroup
source <xsd:element name="MainGroup">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="Label"/>
     
<xsd:choice>
       
<xsd:element ref="Group" maxOccurs="unbounded"/>
       
<xsd:element ref="MainGroup"/>
     
</xsd:choice>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element Value
diagram mdtp_schemata_documentation_1_1_p33.png
type xsd:decimal
properties
content simple
used by
element Group
source <xsd:element name="Value" type="xsd:decimal"/>

element Term
diagram mdtp_schemata_documentation_1_1_p34.png
type extension of xsd:string
properties
content complex
used by
element TermList
attributes
Name  Type  Use  Default  Fixed  annotation
entityNamexsd:stringrequired      
source <xsd:element name="Term">
 
<xsd:complexType>
   
<xsd:simpleContent>
     
<xsd:extension base="xsd:string">
       
<xsd:attribute name="entityName" type="xsd:string" use="required"/>
     
</xsd:extension>
   
</xsd:simpleContent>
 
</xsd:complexType>
</xsd:element>

attribute Term/@entityName
type xsd:string
properties
isRef 0
use required
source <xsd:attribute name="entityName" type="xsd:string" use="required"/>

element TermList
diagram mdtp_schemata_documentation_1_1_p35.png
properties
content complex
used by
element EuroFIRMetaDataTransportPackage
attributes
Name  Type  Use  Default  Fixed  annotation
namexsd:stringrequired      
annotation
documentation
ROOT ELEMENT. Used for listings of simple terms
source <xsd:element name="TermList">
 
<xsd:annotation>
   
<xsd:documentation>ROOT ELEMENT. Used for listings of simple terms</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="Term" maxOccurs="unbounded"/>
   
</xsd:sequence>
   
<xsd:attribute name="name" type="xsd:string" use="required"/>
 
</xsd:complexType>
</xsd:element>

attribute TermList/@name
type xsd:string
properties
isRef 0
use required
source <xsd:attribute name="name" type="xsd:string" use="required"/>

element ComponentList
diagram mdtp_schemata_documentation_1_1_p36.png
properties
content complex
used by
element EuroFIRMetaDataTransportPackage
annotation
documentation
ComponentList consists of component identifiers
source <xsd:element name="ComponentList">
 
<xsd:annotation>
   
<xsd:documentation>ComponentList consists of component identifiers</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="ComponentIdentifiers" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element FoodList
diagram mdtp_schemata_documentation_1_1_p37.png
properties
content complex
used by
element EuroFIRMetaDataTransportPackage
annotation
documentation
FoodList consists of food descriptions
source <xsd:element name="FoodList">
 
<xsd:annotation>
   
<xsd:documentation>FoodList consists of food descriptions</xsd:documentation>
 
</xsd:annotation>
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="FoodDescription" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

simpleType date-as-string
type union of (xsd:date, year-month-as-string, year-as-string)
used by
attributes Content/@datasetcreated versiondate
source <xsd:simpleType name="date-as-string">
 
<xsd:union memberTypes="xsd:date year-month-as-string year-as-string"/>
</xsd:simpleType>

simpleType decimal-as-string
type restriction of xsd:string
used by
attributes IngredientName/@amount Recipe/Ingredients/@yieldalcohol Recipe/Ingredients/@yieldfat Recipe/Ingredients/@yieldwater
facets
Kind Value annotation 
pattern ([0-9]+(\.[0-9]+[0-9]?)?)? 
source <xsd:simpleType name="decimal-as-string">
 
<xsd:restriction base="xsd:string">
   
<xsd:pattern value="([0-9]+(\.[0-9]+[0-9]?)?)?"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType string-kind
type restriction of xsd:string
used by
attribute FoodName/@kind
facets
Kind Value annotation 
enumeration preferred 
enumeration synonym 
source <xsd:simpleType name="string-kind">
 
<xsd:restriction base="xsd:string">
   
<xsd:enumeration value="preferred"/>
   
<xsd:enumeration value="synonym"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType string-language
type restriction of xsd:string
used by
attributes Content/@language FoodName/@language
facets
Kind Value annotation 
pattern ([a-z]{2})|([a-z]{2}[ ][A-Z]{2}) 
source <xsd:simpleType name="string-language">
 
<xsd:restriction base="xsd:string">
   
<xsd:pattern value="([a-z]{2})|([a-z]{2}[ ][A-Z]{2})"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType string-no-empty
type restriction of xsd:string
used by
element Identifier
facets
Kind Value annotation 
minLength 
source <xsd:simpleType name="string-no-empty">
 
<xsd:restriction base="xsd:string">
   
<xsd:minLength value="1"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType string-service
type restriction of xsd:string
facets
Kind Value annotation 
enumeration 
enumeration 
enumeration 
source <xsd:simpleType name="string-service">
 
<xsd:restriction base="xsd:string">
   
<xsd:enumeration value="0"/>
   
<xsd:enumeration value="1"/>
   
<xsd:enumeration value="2"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType string20
type restriction of xsd:string
used by
element Content/ShortContentName
facets
Kind Value annotation 
maxLength 20 
source <xsd:simpleType name="string20">
 
<xsd:restriction base="xsd:string">
   
<xsd:maxLength value="20"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType string255
type restriction of xsd:string
used by
elements FoodClass Recipe/OriginalRecipeCode
attributes IngredientName/@foodid IngredientName/@unit
facets
Kind Value annotation 
maxLength 255 
source <xsd:simpleType name="string255">
 
<xsd:restriction base="xsd:string">
   
<xsd:maxLength value="255"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType string255-no-empty
type restriction of xsd:string
used by
element ComponentIdentifier
attributes Content/@acquisitiontype T_Reference/@acquisitiontype T_Reference/@referencetype ComponentIdentifier/@system FoodIdentifier/@system FoodClass/@system
facets
Kind Value annotation 
minLength 
maxLength 255 
source <xsd:simpleType name="string255-no-empty">
 
<xsd:restriction base="xsd:string">
   
<xsd:minLength value="1"/>
   
<xsd:maxLength value="255"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType year-as-string
type restriction of xsd:string
used by
simpleType date-as-string
facets
Kind Value annotation 
pattern ((Before )?\d{4})|(\d{4})|(\d{4}[\-]\d{4}) 
source <xsd:simpleType name="year-as-string">
 
<xsd:restriction base="xsd:string">
   
<xsd:pattern value="((Before )?\d{4})|(\d{4})|(\d{4}[\-]\d{4})"/>
 
</xsd:restriction>
</xsd:simpleType>

simpleType year-month-as-string
type restriction of xsd:string
used by
simpleType date-as-string
facets
Kind Value annotation 
pattern \d{4}[\-]([0][1-9])|([1][1-2]) 
source <xsd:simpleType name="year-month-as-string">
 
<xsd:restriction base="xsd:string">
   
<xsd:pattern value="\d{4}[\-]([0][1-9])|([1][1-2])"/>
 
</xsd:restriction>
</xsd:simpleType>

complexType T_Reference
diagram mdtp_schemata_documentation_1_1_p38.png
type extension of xsd:string
properties
base xsd:string
used by
elements Content/BibliographicReference Recipe/RecipeReference
attributes
Name  Type  Use  Default  Fixed  annotation
standardreferencecodexsd:stringoptional      
referencetypestring255-no-emptyrequired      
originalreferencecodexsd:stringoptional      
linkxsd:anyURIoptional      
acquisitiontypestring255-no-emptyrequired      
source <xsd:complexType name="T_Reference">
 
<xsd:simpleContent>
   
<xsd:extension base="xsd:string">
     
<xsd:attribute name="standardreferencecode" type="xsd:string" use="optional"/>
     
<xsd:attribute name="referencetype" type="string255-no-empty" use="required"/>
     
<xsd:attribute name="originalreferencecode" type="xsd:string" use="optional"/>
     
<xsd:attribute name="link" type="xsd:anyURI" use="optional"/>
     
<xsd:attribute name="acquisitiontype" type="string255-no-empty" use="required"/>
   
</xsd:extension>
 
</xsd:simpleContent>
</xsd:complexType>

attribute T_Reference/@standardreferencecode
type xsd:string
properties
isRef 0
use optional
source <xsd:attribute name="standardreferencecode" type="xsd:string" use="optional"/>

attribute T_Reference/@referencetype
type string255-no-empty
properties
isRef 0
use required
facets
Kind Value annotation 
minLength 
maxLength 255 
source <xsd:attribute name="referencetype" type="string255-no-empty" use="required"/>

attribute T_Reference/@originalreferencecode
type xsd:string
properties
isRef 0
use optional
source <xsd:attribute name="originalreferencecode" type="xsd:string" use="optional"/>

attribute T_Reference/@link
type xsd:anyURI
properties
isRef 0
use optional
source <xsd:attribute name="link" type="xsd:anyURI" use="optional"/>

attribute T_Reference/@acquisitiontype
type string255-no-empty
properties
isRef 0
use required
facets
Kind Value annotation 
minLength 
maxLength 255 
source <xsd:attribute name="acquisitiontype" type="string255-no-empty" use="required"/>

element ComponentIdentifier
diagram mdtp_schemata_documentation_1_1_p39.png
type extension of string255-no-empty
properties
content complex
used by
element ComponentIdentifiers
facets
Kind Value annotation 
minLength 
maxLength 255 
attributes
Name  Type  Use  Default  Fixed  annotation
systemstring255-no-emptyrequired      
source <xsd:element name="ComponentIdentifier">
 
<xsd:complexType>
   
<xsd:simpleContent>
     
<xsd:extension base="string255-no-empty">
       
<xsd:attribute name="system" type="string255-no-empty" use="required"/>
     
</xsd:extension>
   
</xsd:simpleContent>
 
</xsd:complexType>
</xsd:element>

attribute ComponentIdentifier/@system
type string255-no-empty
properties
isRef 0
use required
facets
Kind Value annotation 
minLength 
maxLength 255 
source <xsd:attribute name="system" type="string255-no-empty" use="required"/>

element ComponentIdentifiers
diagram mdtp_schemata_documentation_1_1_p40.png
properties
content complex
used by
element ComponentList
source <xsd:element name="ComponentIdentifiers">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="ComponentIdentifier" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element FoodClass
diagram mdtp_schemata_documentation_1_1_p41.png
type extension of string255
properties
content complex
used by
element FoodClasses
facets
Kind Value annotation 
maxLength 255 
attributes
Name  Type  Use  Default  Fixed  annotation
systemstring255-no-emptyrequired      
source <xsd:element name="FoodClass">
 
<xsd:complexType>
   
<xsd:simpleContent>
     
<xsd:extension base="string255">
       
<xsd:attribute name="system" type="string255-no-empty" use="required"/>
     
</xsd:extension>
   
</xsd:simpleContent>
 
</xsd:complexType>
</xsd:element>

attribute FoodClass/@system
type string255-no-empty
properties
isRef 0
use required
facets
Kind Value annotation 
minLength 
maxLength 255 
source <xsd:attribute name="system" type="string255-no-empty" use="required"/>

element FoodClasses
diagram mdtp_schemata_documentation_1_1_p42.png
properties
content complex
used by
element FoodDescription
source <xsd:element name="FoodClasses">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="FoodClass"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element FoodDescription
diagram mdtp_schemata_documentation_1_1_p43.png
properties
content complex
used by
element FoodList
source <xsd:element name="FoodDescription">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="FoodIdentifiers" maxOccurs="unbounded"/>
     
<xsd:element ref="FoodClasses" minOccurs="0" maxOccurs="unbounded"/>
     
<xsd:element ref="FoodNames" maxOccurs="unbounded"/>
     
<xsd:element ref="Recipe" minOccurs="0"/>
     
<xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element FoodDescription/Remarks
diagram mdtp_schemata_documentation_1_1_p44.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>

element FoodIdentifier
diagram mdtp_schemata_documentation_1_1_p45.png
properties
content complex
used by
element FoodIdentifiers
attributes
Name  Type  Use  Default  Fixed  annotation
systemstring255-no-emptyrequired      
source <xsd:element name="FoodIdentifier">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="Identifier" maxOccurs="unbounded"/>
   
</xsd:sequence>
   
<xsd:attribute name="system" type="string255-no-empty" use="required"/>
 
</xsd:complexType>
</xsd:element>

attribute FoodIdentifier/@system
type string255-no-empty
properties
isRef 0
use required
facets
Kind Value annotation 
minLength 
maxLength 255 
source <xsd:attribute name="system" type="string255-no-empty" use="required"/>

element FoodIdentifiers
diagram mdtp_schemata_documentation_1_1_p46.png
properties
content complex
used by
element FoodDescription
source <xsd:element name="FoodIdentifiers">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="FoodIdentifier" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element FoodName
diagram mdtp_schemata_documentation_1_1_p47.png
type extension of xsd:string
properties
content complex
used by
element FoodNames
attributes
Name  Type  Use  Default  Fixed  annotation
languagestring-languagerequired      
kindstring-kindoptional      
source <xsd:element name="FoodName">
 
<xsd:complexType>
   
<xsd:simpleContent>
     
<xsd:extension base="xsd:string">
       
<xsd:attribute name="language" type="string-language" use="required"/>
       
<xsd:attribute name="kind" type="string-kind" use="optional"/>
     
</xsd:extension>
   
</xsd:simpleContent>
 
</xsd:complexType>
</xsd:element>

attribute FoodName/@language
type string-language
properties
isRef 0
use required
facets
Kind Value annotation 
pattern ([a-z]{2})|([a-z]{2}[ ][A-Z]{2}) 
source <xsd:attribute name="language" type="string-language" use="required"/>

attribute FoodName/@kind
type string-kind
properties
isRef 0
use optional
facets
Kind Value annotation 
enumeration preferred 
enumeration synonym 
source <xsd:attribute name="kind" type="string-kind" use="optional"/>

element FoodNames
diagram mdtp_schemata_documentation_1_1_p48.png
properties
content complex
used by
element FoodDescription
source <xsd:element name="FoodNames">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="FoodName" maxOccurs="unbounded"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element Identifier
diagram mdtp_schemata_documentation_1_1_p49.png
type string-no-empty
properties
content simple
used by
element FoodIdentifier
facets
Kind Value annotation 
minLength 
source <xsd:element name="Identifier" type="string-no-empty"/>

element Ingredient
diagram mdtp_schemata_documentation_1_1_p50.png
properties
content complex
used by
element Recipe/Ingredients
source <xsd:element name="Ingredient">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="IngredientName"/>
     
<xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element Ingredient/Remarks
diagram mdtp_schemata_documentation_1_1_p51.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>

element IngredientName
diagram mdtp_schemata_documentation_1_1_p52.png
type extension of xsd:string
properties
content complex
used by
element Ingredient
attributes
Name  Type  Use  Default  Fixed  annotation
foodidstring255optional      
amountdecimal-as-stringoptional      
unitstring255optional      
rankxsd:integeroptional      
source <xsd:element name="IngredientName">
 
<xsd:complexType>
   
<xsd:simpleContent>
     
<xsd:extension base="xsd:string">
       
<xsd:attribute name="foodid" type="string255" use="optional"/>
       
<xsd:attribute name="amount" type="decimal-as-string" use="optional"/>
       
<xsd:attribute name="unit" type="string255" use="optional"/>
       
<xsd:attribute name="rank" type="xsd:integer" use="optional"/>
     
</xsd:extension>
   
</xsd:simpleContent>
 
</xsd:complexType>
</xsd:element>

attribute IngredientName/@foodid
type string255
properties
isRef 0
use optional
facets
Kind Value annotation 
maxLength 255 
source <xsd:attribute name="foodid" type="string255" use="optional"/>

attribute IngredientName/@amount
type decimal-as-string
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern ([0-9]+(\.[0-9]+[0-9]?)?)? 
source <xsd:attribute name="amount" type="decimal-as-string" use="optional"/>

attribute IngredientName/@unit
type string255
properties
isRef 0
use optional
facets
Kind Value annotation 
maxLength 255 
source <xsd:attribute name="unit" type="string255" use="optional"/>

attribute IngredientName/@rank
type xsd:integer
properties
isRef 0
use optional
source <xsd:attribute name="rank" type="xsd:integer" use="optional"/>

element Recipe
diagram mdtp_schemata_documentation_1_1_p53.png
properties
content complex
used by
element FoodDescription
source <xsd:element name="Recipe">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element name="OriginalRecipeCode" type="string255" minOccurs="0"/>
     
<xsd:element name="RecipeReference" type="T_Reference" minOccurs="0"/>
     
<xsd:element name="RecipeProcedure" type="xsd:string" minOccurs="0"/>
     
<xsd:element name="Ingredients">
       
<xsd:complexType>
         
<xsd:sequence>
           
<xsd:element ref="Ingredient" minOccurs="0" maxOccurs="unbounded"/>
         
</xsd:sequence>
         
<xsd:attribute name="yieldwater" type="decimal-as-string" use="optional"/>
         
<xsd:attribute name="yieldfat" type="decimal-as-string" use="optional"/>
         
<xsd:attribute name="yieldalcohol" type="decimal-as-string" use="optional"/>
       
</xsd:complexType>
     
</xsd:element>
     
<xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>
   
</xsd:sequence>
 
</xsd:complexType>
</xsd:element>

element Recipe/OriginalRecipeCode
diagram mdtp_schemata_documentation_1_1_p54.png
type string255
properties
isRef 0
minOcc 0
maxOcc 1
content simple
facets
Kind Value annotation 
maxLength 255 
source <xsd:element name="OriginalRecipeCode" type="string255" minOccurs="0"/>

element Recipe/RecipeReference
diagram mdtp_schemata_documentation_1_1_p55.png
type T_Reference
properties
isRef 0
minOcc 0
maxOcc 1
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
standardreferencecodexsd:stringoptional      
referencetypestring255-no-emptyrequired      
originalreferencecodexsd:stringoptional      
linkxsd:anyURIoptional      
acquisitiontypestring255-no-emptyrequired      
source <xsd:element name="RecipeReference" type="T_Reference" minOccurs="0"/>

element Recipe/RecipeProcedure
diagram mdtp_schemata_documentation_1_1_p56.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="RecipeProcedure" type="xsd:string" minOccurs="0"/>

element Recipe/Ingredients
diagram mdtp_schemata_documentation_1_1_p57.png
properties
isRef 0
content complex
attributes
Name  Type  Use  Default  Fixed  annotation
yieldwaterdecimal-as-stringoptional      
yieldfatdecimal-as-stringoptional      
yieldalcoholdecimal-as-stringoptional      
source <xsd:element name="Ingredients">
 
<xsd:complexType>
   
<xsd:sequence>
     
<xsd:element ref="Ingredient" minOccurs="0" maxOccurs="unbounded"/>
   
</xsd:sequence>
   
<xsd:attribute name="yieldwater" type="decimal-as-string" use="optional"/>
   
<xsd:attribute name="yieldfat" type="decimal-as-string" use="optional"/>
   
<xsd:attribute name="yieldalcohol" type="decimal-as-string" use="optional"/>
 
</xsd:complexType>
</xsd:element>

attribute Recipe/Ingredients/@yieldwater
type decimal-as-string
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern ([0-9]+(\.[0-9]+[0-9]?)?)? 
source <xsd:attribute name="yieldwater" type="decimal-as-string" use="optional"/>

attribute Recipe/Ingredients/@yieldfat
type decimal-as-string
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern ([0-9]+(\.[0-9]+[0-9]?)?)? 
source <xsd:attribute name="yieldfat" type="decimal-as-string" use="optional"/>

attribute Recipe/Ingredients/@yieldalcohol
type decimal-as-string
properties
isRef 0
use optional
facets
Kind Value annotation 
pattern ([0-9]+(\.[0-9]+[0-9]?)?)? 
source <xsd:attribute name="yieldalcohol" type="decimal-as-string" use="optional"/>

element Recipe/Remarks
diagram mdtp_schemata_documentation_1_1_p58.png
type xsd:string
properties
isRef 0
minOcc 0
maxOcc 1
content simple
source <xsd:element name="Remarks" type="xsd:string" minOccurs="0"/>


XML Schema documentation generated by
XMLSpy Schema Editor http://www.altova.com/xmlspy