@luomus/laji-schema 2.0.245 → 2.0.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/classes/Enums.js +83 -31
- package/dist/cjs/classes/TraitSearchDataset.js +12 -0
- package/dist/cjs/classes/TraitSearchRow.js +12 -0
- package/dist/cjs/classes/TraitSearchTaxon.js +12 -0
- package/dist/cjs/classes/TraitSubject.js +12 -0
- package/dist/cjs/classes/TraitValue.js +12 -0
- package/dist/cjs/classes/index.js +11 -1
- package/dist/cjs/models/TraitSearchDataset.js +2 -0
- package/dist/cjs/models/TraitSearchRow.js +2 -0
- package/dist/cjs/models/TraitSearchTaxon.js +2 -0
- package/dist/cjs/models/TraitSubject.js +2 -0
- package/dist/cjs/models/TraitValue.js +2 -0
- package/dist/cjs/models/index.js +21 -1
- package/dist/dto/Enums.dto.ts +77 -28
- package/dist/dto/TraitSearchDataset.dto.ts +86 -0
- package/dist/dto/TraitSearchRow.dto.ts +44 -0
- package/dist/dto/TraitSearchTaxon.dto.ts +24 -0
- package/dist/dto/TraitSubject.dto.ts +79 -0
- package/dist/dto/TraitValue.dto.ts +24 -0
- package/dist/dto/index.dto.ts +5 -0
- package/dist/esm/classes/Enums.js +81 -29
- package/dist/esm/classes/TraitSearchDataset.js +8 -0
- package/dist/esm/classes/TraitSearchRow.js +8 -0
- package/dist/esm/classes/TraitSearchTaxon.js +8 -0
- package/dist/esm/classes/TraitSubject.js +8 -0
- package/dist/esm/classes/TraitValue.js +8 -0
- package/dist/esm/classes/index.js +5 -0
- package/dist/esm/models/TraitSearchDataset.js +1 -0
- package/dist/esm/models/TraitSearchRow.js +1 -0
- package/dist/esm/models/TraitSearchTaxon.js +1 -0
- package/dist/esm/models/TraitSubject.js +1 -0
- package/dist/esm/models/TraitValue.js +1 -0
- package/dist/esm/models/index.js +15 -0
- package/dist/types/classes/Enums.d.ts +77 -28
- package/dist/types/classes/TraitSearchDataset.d.ts +80 -0
- package/dist/types/classes/TraitSearchRow.d.ts +37 -0
- package/dist/types/classes/TraitSearchTaxon.d.ts +17 -0
- package/dist/types/classes/TraitSubject.d.ts +72 -0
- package/dist/types/classes/TraitValue.d.ts +17 -0
- package/dist/types/classes/index.d.ts +5 -0
- package/dist/types/models/Enums.d.ts +4 -1
- package/dist/types/models/TraitSearchDataset.d.ts +80 -0
- package/dist/types/models/TraitSearchRow.d.ts +37 -0
- package/dist/types/models/TraitSearchTaxon.d.ts +17 -0
- package/dist/types/models/TraitSubject.d.ts +72 -0
- package/dist/types/models/TraitValue.d.ts +17 -0
- package/dist/types/models/index.d.ts +16 -1
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { MYHabitatEnum } from './';
|
|
2
|
+
import { MYLifeStages } from './';
|
|
3
|
+
import { MYSexes } from './';
|
|
4
|
+
import { MYRecordBases } from './';
|
|
5
|
+
import { TDFTypeEnum } from './';
|
|
6
|
+
export declare class TraitSubject {
|
|
7
|
+
"@context"?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
"@type"?: string;
|
|
10
|
+
scientificName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Country name in English, or 2-letter country code, or name from label
|
|
13
|
+
*/
|
|
14
|
+
country?: string;
|
|
15
|
+
dateBegin?: string;
|
|
16
|
+
dateEnd?: string;
|
|
17
|
+
habitat?: MYHabitatEnum[];
|
|
18
|
+
/**
|
|
19
|
+
* If country is not known or not applicable, for example continent, ocean or large island
|
|
20
|
+
*/
|
|
21
|
+
higherGeography?: string;
|
|
22
|
+
individualCount?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting. Use Life stage description field for extra information.
|
|
25
|
+
*/
|
|
26
|
+
lifeStage?: MYLifeStages;
|
|
27
|
+
/**
|
|
28
|
+
* Official name of the locality in basic form. Separate multiple names with commas, from generic to specific. No informal description here.
|
|
29
|
+
*/
|
|
30
|
+
locality?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Municipality, commune, town, city or civil parish
|
|
33
|
+
*/
|
|
34
|
+
municipality?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Sex of the individual(s)
|
|
37
|
+
*/
|
|
38
|
+
sex?: MYSexes;
|
|
39
|
+
ageYears?: number;
|
|
40
|
+
author?: string;
|
|
41
|
+
basisOfRecord?: MYRecordBases;
|
|
42
|
+
coordinateAccuracy?: number;
|
|
43
|
+
created?: string;
|
|
44
|
+
createdBy: string;
|
|
45
|
+
datasetId: string;
|
|
46
|
+
elevation?: number;
|
|
47
|
+
finbifOccurrenceId?: string;
|
|
48
|
+
functionalGroupName?: string;
|
|
49
|
+
gbifOccurrenceId?: string;
|
|
50
|
+
gbifTaxonId?: number;
|
|
51
|
+
kingdom?: string;
|
|
52
|
+
lat?: number;
|
|
53
|
+
latMax?: number;
|
|
54
|
+
latMin?: number;
|
|
55
|
+
locationIdentifiers?: string;
|
|
56
|
+
lon?: number;
|
|
57
|
+
lonMax?: number;
|
|
58
|
+
lonMin?: number;
|
|
59
|
+
measurementDeterminedBy?: string;
|
|
60
|
+
measurementDeterminedDate?: string;
|
|
61
|
+
modified?: string;
|
|
62
|
+
modifiedBy?: string;
|
|
63
|
+
occurrenceRemarks?: string;
|
|
64
|
+
otherOccurrenceId?: string;
|
|
65
|
+
otherTaxonId?: number;
|
|
66
|
+
seasonBegin?: number;
|
|
67
|
+
seasonEnd?: number;
|
|
68
|
+
taxonId?: string;
|
|
69
|
+
type: TDFTypeEnum;
|
|
70
|
+
yearBegin?: number;
|
|
71
|
+
yearEnd?: number;
|
|
72
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MYLifeStages } from './';
|
|
2
|
+
import { TDFStatisticalMethodEnum } from './';
|
|
3
|
+
import { TDFUnitOfMeasurementEnum } from './';
|
|
4
|
+
export declare class TraitValue {
|
|
5
|
+
"@context"?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
"@type"?: string;
|
|
8
|
+
measurementAccuracy?: number;
|
|
9
|
+
measurementRemarks?: string;
|
|
10
|
+
objectTaxonLifeStage?: MYLifeStages;
|
|
11
|
+
reference?: string;
|
|
12
|
+
statisticalMethod?: TDFStatisticalMethodEnum;
|
|
13
|
+
traitId: string;
|
|
14
|
+
unit?: TDFUnitOfMeasurementEnum;
|
|
15
|
+
value: string;
|
|
16
|
+
warnings?: boolean;
|
|
17
|
+
}
|
|
@@ -80,6 +80,11 @@ export { Term } from './Term';
|
|
|
80
80
|
export { Trait } from './Trait';
|
|
81
81
|
export { TraitEnumValue } from './TraitEnumValue';
|
|
82
82
|
export { TraitGroup } from './TraitGroup';
|
|
83
|
+
export { TraitSearchDataset } from './TraitSearchDataset';
|
|
84
|
+
export { TraitSearchRow } from './TraitSearchRow';
|
|
85
|
+
export { TraitSearchTaxon } from './TraitSearchTaxon';
|
|
86
|
+
export { TraitSubject } from './TraitSubject';
|
|
87
|
+
export { TraitValue } from './TraitValue';
|
|
83
88
|
export { Transaction } from './Transaction';
|
|
84
89
|
export { TransactionEvent } from './TransactionEvent';
|
|
85
90
|
export { TransactionItem } from './TransactionItem';
|
|
@@ -122,6 +122,10 @@ export declare type MXOccurrenceInFinlandEnum = "" | "MX.doesNotOccur" | "MX.occ
|
|
|
122
122
|
export declare type MYTaxonCensusEnum = "MY.taxonCensusTypeCounted" | "MY.taxonCensusTypeEstimated" | "MY.taxonCensusTypeNotCounted";
|
|
123
123
|
export declare type MITaxonInteractionEnum = "MI.taxonInteractionNeutralism" | "MI.taxonInteractionAntagonism" | "MI.taxonInteractionCommensalism" | "MI.taxonInteractionCompetition" | "MI.taxonInteractionAmensalism" | "MI.taxonInteractionMutualism" | "MI.taxonInteractionPredation" | "MI.taxonInteractionParasitism" | "MI.taxonInteractionEctoparasitism" | "MI.taxonInteractionEndoparasitism";
|
|
124
124
|
export declare type TDFRangeEnum = "" | "xsd:string" | "xsd:decimal" | "xsd:integer" | "xsd:positiveInteger" | "xsd:nonNegativeInteger" | "xsd:boolean" | "MX.taxon";
|
|
125
|
+
export declare type TDFUnitOfMeasurementEnum = "" | "TDF.umNM" | "TDF.umUM" | "TDF.umMM" | "TDF.umCM" | "TDF.umM" | "TDF.umKM" | "TDF.umG" | "TDF.umKG" | "TDF.umA" | "TDF.umS" | "TDF.umML" | "TDF.umL" | "TDF.umMOL" | "TDF.umMMOL" | "TDF.umUMOL" | "TDF.umHZ" | "TDF.umP" | "TDF.umPPT" | "TDF.umPPM" | "TDF.umC" | "TDF.umMM2" | "TDF.umCM2" | "TDF.umM2" | "TDF.umARE" | "TDF.umHA" | "TDF.umKM2" | "TDF.umMM3" | "TDF.umCM3" | "TDF.umM3" | "TDF.umGMOL" | "TDF.umMOLL" | "TDF.umCM2H";
|
|
126
|
+
export declare type TDFStatisticalMethodEnum = "" | "TDF.statisticalMethodMin" | "TDF.statisticalMethodMax" | "TDF.statisticalMethodAvg" | "TDF.statisticalMethodMedian" | "TDF.statisticalMethodSD" | "TDF.statisticalMethodMode";
|
|
127
|
+
export declare type MYRecordBases = "" | "MY.recordBasisPreservedSpecimen" | "MY.recordBasisHumanObservation" | "MY.recordBasisHumanObservationSeen" | "MY.recordBasisHumanObservationHeard" | "MY.recordBasisHumanObservationHandled" | "MY.recordBasisHumanObservationPhoto" | "MY.recordBasisHumanObservationAudio" | "MY.recordBasisHumanObservationVideo" | "MY.recordBasisHumanObservationIndirect" | "MY.recordBasisMachineObservation" | "MY.recordBasisMachineObservationPhoto" | "MY.recordBasisMachineObservationVideo" | "MY.recordBasisMachineObservationAudio" | "MY.recordBasisMachineObservationGeologger" | "MY.recordBasisMachineObservationSatelliteTransmitter" | "MY.recordBasisFossilSpecimen" | "MY.recordBasisSubfossilSpecimen" | "MY.recordBasisSubfossilSpecimenAmberInclusion" | "MY.recordBasisMaterialSample" | "MY.recordBasisMaterialSampleAir" | "MY.recordBasisMaterialSampleSoil" | "MY.recordBasisMaterialSampleWater" | "MY.recordBasisMicrobialSpecimen" | "MY.recordBasisLivingSpecimen" | "MY.recordBasisLiterature";
|
|
128
|
+
export declare type TDFTypeEnum = "TDF.typeIndividual" | "TDF.typePopulationGroup" | "TDF.typeTaxon";
|
|
125
129
|
export declare type HRAAvailableForGeneticResearchEnum = "" | "HRA.availableForGeneticResearchYes" | "HRA.availableForGeneticResearchWithRestrictions" | "HRA.availableForGeneticResearchNo";
|
|
126
130
|
export declare type HRAGeneticResourceTypeEnum = "" | "HRA.geneticResourceTypeAnimal" | "HRA.geneticResourceTypePlant" | "HRA.geneticResourceTypeFungus" | "HRA.geneticResourceTypeMicrobe" | "HRA.geneticResourceTypeSoil" | "HRA.geneticResourceTypeAqua";
|
|
127
131
|
export declare type HRALocalDepartments = "" | "HRA.localDepartmentDipteraHymenoptera" | "HRA.localDepartmentLepidopteraColeoptera" | "HRA.localDepartmentMetazoa" | "HRA.localDepartmentMonitoring" | "HRA.localDepartmentBryology" | "HRA.localDepartmentGarden" | "HRA.localDepartmentMycology" | "HRA.localDepartmentVascularPlants";
|
|
@@ -149,7 +153,6 @@ export declare type MYNativeStatusEnum = "" | "MY.native" | "MY.nonNative";
|
|
|
149
153
|
export declare type MYNestTypeEnum = "" | "MY.nestTypeTreeCavity" | "MY.nestTypeTwig" | "MY.nestTypeNestBox" | "MY.nestTypeBuilding" | "MY.nestTypeGroundCavity" | "MY.nestTypeOther";
|
|
150
154
|
export declare type MYPlantStatusCodeEnum = "" | "MY.plantStatusCodeL" | "MY.plantStatusCodeA" | "MY.plantStatusCodeAV" | "MY.plantStatusCodeAOV" | "MY.plantStatusCodeAN" | "MY.plantStatusCodeANV" | "MY.plantStatusCodeANS" | "MY.plantStatusCodeT" | "MY.plantStatusCodeTV" | "MY.plantStatusCodeTOV" | "MY.plantStatusCodeTNV" | "MY.plantStatusCodeTNS" | "MY.plantStatusCodeV" | "MY.plantStatusCodeOV" | "MY.plantStatusCodeN" | "MY.plantStatusCodeNV" | "MY.plantStatusCodeNS" | "MY.plantStatusCodeE" | "MY.plantStatusCodeTE" | "MY.plantStatusCodeTVE" | "MY.plantStatusCodeTOVE" | "MY.plantStatusCodeTNVE" | "MY.plantStatusCodeTNSE" | "MY.plantStatusCodeTN" | "MY.plantStatusCodeTNE" | "MY.plantStatusCodeR" | "MY.plantStatusCodeC" | "MY.plantStatusCodeH" | "MY.plantStatusCodeG" | "MY.plantStatusCodeF";
|
|
151
155
|
export declare type MYProvenanceEnum = "" | "MY.provenanceUnknown" | "MY.provenanceCultivated" | "MY.provenanceCultivatedUnsure" | "MY.provenanceCultivatedPropagatedFromWildSource" | "MY.provenanceWildSource" | "MY.provenanceWildSourceUnsure" | "MY.provenanceEscapedCultivated" | "MY.provenancePropagule";
|
|
152
|
-
export declare type MYRecordBases = "" | "MY.recordBasisPreservedSpecimen" | "MY.recordBasisHumanObservation" | "MY.recordBasisHumanObservationSeen" | "MY.recordBasisHumanObservationHeard" | "MY.recordBasisHumanObservationHandled" | "MY.recordBasisHumanObservationPhoto" | "MY.recordBasisHumanObservationAudio" | "MY.recordBasisHumanObservationVideo" | "MY.recordBasisHumanObservationIndirect" | "MY.recordBasisMachineObservation" | "MY.recordBasisMachineObservationPhoto" | "MY.recordBasisMachineObservationVideo" | "MY.recordBasisMachineObservationAudio" | "MY.recordBasisMachineObservationGeologger" | "MY.recordBasisMachineObservationSatelliteTransmitter" | "MY.recordBasisFossilSpecimen" | "MY.recordBasisSubfossilSpecimen" | "MY.recordBasisSubfossilSpecimenAmberInclusion" | "MY.recordBasisMaterialSample" | "MY.recordBasisMaterialSampleAir" | "MY.recordBasisMaterialSampleSoil" | "MY.recordBasisMaterialSampleWater" | "MY.recordBasisMicrobialSpecimen" | "MY.recordBasisLivingSpecimen" | "MY.recordBasisLiterature";
|
|
153
156
|
export declare type MYRecordPartsEnum = "" | "MY.recordPartsBones" | "MY.recordPartsAntler" | "MY.recordPartsHead" | "MY.recordPartsSkull" | "MY.recordPartsSkin" | "MY.recordPartsWing" | "MY.recordPartsTail" | "MY.recordPartsTissue" | "MY.recordPartsFeather" | "MY.recordPartsEgg" | "MY.recordPartsIntestine" | "MY.recordPartsGonad" | "MY.recordPartsSeed" | "MY.recordPartsNest" | "MY.recordPartsFaeces" | "MY.recordPartsFeedingMarks" | "MY.recordPartsTracks" | "MY.recordPartsScale" | "MY.recordPartsFin" | "MY.recordPartsFull" | "MY.recordPartsPart" | "MY.recordPartsActiveCulture" | "MY.recordPartsCutting" | "MY.recordPartsVegetativePart" | "MY.recordPartsFreezeDried" | "MY.recordPartsDryIce" | "MY.recordPartsDNA" | "MY.recordPartsShell" | "MY.recordPartsWholePlant" | "MY.recordPartsTissueCulture" | "MY.recordPartsMount" | "My.recordPartsSkullAndBones";
|
|
154
157
|
export declare type MYSeedMaturityEnum = "" | "MY.seedMaturityImmature" | "MY.seedMaturityMature" | "MY.seedMaturityMixed";
|
|
155
158
|
export declare type MYSeedMorphologyEnum = "" | "MY.seedMorphologyBent" | "MY.seedMorphologyBroad" | "MY.seedMorphologyCapitate" | "MY.seedMorphologyFolded" | "MY.seedMorphologyLateral" | "MY.seedMorphologyLinearFullyDeveloped" | "MY.seedMorphologyLinearUnderdeveloped" | "MY.seedMorphologyPeripheral" | "MY.seedMorphologyRudimentary" | "MY.seedMorphologySpatulateFullyDeveloped" | "MY.seedMorphologySpatulateUnderdeveloped" | "MY.seedMorphologyUndifferentiated" | "MY.seedMorphologyInvesting";
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export interface TraitSearchDataset {
|
|
2
|
+
"@context"?: string;
|
|
3
|
+
id?: string;
|
|
4
|
+
"@type"?: string;
|
|
5
|
+
additionalIdentifier?: string[];
|
|
6
|
+
/**
|
|
7
|
+
* Example how to cite this collection in a scientific article, if using organization, name and abbreviation is not enough.
|
|
8
|
+
*/
|
|
9
|
+
citation?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Personal or general (e.g. group of people in the organisation) email address to reach the person(s) responsible.
|
|
12
|
+
*/
|
|
13
|
+
contactEmail: string;
|
|
14
|
+
/**
|
|
15
|
+
* Concise definition of the coverage, if not clear from name or description. For example, 'Winter birds of Finland'.
|
|
16
|
+
*/
|
|
17
|
+
coverageBasis?: {
|
|
18
|
+
en?: string;
|
|
19
|
+
fi?: string;
|
|
20
|
+
sv?: string;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Free-form description of the collection in different languages.
|
|
24
|
+
*/
|
|
25
|
+
description: {
|
|
26
|
+
en?: string;
|
|
27
|
+
fi?: string;
|
|
28
|
+
sv?: string;
|
|
29
|
+
};
|
|
30
|
+
doi?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Admin field. DOI received from GBIF after the collection has been published.
|
|
33
|
+
*/
|
|
34
|
+
gbifDoi?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Smallest common geographical area for the specimens/data in the collection (for example, country or continent name).
|
|
37
|
+
*/
|
|
38
|
+
geographicCoverage?: {
|
|
39
|
+
en?: string;
|
|
40
|
+
fi?: string;
|
|
41
|
+
sv?: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Institution code for natural history specimen collection holding institution, such as H, MHZ or TUR
|
|
45
|
+
*/
|
|
46
|
+
institutionCode?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Name of the institution or organisation publishing the data.
|
|
49
|
+
*/
|
|
50
|
+
intellectualOwner?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Methods used when creating this collection, if they are standardized. Includes information on items such as census methods, tools, instrument calibration and software.
|
|
53
|
+
*/
|
|
54
|
+
methods?: {
|
|
55
|
+
en?: string;
|
|
56
|
+
fi?: string;
|
|
57
|
+
sv?: string;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Person(s) responsible for the collection (Lastname, Firstname; Lastname, Firstname).
|
|
61
|
+
*/
|
|
62
|
+
personResponsible: string;
|
|
63
|
+
/**
|
|
64
|
+
* Lowest common taxon in the collection (for example, scientific name of an order).
|
|
65
|
+
*/
|
|
66
|
+
taxonomicCoverage?: {
|
|
67
|
+
en?: string;
|
|
68
|
+
fi?: string;
|
|
69
|
+
sv?: string;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* When were the specimens/data collected?
|
|
73
|
+
*/
|
|
74
|
+
temporalCoverage?: {
|
|
75
|
+
en?: string;
|
|
76
|
+
fi?: string;
|
|
77
|
+
sv?: string;
|
|
78
|
+
};
|
|
79
|
+
name: string;
|
|
80
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { MZIntellectualRightsEnum } from './';
|
|
2
|
+
import { MYLifeStages } from './';
|
|
3
|
+
import { TDFUnitOfMeasurementEnum } from './';
|
|
4
|
+
import { TDFStatisticalMethodEnum } from './';
|
|
5
|
+
export interface TraitSearchRow {
|
|
6
|
+
"@context"?: string;
|
|
7
|
+
id?: string;
|
|
8
|
+
"@type"?: string;
|
|
9
|
+
dataset: string;
|
|
10
|
+
day?: number;
|
|
11
|
+
eventDate?: string;
|
|
12
|
+
geodeticDatum?: string;
|
|
13
|
+
license: MZIntellectualRightsEnum;
|
|
14
|
+
measurementAccuracy?: number;
|
|
15
|
+
measurementRemarks?: string;
|
|
16
|
+
month?: number;
|
|
17
|
+
objectFinBIFTaxon?: string;
|
|
18
|
+
objectGBIFTaxon?: string;
|
|
19
|
+
objectTaxonLifeStage?: MYLifeStages;
|
|
20
|
+
objectTaxonVerbatim?: string;
|
|
21
|
+
originalMeasurementAccuracy?: number;
|
|
22
|
+
originalUnit?: TDFUnitOfMeasurementEnum;
|
|
23
|
+
originalValue: string;
|
|
24
|
+
originalValueNumeric?: number;
|
|
25
|
+
reference?: string;
|
|
26
|
+
statisticalMethod?: TDFStatisticalMethodEnum;
|
|
27
|
+
subject: string;
|
|
28
|
+
subjectFinBIFTaxon?: string;
|
|
29
|
+
subjectGBIFTaxon?: string;
|
|
30
|
+
trait: string;
|
|
31
|
+
traitGroup: string;
|
|
32
|
+
unit?: TDFUnitOfMeasurementEnum;
|
|
33
|
+
value: string;
|
|
34
|
+
valueNumeric?: number;
|
|
35
|
+
warnings?: boolean;
|
|
36
|
+
year?: number;
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MKVHabitatSpecificTypeEnum } from './';
|
|
2
|
+
import { MXIucnStatuses } from './';
|
|
3
|
+
import { MKVHabitatEnum } from './';
|
|
4
|
+
export interface TraitSearchTaxon {
|
|
5
|
+
"@context"?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
"@type"?: string;
|
|
8
|
+
scientificName?: string;
|
|
9
|
+
author?: string;
|
|
10
|
+
cursiveName?: boolean;
|
|
11
|
+
habitatSpecifiers?: MKVHabitatSpecificTypeEnum[];
|
|
12
|
+
iucnStatus?: MXIucnStatuses;
|
|
13
|
+
primaryHabitat?: MKVHabitatEnum;
|
|
14
|
+
sensitive?: boolean;
|
|
15
|
+
taxonRank?: string;
|
|
16
|
+
taxonomicOrder?: number;
|
|
17
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { MYHabitatEnum } from './';
|
|
2
|
+
import { MYLifeStages } from './';
|
|
3
|
+
import { MYSexes } from './';
|
|
4
|
+
import { MYRecordBases } from './';
|
|
5
|
+
import { TDFTypeEnum } from './';
|
|
6
|
+
export interface TraitSubject {
|
|
7
|
+
"@context"?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
"@type"?: string;
|
|
10
|
+
scientificName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Country name in English, or 2-letter country code, or name from label
|
|
13
|
+
*/
|
|
14
|
+
country?: string;
|
|
15
|
+
dateBegin?: string;
|
|
16
|
+
dateEnd?: string;
|
|
17
|
+
habitat?: MYHabitatEnum[];
|
|
18
|
+
/**
|
|
19
|
+
* If country is not known or not applicable, for example continent, ocean or large island
|
|
20
|
+
*/
|
|
21
|
+
higherGeography?: string;
|
|
22
|
+
individualCount?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting. Use Life stage description field for extra information.
|
|
25
|
+
*/
|
|
26
|
+
lifeStage?: MYLifeStages;
|
|
27
|
+
/**
|
|
28
|
+
* Official name of the locality in basic form. Separate multiple names with commas, from generic to specific. No informal description here.
|
|
29
|
+
*/
|
|
30
|
+
locality?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Municipality, commune, town, city or civil parish
|
|
33
|
+
*/
|
|
34
|
+
municipality?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Sex of the individual(s)
|
|
37
|
+
*/
|
|
38
|
+
sex?: MYSexes;
|
|
39
|
+
ageYears?: number;
|
|
40
|
+
author?: string;
|
|
41
|
+
basisOfRecord?: MYRecordBases;
|
|
42
|
+
coordinateAccuracy?: number;
|
|
43
|
+
created?: string;
|
|
44
|
+
createdBy: string;
|
|
45
|
+
datasetId: string;
|
|
46
|
+
elevation?: number;
|
|
47
|
+
finbifOccurrenceId?: string;
|
|
48
|
+
functionalGroupName?: string;
|
|
49
|
+
gbifOccurrenceId?: string;
|
|
50
|
+
gbifTaxonId?: number;
|
|
51
|
+
kingdom?: string;
|
|
52
|
+
lat?: number;
|
|
53
|
+
latMax?: number;
|
|
54
|
+
latMin?: number;
|
|
55
|
+
locationIdentifiers?: string;
|
|
56
|
+
lon?: number;
|
|
57
|
+
lonMax?: number;
|
|
58
|
+
lonMin?: number;
|
|
59
|
+
measurementDeterminedBy?: string;
|
|
60
|
+
measurementDeterminedDate?: string;
|
|
61
|
+
modified?: string;
|
|
62
|
+
modifiedBy?: string;
|
|
63
|
+
occurrenceRemarks?: string;
|
|
64
|
+
otherOccurrenceId?: string;
|
|
65
|
+
otherTaxonId?: number;
|
|
66
|
+
seasonBegin?: number;
|
|
67
|
+
seasonEnd?: number;
|
|
68
|
+
taxonId?: string;
|
|
69
|
+
type: TDFTypeEnum;
|
|
70
|
+
yearBegin?: number;
|
|
71
|
+
yearEnd?: number;
|
|
72
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MYLifeStages } from './';
|
|
2
|
+
import { TDFStatisticalMethodEnum } from './';
|
|
3
|
+
import { TDFUnitOfMeasurementEnum } from './';
|
|
4
|
+
export interface TraitValue {
|
|
5
|
+
"@context"?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
"@type"?: string;
|
|
8
|
+
measurementAccuracy?: number;
|
|
9
|
+
measurementRemarks?: string;
|
|
10
|
+
objectTaxonLifeStage?: MYLifeStages;
|
|
11
|
+
reference?: string;
|
|
12
|
+
statisticalMethod?: TDFStatisticalMethodEnum;
|
|
13
|
+
traitId: string;
|
|
14
|
+
unit?: TDFUnitOfMeasurementEnum;
|
|
15
|
+
value: string;
|
|
16
|
+
warnings?: boolean;
|
|
17
|
+
}
|
|
@@ -162,6 +162,16 @@ import { TraitEnumValue } from './TraitEnumValue';
|
|
|
162
162
|
export type { TraitEnumValue };
|
|
163
163
|
import { TraitGroup } from './TraitGroup';
|
|
164
164
|
export type { TraitGroup };
|
|
165
|
+
import { TraitSearchDataset } from './TraitSearchDataset';
|
|
166
|
+
export type { TraitSearchDataset };
|
|
167
|
+
import { TraitSearchRow } from './TraitSearchRow';
|
|
168
|
+
export type { TraitSearchRow };
|
|
169
|
+
import { TraitSearchTaxon } from './TraitSearchTaxon';
|
|
170
|
+
export type { TraitSearchTaxon };
|
|
171
|
+
import { TraitSubject } from './TraitSubject';
|
|
172
|
+
export type { TraitSubject };
|
|
173
|
+
import { TraitValue } from './TraitValue';
|
|
174
|
+
export type { TraitValue };
|
|
165
175
|
import { Transaction } from './Transaction';
|
|
166
176
|
export type { Transaction };
|
|
167
177
|
import { TransactionEvent } from './TransactionEvent';
|
|
@@ -187,7 +197,7 @@ export type { Video };
|
|
|
187
197
|
import { ListResponse } from './list-response';
|
|
188
198
|
export type { ListResponse };
|
|
189
199
|
export * from './Enums';
|
|
190
|
-
export declare type StoreObject = BibliographicResource | Concept | Pinkka | AdministrativeStatus | Agent | Annotation | AnnotationOccurrence | Area | Audio | BirdSongRecognitionSkillLevel | Branch | Checklist | ChecklistVersion | Collection | CompleteList | Contact | ContentContextDescription | DataField | Dataset | DateRange | Device | DeviceIndividual | Document | DocumentIdentification | DownloadRequest | Endangerment | Event | Field | Fieldset | Form | FormFooter | FormInstructions | FormNamedPlaceOptions | FormOptions | FormPermission | FormPermissionPerson | FormPermissionSingle | FormSeason | Gathering | GatheringEvent | GatheringFact | Habitat | Identification | Image | Individual | InformalTaxonGroup | InformationSystem | IucnRedListEvaluation | IucnRedListEvaluationYear | IucnRedListTaxonGroup | Measurement | Model | Multimedia | NamedPlace | News | Notification | Occurrence | Organization | Pdf | Permit | Person | Preparation | Profile | Publication | RegionalStatus | Reserve | Sample | SatelliteTrackingProject | SpecimenTransaction | SpecimenTransactionEvent | SubUnit | Tag | Taxon | TaxonCensus | TaxonConcept | TaxonGroupIucnEditors | TaxonInteraction | TaxonSet | Term | Trait | TraitEnumValue | TraitGroup | Transaction | TransactionEvent | TransactionItem | Translation | TypeSpecimen | Unit | UnitFact | UnitGathering | UnitOfMeasurement | Validator | Video;
|
|
200
|
+
export declare type StoreObject = BibliographicResource | Concept | Pinkka | AdministrativeStatus | Agent | Annotation | AnnotationOccurrence | Area | Audio | BirdSongRecognitionSkillLevel | Branch | Checklist | ChecklistVersion | Collection | CompleteList | Contact | ContentContextDescription | DataField | Dataset | DateRange | Device | DeviceIndividual | Document | DocumentIdentification | DownloadRequest | Endangerment | Event | Field | Fieldset | Form | FormFooter | FormInstructions | FormNamedPlaceOptions | FormOptions | FormPermission | FormPermissionPerson | FormPermissionSingle | FormSeason | Gathering | GatheringEvent | GatheringFact | Habitat | Identification | Image | Individual | InformalTaxonGroup | InformationSystem | IucnRedListEvaluation | IucnRedListEvaluationYear | IucnRedListTaxonGroup | Measurement | Model | Multimedia | NamedPlace | News | Notification | Occurrence | Organization | Pdf | Permit | Person | Preparation | Profile | Publication | RegionalStatus | Reserve | Sample | SatelliteTrackingProject | SpecimenTransaction | SpecimenTransactionEvent | SubUnit | Tag | Taxon | TaxonCensus | TaxonConcept | TaxonGroupIucnEditors | TaxonInteraction | TaxonSet | Term | Trait | TraitEnumValue | TraitGroup | TraitSearchDataset | TraitSearchRow | TraitSearchTaxon | TraitSubject | TraitValue | Transaction | TransactionEvent | TransactionItem | Translation | TypeSpecimen | Unit | UnitFact | UnitGathering | UnitOfMeasurement | Validator | Video;
|
|
191
201
|
export declare type KeyOfUnion<K extends StoreObject> = K extends keyof K ? K : never;
|
|
192
202
|
export declare type Lang = 'en' | 'fi' | 'sv';
|
|
193
203
|
export declare function isLang(value: unknown): value is Lang;
|
|
@@ -274,6 +284,11 @@ export declare function isTerm(data: unknown): data is Term;
|
|
|
274
284
|
export declare function isTrait(data: unknown): data is Trait;
|
|
275
285
|
export declare function isTraitEnumValue(data: unknown): data is TraitEnumValue;
|
|
276
286
|
export declare function isTraitGroup(data: unknown): data is TraitGroup;
|
|
287
|
+
export declare function isTraitSearchDataset(data: unknown): data is TraitSearchDataset;
|
|
288
|
+
export declare function isTraitSearchRow(data: unknown): data is TraitSearchRow;
|
|
289
|
+
export declare function isTraitSearchTaxon(data: unknown): data is TraitSearchTaxon;
|
|
290
|
+
export declare function isTraitSubject(data: unknown): data is TraitSubject;
|
|
291
|
+
export declare function isTraitValue(data: unknown): data is TraitValue;
|
|
277
292
|
export declare function isTransaction(data: unknown): data is Transaction;
|
|
278
293
|
export declare function isTransactionEvent(data: unknown): data is TransactionEvent;
|
|
279
294
|
export declare function isTransactionItem(data: unknown): data is TransactionItem;
|