@luomus/laji-schema 1.0.4 → 2.0.0

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.
Files changed (178) hide show
  1. package/README.md +2 -2
  2. package/package.json +19 -7
  3. package/lib/index.d.ts +0 -1
  4. package/lib/index.js +0 -13
  5. package/lib/models/AdministrativeStatus.d.ts +0 -20
  6. package/lib/models/AdministrativeStatus.js +0 -8
  7. package/lib/models/Agent.d.ts +0 -10
  8. package/lib/models/Agent.js +0 -8
  9. package/lib/models/Annotation.d.ts +0 -134
  10. package/lib/models/Annotation.js +0 -8
  11. package/lib/models/AnnotationOccurrence.d.ts +0 -19
  12. package/lib/models/AnnotationOccurrence.js +0 -8
  13. package/lib/models/Area.d.ts +0 -40
  14. package/lib/models/Area.js +0 -8
  15. package/lib/models/Audio.d.ts +0 -48
  16. package/lib/models/Audio.js +0 -8
  17. package/lib/models/BibliographicResource.d.ts +0 -12
  18. package/lib/models/BibliographicResource.js +0 -8
  19. package/lib/models/BirdSongRecognitionSkillLevel.d.ts +0 -12
  20. package/lib/models/BirdSongRecognitionSkillLevel.js +0 -8
  21. package/lib/models/Branch.d.ts +0 -27
  22. package/lib/models/Branch.js +0 -8
  23. package/lib/models/Checklist.d.ts +0 -19
  24. package/lib/models/Checklist.js +0 -8
  25. package/lib/models/ChecklistVersion.d.ts +0 -22
  26. package/lib/models/ChecklistVersion.js +0 -8
  27. package/lib/models/Collection.d.ts +0 -264
  28. package/lib/models/Collection.js +0 -8
  29. package/lib/models/CompleteList.d.ts +0 -12
  30. package/lib/models/CompleteList.js +0 -8
  31. package/lib/models/Concept.d.ts +0 -16
  32. package/lib/models/Concept.js +0 -8
  33. package/lib/models/ContentContextDescription.d.ts +0 -10
  34. package/lib/models/ContentContextDescription.js +0 -8
  35. package/lib/models/DataField.d.ts +0 -34
  36. package/lib/models/DataField.js +0 -8
  37. package/lib/models/Dataset.d.ts +0 -62
  38. package/lib/models/Dataset.js +0 -8
  39. package/lib/models/DateRange.d.ts +0 -12
  40. package/lib/models/DateRange.js +0 -8
  41. package/lib/models/Device.d.ts +0 -18
  42. package/lib/models/Device.js +0 -8
  43. package/lib/models/DeviceIndividual.d.ts +0 -26
  44. package/lib/models/DeviceIndividual.js +0 -8
  45. package/lib/models/Document.d.ts +0 -1974
  46. package/lib/models/Document.js +0 -8
  47. package/lib/models/DownloadRequest.d.ts +0 -31
  48. package/lib/models/DownloadRequest.js +0 -8
  49. package/lib/models/Endangerment.d.ts +0 -13
  50. package/lib/models/Endangerment.js +0 -8
  51. package/lib/models/Event.d.ts +0 -39
  52. package/lib/models/Event.js +0 -8
  53. package/lib/models/Field.d.ts +0 -184
  54. package/lib/models/Field.js +0 -8
  55. package/lib/models/Fieldset.d.ts +0 -10
  56. package/lib/models/Fieldset.js +0 -8
  57. package/lib/models/Form.d.ts +0 -2559
  58. package/lib/models/Form.js +0 -8
  59. package/lib/models/FormFooter.d.ts +0 -20
  60. package/lib/models/FormFooter.js +0 -8
  61. package/lib/models/FormInstructions.d.ts +0 -10
  62. package/lib/models/FormInstructions.js +0 -8
  63. package/lib/models/FormNamedPlaceOptions.d.ts +0 -171
  64. package/lib/models/FormNamedPlaceOptions.js +0 -8
  65. package/lib/models/FormOptions.d.ts +0 -2372
  66. package/lib/models/FormOptions.js +0 -8
  67. package/lib/models/FormPermission.d.ts +0 -14
  68. package/lib/models/FormPermission.js +0 -8
  69. package/lib/models/FormPermissionPerson.d.ts +0 -14
  70. package/lib/models/FormPermissionPerson.js +0 -8
  71. package/lib/models/FormPermissionSingle.d.ts +0 -13
  72. package/lib/models/FormPermissionSingle.js +0 -8
  73. package/lib/models/FormSeason.d.ts +0 -18
  74. package/lib/models/FormSeason.js +0 -8
  75. package/lib/models/Gathering.d.ts +0 -803
  76. package/lib/models/Gathering.js +0 -8
  77. package/lib/models/GatheringEvent.d.ts +0 -157
  78. package/lib/models/GatheringEvent.js +0 -8
  79. package/lib/models/GatheringFact.d.ts +0 -104
  80. package/lib/models/GatheringFact.js +0 -8
  81. package/lib/models/Habitat.d.ts +0 -14
  82. package/lib/models/Habitat.js +0 -8
  83. package/lib/models/Identification.d.ts +0 -97
  84. package/lib/models/Identification.js +0 -8
  85. package/lib/models/Image.d.ts +0 -49
  86. package/lib/models/Image.js +0 -8
  87. package/lib/models/Individual.d.ts +0 -32
  88. package/lib/models/Individual.js +0 -8
  89. package/lib/models/InformalTaxonGroup.d.ts +0 -20
  90. package/lib/models/InformalTaxonGroup.js +0 -8
  91. package/lib/models/InformationSystem.d.ts +0 -32
  92. package/lib/models/InformationSystem.js +0 -8
  93. package/lib/models/IucnRedListEvaluation.d.ts +0 -345
  94. package/lib/models/IucnRedListEvaluation.js +0 -8
  95. package/lib/models/IucnRedListEvaluationYear.d.ts +0 -12
  96. package/lib/models/IucnRedListEvaluationYear.js +0 -8
  97. package/lib/models/IucnRedListTaxonGroup.d.ts +0 -18
  98. package/lib/models/IucnRedListTaxonGroup.js +0 -8
  99. package/lib/models/Measurement.d.ts +0 -37
  100. package/lib/models/Measurement.js +0 -8
  101. package/lib/models/Model.d.ts +0 -48
  102. package/lib/models/Model.js +0 -8
  103. package/lib/models/Multimedia.d.ts +0 -10
  104. package/lib/models/Multimedia.js +0 -8
  105. package/lib/models/NamedPlace.d.ts +0 -3995
  106. package/lib/models/NamedPlace.js +0 -8
  107. package/lib/models/News.d.ts +0 -17
  108. package/lib/models/News.js +0 -8
  109. package/lib/models/Notification.d.ts +0 -145
  110. package/lib/models/Notification.js +0 -8
  111. package/lib/models/Occurrence.d.ts +0 -17
  112. package/lib/models/Occurrence.js +0 -8
  113. package/lib/models/Organization.d.ts +0 -122
  114. package/lib/models/Organization.js +0 -8
  115. package/lib/models/Permit.d.ts +0 -20
  116. package/lib/models/Permit.js +0 -8
  117. package/lib/models/Person.d.ts +0 -49
  118. package/lib/models/Person.js +0 -8
  119. package/lib/models/Pinkka.d.ts +0 -10
  120. package/lib/models/Pinkka.js +0 -8
  121. package/lib/models/Preparation.d.ts +0 -34
  122. package/lib/models/Preparation.js +0 -8
  123. package/lib/models/Profile.d.ts +0 -30
  124. package/lib/models/Profile.js +0 -8
  125. package/lib/models/Publication.d.ts +0 -16
  126. package/lib/models/Publication.js +0 -8
  127. package/lib/models/RegionalStatus.d.ts +0 -12
  128. package/lib/models/RegionalStatus.js +0 -8
  129. package/lib/models/Reserve.d.ts +0 -12
  130. package/lib/models/Reserve.js +0 -8
  131. package/lib/models/Sample.d.ts +0 -139
  132. package/lib/models/Sample.js +0 -8
  133. package/lib/models/SpecimenTransaction.d.ts +0 -189
  134. package/lib/models/SpecimenTransaction.js +0 -8
  135. package/lib/models/SpecimenTransactionEvent.d.ts +0 -15
  136. package/lib/models/SpecimenTransactionEvent.js +0 -8
  137. package/lib/models/SpecimentTransactionEvent.d.ts +0 -14
  138. package/lib/models/SpecimentTransactionEvent.js +0 -8
  139. package/lib/models/SubUnit.d.ts +0 -19
  140. package/lib/models/SubUnit.js +0 -8
  141. package/lib/models/Tag.d.ts +0 -23
  142. package/lib/models/Tag.js +0 -8
  143. package/lib/models/Taxon.d.ts +0 -241
  144. package/lib/models/Taxon.js +0 -8
  145. package/lib/models/TaxonCensus.d.ts +0 -13
  146. package/lib/models/TaxonCensus.js +0 -8
  147. package/lib/models/TaxonConcept.d.ts +0 -14
  148. package/lib/models/TaxonConcept.js +0 -8
  149. package/lib/models/TaxonGroupIucnEditors.d.ts +0 -12
  150. package/lib/models/TaxonGroupIucnEditors.js +0 -8
  151. package/lib/models/TaxonInteraction.d.ts +0 -16
  152. package/lib/models/TaxonInteraction.js +0 -8
  153. package/lib/models/TaxonSet.d.ts +0 -10
  154. package/lib/models/TaxonSet.js +0 -8
  155. package/lib/models/Transaction.d.ts +0 -196
  156. package/lib/models/Transaction.js +0 -8
  157. package/lib/models/TransactionEvent.d.ts +0 -42
  158. package/lib/models/TransactionEvent.js +0 -8
  159. package/lib/models/TransactionItem.d.ts +0 -17
  160. package/lib/models/TransactionItem.js +0 -8
  161. package/lib/models/Translation.d.ts +0 -19
  162. package/lib/models/Translation.js +0 -8
  163. package/lib/models/TypeSpecimen.d.ts +0 -66
  164. package/lib/models/TypeSpecimen.js +0 -8
  165. package/lib/models/Unit.d.ts +0 -479
  166. package/lib/models/Unit.js +0 -8
  167. package/lib/models/UnitFact.d.ts +0 -40
  168. package/lib/models/UnitFact.js +0 -8
  169. package/lib/models/UnitGathering.d.ts +0 -24
  170. package/lib/models/UnitGathering.js +0 -8
  171. package/lib/models/Validator.d.ts +0 -10
  172. package/lib/models/Validator.js +0 -8
  173. package/lib/models/Video.d.ts +0 -46
  174. package/lib/models/Video.js +0 -8
  175. package/lib/models/index.d.ts +0 -261
  176. package/lib/models/index.js +0 -366
  177. package/lib/models/list-response.d.ts +0 -18
  178. package/lib/models/list-response.js +0 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # shared-models
