@luomus/laji-schema 2.0.364 → 2.0.366

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.
@@ -216,12 +216,14 @@ var MXSecureLevels;
216
216
  })(MXSecureLevels = exports.MXSecureLevels || (exports.MXSecureLevels = {}));
217
217
  var MYCollectionQualityEnum;
218
218
  (function (MYCollectionQualityEnum) {
219
+ MYCollectionQualityEnum["empty"] = "";
219
220
  MYCollectionQualityEnum["collectionQualityEnum3"] = "MY.collectionQualityEnum3";
220
221
  MYCollectionQualityEnum["collectionQualityEnum2"] = "MY.collectionQualityEnum2";
221
222
  MYCollectionQualityEnum["collectionQualityEnum1"] = "MY.collectionQualityEnum1";
222
223
  })(MYCollectionQualityEnum = exports.MYCollectionQualityEnum || (exports.MYCollectionQualityEnum = {}));
223
224
  var MYCollectionTypes;
224
225
  (function (MYCollectionTypes) {
226
+ MYCollectionTypes["empty"] = "";
225
227
  MYCollectionTypes["collectionTypeSpecimens"] = "MY.collectionTypeSpecimens";
226
228
  MYCollectionTypes["collectionTypeLiving"] = "MY.collectionTypeLiving";
227
229
  MYCollectionTypes["collectionTypeMonitoring"] = "MY.collectionTypeMonitoring";
@@ -62,7 +62,7 @@ export class Collection {
62
62
  /**
63
63
  * Quality classification for the collection.
64
64
  */
65
- collectionQuality: MYCollectionQualityEnum;
65
+ collectionQuality?: MYCollectionQualityEnum;
66
66
  /**
67
67
  * How many specimens, records or such does the collection contain? Fill in approximate number, describe more in notes if necessary.
68
68
  */
@@ -70,7 +70,7 @@ export class Collection {
70
70
  /**
71
71
  * Type of the collection (specimen, monitoring etc).
72
72
  */
73
- collectionType: MYCollectionTypes;
73
+ collectionType?: MYCollectionTypes;
74
74
  /**
75
75
  * Legal basis for concealment or embargo
76
76
  */
@@ -155,6 +155,9 @@ export class Document {
155
155
  * Additional information to the data in each section.
156
156
  */
157
157
  notes?: string;
158
+ /**
159
+ * ID for the observation in another system, e.g. Vihko/Notebook. Format System:identifier.
160
+ */
158
161
  observationID?: string;
159
162
  /**
160
163
  * Original catalogue number or other original identifier of the specimen. E.g. H9000000
@@ -180,6 +183,9 @@ export class Document {
180
183
  * Publication references or doi's that refer to this specimen
181
184
  */
182
185
  publication?: string[];
186
+ /**
187
+ * Optical character recognition or AI generated data in its raw format, errors and all.
188
+ */
183
189
  rawOCRData?: string;
184
190
  /**
185
191
  * Relationship to another taxon OR specimen. Choose relationship type as prefix and give taxon name or specimen identifier thereafter, e.g. "parasite: Parasiticus specius" OR "host:http://tun.fi/JAA.123"
@@ -192,11 +192,13 @@ export enum MXSecureLevels {
192
192
  "MX.secureLevelNoShow" = "MX.secureLevelNoShow"
193
193
  }
194
194
  export enum MYCollectionQualityEnum {
195
+ "empty" = "",
195
196
  "collectionQualityEnum3" = "MY.collectionQualityEnum3",
196
197
  "collectionQualityEnum2" = "MY.collectionQualityEnum2",
197
198
  "collectionQualityEnum1" = "MY.collectionQualityEnum1"
198
199
  }
199
200
  export enum MYCollectionTypes {
201
+ "empty" = "",
200
202
  "collectionTypeSpecimens" = "MY.collectionTypeSpecimens",
201
203
  "collectionTypeLiving" = "MY.collectionTypeLiving",
202
204
  "collectionTypeMonitoring" = "MY.collectionTypeMonitoring",
@@ -100,7 +100,13 @@ export class Gathering {
100
100
  * County (piirikunta, kreivikunta etc.)
101
101
  */
102
102
  county?: string;
103
+ /**
104
+ * Collection date as exact date or start date for a time period.
105
+ */
103
106
  dateBegin?: string;
107
+ /**
108
+ * End date for a collection time period, if exact date is not know.
109
+ */
104
110
  dateEnd?: string;
105
111
  /**
106
112
  * Date just as it appears on the label or other original source, no interpretation, errors and all
@@ -29,7 +29,13 @@ export class GatheringEvent {
29
29
  cloudCoverEnd?: MYCloudCoverOktaEnum;
30
30
  cloudCoverStart?: MYCloudCoverOktaEnum;
31
31
  completeList?: CompleteList;
32
+ /**
33
+ * Collection date as exact date or start date for a time period.
34
+ */
32
35
  dateBegin?: string;
36
+ /**
37
+ * End date for a collection time period, if exact date is not know.
38
+ */
33
39
  dateEnd?: string;
34
40
  gatheringFact?: GatheringFact;
35
41
  geometry?: {
@@ -19,7 +19,13 @@ export class TraitSubject {
19
19
  * Country name in English, or 2-letter country code, or name from label
20
20
  */
21
21
  country?: string;
22
+ /**
23
+ * Collection date as exact date or start date for a time period.
24
+ */
22
25
  dateBegin?: string;
26
+ /**
27
+ * End date for a collection time period, if exact date is not know.
28
+ */
23
29
  dateEnd?: string;
24
30
  habitat?: MYHabitatEnum[];
25
31
  /**
@@ -8,7 +8,13 @@ export class UnitGathering {
8
8
  "@context"?: string;
9
9
  id?: string;
10
10
  "@type"?: string;
11
+ /**
12
+ * Collection date as exact date or start date for a time period.
13
+ */
11
14
  dateBegin?: string;
15
+ /**
16
+ * End date for a collection time period, if exact date is not know.
17
+ */
12
18
  dateEnd?: string;
13
19
  geometry?: {
14
20
  [k: string]: unknown | undefined;
@@ -210,12 +210,14 @@ export var MXSecureLevels;
210
210
  })(MXSecureLevels || (MXSecureLevels = {}));
211
211
  export var MYCollectionQualityEnum;
212
212
  (function (MYCollectionQualityEnum) {
213
+ MYCollectionQualityEnum["empty"] = "";
213
214
  MYCollectionQualityEnum["collectionQualityEnum3"] = "MY.collectionQualityEnum3";
214
215
  MYCollectionQualityEnum["collectionQualityEnum2"] = "MY.collectionQualityEnum2";
215
216
  MYCollectionQualityEnum["collectionQualityEnum1"] = "MY.collectionQualityEnum1";
216
217
  })(MYCollectionQualityEnum || (MYCollectionQualityEnum = {}));
217
218
  export var MYCollectionTypes;
218
219
  (function (MYCollectionTypes) {
220
+ MYCollectionTypes["empty"] = "";
219
221
  MYCollectionTypes["collectionTypeSpecimens"] = "MY.collectionTypeSpecimens";
220
222
  MYCollectionTypes["collectionTypeLiving"] = "MY.collectionTypeLiving";
221
223
  MYCollectionTypes["collectionTypeMonitoring"] = "MY.collectionTypeMonitoring";
@@ -55,7 +55,7 @@ export declare class Collection {
55
55
  /**
56
56
  * Quality classification for the collection.
57
57
  */
58
- collectionQuality: MYCollectionQualityEnum;
58
+ collectionQuality?: MYCollectionQualityEnum;
59
59
  /**
60
60
  * How many specimens, records or such does the collection contain? Fill in approximate number, describe more in notes if necessary.
61
61
  */
@@ -63,7 +63,7 @@ export declare class Collection {
63
63
  /**
64
64
  * Type of the collection (specimen, monitoring etc).
65
65
  */
66
- collectionType: MYCollectionTypes;
66
+ collectionType?: MYCollectionTypes;
67
67
  /**
68
68
  * Legal basis for concealment or embargo
69
69
  */
@@ -148,6 +148,9 @@ export declare class Document {
148
148
  * Additional information to the data in each section.
149
149
  */
150
150
  notes?: string;
151
+ /**
152
+ * ID for the observation in another system, e.g. Vihko/Notebook. Format System:identifier.
153
+ */
151
154
  observationID?: string;
152
155
  /**
153
156
  * Original catalogue number or other original identifier of the specimen. E.g. H9000000
@@ -173,6 +176,9 @@ export declare class Document {
173
176
  * Publication references or doi's that refer to this specimen
174
177
  */
175
178
  publication?: string[];
179
+ /**
180
+ * Optical character recognition or AI generated data in its raw format, errors and all.
181
+ */
176
182
  rawOCRData?: string;
177
183
  /**
178
184
  * Relationship to another taxon OR specimen. Choose relationship type as prefix and give taxon name or specimen identifier thereafter, e.g. "parasite: Parasiticus specius" OR "host:http://tun.fi/JAA.123"
@@ -192,11 +192,13 @@ export declare enum MXSecureLevels {
192
192
  "MX.secureLevelNoShow" = "MX.secureLevelNoShow"
193
193
  }
194
194
  export declare enum MYCollectionQualityEnum {
195
+ "empty" = "",
195
196
  "collectionQualityEnum3" = "MY.collectionQualityEnum3",
196
197
  "collectionQualityEnum2" = "MY.collectionQualityEnum2",
197
198
  "collectionQualityEnum1" = "MY.collectionQualityEnum1"
198
199
  }
199
200
  export declare enum MYCollectionTypes {
201
+ "empty" = "",
200
202
  "collectionTypeSpecimens" = "MY.collectionTypeSpecimens",
201
203
  "collectionTypeLiving" = "MY.collectionTypeLiving",
202
204
  "collectionTypeMonitoring" = "MY.collectionTypeMonitoring",
@@ -93,7 +93,13 @@ export declare class Gathering {
93
93
  * County (piirikunta, kreivikunta etc.)
94
94
  */
95
95
  county?: string;
96
+ /**
97
+ * Collection date as exact date or start date for a time period.
98
+ */
96
99
  dateBegin?: string;
100
+ /**
101
+ * End date for a collection time period, if exact date is not know.
102
+ */
97
103
  dateEnd?: string;
98
104
  /**
99
105
  * Date just as it appears on the label or other original source, no interpretation, errors and all
@@ -22,7 +22,13 @@ export declare class GatheringEvent {
22
22
  cloudCoverEnd?: MYCloudCoverOktaEnum;
23
23
  cloudCoverStart?: MYCloudCoverOktaEnum;
24
24
  completeList?: CompleteList;
25
+ /**
26
+ * Collection date as exact date or start date for a time period.
27
+ */
25
28
  dateBegin?: string;
29
+ /**
30
+ * End date for a collection time period, if exact date is not know.
31
+ */
26
32
  dateEnd?: string;
27
33
  gatheringFact?: GatheringFact;
28
34
  geometry?: {
@@ -12,7 +12,13 @@ export declare class TraitSubject {
12
12
  * Country name in English, or 2-letter country code, or name from label
13
13
  */
14
14
  country?: string;
15
+ /**
16
+ * Collection date as exact date or start date for a time period.
17
+ */
15
18
  dateBegin?: string;
19
+ /**
20
+ * End date for a collection time period, if exact date is not know.
21
+ */
16
22
  dateEnd?: string;
17
23
  habitat?: MYHabitatEnum[];
18
24
  /**
@@ -2,7 +2,13 @@ export declare class UnitGathering {
2
2
  "@context"?: string;
3
3
  id?: string;
4
4
  "@type"?: string;
5
+ /**
6
+ * Collection date as exact date or start date for a time period.
7
+ */
5
8
  dateBegin?: string;
9
+ /**
10
+ * End date for a collection time period, if exact date is not know.
11
+ */
6
12
  dateEnd?: string;
7
13
  geometry?: {
8
14
  [k: string]: unknown | undefined;
@@ -55,7 +55,7 @@ export interface Collection {
55
55
  /**
56
56
  * Quality classification for the collection.
57
57
  */
58
- collectionQuality: MYCollectionQualityEnum;
58
+ collectionQuality?: MYCollectionQualityEnum;
59
59
  /**
60
60
  * How many specimens, records or such does the collection contain? Fill in approximate number, describe more in notes if necessary.
61
61
  */
@@ -63,7 +63,7 @@ export interface Collection {
63
63
  /**
64
64
  * Type of the collection (specimen, monitoring etc).
65
65
  */
66
- collectionType: MYCollectionTypes;
66
+ collectionType?: MYCollectionTypes;
67
67
  /**
68
68
  * Legal basis for concealment or embargo
69
69
  */
@@ -148,6 +148,9 @@ export interface Document {
148
148
  * Additional information to the data in each section.
149
149
  */
150
150
  notes?: string;
151
+ /**
152
+ * ID for the observation in another system, e.g. Vihko/Notebook. Format System:identifier.
153
+ */
151
154
  observationID?: string;
152
155
  /**
153
156
  * Original catalogue number or other original identifier of the specimen. E.g. H9000000
@@ -173,6 +176,9 @@ export interface Document {
173
176
  * Publication references or doi's that refer to this specimen
174
177
  */
175
178
  publication?: string[];
179
+ /**
180
+ * Optical character recognition or AI generated data in its raw format, errors and all.
181
+ */
176
182
  rawOCRData?: string;
177
183
  /**
178
184
  * Relationship to another taxon OR specimen. Choose relationship type as prefix and give taxon name or specimen identifier thereafter, e.g. "parasite: Parasiticus specius" OR "host:http://tun.fi/JAA.123"
@@ -15,8 +15,8 @@ export declare type MZIntellectualRightsEnum = "MZ.intellectualRightsCC-BY-SA-4.
15
15
  export declare type MZPublicityRestrictionsEnum = "" | "MZ.publicityRestrictionsPublic" | "MZ.publicityRestrictionsProtected" | "MZ.publicityRestrictionsPrivate";
16
16
  export declare type MABirdSongRecognitionSkillLevelEnum = "MA.birdSongRecognitionSkillLevelEnum1" | "MA.birdSongRecognitionSkillLevelEnum2" | "MA.birdSongRecognitionSkillLevelEnum3" | "MA.birdSongRecognitionSkillLevelEnum4";
17
17
  export declare type MXSecureLevels = "" | "MX.secureLevelNone" | "MX.secureLevelKM1" | "MX.secureLevelKM5" | "MX.secureLevelKM10" | "MX.secureLevelKM25" | "MX.secureLevelKM50" | "MX.secureLevelKM100" | "MX.secureLevelHighest" | "MX.secureLevelNoShow";
18
- export declare type MYCollectionQualityEnum = "MY.collectionQualityEnum3" | "MY.collectionQualityEnum2" | "MY.collectionQualityEnum1";
19
- export declare type MYCollectionTypes = "MY.collectionTypeSpecimens" | "MY.collectionTypeLiving" | "MY.collectionTypeMonitoring" | "MY.collectionTypeObservations" | "MY.collectionTypePublicationdata" | "MY.collectionTypePublication" | "MY.collectionTypeMixed" | "MY.collectionTypeOther" | "MY.collectionTypeGardenArea" | "MY.collectionTypeIndoorGardenArea" | "MY.collectionTypeOutdoorGardenArea" | "MY.collectionTypeGardenSublocation" | "MY.collectionTypeTrait";
18
+ export declare type MYCollectionQualityEnum = "" | "MY.collectionQualityEnum3" | "MY.collectionQualityEnum2" | "MY.collectionQualityEnum1";
19
+ export declare type MYCollectionTypes = "" | "MY.collectionTypeSpecimens" | "MY.collectionTypeLiving" | "MY.collectionTypeMonitoring" | "MY.collectionTypeObservations" | "MY.collectionTypePublicationdata" | "MY.collectionTypePublication" | "MY.collectionTypeMixed" | "MY.collectionTypeOther" | "MY.collectionTypeGardenArea" | "MY.collectionTypeIndoorGardenArea" | "MY.collectionTypeOutdoorGardenArea" | "MY.collectionTypeGardenSublocation" | "MY.collectionTypeTrait";
20
20
  export declare type MYDataQualityEnum = "" | "MY.dataQuality1" | "MY.dataQuality2" | "MY.dataQuality3" | "MY.dataQuality4" | "MY.dataQuality5" | "MY.dataQualityNA";
21
21
  export declare type MYHierarchyTypeEnum = "MY.hierarchyTypeDocumentParent" | "MY.hierarchyTypeCollectionParent";
22
22
  export declare type MYIntellectualRightsEnum = "MY.intellectualRightsCC-BY" | "MY.intellectualRightsCC0" | "MY.intellectualRightsPD" | "MY.intellectualRightsARR";
@@ -93,7 +93,13 @@ export interface Gathering {
93
93
  * County (piirikunta, kreivikunta etc.)
94
94
  */
95
95
  county?: string;
96
+ /**
97
+ * Collection date as exact date or start date for a time period.
98
+ */
96
99
  dateBegin?: string;
100
+ /**
101
+ * End date for a collection time period, if exact date is not know.
102
+ */
97
103
  dateEnd?: string;
98
104
  /**
99
105
  * Date just as it appears on the label or other original source, no interpretation, errors and all
@@ -22,7 +22,13 @@ export interface GatheringEvent {
22
22
  cloudCoverEnd?: MYCloudCoverOktaEnum;
23
23
  cloudCoverStart?: MYCloudCoverOktaEnum;
24
24
  completeList?: CompleteList;
25
+ /**
26
+ * Collection date as exact date or start date for a time period.
27
+ */
25
28
  dateBegin?: string;
29
+ /**
30
+ * End date for a collection time period, if exact date is not know.
31
+ */
26
32
  dateEnd?: string;
27
33
  gatheringFact?: GatheringFact;
28
34
  geometry?: {
@@ -12,7 +12,13 @@ export interface TraitSubject {
12
12
  * Country name in English, or 2-letter country code, or name from label
13
13
  */
14
14
  country?: string;
15
+ /**
16
+ * Collection date as exact date or start date for a time period.
17
+ */
15
18
  dateBegin?: string;
19
+ /**
20
+ * End date for a collection time period, if exact date is not know.
21
+ */
16
22
  dateEnd?: string;
17
23
  habitat?: MYHabitatEnum[];
18
24
  /**
@@ -2,7 +2,13 @@ export interface UnitGathering {
2
2
  "@context"?: string;
3
3
  id?: string;
4
4
  "@type"?: string;
5
+ /**
6
+ * Collection date as exact date or start date for a time period.
7
+ */
5
8
  dateBegin?: string;
9
+ /**
10
+ * End date for a collection time period, if exact date is not know.
11
+ */
6
12
  dateEnd?: string;
7
13
  geometry?: {
8
14
  [k: string]: unknown | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luomus/laji-schema",
3
- "version": "2.0.364",
3
+ "version": "2.0.366",
4
4
  "description": "Common autogenerated Typescript interfaces and classes for the schemas used by LUOMUS.",
5
5
  "license": "MIT",
6
6
  "scripts": {