mirror of https://github.com/tdwg/dwc.git
173 lines
4.9 KiB
SQL
173 lines
4.9 KiB
SQL
CREATE TABLE simpledwc (
|
|
type VARCHAR(32),
|
|
modified DATETIME,
|
|
language CHAR(2),
|
|
license TEXT,
|
|
rightsHolder varchar(255),
|
|
accessRights TEXT,
|
|
bibliographicCitation varchar(255),
|
|
references TEXT,
|
|
institutionID varchar(255),
|
|
collectionID varchar(255),
|
|
datasetID varchar(255),
|
|
institutionCode varchar(64),
|
|
collectionCode varchar(64),
|
|
datasetName varchar(255),
|
|
ownerInstitutionCode varchar(32),
|
|
basisOfRecord varchar(32),
|
|
informationWithheld TEXT,
|
|
dataGeneralizations TEXT,
|
|
dynamicProperties TEXT,
|
|
occurrenceID varchar(255),
|
|
catalogNumber varchar(32),
|
|
recordNumber varchar(32),
|
|
recordedBy varchar(255),
|
|
individualCount INTEGER,
|
|
organismQuantity varchar(20),
|
|
organismQuantityType varchar(32),
|
|
sex varchar(32),
|
|
lifeStage varchar(32),
|
|
reproductiveCondition varchar(255),
|
|
behavior varchar(255),
|
|
establishmentMeans varchar(32),
|
|
occurrenceStatus varchar(32),
|
|
preparations varchar(255),
|
|
disposition varchar(32),
|
|
associatedMedia TEXT,
|
|
associatedReferences TEXT,
|
|
associatedSequences TEXT,
|
|
associatedTaxa TEXT,
|
|
otherCatalogNumbers varchar(255),
|
|
occurrenceRemarks TEXT,
|
|
organismID varchar(255),
|
|
organismName varchar(32),
|
|
organismScope varchar(32),
|
|
associatedOccurrences TEXT,
|
|
associatedOrganisms TEXT,
|
|
previousIdentifications TEXT,
|
|
organismRemarks TEXT,
|
|
materialSampleID varchar(255),
|
|
eventID varchar(255),
|
|
parentEventID varchar(255),
|
|
fieldNumber varchar(255),
|
|
eventDate DATETIME,
|
|
eventTime TIME,
|
|
startDayOfYear INTEGER,
|
|
endDayOfYear INTEGER,
|
|
year INTEGER,
|
|
month INTEGER,
|
|
day INTEGER,
|
|
verbatimEventDate varchar(255),
|
|
habitat varchar(255),
|
|
samplingProtocol TEXT,
|
|
samplingEffort varchar(255),
|
|
sampleSizeValue varchar(20),
|
|
sampleSizeUnit varchar(32),
|
|
fieldNotes TEXT,
|
|
eventRemarks TEXT,
|
|
locationID varchar(255),
|
|
higherGeographyID varchar(255),
|
|
higherGeography varchar(255),
|
|
continent varchar(32),
|
|
waterBody varchar(255),
|
|
islandGroup varchar(255),
|
|
island varchar(255),
|
|
country varchar(64),
|
|
countryCode varchar(2),
|
|
stateProvince varchar(255),
|
|
county varchar(255),
|
|
municipality varchar(255),
|
|
locality TEXT,
|
|
verbatimLocality TEXT,
|
|
minimumElevationInMeters DECIMAL(6,2),
|
|
maximumElevationInMeters DECIMAL(6,2),
|
|
verbatimElevation varchar(255),
|
|
minimumDepthInMeters DECIMAL(6,2),
|
|
maximumDepthInMeters DECIMAL(6,2),
|
|
verbatimDepth varchar(255),
|
|
minimumDistanceAboveSurfaceInMeters DECIMAL(6,2),
|
|
maximumDistanceAboveSurfaceInMeters DECIMAL(6,2),
|
|
locationAccordingTo varchar(255),
|
|
locationRemarks TEXT,
|
|
decimalLatitude DECIMAL(9,7),
|
|
decimalLongitude DECIMAL(10,7),
|
|
geodeticDatum varchar(255),
|
|
coordinateUncertaintyInMeters DECIMAL (10,2),
|
|
coordinatePrecision DECIMAL(9,7),
|
|
pointRadiusSpatialFit DOUBLE,
|
|
verbatimCoordinates varchar(255),
|
|
verbatimLatitude varchar(32),
|
|
verbatimLongitude varchar(32),
|
|
verbatimCoordinateSystem varchar(255),
|
|
verbatimSRS varchar(255),
|
|
footprintWKT TEXT,
|
|
footprintSRS varchar(255),
|
|
footprintSpatialFit DOUBLE,
|
|
georeferencedBy varchar(255),
|
|
georeferencedDate DATETIME,
|
|
georeferenceProtocol varchar(255),
|
|
georeferenceSources TEXT,
|
|
georeferenceVerificationStatus varchar(32),
|
|
georeferenceRemarks TEXT,
|
|
geologicalContextID varchar(255),
|
|
earliestEonOrLowestEonothem varchar(255),
|
|
latestEonOrHighestEonothem varchar(255),
|
|
earliestEraOrLowestErathem varchar(255),
|
|
latestEraOrHighestErathem varchar(255),
|
|
earliestPeriodOrLowestSystem varchar(255),
|
|
latestPeriodOrHighestSystem varchar(255),
|
|
earliestEpochOrLowestSeries varchar(255),
|
|
latestEpochOrHighestSeries varchar(255),
|
|
earliestAgeOrLowestStage varchar(255),
|
|
latestAgeOrHighestStage varchar(255),
|
|
lowestBiostratigraphicZone varchar(255),
|
|
highestBiostratigraphicZone varchar(255),
|
|
lithostratigraphicTerms varchar(255),
|
|
group varchar(255),
|
|
formation varchar(255),
|
|
member varchar(255),
|
|
bed varchar(255),
|
|
identificationID varchar(255),
|
|
identificationQualifier varchar(255),
|
|
typeStatus varchar(255),
|
|
identifiedBy varchar(255),
|
|
dateIdentified DATETIME,
|
|
identificationReferences TEXT,
|
|
identificationVerificationStatus varchar(32),
|
|
identificationRemarks TEXT,
|
|
taxonID varchar(255),
|
|
scientificNameID varchar(255),
|
|
acceptedNameUsageID varchar(255),
|
|
parentNameUsageID varchar(255),
|
|
originalNameUsageID varchar(255),
|
|
nameAccordingToID varchar(255),
|
|
namePublishedInID varchar(255),
|
|
taxonConceptID varchar(255),
|
|
scientificName varchar(255),
|
|
acceptedNameUsage varchar(255),
|
|
parentNameUsage varchar(255),
|
|
originalNameUsage varchar(255),
|
|
nameAccordingTo varchar(255),
|
|
namePublishedIn varchar(255),
|
|
namePublishedInYear INTEGER,
|
|
higherClassification varchar(255),
|
|
kingdom varchar(32),
|
|
phylum varchar(255),
|
|
class varchar(255),
|
|
order varchar(255),
|
|
family varchar(255),
|
|
genus varchar(255),
|
|
subgenus varchar(255),
|
|
specificEpithet varchar(255),
|
|
infraspecificEpithet varchar(255),
|
|
taxonRank varchar(32),
|
|
verbatimTaxonRank varchar(255),
|
|
scientificNameAuthorship varchar(255),
|
|
vernacularName varchar(255),
|
|
nomenclaturalCode varchar(32),
|
|
taxonomicStatus varchar(32),
|
|
nomenclaturalStatus varchar(32),
|
|
taxonRemarks TEXT
|
|
);
|
|
|