1
+ # shared-schemas
2
2
 
3
- This library holds the Typescript interfaces that were generated
3
+ This library holds the Typescript interfaces and classes that were generated
4
4
  by the store-generate library and few other commonly usable interfaces.
5
5
 
6
6
  Please note that this library should remain usable in both backend and frontend.
package/package.json CHANGED
@@ -1,14 +1,12 @@
1
1
  {
2
2
  "name": "@luomus/laji-schema",
3
- "version": "1.0.4",
4
- "description": "Common autogenerated Typescript definitions for the schemas used by LUOMUS.",
3
+ "version": "2.0.0",
4
+ "description": "Common autogenerated Typescript interfaces and classes for the schemas used by LUOMUS.",
5
5
  "license": "MIT",
6
- "main": "lib/index.js",
7
- "types": "lib/index.d.ts",
8
6
  "scripts": {
9
7
  "tsc": "npx tsc -p tsconfig.npm.json",
10
8
  "prepublishOnly": "npm run tsc",
11
- "postpublish": "rm -rf lib"
9
+ "postpublish": "rm -rf dist"
12
10
  },
13
11
  "publishConfig": {
14
12
  "access": "public"
@@ -17,9 +15,23 @@
17
15
  "repository": {
18
16
  "type": "git",
19
17
  "url": "https://github.com/luomus/lajistore.git",
20
- "directory": "libs/shared/models"
18
+ "directory": "libs/shared/schemas"
21
19
  },
22
20
  "files": [
23
21
  "lib"
24
- ]
22
+ ],
23
+ "exports": {
24
+ ".": {
25
+ "default": "./dist/index.js",
26
+ "types": "./dist/index.d.js"
27
+ },
28
+ "./classes": {
29
+ "default": "./dist/classes/index.js",
30
+ "types": "./dist/classes/index.d.js"
31
+ },
32
+ "./models": {
33
+ "default": "./dist/models/index.js",
34
+ "types": "./dist/models/index.d.js"
35
+ }
36
+ }
25
37
  }
