Project

General

Profile

RE: Darwin Core XMP Metadata, view and edit ยป DwCpropertiesSample.cpp

Sample code to add DwC metadata support - Alan Pater, 27 Nov 2013 21:58

 
1
        // Schemas
2
        { "http://rs.tdwg.org/dwc/terms/",                 "dwc",          xmpDwCInfo,       "XMP Darwin Core schema" },
3

    
4
   extern const XmpPropertyInfo xmpDwCInfo[] = {
5
	{ "acceptedNameUsage",			"acceptedNameUsage",		"Text",	xmpText,	xmpExternal,	"The full name, with authorship and date information if known, of the currently valid (zoological) or accepted (botanical) taxon." },
6
	{ "acceptedNameUsageID",		"acceptedNameUsageID",		"Text",	xmpText,	xmpExternal,	"An identifier for the name usage (documented meaning of the name according to a source) of the currently valid (zoological) or accepted (botanical) taxon ." },
7
	{ "behavior",				"behavior",				"Text",	xmpText,	xmpExternal,	"A description of the behavior shown by the subject at the time the Occurrence was recorded. Recommended best practice is to use a controlled vocabulary ." },
8
	{ "bibliographicCitation",		"bibliographicCitation",	"Text",	xmpText,	xmpExternal,	"A bibliographic reference for the resource as a statement indicating how this record should be cited (attributed) when used. Recommended practice is to include sufficient bibliographic detail to identify the resource as unambiguously as possible ." },
9
	{ "earliestEraOrLowestErathem",	"earliestEraOrLowestErathem",	"Text",	xmpText,	xmpExternal,	"The full name of the earliest possible geochronologic era or lowest chronostratigraphic erathem attributable to the stratigraphic horizon from which the cataloged item was collected ." },
10
	{ "identifiedBy",				"identifiedBy",			"Text",	xmpText,	xmpExternal,	"A list (concatenated and separated) of names of people, groups, or organizations who assigned the Taxon to the subject ." },
11
	{ "individualCount",			"individualCount",		"Text",	xmpText,	xmpExternal,	"The number of individuals represented present at the time of the Occurrence ." },
12
	{ "scientificName",			"scientificName",			"Text",	xmpText,	xmpExternal,	"The full scientific name, with authorship and date information if known. When forming part of an Identification, this should be the name in lowest level taxonomic rank that can be determined. This term should not contain identification qualifications, which should instead be supplied in the IdentificationQualifier term ." },
13
	{ "scientificNameAuthorship",		"scientificNameAuthorship",	"Text",	xmpText,	xmpExternal,	"The authorship information for the scientificName formatted according to the conventions of the applicable nomenclaturalCode ." },
14
	{ "scientificNameID",			"scientificNameID",		"Text",	xmpText,	xmpExternal,	"An identifier for the nomenclatural (not taxonomic) details of a scientific name ." },
15
	{ "verbatimTaxonRank",			"verbatimTaxonRank",		"Text",	xmpText,	xmpExternal,	"The taxonomic rank of the most specific name in the scientificName as it appears in the original record ." },
16
	{ "vernacularName",			"vernacularName",			"Text",	xmpText,	xmpExternal,	"A common or vernacular name ." },
17
      // End of list marker
18
        { 0, 0, 0, invalidTypeId, xmpInternal, 0 }
19
    };
    (1-1/1)