Generation CP Passport - V1.04

Table of Contents

top

Schema Document Properties

Target Namespace http://generationcp.org/schemas/gcp_passport/1.04
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Documentation =============STARTING POINT=============

Declared Namespaces

Prefix Namespace
Default namespace http://generationcp.org/schemas/gcp_passport/1.04
xml http://www.w3.org/XML/1998/namespace
xs http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xs:schema targetNamespace="http://generationcp.org/schemas/gcp_passport/1.04" elementFormDefault="qualified" attributeFormDefault="unqualified">
...
</xs:schema>
top

Global Declarations

Element: DataSet

Name DataSet
Type Locally-defined complex type
Nillable no
Abstract no
Documentation A dataset containing meta data on the provider and submitted data on germplasm.
Logical Diagram
XML Instance Representation
<DataSet>
<DataPublisher> [1]

'Data on whom actually publishes the data.'


<PublisherFAOCode> FAOInstituteCode </PublisherFAOCode> [0..1]

'The code of institute publishing the dataset. The current set of institute codes can be found on the FAO website (http://apps3.fao.org/wiews).'

<PublisherName> xs:string </PublisherName> [1]

'Name of publisher.'

<ContactName> xs:string </ContactName> [1]

'Name of primary contact for this dataset at the publisher.'

<ContactEmail> xs:string </ContactEmail> [1]

'Email of primary contact for this dataset at the publisher.'

<Remarks> xs:string </Remarks> [0..1]

'Remarks regarding this published dataset.'

</DataPublisher>
<GermplasmSamples> [1]

'Data on germplasm samples.'


<GermplasmSample> GermplasmSample </GermplasmSample> [1..*]
</GermplasmSamples>
<Metadata> ContentMetadata </Metadata> [1]

'Metadata on the dataset.'

</DataSet>
Diagram
h-1700543117 h1551910187 h-317951069
Schema Component Representation
<xs:element name="DataSet">
<xs:complexType>
<xs:sequence>
<xs:element name="DataPublisher">
<xs:complexType>
<xs:sequence>
<xs:element name="PublisherFAOCode" type=" FAOInstituteCode " minOccurs="0"/>
<xs:element name="PublisherName" type=" xs:string "/>
<xs:element name="ContactName" type=" xs:string "/>
<xs:element name="ContactEmail" type=" xs:string "/>
<xs:element name="Remarks" type=" xs:string " minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="GermplasmSamples">
<xs:complexType>
<xs:sequence>
<xs:element name="GermplasmSample" type=" GermplasmSample " maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Metadata" type=" ContentMetadata "/>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Global Definitions

Complex Type: Address

Super-types: None
Sub-types: None
Name Address
Used by (from the same schema document) Complex Type Institute , Complex Type Person
Abstract no
Documentation Entity for address. Used as a "datatype" for institutional and person data.
XML Instance Representation
<...>
<PostAddress> xs:string </PostAddress> [0..1]

'PO Box address or street address if PO Box not available'

<ZipCode> xs:string </ZipCode> [0..1]

'Postal code'

<CityAndState> xs:string </CityAndState> [0..1]

'City'

<Country> xs:string </Country> [0..1]

'Country in which organization or person resides'

<StreetAddress> xs:string </StreetAddress> [0..1]

'Street address'

<CountryISOCode> xs:string </CountryISOCode> [0..1]

'ISO 3166-1 alpha-3, 3 character ISO code for countries.'

</...>
Diagram
Schema Component Representation
<xs:complexType name="Address">
<xs:sequence>
<xs:element name="PostAddress" type=" xs:string " minOccurs="0"/>
<xs:element name="ZipCode" type=" xs:string " minOccurs="0"/>
<xs:element name="CityAndState" type=" xs:string " minOccurs="0"/>
<xs:element name="Country" type=" xs:string " minOccurs="0"/>
<xs:element name="StreetAddress" type=" xs:string " minOccurs="0"/>
<xs:element name="CountryISOCode" type=" xs:string " minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: AncestralData

Super-types: None
Sub-types: None
Name AncestralData
Abstract no
Documentation Entity to record pedigree and other ancestral data.
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xs:complexType name="AncestralData"/>
top

Complex Type: BiologicalStatus

Super-types: None
Sub-types: None
Name BiologicalStatus
Used by (from the same schema document) Complex Type GermplasmSample
Abstract no
Documentation Entity to record the biological status of the germplasm.
XML Instance Representation
<...>
<BioligicalSampleStatus> BiologicalStatusCode </BioligicalSampleStatus> [0..1]

'The biological status of the germplasm sample. Use coding as provided by MCPD 2001. The coding scheme can be used at 3 different levels of detail: either by using the general codes such as 100, 200, 300, 400 or by using the more specific codes such as 110, 120 or 411, 412 etc.'

<BiologicalSampleStatusRemarks> xs:string </BiologicalSampleStatusRemarks> [0..1]

'This field is used to elaborate on sample status with value 999 (= Other).'

</...>
Diagram
h-1545206299
Schema Component Representation
<xs:complexType name="BiologicalStatus">
<xs:sequence>
<xs:element name="BioligicalSampleStatus" type=" BiologicalStatusCode " minOccurs="0"/>
<xs:element name="BiologicalSampleStatusRemarks" type=" xs:string " minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: CollectingDate

