@luomus/laji-schema 1.0.4 → 1.0.5
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/README.md +0 -0
- package/lib/models/Audio.d.ts +4 -3
- package/lib/models/Collection.d.ts +15 -2
- package/lib/models/Document.d.ts +10 -12
- package/lib/models/Form.d.ts +11 -13
- package/lib/models/FormOptions.d.ts +11 -13
- package/lib/models/Gathering.d.ts +4 -4
- package/lib/models/GatheringEvent.d.ts +1 -1
- package/lib/models/Image.d.ts +4 -3
- package/lib/models/Individual.d.ts +2 -1
- package/lib/models/Model.d.ts +4 -3
- package/lib/models/NamedPlace.d.ts +20 -24
- package/lib/models/Organization.d.ts +2 -0
- package/lib/models/Pdf.d.ts +29 -0
- package/lib/models/Person.d.ts +1 -1
- package/lib/models/Preparation.d.ts +1 -1
- package/lib/models/Sample.d.ts +2 -2
- package/lib/models/{SpecimentTransactionEvent.d.ts → SatelliteTrackingProject.d.ts} +8 -5
- package/lib/models/SatelliteTrackingProject.js +8 -0
- package/lib/models/SpecimenTransaction.d.ts +10 -4
- package/lib/models/SpecimenTransactionEvent.d.ts +2 -2
- package/lib/models/Taxon.d.ts +1 -1
- package/lib/models/TaxonCensus.d.ts +1 -1
- package/lib/models/Unit.d.ts +3 -3
- package/lib/models/Video.d.ts +4 -3
- package/lib/models/index.d.ts +7 -4
- package/lib/models/index.js +9 -5
- package/package.json +1 -1
- /package/lib/models/{SpecimentTransactionEvent.js → Pdf.js} +0 -0
|
@@ -63,7 +63,6 @@ export interface NamedPlace {
|
|
|
63
63
|
* Verbatim specimen data from clad book
|
|
64
64
|
*/
|
|
65
65
|
cladVerbatim?: string;
|
|
66
|
-
collectionCode?: string;
|
|
67
66
|
/**
|
|
68
67
|
* The collection which this specimen belongs to
|
|
69
68
|
*/
|
|
@@ -259,7 +258,7 @@ export interface NamedPlace {
|
|
|
259
258
|
startPointDeviation?: number;
|
|
260
259
|
taxonCensus?: {
|
|
261
260
|
censusTaxonID?: string;
|
|
262
|
-
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi";
|
|
261
|
+
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi" | "MX.taxonSetSykeMacrozoobenthos";
|
|
263
262
|
taxonCensusType: "MY.taxonCensusTypeCounted" | "MY.taxonCensusTypeEstimated" | "MY.taxonCensusTypeNotCounted";
|
|
264
263
|
}[];
|
|
265
264
|
temperature?: number;
|
|
@@ -273,7 +272,6 @@ export interface NamedPlace {
|
|
|
273
272
|
*/
|
|
274
273
|
genbank?: string[];
|
|
275
274
|
hasGathering?: string[];
|
|
276
|
-
institutionCode?: string;
|
|
277
275
|
isTemplate?: boolean;
|
|
278
276
|
keywords?: string[];
|
|
279
277
|
/**
|
|
@@ -356,7 +354,7 @@ export interface NamedPlace {
|
|
|
356
354
|
*/
|
|
357
355
|
unreliableFields?: string;
|
|
358
356
|
/**
|
|
359
|
-
* Information about the quality of the specimen data. Possible to select several.
|
|
357
|
+
* Information about the quality of the specimen data. Possible to select several.
|
|
360
358
|
*/
|
|
361
359
|
verificationStatus?: ("" | "MY.verificationStatusOk" | "MY.verificationStatusVerify" | "MY.verificationStatusComplete" | "MY.verificationStatusGeoreference" | "MY.verificationStatusDet" | "MY.verificationStatusCheckID" | "MY.verificationStatusVerifyCoordinates")[];
|
|
362
360
|
/**
|
|
@@ -686,7 +684,7 @@ export interface NamedPlace {
|
|
|
686
684
|
substrate?: string;
|
|
687
685
|
taxonCensus?: {
|
|
688
686
|
censusTaxonID?: string;
|
|
689
|
-
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi";
|
|
687
|
+
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi" | "MX.taxonSetSykeMacrozoobenthos";
|
|
690
688
|
taxonCensusType: "MY.taxonCensusTypeCounted" | "MY.taxonCensusTypeEstimated" | "MY.taxonCensusTypeNotCounted";
|
|
691
689
|
}[];
|
|
692
690
|
temperature?: number;
|
|
@@ -816,11 +814,11 @@ export interface NamedPlace {
|
|
|
816
814
|
latestEpochOrHighestSeries?: "" | "MY.epochOrSeriesCambrian" | "MY.epochOrSeriesCarboniferous" | "MY.epochOrSeriesCretaceous" | "MY.epochOrSeriesDevonian" | "MY.epochOrSeriesEdiacaran" | "MY.epochOrSeriesJurassic" | "MY.epochOrSeriesOrdovician" | "MY.epochOrSeriesPermian" | "MY.epochOrSeriesQuaternary" | "MY.epochOrSeriesRecent" | "MY.epochOrSeriesSilurian" | "MY.epochOrSeriesTertiary" | "MY.epochOrSeriesTriassic";
|
|
817
815
|
lengthInMillimeters?: string[];
|
|
818
816
|
/**
|
|
819
|
-
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting.
|
|
817
|
+
* 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.
|
|
820
818
|
*/
|
|
821
819
|
lifeStage?: "" | "MY.lifeStageEgg" | "MY.lifeStageLarva" | "MY.lifeStagePupa" | "MY.lifeStageJuvenile" | "MY.lifeStageNymph" | "MY.lifeStageSubimago" | "MY.lifeStageImmature" | "MY.lifeStageAdult" | "MY.lifeStageFertile" | "MY.lifeStageSterile" | "MY.lifeStageTadpole" | "MY.lifeStageEmbryo" | "MY.lifeStageSubadult" | "MY.lifeStageMature" | "MY.lifeStagePullus" | "MY.lifeStageHatchedEgg" | "MY.lifeStageHatchedPupa" | "MY.lifeStageGall" | "MY.lifeStageMarks" | "MY.lifeStageTriungulin";
|
|
822
820
|
/**
|
|
823
|
-
* Free-text notes or addtional information about the life stage
|
|
821
|
+
* Free-text notes or addtional information about the life stage. If multiple values present, describe them here.
|
|
824
822
|
*/
|
|
825
823
|
lifeStageDescription?: string;
|
|
826
824
|
likelyMigrant?: boolean;
|
|
@@ -869,7 +867,7 @@ export interface NamedPlace {
|
|
|
869
867
|
* Microscopic features and measurements, if not recorded separately into measurement fields.
|
|
870
868
|
*/
|
|
871
869
|
microscopy?: string;
|
|
872
|
-
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.
|
|
870
|
+
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.movingDirectionS" | "MY.movingDirectionSSW" | "MY.movingDirectionSW" | "MY.movingDirectionWSW" | "MY.movingDirectionW" | "MY.movingDirectionWNW" | "MY.movingDirectionNW" | "MY.movingDirectionNNW";
|
|
873
871
|
movingStatus?: string[];
|
|
874
872
|
/**
|
|
875
873
|
* Information on mutant microbial strain.
|
|
@@ -1484,7 +1482,7 @@ export interface NamedPlace {
|
|
|
1484
1482
|
substrate?: string;
|
|
1485
1483
|
taxonCensus?: {
|
|
1486
1484
|
censusTaxonID?: string;
|
|
1487
|
-
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi";
|
|
1485
|
+
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi" | "MX.taxonSetSykeMacrozoobenthos";
|
|
1488
1486
|
taxonCensusType: "MY.taxonCensusTypeCounted" | "MY.taxonCensusTypeEstimated" | "MY.taxonCensusTypeNotCounted";
|
|
1489
1487
|
}[];
|
|
1490
1488
|
temperature?: number;
|
|
@@ -1614,11 +1612,11 @@ export interface NamedPlace {
|
|
|
1614
1612
|
latestEpochOrHighestSeries?: "" | "MY.epochOrSeriesCambrian" | "MY.epochOrSeriesCarboniferous" | "MY.epochOrSeriesCretaceous" | "MY.epochOrSeriesDevonian" | "MY.epochOrSeriesEdiacaran" | "MY.epochOrSeriesJurassic" | "MY.epochOrSeriesOrdovician" | "MY.epochOrSeriesPermian" | "MY.epochOrSeriesQuaternary" | "MY.epochOrSeriesRecent" | "MY.epochOrSeriesSilurian" | "MY.epochOrSeriesTertiary" | "MY.epochOrSeriesTriassic";
|
|
1615
1613
|
lengthInMillimeters?: string[];
|
|
1616
1614
|
/**
|
|
1617
|
-
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting.
|
|
1615
|
+
* 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.
|
|
1618
1616
|
*/
|
|
1619
1617
|
lifeStage?: "" | "MY.lifeStageEgg" | "MY.lifeStageLarva" | "MY.lifeStagePupa" | "MY.lifeStageJuvenile" | "MY.lifeStageNymph" | "MY.lifeStageSubimago" | "MY.lifeStageImmature" | "MY.lifeStageAdult" | "MY.lifeStageFertile" | "MY.lifeStageSterile" | "MY.lifeStageTadpole" | "MY.lifeStageEmbryo" | "MY.lifeStageSubadult" | "MY.lifeStageMature" | "MY.lifeStagePullus" | "MY.lifeStageHatchedEgg" | "MY.lifeStageHatchedPupa" | "MY.lifeStageGall" | "MY.lifeStageMarks" | "MY.lifeStageTriungulin";
|
|
1620
1618
|
/**
|
|
1621
|
-
* Free-text notes or addtional information about the life stage
|
|
1619
|
+
* Free-text notes or addtional information about the life stage. If multiple values present, describe them here.
|
|
1622
1620
|
*/
|
|
1623
1621
|
lifeStageDescription?: string;
|
|
1624
1622
|
likelyMigrant?: boolean;
|
|
@@ -1667,7 +1665,7 @@ export interface NamedPlace {
|
|
|
1667
1665
|
* Microscopic features and measurements, if not recorded separately into measurement fields.
|
|
1668
1666
|
*/
|
|
1669
1667
|
microscopy?: string;
|
|
1670
|
-
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.
|
|
1668
|
+
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.movingDirectionS" | "MY.movingDirectionSSW" | "MY.movingDirectionSW" | "MY.movingDirectionWSW" | "MY.movingDirectionW" | "MY.movingDirectionWNW" | "MY.movingDirectionNW" | "MY.movingDirectionNNW";
|
|
1671
1669
|
movingStatus?: string[];
|
|
1672
1670
|
/**
|
|
1673
1671
|
* Information on mutant microbial strain.
|
|
@@ -2067,7 +2065,6 @@ export interface NamedPlace {
|
|
|
2067
2065
|
* Verbatim specimen data from clad book
|
|
2068
2066
|
*/
|
|
2069
2067
|
cladVerbatim?: string;
|
|
2070
|
-
collectionCode?: string;
|
|
2071
2068
|
/**
|
|
2072
2069
|
* The collection which this specimen belongs to
|
|
2073
2070
|
*/
|
|
@@ -2263,7 +2260,7 @@ export interface NamedPlace {
|
|
|
2263
2260
|
startPointDeviation?: number;
|
|
2264
2261
|
taxonCensus?: {
|
|
2265
2262
|
censusTaxonID?: string;
|
|
2266
|
-
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi";
|
|
2263
|
+
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi" | "MX.taxonSetSykeMacrozoobenthos";
|
|
2267
2264
|
taxonCensusType: "MY.taxonCensusTypeCounted" | "MY.taxonCensusTypeEstimated" | "MY.taxonCensusTypeNotCounted";
|
|
2268
2265
|
}[];
|
|
2269
2266
|
temperature?: number;
|
|
@@ -2277,7 +2274,6 @@ export interface NamedPlace {
|
|
|
2277
2274
|
*/
|
|
2278
2275
|
genbank?: string[];
|
|
2279
2276
|
hasGathering?: string[];
|
|
2280
|
-
institutionCode?: string;
|
|
2281
2277
|
isTemplate?: boolean;
|
|
2282
2278
|
keywords?: string[];
|
|
2283
2279
|
/**
|
|
@@ -2360,7 +2356,7 @@ export interface NamedPlace {
|
|
|
2360
2356
|
*/
|
|
2361
2357
|
unreliableFields?: string;
|
|
2362
2358
|
/**
|
|
2363
|
-
* Information about the quality of the specimen data. Possible to select several.
|
|
2359
|
+
* Information about the quality of the specimen data. Possible to select several.
|
|
2364
2360
|
*/
|
|
2365
2361
|
verificationStatus?: ("" | "MY.verificationStatusOk" | "MY.verificationStatusVerify" | "MY.verificationStatusComplete" | "MY.verificationStatusGeoreference" | "MY.verificationStatusDet" | "MY.verificationStatusCheckID" | "MY.verificationStatusVerifyCoordinates")[];
|
|
2366
2362
|
/**
|
|
@@ -2690,7 +2686,7 @@ export interface NamedPlace {
|
|
|
2690
2686
|
substrate?: string;
|
|
2691
2687
|
taxonCensus?: {
|
|
2692
2688
|
censusTaxonID?: string;
|
|
2693
|
-
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi";
|
|
2689
|
+
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi" | "MX.taxonSetSykeMacrozoobenthos";
|
|
2694
2690
|
taxonCensusType: "MY.taxonCensusTypeCounted" | "MY.taxonCensusTypeEstimated" | "MY.taxonCensusTypeNotCounted";
|
|
2695
2691
|
}[];
|
|
2696
2692
|
temperature?: number;
|
|
@@ -2820,11 +2816,11 @@ export interface NamedPlace {
|
|
|
2820
2816
|
latestEpochOrHighestSeries?: "" | "MY.epochOrSeriesCambrian" | "MY.epochOrSeriesCarboniferous" | "MY.epochOrSeriesCretaceous" | "MY.epochOrSeriesDevonian" | "MY.epochOrSeriesEdiacaran" | "MY.epochOrSeriesJurassic" | "MY.epochOrSeriesOrdovician" | "MY.epochOrSeriesPermian" | "MY.epochOrSeriesQuaternary" | "MY.epochOrSeriesRecent" | "MY.epochOrSeriesSilurian" | "MY.epochOrSeriesTertiary" | "MY.epochOrSeriesTriassic";
|
|
2821
2817
|
lengthInMillimeters?: string[];
|
|
2822
2818
|
/**
|
|
2823
|
-
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting.
|
|
2819
|
+
* 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.
|
|
2824
2820
|
*/
|
|
2825
2821
|
lifeStage?: "" | "MY.lifeStageEgg" | "MY.lifeStageLarva" | "MY.lifeStagePupa" | "MY.lifeStageJuvenile" | "MY.lifeStageNymph" | "MY.lifeStageSubimago" | "MY.lifeStageImmature" | "MY.lifeStageAdult" | "MY.lifeStageFertile" | "MY.lifeStageSterile" | "MY.lifeStageTadpole" | "MY.lifeStageEmbryo" | "MY.lifeStageSubadult" | "MY.lifeStageMature" | "MY.lifeStagePullus" | "MY.lifeStageHatchedEgg" | "MY.lifeStageHatchedPupa" | "MY.lifeStageGall" | "MY.lifeStageMarks" | "MY.lifeStageTriungulin";
|
|
2826
2822
|
/**
|
|
2827
|
-
* Free-text notes or addtional information about the life stage
|
|
2823
|
+
* Free-text notes or addtional information about the life stage. If multiple values present, describe them here.
|
|
2828
2824
|
*/
|
|
2829
2825
|
lifeStageDescription?: string;
|
|
2830
2826
|
likelyMigrant?: boolean;
|
|
@@ -2873,7 +2869,7 @@ export interface NamedPlace {
|
|
|
2873
2869
|
* Microscopic features and measurements, if not recorded separately into measurement fields.
|
|
2874
2870
|
*/
|
|
2875
2871
|
microscopy?: string;
|
|
2876
|
-
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.
|
|
2872
|
+
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.movingDirectionS" | "MY.movingDirectionSSW" | "MY.movingDirectionSW" | "MY.movingDirectionWSW" | "MY.movingDirectionW" | "MY.movingDirectionWNW" | "MY.movingDirectionNW" | "MY.movingDirectionNNW";
|
|
2877
2873
|
movingStatus?: string[];
|
|
2878
2874
|
/**
|
|
2879
2875
|
* Information on mutant microbial strain.
|
|
@@ -3488,7 +3484,7 @@ export interface NamedPlace {
|
|
|
3488
3484
|
substrate?: string;
|
|
3489
3485
|
taxonCensus?: {
|
|
3490
3486
|
censusTaxonID?: string;
|
|
3491
|
-
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi";
|
|
3487
|
+
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi" | "MX.taxonSetSykeMacrozoobenthos";
|
|
3492
3488
|
taxonCensusType: "MY.taxonCensusTypeCounted" | "MY.taxonCensusTypeEstimated" | "MY.taxonCensusTypeNotCounted";
|
|
3493
3489
|
}[];
|
|
3494
3490
|
temperature?: number;
|
|
@@ -3618,11 +3614,11 @@ export interface NamedPlace {
|
|
|
3618
3614
|
latestEpochOrHighestSeries?: "" | "MY.epochOrSeriesCambrian" | "MY.epochOrSeriesCarboniferous" | "MY.epochOrSeriesCretaceous" | "MY.epochOrSeriesDevonian" | "MY.epochOrSeriesEdiacaran" | "MY.epochOrSeriesJurassic" | "MY.epochOrSeriesOrdovician" | "MY.epochOrSeriesPermian" | "MY.epochOrSeriesQuaternary" | "MY.epochOrSeriesRecent" | "MY.epochOrSeriesSilurian" | "MY.epochOrSeriesTertiary" | "MY.epochOrSeriesTriassic";
|
|
3619
3615
|
lengthInMillimeters?: string[];
|
|
3620
3616
|
/**
|
|
3621
|
-
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting.
|
|
3617
|
+
* 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.
|
|
3622
3618
|
*/
|
|
3623
3619
|
lifeStage?: "" | "MY.lifeStageEgg" | "MY.lifeStageLarva" | "MY.lifeStagePupa" | "MY.lifeStageJuvenile" | "MY.lifeStageNymph" | "MY.lifeStageSubimago" | "MY.lifeStageImmature" | "MY.lifeStageAdult" | "MY.lifeStageFertile" | "MY.lifeStageSterile" | "MY.lifeStageTadpole" | "MY.lifeStageEmbryo" | "MY.lifeStageSubadult" | "MY.lifeStageMature" | "MY.lifeStagePullus" | "MY.lifeStageHatchedEgg" | "MY.lifeStageHatchedPupa" | "MY.lifeStageGall" | "MY.lifeStageMarks" | "MY.lifeStageTriungulin";
|
|
3624
3620
|
/**
|
|
3625
|
-
* Free-text notes or addtional information about the life stage
|
|
3621
|
+
* Free-text notes or addtional information about the life stage. If multiple values present, describe them here.
|
|
3626
3622
|
*/
|
|
3627
3623
|
lifeStageDescription?: string;
|
|
3628
3624
|
likelyMigrant?: boolean;
|
|
@@ -3671,7 +3667,7 @@ export interface NamedPlace {
|
|
|
3671
3667
|
* Microscopic features and measurements, if not recorded separately into measurement fields.
|
|
3672
3668
|
*/
|
|
3673
3669
|
microscopy?: string;
|
|
3674
|
-
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.
|
|
3670
|
+
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.movingDirectionS" | "MY.movingDirectionSSW" | "MY.movingDirectionSW" | "MY.movingDirectionWSW" | "MY.movingDirectionW" | "MY.movingDirectionWNW" | "MY.movingDirectionNW" | "MY.movingDirectionNNW";
|
|
3675
3671
|
movingStatus?: string[];
|
|
3676
3672
|
/**
|
|
3677
3673
|
* Information on mutant microbial strain.
|
|
@@ -7,6 +7,7 @@ export interface Organization {
|
|
|
7
7
|
"@context"?: string;
|
|
8
8
|
id?: string;
|
|
9
9
|
"@type"?: string;
|
|
10
|
+
EORINumber?: string;
|
|
10
11
|
/**
|
|
11
12
|
* Organisation website. Include http://
|
|
12
13
|
*/
|
|
@@ -31,6 +32,7 @@ export interface Organization {
|
|
|
31
32
|
* Name of the country as on a postal address.
|
|
32
33
|
*/
|
|
33
34
|
country?: string;
|
|
35
|
+
courierAddress?: string;
|
|
34
36
|
/**
|
|
35
37
|
* Tags this organisation has
|
|
36
38
|
*/
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated.
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
+
* and run the command to regenerate this file.
|
|
5
|
+
*/
|
|
6
|
+
export interface Pdf {
|
|
7
|
+
"@context"?: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
"@type"?: string;
|
|
10
|
+
caption?: string;
|
|
11
|
+
documentURI?: string[];
|
|
12
|
+
fullURL: string;
|
|
13
|
+
keyword?: string[];
|
|
14
|
+
largeURL: string;
|
|
15
|
+
originalFilename?: string;
|
|
16
|
+
originalURL?: string;
|
|
17
|
+
pdfURL: string;
|
|
18
|
+
sourceSystem: string;
|
|
19
|
+
squareThumbnailURL: string;
|
|
20
|
+
thumbnailURL: string;
|
|
21
|
+
uploadDateTime?: string;
|
|
22
|
+
uploadedBy?: string;
|
|
23
|
+
intellectualOwner: string;
|
|
24
|
+
intellectualRights: "MZ.intellectualRightsCC-BY-SA-4.0" | "MZ.intellectualRightsCC-BY-NC-4.0" | "MZ.intellectualRightsCC-BY-NC-SA-4.0" | "MZ.intellectualRightsCC-BY-4.0" | "MZ.intellectualRightsCC0-4.0" | "MZ.intellectualRightsODBL-1.0" | "MZ.intellectualRightsPD" | "MZ.intellectualRightsARR" | "MZ.intellectualRightsCC-BY-2.0" | "MZ.intellectualRightsCC-BY-SA-2.0" | "MZ.intellectualRightsCC-BY-SA-2.0-DE" | "MZ.intellectualRightsCC-BY-NC-2.0" | "MZ.intellectualRightsCC-BY-NC-SA-2.0" | "MZ.intellectualRightsCC-BY-NC-ND-2.0" | "MZ.intellectualRightsCC-BY-SA-2.5" | "MZ.intellectualRightsCC-BY-SA-2.5-SE" | "MZ.intellectualRightsCC-BY-3.0" | "MZ.intellectualRightsCC-BY-SA-3.0" | "MZ.intellectualRightsCC-BY-NC-SA-3.0" | "MZ.intellectualRightsCC-BY-ND-4.0" | "MZ.intellectualRightsCC-BY-NC-ND-4.0" | "MY.intellectualRightsCC-BY" | "MY.intellectualRightsCC0";
|
|
25
|
+
/**
|
|
26
|
+
* PUBLIC: all data can be published; PROTECTED: exact locality is hidden (100*100km square); PRIVATE: most of the data is hidden. Empty value means same as public.
|
|
27
|
+
*/
|
|
28
|
+
publicityRestrictions?: "" | "MZ.publicityRestrictionsPublic" | "MZ.publicityRestrictionsProtected" | "MZ.publicityRestrictionsPrivate";
|
|
29
|
+
}
|
package/lib/models/Person.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export interface Person {
|
|
|
40
40
|
organisationAdmin?: string[];
|
|
41
41
|
preferredName?: string;
|
|
42
42
|
previousEmailAddress?: string[];
|
|
43
|
-
role?: ("" | "MA.admin" | "MA.securePortalUser" | "MA.sensitiveInformationApprovalRequestHandler" | "MA.taxonEditorUser" | "MA.taxonEditorUserDescriptionWriterOnly" | "MA.haukkaUser" | "MA.satelliteDataManagementUser" | "MA.invasivePortalAdmin" | "MA.luomusSpaceCalendarUser" | "MA.luomusSpaceOpeningTimesUser" | "MA.taxonIdEditor")[];
|
|
43
|
+
role?: ("" | "MA.admin" | "MA.securePortalUser" | "MA.sensitiveInformationApprovalRequestHandler" | "MA.taxonEditorUser" | "MA.taxonEditorUserDescriptionWriterOnly" | "MA.haukkaUser" | "MA.satelliteDataManagementUser" | "MA.invasivePortalAdmin" | "MA.speciesChallengeAdmin" | "MA.luomusSpaceCalendarUser" | "MA.luomusSpaceOpeningTimesUser" | "MA.taxonIdEditor")[];
|
|
44
44
|
roleAnnotation?: "" | "MMAN.expert" | "MMAN.basic" | "MMAN.owner" | "MMAN.formAdmin" | "MMAN.ictAdmin";
|
|
45
45
|
roleKotka?: "" | "MA.admin" | "MA.advanced" | "MA.member" | "MA.guest";
|
|
46
46
|
securePortalUserRoleExpires?: string;
|
|
@@ -14,7 +14,7 @@ export interface Preparation {
|
|
|
14
14
|
/**
|
|
15
15
|
* Materials (chemicals, kits etc.) used in the preparation process. It is possible to choose several.
|
|
16
16
|
*/
|
|
17
|
-
preparationMaterials?: ("" | "MF.preparationMaterialsAcetone" | "MF.preparationMaterialsAmmonia" | "MF.preparationMaterialsBasyntan" | "MF.preparationMaterialsBorax" | "MF.preparationMaterialsEulan" | "MF.preparationMaterialsHydrogenPeroxide" | "MF.preparationMaterialsMethyleneChloride" | "MF.preparationMaterialsNovaltan" | "MF.preparationMaterialsPapaine" | "MF.preparationMaterialsPlaster" | "MF.preparationMaterialsPolyurethane" | "MF.preparationMaterialsPretanix" | "MF.preparationMaterialsPurifiedGasoline" | "MF.preparationMaterialsWoodWool" | "MF.preparationMaterialsCTAB" | "MF.preparationMaterialsEZNAForensicKit" | "MF.preparationMaterialsDNEasyBloodAndTissueKit" | "MF.preparationMaterialsDNEasyPlantKit" | "MF.preparationMaterialsNucleospinTissueKit" | "MF.preparationMaterialsNucleospinPlantTwo" | "MF.preparationMaterialsSaltExtraction" | "MF.preparationMaterialsDNeasyPlantMiniKit")[];
|
|
17
|
+
preparationMaterials?: ("" | "MF.preparationMaterialsAcetone" | "MF.preparationMaterialsAmmonia" | "MF.preparationMaterialsBasyntan" | "MF.preparationMaterialsBorax" | "MF.preparationMaterialsEulan" | "MF.preparationMaterialsHydrogenPeroxide" | "MF.preparationMaterialsMethyleneChloride" | "MF.preparationMaterialsNovaltan" | "MF.preparationMaterialsPapaine" | "MF.preparationMaterialsPlaster" | "MF.preparationMaterialsPolyurethane" | "MF.preparationMaterialsPretanix" | "MF.preparationMaterialsPurifiedGasoline" | "MF.preparationMaterialsWoodWool" | "MF.preparationMaterialsCTAB" | "MF.preparationMaterialsEZNAForensicKit" | "MF.preparationMaterialsDNEasyBloodAndTissueKit" | "MF.preparationMaterialsDNEasyPlantKit" | "MF.preparationMaterialsNucleospinTissueKit" | "MF.preparationMaterialsNucleospinPlantTwo" | "MF.preparationMaterialsSaltExtraction" | "MF.preparationMaterialsDNeasyPlantMiniKit" | "MF.preparationMaterialsMagAttractHMWDNAKit")[];
|
|
18
18
|
/**
|
|
19
19
|
* Processes used in the preparation. It is possible to choose several.
|
|
20
20
|
*/
|
package/lib/models/Sample.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export interface Sample {
|
|
|
50
50
|
/**
|
|
51
51
|
* Preparation/sample material. Choose preparation/sample type first.
|
|
52
52
|
*/
|
|
53
|
-
material?: "" | "MF.materialBirdStudySkin" | "MF.materialWing" | "MF.materialTail" | "MF.materialWingAndTail" | "MF.materialSkull" | "MF.materialEntireSkeleton" | "MF.materialBones" | "MF.materialSkullAndBones" | "MF.materialAntlers" | "MF.materialHead" | "MF.materialMuscle" | "MF.materialLiver" | "MF.materialLeaf" | "MF.materialBlood" | "MF.materialLeg" | "MF.materialSkin" | "MF.materialFeather" | "MF.materialEgg" | "MF.materialEggContent" | "MF.materialGenomicDNA" | "MF.materialMitochondrialDNA" | "MF.materialChloroplastDNA" | "MF.materialEnvironmentalDNA" | "MF.materialTeeth" | "MF.materialBodyParts" | "MF.materialEntireOrganism" | "MF.materialAppendages" | "MF.materialGenitalPreparation" | "MF.materialSection" | "MF.materialChromosomes" | "MF.materialShell" | "MF.
|
|
53
|
+
material?: "" | "MF.materialBirdStudySkin" | "MF.materialWing" | "MF.materialTail" | "MF.materialWingAndTail" | "MF.materialSkull" | "MF.materialEntireSkeleton" | "MF.materialBones" | "MF.materialSkullAndBones" | "MF.materialAntlers" | "MF.materialHead" | "MF.materialMuscle" | "MF.materialLiver" | "MF.materialLeaf" | "MF.materialBlood" | "MF.materialLeg" | "MF.materialSkin" | "MF.materialFeather" | "MF.materialEgg" | "MF.materialEggContent" | "MF.materialGenomicDNA" | "MF.materialMitochondrialDNA" | "MF.materialChloroplastDNA" | "MF.materialEnvironmentalDNA" | "MF.materialTeeth" | "MF.materialBodyParts" | "MF.materialEntireOrganism" | "MF.materialAppendages" | "MF.materialGenitalPreparation" | "MF.materialSection" | "MF.materialChromosomes" | "MF.materialShell" | "MF.materialHair" | "MF.materialClutch" | "MF.materialEggshell" | "MF.materialEggshellFragments" | "MF.materialNest" | "MF.materialNestMaterial" | "MF.materialOther";
|
|
54
54
|
/**
|
|
55
55
|
* Additional information about the preparation/sample
|
|
56
56
|
*/
|
|
@@ -58,7 +58,7 @@ export interface Sample {
|
|
|
58
58
|
/**
|
|
59
59
|
* Type of preparation/sample
|
|
60
60
|
*/
|
|
61
|
-
preparationType: "MF.preparationTypeSkin" | "MF.preparationTypeSkeletal" | "MF.preparationTypeMount" | "MF.preparationTypeTissue" | "MF.preparationTypeTissueEcotoxicology" | "MF.preparationTypeLiquid" | "MF.preparationTypeMicroscopeSlide" | "MF.preparationTypeDNAExtract" | "MF.preparationTypeOther";
|
|
61
|
+
preparationType: "MF.preparationTypeSkin" | "MF.preparationTypeSkeletal" | "MF.preparationTypeMount" | "MF.preparationTypeTissue" | "MF.preparationTypeTissueEcotoxicology" | "MF.preparationTypeLiquid" | "MF.preparationTypeMicroscopeSlide" | "MF.preparationTypeDNAExtract" | "MF.preparationTypeEgg" | "MF.preparationTypeNest" | "MF.preparationTypeOther";
|
|
62
62
|
/**
|
|
63
63
|
* Preservation methods and materials of the preparation/sample. It is possible to choose several
|
|
64
64
|
*/
|
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run the command to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
-
export interface
|
|
6
|
+
export interface SatelliteTrackingProject {
|
|
7
7
|
"@context"?: string;
|
|
8
8
|
id?: string;
|
|
9
9
|
"@type"?: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
targetIndividualIds?: string[];
|
|
11
|
+
description?: {
|
|
12
|
+
en?: string;
|
|
13
|
+
fi?: string;
|
|
14
|
+
sv?: string;
|
|
15
|
+
};
|
|
16
|
+
name?: string;
|
|
14
17
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run the command to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -11,6 +11,7 @@ export interface SpecimenTransaction {
|
|
|
11
11
|
* Internationally Recognized Certificate of Compliance. Kotka checks from the ABS Clearing House that the entered IRCC number exists and is valid.
|
|
12
12
|
*/
|
|
13
13
|
IRCC?: string;
|
|
14
|
+
attachments?: string[];
|
|
14
15
|
/**
|
|
15
16
|
* If you choose "Yes, with restrictions", explain the restrictions in the following field "Rights and obligations".
|
|
16
17
|
*/
|
|
@@ -67,6 +68,7 @@ export interface SpecimenTransaction {
|
|
|
67
68
|
* Choose the type of the genetic resource for statistical and reporting purposes.
|
|
68
69
|
*/
|
|
69
70
|
geneticResourceType?: "" | "HRX.geneticResourceTypeAnimal" | "HRX.geneticResourceTypePlant" | "HRX.geneticResourceTypeFungus" | "HRX.geneticResourceTypeMicrobe" | "HRX.geneticResourceTypeSoil" | "HRX.geneticResourceTypeAqua";
|
|
71
|
+
harmonizedSystemCode?: string;
|
|
70
72
|
/**
|
|
71
73
|
* Whether the resource has an IRCC number or not. If not, more information needs to be filled in.
|
|
72
74
|
*/
|
|
@@ -160,11 +162,11 @@ export interface SpecimenTransaction {
|
|
|
160
162
|
*/
|
|
161
163
|
status?: "" | "HRX.statusInProcess" | "HRX.statusOutstanding" | "HRX.statusClosed";
|
|
162
164
|
transactionEvents?: {
|
|
163
|
-
eventDate
|
|
165
|
+
eventDate: string;
|
|
164
166
|
eventDocumentIDs?: string[];
|
|
165
167
|
eventHandler?: string;
|
|
166
168
|
eventNotes?: string;
|
|
167
|
-
eventType
|
|
169
|
+
eventType: "HRX.eventTypeReturn" | "HRX.eventTypeAddition";
|
|
168
170
|
}[];
|
|
169
171
|
/**
|
|
170
172
|
* Means of sending, mail, courier etc.
|
|
@@ -173,11 +175,11 @@ export interface SpecimenTransaction {
|
|
|
173
175
|
/**
|
|
174
176
|
* What kind of transaction this is.
|
|
175
177
|
*/
|
|
176
|
-
type: "HRX.typeLoanIncoming" | "HRX.typeGiftIncoming" | "HRX.typeExchangeIncoming" | "HRX.typeLoanOutgoing" | "HRX.typeGiftOutgoing" | "HRX.typeExchangeOutgoing" | "HRX.typeFieldCollection" | "HRX.typeImportNotice" | "HRX.typeABSNegotiations" | "HRX.typeVirtualLoanOutgoing";
|
|
178
|
+
type: "HRX.typeLoanIncoming" | "HRX.typeGiftIncoming" | "HRX.typeExchangeIncoming" | "HRX.typeLoanOutgoing" | "HRX.typeGiftOutgoing" | "HRX.typeExchangeOutgoing" | "HRX.typeFieldCollection" | "HRX.typeImportNotice" | "HRX.typeABSNegotiations" | "HRX.typeVirtualLoanOutgoing" | "HRX.typeDeaccession";
|
|
177
179
|
/**
|
|
178
180
|
* Is it e.g. non-human genetic material that is going to be used for genetic research as is defined by the protocol?
|
|
179
181
|
*/
|
|
180
|
-
underNagoya?:
|
|
182
|
+
underNagoya?: boolean;
|
|
181
183
|
creator?: string;
|
|
182
184
|
dateCreated?: string;
|
|
183
185
|
dateEdited?: string;
|
|
@@ -186,4 +188,8 @@ export interface SpecimenTransaction {
|
|
|
186
188
|
* Team or organisation that owns the record and can edit it.
|
|
187
189
|
*/
|
|
188
190
|
owner?: string;
|
|
191
|
+
/**
|
|
192
|
+
* PUBLIC: all data can be published; PROTECTED: exact locality is hidden (100*100km square); PRIVATE: most of the data is hidden. Empty value means same as public.
|
|
193
|
+
*/
|
|
194
|
+
publicityRestrictions?: "" | "MZ.publicityRestrictionsPublic" | "MZ.publicityRestrictionsProtected" | "MZ.publicityRestrictionsPrivate";
|
|
189
195
|
}
|
|
@@ -7,9 +7,9 @@ export interface SpecimenTransactionEvent {
|
|
|
7
7
|
"@context"?: string;
|
|
8
8
|
id?: string;
|
|
9
9
|
"@type"?: string;
|
|
10
|
-
eventDate
|
|
10
|
+
eventDate: string;
|
|
11
11
|
eventDocumentIDs?: string[];
|
|
12
12
|
eventHandler?: string;
|
|
13
13
|
eventNotes?: string;
|
|
14
|
-
eventType
|
|
14
|
+
eventType: "HRX.eventTypeReturn" | "HRX.eventTypeAddition";
|
|
15
15
|
}
|
package/lib/models/Taxon.d.ts
CHANGED
|
@@ -164,7 +164,7 @@ export interface Taxon {
|
|
|
164
164
|
invasiveSpeciesEstablishment?: "" | "MX.invasiveEstablished" | "MX.invasiveSporadic" | "MX.invasiveNotYetInFinland" | "MX.invasiveEstablishmentUnknown" | "MX.invasiveEstablishmentAccidental" | "MX.invasiveNonWild";
|
|
165
165
|
isPartOf?: string;
|
|
166
166
|
isPartOfInformalTaxonGroup?: string[];
|
|
167
|
-
isPartOfSet?: ("" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi")[];
|
|
167
|
+
isPartOfSet?: ("" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi" | "MX.taxonSetSykeMacrozoobenthos")[];
|
|
168
168
|
/**
|
|
169
169
|
* Eliön elinkierto
|
|
170
170
|
*/
|
|
@@ -8,6 +8,6 @@ export interface TaxonCensus {
|
|
|
8
8
|
id?: string;
|
|
9
9
|
"@type"?: string;
|
|
10
10
|
censusTaxonID?: string;
|
|
11
|
-
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi";
|
|
11
|
+
censusTaxonSetID?: "" | "MX.taxonSetSykeButterflyCensusPapilionoidea" | "MX.taxonSetSykeButterflyCensusOther" | "MX.taxonSetWaterbirdWaterbirds" | "MX.taxonSetWaterbirdWaders" | "MX.taxonSetWaterbirdGulls" | "MX.taxonSetWaterbirdPasserines" | "MX.taxonSetWaterbirdAmphibia" | "MX.taxonSetSykeBumblebee" | "MVL.1201" | "MX.taxonSetSykeBumblebeeOther" | "MX.taxonSetBirdAtlasCommon" | "MX.taxonSetBiomonCompleteListOdonata" | "MX.taxonSetBiomonCompleteListButterflies" | "MX.taxonSetBiomonCompleteListMoths" | "MX.taxonSetBiomonCompleteListBombus" | "MX.taxonSetBiomonCompleteListAmphibiaReptilia" | "MX.taxonSetBiomonCompleteListLargeFlowers" | "MX.taxonSetBiomonCompleteListSubarcticPlants" | "MX.taxonSetBiomonCompleteListMacrolichens" | "MX.taxonSetBiomonCompleteListBracketFungi" | "MX.taxonSetBiomonCompleteListPracticalFungi" | "MX.taxonSetSykeMacrozoobenthos";
|
|
12
12
|
taxonCensusType: "MY.taxonCensusTypeCounted" | "MY.taxonCensusTypeEstimated" | "MY.taxonCensusTypeNotCounted";
|
|
13
13
|
}
|
package/lib/models/Unit.d.ts
CHANGED
|
@@ -118,11 +118,11 @@ export interface Unit {
|
|
|
118
118
|
latestEpochOrHighestSeries?: "" | "MY.epochOrSeriesCambrian" | "MY.epochOrSeriesCarboniferous" | "MY.epochOrSeriesCretaceous" | "MY.epochOrSeriesDevonian" | "MY.epochOrSeriesEdiacaran" | "MY.epochOrSeriesJurassic" | "MY.epochOrSeriesOrdovician" | "MY.epochOrSeriesPermian" | "MY.epochOrSeriesQuaternary" | "MY.epochOrSeriesRecent" | "MY.epochOrSeriesSilurian" | "MY.epochOrSeriesTertiary" | "MY.epochOrSeriesTriassic";
|
|
119
119
|
lengthInMillimeters?: string[];
|
|
120
120
|
/**
|
|
121
|
-
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting.
|
|
121
|
+
* 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.
|
|
122
122
|
*/
|
|
123
123
|
lifeStage?: "" | "MY.lifeStageEgg" | "MY.lifeStageLarva" | "MY.lifeStagePupa" | "MY.lifeStageJuvenile" | "MY.lifeStageNymph" | "MY.lifeStageSubimago" | "MY.lifeStageImmature" | "MY.lifeStageAdult" | "MY.lifeStageFertile" | "MY.lifeStageSterile" | "MY.lifeStageTadpole" | "MY.lifeStageEmbryo" | "MY.lifeStageSubadult" | "MY.lifeStageMature" | "MY.lifeStagePullus" | "MY.lifeStageHatchedEgg" | "MY.lifeStageHatchedPupa" | "MY.lifeStageGall" | "MY.lifeStageMarks" | "MY.lifeStageTriungulin";
|
|
124
124
|
/**
|
|
125
|
-
* Free-text notes or addtional information about the life stage
|
|
125
|
+
* Free-text notes or addtional information about the life stage. If multiple values present, describe them here.
|
|
126
126
|
*/
|
|
127
127
|
lifeStageDescription?: string;
|
|
128
128
|
likelyMigrant?: boolean;
|
|
@@ -171,7 +171,7 @@ export interface Unit {
|
|
|
171
171
|
* Microscopic features and measurements, if not recorded separately into measurement fields.
|
|
172
172
|
*/
|
|
173
173
|
microscopy?: string;
|
|
174
|
-
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.
|
|
174
|
+
movingDirection?: "" | "MY.movingDirectionN" | "MY.movingDirectionNNE" | "MY.movingDirectionNE" | "MY.movingDirectionENE" | "MY.movingDirectionE" | "MY.movingDirectionESE" | "MY.movingDirectionSE" | "MY.movingDirectionSSE" | "MY.movingDirectionS" | "MY.movingDirectionSSW" | "MY.movingDirectionSW" | "MY.movingDirectionWSW" | "MY.movingDirectionW" | "MY.movingDirectionWNW" | "MY.movingDirectionNW" | "MY.movingDirectionNNW";
|
|
175
175
|
movingStatus?: string[];
|
|
176
176
|
/**
|
|
177
177
|
* Information on mutant microbial strain.
|
package/lib/models/Video.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface Video {
|
|
|
11
11
|
captureDateTime?: string;
|
|
12
12
|
capturerVerbatim?: string[];
|
|
13
13
|
documentURI?: string[];
|
|
14
|
+
fullResolutionMediaAvailable?: boolean;
|
|
14
15
|
keyword?: string[];
|
|
15
16
|
originalFilename?: string;
|
|
16
17
|
primaryForTaxon?: string[];
|
|
@@ -23,12 +24,12 @@ export interface Video {
|
|
|
23
24
|
taxonURI?: string[];
|
|
24
25
|
taxonVerbatim?: string[];
|
|
25
26
|
thumbnailURL: string;
|
|
26
|
-
type?: "" | "MM.typeEnumLive" | "MM.typeEnumSpecimen" | "MM.typeEnumGenitalia" | "MM.typeEnumMicroscopy" | "MM.typeEnumCarcass" | "MM.typeEnumHabitat" | "MM.typeEnumLabel";
|
|
27
|
+
type?: "" | "MM.typeEnumLive" | "MM.typeEnumSpecimen" | "MM.typeEnumGenitalia" | "MM.typeEnumMicroscopy" | "MM.typeEnumCarcass" | "MM.typeEnumSkeletal" | "MM.typeEnumHabitat" | "MM.typeEnumLabel";
|
|
27
28
|
uploadDateTime?: string;
|
|
28
29
|
uploadedBy?: string;
|
|
29
30
|
videoURL: string;
|
|
30
31
|
/**
|
|
31
|
-
* Life stage of the specimen. If multiple present, select the one which was present at the time of collecting.
|
|
32
|
+
* 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.
|
|
32
33
|
*/
|
|
33
34
|
lifeStage?: "" | "MY.lifeStageEgg" | "MY.lifeStageLarva" | "MY.lifeStagePupa" | "MY.lifeStageJuvenile" | "MY.lifeStageNymph" | "MY.lifeStageSubimago" | "MY.lifeStageImmature" | "MY.lifeStageAdult" | "MY.lifeStageFertile" | "MY.lifeStageSterile" | "MY.lifeStageTadpole" | "MY.lifeStageEmbryo" | "MY.lifeStageSubadult" | "MY.lifeStageMature" | "MY.lifeStagePullus" | "MY.lifeStageHatchedEgg" | "MY.lifeStageHatchedPupa" | "MY.lifeStageGall" | "MY.lifeStageMarks" | "MY.lifeStageTriungulin";
|
|
34
35
|
plantLifeStage?: "" | "MY.plantLifeStageSterile" | "MY.plantLifeStageFertile" | "MY.plantLifeStageSeed" | "MY.plantLifeStageSprout" | "MY.plantLifeStageBud" | "MY.plantLifeStageFlower" | "MY.plantLifeStageWitheredFlower" | "MY.plantLifeStageRipeningFruit" | "MY.plantLifeStageRipeFruit" | "MY.plantLifeStageDeadSprout" | "MY.plantLifeStageSubterranean";
|
|
@@ -37,7 +38,7 @@ export interface Video {
|
|
|
37
38
|
*/
|
|
38
39
|
sex?: "" | "MY.sexM" | "MY.sexF" | "MY.sexW" | "MY.sexU" | "MY.sexN" | "MY.sexX" | "MY.sexE" | "MY.sexC";
|
|
39
40
|
intellectualOwner: string;
|
|
40
|
-
intellectualRights: "MZ.intellectualRightsCC-BY-SA-4.0" | "MZ.intellectualRightsCC-BY-NC-4.0" | "MZ.intellectualRightsCC-BY-NC-SA-4.0" | "MZ.intellectualRightsCC-BY-4.0" | "MZ.intellectualRightsCC0-4.0" | "MZ.intellectualRightsODBL-1.0" | "MZ.intellectualRightsPD" | "MZ.intellectualRightsARR" | "MZ.intellectualRightsCC-BY-2.0" | "MZ.intellectualRightsCC-BY-SA-2.0" | "MZ.intellectualRightsCC-BY-SA-2.0-DE" | "MZ.intellectualRightsCC-BY-NC-2.0" | "MZ.intellectualRightsCC-BY-NC-SA-2.0" | "MZ.intellectualRightsCC-BY-NC-ND-2.0" | "MZ.intellectualRightsCC-BY-SA-2.5" | "MZ.intellectualRightsCC-BY-SA-2.5-SE" | "MZ.intellectualRightsCC-BY-3.0" | "MZ.intellectualRightsCC-BY-SA-3.0" | "MZ.intellectualRightsCC-BY-NC-SA-3.0" | "MZ.intellectualRightsCC-BY-ND-4.0" | "MZ.intellectualRightsCC-BY-NC-ND-4.0";
|
|
41
|
+
intellectualRights: "MZ.intellectualRightsCC-BY-SA-4.0" | "MZ.intellectualRightsCC-BY-NC-4.0" | "MZ.intellectualRightsCC-BY-NC-SA-4.0" | "MZ.intellectualRightsCC-BY-4.0" | "MZ.intellectualRightsCC0-4.0" | "MZ.intellectualRightsODBL-1.0" | "MZ.intellectualRightsPD" | "MZ.intellectualRightsARR" | "MZ.intellectualRightsCC-BY-2.0" | "MZ.intellectualRightsCC-BY-SA-2.0" | "MZ.intellectualRightsCC-BY-SA-2.0-DE" | "MZ.intellectualRightsCC-BY-NC-2.0" | "MZ.intellectualRightsCC-BY-NC-SA-2.0" | "MZ.intellectualRightsCC-BY-NC-ND-2.0" | "MZ.intellectualRightsCC-BY-SA-2.5" | "MZ.intellectualRightsCC-BY-SA-2.5-SE" | "MZ.intellectualRightsCC-BY-3.0" | "MZ.intellectualRightsCC-BY-SA-3.0" | "MZ.intellectualRightsCC-BY-NC-SA-3.0" | "MZ.intellectualRightsCC-BY-ND-4.0" | "MZ.intellectualRightsCC-BY-NC-ND-4.0" | "MY.intellectualRightsCC-BY" | "MY.intellectualRightsCC0";
|
|
41
42
|
/**
|
|
42
43
|
* PUBLIC: all data can be published; PROTECTED: exact locality is hidden (100*100km square); PRIVATE: most of the data is hidden. Empty value means same as public.
|
|
43
44
|
*/
|
package/lib/models/index.d.ts
CHANGED
|
@@ -111,6 +111,8 @@ import { Occurrence } from './Occurrence';
|
|
|
111
111
|
export type { Occurrence };
|
|
112
112
|
import { Organization } from './Organization';
|
|
113
113
|
export type { Organization };
|
|
114
|
+
import { Pdf } from './Pdf';
|
|
115
|
+
export type { Pdf };
|
|
114
116
|
import { Permit } from './Permit';
|
|
115
117
|
export type { Permit };
|
|
116
118
|
import { Person } from './Person';
|
|
@@ -127,12 +129,12 @@ import { Reserve } from './Reserve';
|
|
|
127
129
|
export type { Reserve };
|
|
128
130
|
import { Sample } from './Sample';
|
|
129
131
|
export type { Sample };
|
|
132
|
+
import { SatelliteTrackingProject } from './SatelliteTrackingProject';
|
|
133
|
+
export type { SatelliteTrackingProject };
|
|
130
134
|
import { SpecimenTransaction } from './SpecimenTransaction';
|
|
131
135
|
export type { SpecimenTransaction };
|
|
132
136
|
import { SpecimenTransactionEvent } from './SpecimenTransactionEvent';
|
|
133
137
|
export type { SpecimenTransactionEvent };
|
|
134
|
-
import { SpecimentTransactionEvent } from './SpecimentTransactionEvent';
|
|
135
|
-
export type { SpecimentTransactionEvent };
|
|
136
138
|
import { SubUnit } from './SubUnit';
|
|
137
139
|
export type { SubUnit };
|
|
138
140
|
import { Tag } from './Tag';
|
|
@@ -169,7 +171,7 @@ import { Validator } from './Validator';
|
|
|
169
171
|
export type { Validator };
|
|
170
172
|
import { Video } from './Video';
|
|
171
173
|
export type { Video };
|
|
172
|
-
export declare type StoreObject = BibliographicResource | Concept | Pinkka | AdministrativeStatus | Agent | Annotation | AnnotationOccurrence | Area | Audio | BirdSongRecognitionSkillLevel | Branch | Checklist | ChecklistVersion | Collection | CompleteList | ContentContextDescription | DataField | Dataset | DateRange | Device | DeviceIndividual | Document | 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 | Permit | Person | Preparation | Profile | Publication | RegionalStatus | Reserve | Sample |
|
|
174
|
+
export declare type StoreObject = BibliographicResource | Concept | Pinkka | AdministrativeStatus | Agent | Annotation | AnnotationOccurrence | Area | Audio | BirdSongRecognitionSkillLevel | Branch | Checklist | ChecklistVersion | Collection | CompleteList | ContentContextDescription | DataField | Dataset | DateRange | Device | DeviceIndividual | Document | 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 | Transaction | TransactionEvent | TransactionItem | Translation | TypeSpecimen | Unit | UnitFact | UnitGathering | Validator | Video;
|
|
173
175
|
export declare type KeyOfUnion<K extends StoreObject> = K extends keyof K ? K : never;
|
|
174
176
|
export declare type Lang = 'en' | 'fi' | 'sv';
|
|
175
177
|
export declare function isLang(value: unknown): value is Lang;
|
|
@@ -230,6 +232,7 @@ export declare function isNews(data: unknown): data is News;
|
|
|
230
232
|
export declare function isNotification(data: unknown): data is Notification;
|
|
231
233
|
export declare function isOccurrence(data: unknown): data is Occurrence;
|
|
232
234
|
export declare function isOrganization(data: unknown): data is Organization;
|
|
235
|
+
export declare function isPdf(data: unknown): data is Pdf;
|
|
233
236
|
export declare function isPermit(data: unknown): data is Permit;
|
|
234
237
|
export declare function isPerson(data: unknown): data is Person;
|
|
235
238
|
export declare function isPreparation(data: unknown): data is Preparation;
|
|
@@ -238,9 +241,9 @@ export declare function isPublication(data: unknown): data is Publication;
|
|
|
238
241
|
export declare function isRegionalStatus(data: unknown): data is RegionalStatus;
|
|
239
242
|
export declare function isReserve(data: unknown): data is Reserve;
|
|
240
243
|
export declare function isSample(data: unknown): data is Sample;
|
|
244
|
+
export declare function isSatelliteTrackingProject(data: unknown): data is SatelliteTrackingProject;
|
|
241
245
|
export declare function isSpecimenTransaction(data: unknown): data is SpecimenTransaction;
|
|
242
246
|
export declare function isSpecimenTransactionEvent(data: unknown): data is SpecimenTransactionEvent;
|
|
243
|
-
export declare function isSpecimentTransactionEvent(data: unknown): data is SpecimentTransactionEvent;
|
|
244
247
|
export declare function isSubUnit(data: unknown): data is SubUnit;
|
|
245
248
|
export declare function isTag(data: unknown): data is Tag;
|
|
246
249
|
export declare function isTaxon(data: unknown): data is Taxon;
|
package/lib/models/index.js
CHANGED
|
@@ -11,7 +11,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.isIucnRedListTaxonGroup = exports.isIucnRedListEvaluationYear = exports.isIucnRedListEvaluation = exports.isInformationSystem = exports.isInformalTaxonGroup = exports.isIndividual = exports.isImage = exports.isIdentification = exports.isHabitat = exports.isGatheringFact = exports.isGatheringEvent = exports.isGathering = exports.isFormSeason = exports.isFormPermissionSingle = exports.isFormPermissionPerson = exports.isFormPermission = exports.isFormOptions = exports.isFormNamedPlaceOptions = exports.isFormInstructions = exports.isFormFooter = exports.isForm = exports.isFieldset = exports.isField = exports.isEvent = exports.isEndangerment = exports.isDownloadRequest = exports.isDocument = exports.isDeviceIndividual = exports.isDevice = exports.isDateRange = exports.isDataset = exports.isDataField = exports.isContentContextDescription = exports.isCompleteList = exports.isCollection = exports.isChecklistVersion = exports.isChecklist = exports.isBranch = exports.isBirdSongRecognitionSkillLevel = exports.isAudio = exports.isArea = exports.isAnnotationOccurrence = exports.isAnnotation = exports.isAgent = exports.isAdministrativeStatus = exports.isPinkka = exports.isConcept = exports.isBibliographicResource = exports.isLangObject = exports.isLang = void 0;
|
|
14
|
-
exports.isVideo = exports.isValidator = exports.isUnitGathering = exports.isUnitFact = exports.isUnit = exports.isTypeSpecimen = exports.isTranslation = exports.isTransactionItem = exports.isTransactionEvent = exports.isTransaction = exports.isTaxonSet = exports.isTaxonInteraction = exports.isTaxonGroupIucnEditors = exports.isTaxonConcept = exports.isTaxonCensus = exports.isTaxon = exports.isTag = exports.isSubUnit = exports.
|
|
14
|
+
exports.isVideo = exports.isValidator = exports.isUnitGathering = exports.isUnitFact = exports.isUnit = exports.isTypeSpecimen = exports.isTranslation = exports.isTransactionItem = exports.isTransactionEvent = exports.isTransaction = exports.isTaxonSet = exports.isTaxonInteraction = exports.isTaxonGroupIucnEditors = exports.isTaxonConcept = exports.isTaxonCensus = exports.isTaxon = exports.isTag = exports.isSubUnit = exports.isSpecimenTransactionEvent = exports.isSpecimenTransaction = exports.isSatelliteTrackingProject = exports.isSample = exports.isReserve = exports.isRegionalStatus = exports.isPublication = exports.isProfile = exports.isPreparation = exports.isPerson = exports.isPermit = exports.isPdf = exports.isOrganization = exports.isOccurrence = exports.isNotification = exports.isNews = exports.isNamedPlace = exports.isMultimedia = exports.isModel = exports.isMeasurement = void 0;
|
|
15
15
|
__exportStar(require("./list-response"), exports);
|
|
16
16
|
function isLang(value) {
|
|
17
17
|
return typeof value === 'string' && ['en', 'fi', 'sv'].includes(value);
|
|
@@ -248,6 +248,10 @@ function isOrganization(data) {
|
|
|
248
248
|
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'MOS.organization');
|
|
249
249
|
}
|
|
250
250
|
exports.isOrganization = isOrganization;
|
|
251
|
+
function isPdf(data) {
|
|
252
|
+
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'MM.pdf');
|
|
253
|
+
}
|
|
254
|
+
exports.isPdf = isPdf;
|
|
251
255
|
function isPermit(data) {
|
|
252
256
|
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'HRA.permitClass');
|
|
253
257
|
}
|
|
@@ -280,6 +284,10 @@ function isSample(data) {
|
|
|
280
284
|
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'MF.sample');
|
|
281
285
|
}
|
|
282
286
|
exports.isSample = isSample;
|
|
287
|
+
function isSatelliteTrackingProject(data) {
|
|
288
|
+
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'MXA.satelliteTrackingProject');
|
|
289
|
+
}
|
|
290
|
+
exports.isSatelliteTrackingProject = isSatelliteTrackingProject;
|
|
283
291
|
function isSpecimenTransaction(data) {
|
|
284
292
|
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'HRX.specimenTransaction');
|
|
285
293
|
}
|
|
@@ -288,10 +296,6 @@ function isSpecimenTransactionEvent(data) {
|
|
|
288
296
|
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'HRX.specimenTransactionEvent');
|
|
289
297
|
}
|
|
290
298
|
exports.isSpecimenTransactionEvent = isSpecimenTransactionEvent;
|
|
291
|
-
function isSpecimentTransactionEvent(data) {
|
|
292
|
-
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'HRX.specimentTransactionEvent');
|
|
293
|
-
}
|
|
294
|
-
exports.isSpecimentTransactionEvent = isSpecimentTransactionEvent;
|
|
295
299
|
function isSubUnit(data) {
|
|
296
300
|
return !!(data && typeof data === 'object' && '@type' in data && data['@type'] === 'MY.subUnit');
|
|
297
301
|
}
|