package/lib/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './models';
package/lib/index.js DELETED
@@ -1,13 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./models"), exports);
@@ -1,20 +0,0 @@
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 AdministrativeStatus {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- administrativeStatusDescription?: {
11
- en?: string[];
12
- fi?: string[];
13
- sv?: string[];
14
- };
15
- administrativeStatusLink?: {
16
- en?: string[];
17
- fi?: string[];
18
- sv?: string[];
19
- };
20
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,10 +0,0 @@
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 Agent {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,134 +0,0 @@
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 Annotation {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- addedTags?: string[];
11
- annotationByPerson?: string;
12
- annotationBySystem?: string;
13
- annotationClass?: "" | "MAN.annotationClassReliable" | "MAN.annotationClassLikely" | "MAN.annotationClassNeutral" | "MAN.annotationClassSuspicious" | "MAN.annotationClassUnreliable" | "MAN.annotationClassAcknowledged" | "MAN.annotationClassSpam";
14
- byRole?: "" | "MMAN.expert" | "MMAN.basic" | "MMAN.owner" | "MMAN.formAdmin" | "MMAN.ictAdmin";
15
- censusAnnotation?: ("" | "MAN.countError" | "MAN.innerCountError" | "MAN.otherError")[];
16
- created?: string;
17
- createdTimestamp?: number;
18
- deletedTimestamp?: number;
19
- identification?: {
20
- id?: string;
21
- "@type"?: string;
22
- "@context"?: string;
23
- "herbo:sortOrder"?: number;
24
- /**
25
- * Write associated observation taxa names here, separated by a semicolon (;). E.g.: "Betula pendula; Betula pubescens; Poaceae". These will form their own units of the type observation.
26
- */
27
- associatedObservationTaxa?: string;
28
- /**
29
- * Author for the taxon
30
- */
31
- author?: string;
32
- /**
33
- * Name of the identifier (person) preferably in format "lastname, firstname"
34
- */
35
- det?: string;
36
- /**
37
- * Date or year when the identification was done, preferably in format "d.m.Y" or "Y"
38
- */
39
- detDate?: string;
40
- detMethod?: "" | "MY.detMethodFreshSample" | "MY.detMethodMicroscopy" | "MY.detMethodPhoto";
41
- /**
42
- * Name of the identifier and date of identification in original format (e.g. from the label), errors and all
43
- */
44
- detVerbatim?: string;
45
- /**
46
- * Additional qualifier or specifier at genus level (e.g. aff., cf.)
47
- */
48
- genusQualifier?: string;
49
- identificationBasis?: ("" | "MY.identificationBasisDNA" | "MY.identificationBasisGenitals" | "MY.identificationBasisGenitalPreparate" | "MY.identificationBasisSpores" | "MY.identificationBasisHandled" | "MY.identificationBasisChemical" | "MY.identificationBasisHeard" | "MY.identificationBasisMicroscope" | "MY.identificationBasisSeen" | "MY.identificationBasisPreservedSpecimen" | "MY.identificationBasisFreshSpecimen" | "MY.identificationBasisMedia")[];
50
- /**
51
- * Additional information on the identification, basis or such
52
- */
53
- identificationNotes?: string;
54
- /**
55
- * Author for the taxon below species level/infra epithet
56
- */
57
- infraAuthor?: string;
58
- /**
59
- * Taxon name for the epithet below species level
60
- */
61
- infraEpithet?: string;
62
- /**
63
- * Taxonomic level of the epithet below species level
64
- */
65
- infraRank?: "" | "MY.infraRankSsp" | "MY.infraRankVar" | "MY.infraRankBeta" | "MY.infraRankB" | "MY.infraRankForma" | "MY.infraRankHybrid" | "MY.infraRankAnamorph" | "MY.infraRankAggregate" | "MY.infraRankAberration" | "MY.infraRankCultivar" | "MY.infraRankMorpha" | "MY.infraRankUnknown" | "MY.infraRankNothosubspecies" | "MY.infraRankCultivarGroup" | "MY.infraRankFsp";
66
- /**
67
- * Pathovars, serovars and other infrasubspecific subdivisions of microbes.
68
- */
69
- infrasubspecificSubdivision?: string;
70
- /**
71
- * Which parent or larger collection this is part of.
72
- */
73
- isPartOf?: string;
74
- isTaxonGroup?: boolean;
75
- /**
76
- * This can be used to select one of the identifications as 'recommended', which is the used as default when displaying information about the specimen.
77
- */
78
- preferredIdentification?: string;
79
- /**
80
- * Publication reference for the taxon concept, that was used in identification
81
- */
82
- sec?: string;
83
- /**
84
- * Additional qualifier at species level (e.g. aff., cf., sp. n., coll.)
85
- */
86
- speciesQualifier?: string;
87
- /**
88
- * Taxon name
89
- */
90
- taxon?: string;
91
- /**
92
- * ID for the taxon if has some other than an MX code
93
- */
94
- taxonID?: string;
95
- /**
96
- * Taxonomic level for the identification
97
- */
98
- taxonRank?: "" | "MX.superdomain" | "MX.domain" | "MX.kingdom" | "MX.subkingdom" | "MX.infrakingdom" | "MX.superphylum" | "MX.phylum" | "MX.subphylum" | "MX.infraphylum" | "MX.superdivision" | "MX.division" | "MX.subdivision" | "MX.infradivision" | "MX.superclass" | "MX.class" | "MX.subclass" | "MX.infraclass" | "MX.parvclass" | "MX.superorder" | "MX.order" | "MX.suborder" | "MX.infraorder" | "MX.parvorder" | "MX.superfamily" | "MX.family" | "MX.subfamily" | "MX.tribe" | "MX.subtribe" | "MX.supergenus" | "MX.genus" | "MX.nothogenus" | "MX.subgenus" | "MX.section" | "MX.subsection" | "MX.series" | "MX.subseries" | "MX.infragenericTaxon" | "MX.aggregate" | "MX.speciesAggregate" | "MX.species" | "MX.nothospecies" | "MX.infraspecificTaxon" | "MX.subspecificAggregate" | "MX.subspecies" | "MX.nothosubspecies" | "MX.variety" | "MX.subvariety" | "MX.form" | "MX.subform" | "MX.hybrid" | "MX.anamorph" | "MX.ecotype" | "MX.populationGroup" | "MX.intergenericHybrid" | "MX.infragenericHybrid" | "MX.cultivar" | "MX.group" | "MX.grex";
99
- taxonSpecifier?: string;
100
- taxonURI?: string;
101
- /**
102
- * Taxon name in original format (e.g. from the label), errors and all
103
- */
104
- taxonVerbatim?: string;
105
- /**
106
- * 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.
107
- */
108
- publicityRestrictions?: "" | "MZ.publicityRestrictionsPublic" | "MZ.publicityRestrictionsProtected" | "MZ.publicityRestrictionsPrivate";
109
- sortOrder?: number;
110
- };
111
- invasiveControlEffectiveness?: "" | "MY.invasiveControlEffectivenessFull" | "MY.invasiveControlEffectivenessPartial" | "MY.invasiveControlEffectivenessNone" | "MY.invasiveControlEffectivenessNotFound";
112
- lineTransectAnnotation?: ("" | "MAN.birdCountError" | "MAN.innerCountError" | "MAN.otherError")[];
113
- notes?: string;
114
- occurrenceAtTimeOfAnnotation?: {
115
- countryVerbatim?: string;
116
- dateBegin?: string;
117
- dateEnd?: string;
118
- locality?: string;
119
- municipalityVerbatim?: string;
120
- taxonId?: string;
121
- taxonVerbatim?: string;
122
- wgs84centerPointLat?: number;
123
- wgs84centerPointLon?: number;
124
- };
125
- opinion?: string;
126
- removedTags?: string[];
127
- rootID?: string;
128
- targetID?: string;
129
- type?: "" | "MAN.typeOpinion" | "MAN.typeInvasiveControlEffectiveness" | "MAN.typeUnidentifiable" | "MAN.typeAdmin";
130
- createdBySystem?: string;
131
- deleted?: boolean;
132
- deletedByPerson?: string;
133
- deletedDateTime?: string;
134
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,19 +0,0 @@
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 AnnotationOccurrence {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- countryVerbatim?: string;
11
- dateBegin?: string;
12
- dateEnd?: string;
13
- locality?: string;
14
- municipalityVerbatim?: string;
15
- taxonId?: string;
16
- taxonVerbatim?: string;
17
- wgs84centerPointLat?: number;
18
- wgs84centerPointLon?: number;
19
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,40 +0,0 @@
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 Area {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- /**
11
- * Aluetyyppi
12
- */
13
- areaType: "ML.country" | "ML.biogeographicalProvince" | "ML.municipality" | "ML.oldMunicipality" | "ML.elyCentre" | "ML.province" | "ML.continent" | "ML.iucnEvaluationArea" | "ML.birdAssociationArea";
14
- /**
15
- * Country code ISO alpha 2
16
- */
17
- countryCodeISOalpha2?: string;
18
- /**
19
- * country code ISO alpha 3
20
- */
21
- countryCodeISOalpha3?: string;
22
- isPartOf?: string;
23
- isPartOfBirdAssociationArea?: string;
24
- isPartOfEnvironmentalELY?: string;
25
- isPartOfProvince?: string;
26
- name: {
27
- en?: string;
28
- fi?: string;
29
- sv?: string;
30
- };
31
- previouslyOfficialName?: string[];
32
- provinceCodeAlpha?: {
33
- en?: string;
34
- fi?: string;
35
- sv?: string;
36
- };
37
- provinceCodeNumeric?: string;
38
- ringingDepartmentBirdAssociationAreaCode?: string;
39
- ringingDepartmentMunicipalityCode?: string;
40
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,48 +0,0 @@
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 Audio {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- caption?: string;
11
- captureDateTime?: string;
12
- capturerVerbatim?: string[];
13
- documentURI?: string[];
14
- fullURL: string;
15
- keyword?: string[];
16
- mp3URL: string;
17
- originalFilename?: string;
18
- primaryForTaxon?: string[];
19
- sourceSystem: string;
20
- taxonDescriptionCaption?: {
21
- en?: string;
22
- fi?: string;
23
- sv?: string;
24
- };
25
- taxonURI?: string[];
26
- taxonVerbatim?: string[];
27
- thumbnailURL: string;
28
- type?: "" | "MM.typeEnumLive" | "MM.typeEnumSpecimen" | "MM.typeEnumGenitalia" | "MM.typeEnumMicroscopy" | "MM.typeEnumCarcass" | "MM.typeEnumHabitat" | "MM.typeEnumLabel";
29
- uploadDateTime?: string;
30
- uploadedBy?: string;
31
- wavURL?: string;
32
- /**
33
- * Life stage of the specimen. If multiple present, select the one which was present at the time of collecting.
34
- */
35
- 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";
36
- plantLifeStage?: "" | "MY.plantLifeStageSterile" | "MY.plantLifeStageFertile" | "MY.plantLifeStageSeed" | "MY.plantLifeStageSprout" | "MY.plantLifeStageBud" | "MY.plantLifeStageFlower" | "MY.plantLifeStageWitheredFlower" | "MY.plantLifeStageRipeningFruit" | "MY.plantLifeStageRipeFruit" | "MY.plantLifeStageDeadSprout" | "MY.plantLifeStageSubterranean";
37
- /**
38
- * Sex of the individual(s)
39
- */
40
- sex?: "" | "MY.sexM" | "MY.sexF" | "MY.sexW" | "MY.sexU" | "MY.sexN" | "MY.sexX" | "MY.sexE" | "MY.sexC";
41
- intellectualOwner: string;
42
- 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";
43
- /**
44
- * 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.
45
- */
46
- publicityRestrictions?: "" | "MZ.publicityRestrictionsPublic" | "MZ.publicityRestrictionsProtected" | "MZ.publicityRestrictionsPrivate";
47
- sortOrder?: number;
48
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,12 +0,0 @@
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 BibliographicResource {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- isPublic: boolean;
11
- owner: string;
12
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,12 +0,0 @@
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 BirdSongRecognitionSkillLevel {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- birdSongRecognitionArea: string;
11
- birdSongRecognitionSkillLevel: "MA.birdSongRecognitionSkillLevelEnum1" | "MA.birdSongRecognitionSkillLevelEnum2" | "MA.birdSongRecognitionSkillLevelEnum3" | "MA.birdSongRecognitionSkillLevelEnum4";
12
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,27 +0,0 @@
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 Branch {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- accessionID: string;
11
- /**
12
- * Garden area
13
- */
14
- collectionID: string;
15
- /**
16
- * Is the branch alive or not?
17
- */
18
- exists?: boolean;
19
- gardenLocationNotes?: string;
20
- /**
21
- * Sublocation within the garden area, free-text
22
- */
23
- location?: string;
24
- notes?: string;
25
- wgs84Latitude?: string;
26
- wgs84Longitude?: string;
27
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,19 +0,0 @@
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 Checklist {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- "dc:bibliographicCitation"?: {
11
- en?: string;
12
- fi?: string;
13
- sv?: string;
14
- };
15
- isPublic: boolean;
16
- owner: string;
17
- rootTaxon: string;
18
- "rdfs:comment"?: string;
19
- }
@@ -1,8 +0,0 @@
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 });
@@ -1,22 +0,0 @@
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 ChecklistVersion {
7
- "@context"?: string;
8
- id?: string;
9
- "@type"?: string;
10
- versionChecklist?: string;
11
- versionDate?: string;
12
- versionDescription?: {
13
- en?: string;
14
- fi?: string;
15
- sv?: string;
16
- };
17
- versionName?: {
18
- en?: string;
19
- fi?: string;
20
- sv?: string;
21
- };
22
- }
@@ -1,8 +0,0 @@
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 });