Super-types: None
Sub-types: None
Name CollectingDate
Abstract no
Documentation Entity for recording the collecting date.
XML Instance Representation
<...>
<date> xs:string </date> [0..1]

'Collecting date of the sample where YYYY is the year, MM is the month and DD is the day. Missing data (MM or DD) should be indicated with hyphens. Leading zeros are required (YYYYMMDD).'

</...>
Diagram
Schema Component Representation
<xs:complexType name="CollectingDate">
<xs:sequence>
<xs:element name="date" type=" xs:string " minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: CollectingEvent

Super-types: None
Sub-types: None
Name CollectingEvent
Abstract no
Documentation Entity to record collectingsite location data.
XML Instance Representation
<.../>
Diagram
Schema Component Representation
<xs:complexType name="CollectingEvent"/>
top

Complex Type: CollectingInstitute

Super-types: None
Sub-types: None
Name CollectingInstitute
Abstract no
Documentation Entity for recording the collector name (and/or collecting institute).
XML Instance Representation
<...>
<collectingInstitute> Institute </collectingInstitute> [0..1]

'The institute collecting the sample. If the holding institute has collected the material, the collecting institute should be the same as the holding institute. For the collecting institute use FAO institute code (if exists). The codes consist of the 3-letter ISO 3166 country code of the country where the institute is located plus a number. The current set of Institute Codes is available from the FAO website (http://apps3.fao.org/wiews/). If FAO institute code does not exist provide full name and address details.'

</...>
Diagram
h1363354416
Schema Component Representation
<xs:complexType name="CollectingInstitute">
<xs:sequence>
<xs:element name="collectingInstitute" type=" Institute " minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: ContentMetadata

Super-types: None
Sub-types: None
Name ContentMetadata
Used by (from the same schema document) Element DataSet
Abstract no
Documentation Metadata container for a DataSet
XML Instance Representation
<...>
<DatasetTitle> xs:string </DatasetTitle> [1]

'Name given to the dataset.'

<DatasetIdentifier> xs:string </DatasetIdentifier> [0..1]

'Name or code of the (data) source. The source name is unique within the source institution (e.g. Genebank Information System).'

<DatasetDescription> xs:string </DatasetDescription> [0..1]

'Description of the dataset.'

<DatasetLastUpdated> xs:dateTime </DatasetLastUpdated> [1]

'The date and time the passport data were extracted from the original data source (YYYY-MM-DD hh:mm:ss).'

<SourceInstitute> Institute </SourceInstitute> [0..1]

'Unique identifier (code or name) of the institution holding the original data source. Use FAO institute code (if exists). The codes consist of the 3-letter ISO 3166 country code of the country where the institute is located plus a number. The current set of Institute Codes is available from the FAO website (http://apps3.fao.org/wiews/). If FAO institute code does not exist provide full address details.'

<SourcePerson> xs:string </SourcePerson> [0..1]

'Name or other indication of the person or team that supplied the data from the original data source.'

<Crop> xs:string </Crop> [0..1]

'Crop the dataset is dealing with.'

<Keywords> xs:string </Keywords> [0..1]

'Subject and keywords (other than crop).'

<DatasetStatus> xs:string </DatasetStatus> [0..1]

'Indicate whether dataset is complete and the definitive set or not (provide version number if applicable). If incomplete, describe the parts that are included and parts that are missing.'

<Remarks> xs:string </Remarks> [0..1]

'Remarks provided by the organization holding the original data.'

</...>
Diagram
h1363354416
Schema Component Representation
<xs:complexType name="ContentMetadata">
<xs:sequence>
<xs:element name="DatasetTitle" type=" xs:string "/>
<xs:element name="DatasetIdentifier" type=" xs:string " minOccurs="0"/>
<xs:element name="DatasetDescription" type=" xs:string " minOccurs="0"/>
<xs:element name="DatasetLastUpdated" type=" xs:dateTime "/>
<xs:element name="SourceInstitute" type=" Institute " minOccurs="0"/>
<xs:element name="SourcePerson" type=" xs:string " minOccurs="0"/>
<xs:element name="Crop" type=" xs:string " minOccurs="0"/>
<xs:element name="Keywords" type=" xs:string " minOccurs="0"/>
<xs:element name="DatasetStatus" type=" xs:string " minOccurs="0"/>
<xs:element name="Remarks" type=" xs:string " minOccurs="0"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: CropNames

Super-types: None
Sub-types: None
Name CropNames
Abstract no
Documentation Entity for recording cropnames.
XML Instance Representation
<...>
<CropName> xs:string </CropName> [1..*]

'Name of the crop in colloquial language, preferably English (i.e. \'malting barley\', \'cauliflower\', \'white cabbage\' etc.)'

</...>
Diagram
Schema Component Representation
<xs:complexType name="CropNames">
<xs:sequence>
<xs:element name="CropName" type=" xs:string " maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: DonatedSample

Super-types: None
Sub-types: None
Name DonatedSample
Used by (from the same schema document) Complex Type GermplasmSample
Abstract no
Documentation Entity to record data on the origin of donated germplasm.
XML Instance Representation
<...>
<DonorInstitute> Institute </DonorInstitute> [0..1]