@luomus/laji-schema 2.0.23 → 2.0.25

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 (106) hide show
  1. package/dist/dto/AdministrativeStatus.dto.ts +21 -0
  2. package/dist/dto/Agent.dto.ts +11 -0
  3. package/dist/dto/Annotation.dto.ts +80 -0
  4. package/dist/dto/AnnotationOccurrence.dto.ts +20 -0
  5. package/dist/dto/Area.dto.ts +52 -0
  6. package/dist/dto/Audio.dto.ts +142 -0
  7. package/dist/dto/BibliographicResource.dto.ts +13 -0
  8. package/dist/dto/BirdSongRecognitionSkillLevel.dto.ts +19 -0
  9. package/dist/dto/Branch.dto.ts +28 -0
  10. package/dist/dto/Checklist.dto.ts +20 -0
  11. package/dist/dto/ChecklistVersion.dto.ts +23 -0
  12. package/dist/dto/Collection.dto.ts +347 -0
  13. package/dist/dto/CompleteList.dto.ts +19 -0
  14. package/dist/dto/Concept.dto.ts +17 -0
  15. package/dist/dto/ContentContextDescription.dto.ts +11 -0
  16. package/dist/dto/DataField.dto.ts +36 -0
  17. package/dist/dto/Dataset.dto.ts +67 -0
  18. package/dist/dto/DateRange.dto.ts +13 -0
  19. package/dist/dto/Device.dto.ts +19 -0
  20. package/dist/dto/DeviceIndividual.dto.ts +27 -0
  21. package/dist/dto/Document.dto.ts +319 -0
  22. package/dist/dto/DownloadRequest.dto.ts +32 -0
  23. package/dist/dto/Endangerment.dto.ts +42 -0
  24. package/dist/dto/Event.dto.ts +85 -0
  25. package/dist/dto/Field.dto.ts +35 -0
  26. package/dist/dto/Fieldset.dto.ts +11 -0
  27. package/dist/dto/Form.dto.ts +70 -0
  28. package/dist/dto/FormFooter.dto.ts +21 -0
  29. package/dist/dto/FormInstructions.dto.ts +11 -0
  30. package/dist/dto/FormNamedPlaceOptions.dto.ts +172 -0
  31. package/dist/dto/FormOptions.dto.ts +232 -0
  32. package/dist/dto/FormPermission.dto.ts +15 -0
  33. package/dist/dto/FormPermissionPerson.dto.ts +15 -0
  34. package/dist/dto/FormPermissionSingle.dto.ts +20 -0
  35. package/dist/dto/FormSeason.dto.ts +19 -0
  36. package/dist/dto/Gathering.dto.ts +546 -0
  37. package/dist/dto/GatheringEvent.dto.ts +114 -0
  38. package/dist/dto/GatheringFact.dto.ts +329 -0
  39. package/dist/dto/Habitat.dto.ts +124 -0
  40. package/dist/dto/Identification.dto.ts +204 -0
  41. package/dist/dto/Image.dto.ts +147 -0
  42. package/dist/dto/Individual.dto.ts +59 -0
  43. package/dist/dto/InformalTaxonGroup.dto.ts +21 -0
  44. package/dist/dto/InformationSystem.dto.ts +58 -0
  45. package/dist/dto/IucnRedListEvaluation.dto.ts +554 -0
  46. package/dist/dto/IucnRedListEvaluationYear.dto.ts +13 -0
  47. package/dist/dto/IucnRedListTaxonGroup.dto.ts +19 -0
  48. package/dist/dto/Measurement.dto.ts +38 -0
  49. package/dist/dto/Model.dto.ts +141 -0
  50. package/dist/dto/Multimedia.dto.ts +11 -0
  51. package/dist/dto/NamedPlace.dto.ts +83 -0
  52. package/dist/dto/News.dto.ts +23 -0
  53. package/dist/dto/Notification.dto.ts +24 -0
  54. package/dist/dto/Occurrence.dto.ts +65 -0
  55. package/dist/dto/Organization.dto.ts +136 -0
  56. package/dist/dto/Pdf.dto.ts +61 -0
  57. package/dist/dto/Permit.dto.ts +36 -0
  58. package/dist/dto/Person.dto.ts +80 -0
  59. package/dist/dto/Pinkka.dto.ts +11 -0
  60. package/dist/dto/Preparation.dto.ts +70 -0
  61. package/dist/dto/Profile.dto.ts +43 -0
  62. package/dist/dto/Publication.dto.ts +17 -0
  63. package/dist/dto/RegionalStatus.dto.ts +60 -0
  64. package/dist/dto/Reserve.dto.ts +13 -0
  65. package/dist/dto/Sample.dto.ts +246 -0
  66. package/dist/dto/SatelliteTrackingProject.dto.ts +22 -0
  67. package/dist/dto/SpecimenTransaction.dto.ts +234 -0
  68. package/dist/dto/SpecimenTransactionEvent.dto.ts +19 -0
  69. package/dist/dto/SubUnit.dto.ts +31 -0
  70. package/dist/dto/Tag.dto.ts +50 -0
  71. package/dist/dto/Taxon.dto.ts +600 -0
  72. package/dist/dto/TaxonCensus.dto.ts +44 -0
  73. package/dist/dto/TaxonConcept.dto.ts +15 -0
  74. package/dist/dto/TaxonGroupIucnEditors.dto.ts +13 -0
  75. package/dist/dto/TaxonInteraction.dto.ts +75 -0
  76. package/dist/dto/TaxonSet.dto.ts +11 -0
  77. package/dist/dto/Trait.dto.ts +20 -0
  78. package/dist/dto/TraitEnumValue.dto.ts +16 -0
  79. package/dist/dto/TraitGroup.dto.ts +13 -0
  80. package/dist/dto/Transaction.dto.ts +249 -0
  81. package/dist/dto/TransactionEvent.dto.ts +32 -0
  82. package/dist/dto/TransactionItem.dto.ts +29 -0
  83. package/dist/dto/Translation.dto.ts +20 -0
  84. package/dist/dto/TypeSpecimen.dto.ts +108 -0
  85. package/dist/dto/Unit.dto.ts +831 -0
  86. package/dist/dto/UnitFact.dto.ts +126 -0
  87. package/dist/dto/UnitGathering.dto.ts +25 -0
  88. package/dist/dto/UnitOfMeasurement.dto.ts +19 -0
  89. package/dist/dto/Validator.dto.ts +11 -0
  90. package/dist/dto/Video.dto.ts +139 -0
  91. package/dist/dto/index.dto.ts +181 -0
  92. package/dist/types/classes/Audio.d.ts +2 -0
  93. package/dist/types/classes/DataField.d.ts +1 -0
  94. package/dist/types/classes/Image.d.ts +1 -0
  95. package/dist/types/classes/InformationSystem.d.ts +4 -0
  96. package/dist/types/classes/Model.d.ts +1 -0
  97. package/dist/types/classes/TraitEnumValue.d.ts +1 -0
  98. package/dist/types/classes/Video.d.ts +1 -0
  99. package/dist/types/models/Audio.d.ts +2 -0
  100. package/dist/types/models/DataField.d.ts +1 -0
  101. package/dist/types/models/Image.d.ts +1 -0
  102. package/dist/types/models/InformationSystem.d.ts +4 -0
  103. package/dist/types/models/Model.d.ts +1 -0
  104. package/dist/types/models/TraitEnumValue.d.ts +1 -0
  105. package/dist/types/models/Video.d.ts +1 -0
  106. package/package.json +6 -2
@@ -0,0 +1,141 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export enum TypeEnum {
8
+ "empty" = "",
9
+ "typeEnumLive" = "MM.typeEnumLive",
10
+ "typeEnumSpecimen" = "MM.typeEnumSpecimen",
11
+ "typeEnumGenitalia" = "MM.typeEnumGenitalia",
12
+ "typeEnumMicroscopy" = "MM.typeEnumMicroscopy",
13
+ "typeEnumCarcass" = "MM.typeEnumCarcass",
14
+ "typeEnumSkeletal" = "MM.typeEnumSkeletal",
15
+ "typeEnumHabitat" = "MM.typeEnumHabitat",
16
+ "typeEnumLabel" = "MM.typeEnumLabel"
17
+ }
18
+ export enum LifeStages {
19
+ "empty" = "",
20
+ "lifeStageEgg" = "MY.lifeStageEgg",
21
+ "lifeStageLarva" = "MY.lifeStageLarva",
22
+ "lifeStagePupa" = "MY.lifeStagePupa",
23
+ "lifeStageJuvenile" = "MY.lifeStageJuvenile",
24
+ "lifeStageNymph" = "MY.lifeStageNymph",
25
+ "lifeStageSubimago" = "MY.lifeStageSubimago",
26
+ "lifeStageImmature" = "MY.lifeStageImmature",
27
+ "lifeStageAdult" = "MY.lifeStageAdult",
28
+ "lifeStageFertile" = "MY.lifeStageFertile",
29
+ "lifeStageSterile" = "MY.lifeStageSterile",
30
+ "lifeStageTadpole" = "MY.lifeStageTadpole",
31
+ "lifeStageEmbryo" = "MY.lifeStageEmbryo",
32
+ "lifeStageSubadult" = "MY.lifeStageSubadult",
33
+ "lifeStageMature" = "MY.lifeStageMature",
34
+ "lifeStagePullus" = "MY.lifeStagePullus",
35
+ "lifeStageHatchedEgg" = "MY.lifeStageHatchedEgg",
36
+ "lifeStageHatchedPupa" = "MY.lifeStageHatchedPupa",
37
+ "lifeStageGall" = "MY.lifeStageGall",
38
+ "lifeStageMarks" = "MY.lifeStageMarks",
39
+ "lifeStageTriungulin" = "MY.lifeStageTriungulin"
40
+ }
41
+ export enum PlantLifeStageEnum {
42
+ "empty" = "",
43
+ "plantLifeStageSterile" = "MY.plantLifeStageSterile",
44
+ "plantLifeStageFertile" = "MY.plantLifeStageFertile",
45
+ "plantLifeStageSeed" = "MY.plantLifeStageSeed",
46
+ "plantLifeStageSprout" = "MY.plantLifeStageSprout",
47
+ "plantLifeStageBud" = "MY.plantLifeStageBud",
48
+ "plantLifeStageFlower" = "MY.plantLifeStageFlower",
49
+ "plantLifeStageWitheredFlower" = "MY.plantLifeStageWitheredFlower",
50
+ "plantLifeStageRipeningFruit" = "MY.plantLifeStageRipeningFruit",
51
+ "plantLifeStageRipeFruit" = "MY.plantLifeStageRipeFruit",
52
+ "plantLifeStageDeadSprout" = "MY.plantLifeStageDeadSprout",
53
+ "plantLifeStageSubterranean" = "MY.plantLifeStageSubterranean"
54
+ }
55
+ export enum Sexes {
56
+ "empty" = "",
57
+ "sexM" = "MY.sexM",
58
+ "sexF" = "MY.sexF",
59
+ "sexW" = "MY.sexW",
60
+ "sexU" = "MY.sexU",
61
+ "sexN" = "MY.sexN",
62
+ "sexX" = "MY.sexX",
63
+ "sexE" = "MY.sexE",
64
+ "sexC" = "MY.sexC"
65
+ }
66
+ export enum IntellectualRightsEnum {
67
+ "intellectualRightsCC-BY-SA-4.0" = "MZ.intellectualRightsCC-BY-SA-4.0",
68
+ "intellectualRightsCC-BY-NC-4.0" = "MZ.intellectualRightsCC-BY-NC-4.0",
69
+ "intellectualRightsCC-BY-NC-SA-4.0" = "MZ.intellectualRightsCC-BY-NC-SA-4.0",
70
+ "intellectualRightsCC-BY-4.0" = "MZ.intellectualRightsCC-BY-4.0",
71
+ "intellectualRightsCC0-4.0" = "MZ.intellectualRightsCC0-4.0",
72
+ "intellectualRightsODBL-1.0" = "MZ.intellectualRightsODBL-1.0",
73
+ "intellectualRightsPD" = "MZ.intellectualRightsPD",
74
+ "intellectualRightsARR" = "MZ.intellectualRightsARR",
75
+ "intellectualRightsCC-BY-2.0" = "MZ.intellectualRightsCC-BY-2.0",
76
+ "intellectualRightsCC-BY-SA-2.0" = "MZ.intellectualRightsCC-BY-SA-2.0",
77
+ "intellectualRightsCC-BY-SA-2.0-DE" = "MZ.intellectualRightsCC-BY-SA-2.0-DE",
78
+ "intellectualRightsCC-BY-NC-2.0" = "MZ.intellectualRightsCC-BY-NC-2.0",
79
+ "intellectualRightsCC-BY-NC-SA-2.0" = "MZ.intellectualRightsCC-BY-NC-SA-2.0",
80
+ "intellectualRightsCC-BY-NC-ND-2.0" = "MZ.intellectualRightsCC-BY-NC-ND-2.0",
81
+ "intellectualRightsCC-BY-SA-2.5" = "MZ.intellectualRightsCC-BY-SA-2.5",
82
+ "intellectualRightsCC-BY-SA-2.5-SE" = "MZ.intellectualRightsCC-BY-SA-2.5-SE",
83
+ "intellectualRightsCC-BY-3.0" = "MZ.intellectualRightsCC-BY-3.0",
84
+ "intellectualRightsCC-BY-SA-3.0" = "MZ.intellectualRightsCC-BY-SA-3.0",
85
+ "intellectualRightsCC-BY-NC-SA-3.0" = "MZ.intellectualRightsCC-BY-NC-SA-3.0",
86
+ "intellectualRightsCC-BY-ND-4.0" = "MZ.intellectualRightsCC-BY-ND-4.0",
87
+ "intellectualRightsCC-BY-NC-ND-4.0" = "MZ.intellectualRightsCC-BY-NC-ND-4.0",
88
+ "intellectualRightsCC-BY" = "MY.intellectualRightsCC-BY",
89
+ "intellectualRightsCC0" = "MY.intellectualRightsCC0"
90
+ }
91
+ export enum PublicityRestrictionsEnum {
92
+ "empty" = "",
93
+ "publicityRestrictionsPublic" = "MZ.publicityRestrictionsPublic",
94
+ "publicityRestrictionsProtected" = "MZ.publicityRestrictionsProtected",
95
+ "publicityRestrictionsPrivate" = "MZ.publicityRestrictionsPrivate"
96
+ }
97
+ export class Model {
98
+ "@context"?: string;
99
+ id?: string;
100
+ "@type"?: string;
101
+ "herbo:sortOrder"?: number;
102
+ caption?: string;
103
+ captureDateTime?: string;
104
+ capturerVerbatim?: string[];
105
+ documentURI?: string[];
106
+ fullResolutionMediaAvailable?: boolean;
107
+ highDetailModelURL?: string;
108
+ keyword?: string[];
109
+ lowDetailModelURL?: string;
110
+ originalFilename?: string;
111
+ primaryForTaxon?: string[];
112
+ sourceSystem: string;
113
+ taxonDescriptionCaption?: {
114
+ en?: string;
115
+ fi?: string;
116
+ sv?: string;
117
+ };
118
+ taxonURI?: string[];
119
+ taxonVerbatim?: string[];
120
+ thumbnailURL: string;
121
+ type?: TypeEnum;
122
+ uploadDateTime?: string;
123
+ uploadedBy?: string;
124
+ videoURL: string;
125
+ /**
126
+ * 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.
127
+ */
128
+ lifeStage?: LifeStages;
129
+ plantLifeStage?: PlantLifeStageEnum;
130
+ /**
131
+ * Sex of the individual(s)
132
+ */
133
+ sex?: Sexes;
134
+ intellectualOwner: string;
135
+ intellectualRights: IntellectualRightsEnum;
136
+ /**
137
+ * 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.
138
+ */
139
+ publicityRestrictions?: PublicityRestrictionsEnum;
140
+ sortOrder?: number;
141
+ }
@@ -0,0 +1,11 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export class Multimedia {
8
+ "@context"?: string;
9
+ id?: string;
10
+ "@type"?: string;
11
+ }
@@ -0,0 +1,83 @@
1
+ import { Document } from './index.dto';
2
+ import { DateRange } from './index.dto';
3
+ import { Reserve } from './index.dto';
4
+ /* tslint:disable */
5
+ /*
6
+ * This file was automatically generated.
7
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
8
+ * and run the command to regenerate this file.
9
+ */
10
+ export enum AccessibilityEnum {
11
+ "empty" = "",
12
+ "accessibilityEasy" = "MNP.accessibilityEasy",
13
+ "accessibilityModerate" = "MNP.accessibilityModerate",
14
+ "accessibilityDifficult" = "MNP.accessibilityDifficult"
15
+ }
16
+ export enum PriorityEnum {
17
+ "empty" = "",
18
+ "priority1" = "MNP.priority1",
19
+ "priority2" = "MNP.priority2",
20
+ "priority3" = "MNP.priority3",
21
+ "priority4" = "MNP.priority4",
22
+ "priority5" = "MNP.priority5"
23
+ }
24
+ export enum TagEnum {
25
+ "empty" = "",
26
+ "tagAccessibilityEasy" = "MNP.tagAccessibilityEasy",
27
+ "tagAccessibilityModerate" = "MNP.tagAccessibilityModerate",
28
+ "tagAccessibilityDifficult" = "MNP.tagAccessibilityDifficult",
29
+ "tagHabitatImportant" = "MNP.tagHabitatImportant",
30
+ "tagCensusRare" = "MNP.tagCensusRare",
31
+ "tagHabitatFarmland" = "MNP.tagHabitatFarmland",
32
+ "tagHabitatMire" = "MNP.tagHabitatMire",
33
+ "tagHabitatMountain" = "MNP.tagHabitatMountain",
34
+ "tagSuitable" = "MNP.tagSuitable"
35
+ }
36
+ export class NamedPlace {
37
+ "@context"?: string;
38
+ id?: string;
39
+ "@type"?: string;
40
+ acceptedDocument?: Document;
41
+ accessibility?: AccessibilityEnum;
42
+ active?: DateRange;
43
+ alternativeIDs?: string[];
44
+ /**
45
+ * Formal abbreviation. For Finnish eliömaakunnat, use Finnish abbreviation.
46
+ */
47
+ biogeographicalProvince?: string[];
48
+ birdAssociationArea?: string[];
49
+ collectionID?: string;
50
+ /**
51
+ * Persons who have rights to see and use the named places in their documents
52
+ */
53
+ editors?: string[];
54
+ /**
55
+ * Using GeoJSONs geometry object specification
56
+ */
57
+ geometry: {
58
+ [k: string]: unknown | undefined;
59
+ };
60
+ images?: string[];
61
+ locality?: string;
62
+ /**
63
+ * Informal description of the exact locality, e.g. '5 km NE of city X, under stone bridge'
64
+ */
65
+ localityDescription?: string;
66
+ municipality?: string[];
67
+ name: string;
68
+ notes?: string;
69
+ /**
70
+ * Persons who have full use access and rights to edit the named place
71
+ */
72
+ owners?: string[];
73
+ prepopulatedDocument?: Document;
74
+ priority?: PriorityEnum;
75
+ privateNotes?: string;
76
+ /**
77
+ * Is the named place publicaly available. (Defaults to false)
78
+ */
79
+ public?: boolean;
80
+ reserve?: Reserve;
81
+ tags?: TagEnum[];
82
+ taxonIDs?: string[];
83
+ }
@@ -0,0 +1,23 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export enum LanguageEnum {
8
+ "en" = "en",
9
+ "fi" = "fi",
10
+ "sv" = "sv"
11
+ }
12
+ export class News {
13
+ "@context"?: string;
14
+ id?: string;
15
+ "@type"?: string;
16
+ content: string;
17
+ eventDate: string;
18
+ language: LanguageEnum;
19
+ publishDate?: string;
20
+ targetIndividualIds?: string[];
21
+ targets?: string[];
22
+ title: string;
23
+ }
@@ -0,0 +1,24 @@
1
+ import { Annotation } from './index.dto';
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
+ export enum NotificationReasonEnum {
9
+ "empty" = "",
10
+ "notificationReasonOwnDocumentAnnotated" = "MHN.notificationReasonOwnDocumentAnnotated",
11
+ "notificationReasonAnnotatedDocumentAnnotated" = "MHN.notificationReasonAnnotatedDocumentAnnotated"
12
+ }
13
+ export class Notification {
14
+ "@context"?: string;
15
+ id?: string;
16
+ "@type"?: string;
17
+ annotation?: Annotation;
18
+ created: string;
19
+ friendRequest?: string;
20
+ friendRequestAccepted?: string;
21
+ notificationReason?: NotificationReasonEnum;
22
+ seen?: boolean;
23
+ toPerson: string;
24
+ }
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export enum TypeOfOccurrenceEnum {
8
+ "MX.doesNotOccur" = "MX.doesNotOccur",
9
+ "MX.typeOfOccurrenceOccurs" = "MX.typeOfOccurrenceOccurs",
10
+ "MX.typeOfOccurrenceStablePopulation" = "MX.typeOfOccurrenceStablePopulation",
11
+ "MX.typeOfOccurrenceCommon" = "MX.typeOfOccurrenceCommon",
12
+ "MX.typeOfOccurrenceRare" = "MX.typeOfOccurrenceRare",
13
+ "MX.typeOfOccurrenceVeryRare" = "MX.typeOfOccurrenceVeryRare",
14
+ "MX.typeOfOccurrenceVagrant" = "MX.typeOfOccurrenceVagrant",
15
+ "MX.typeOfOccurrenceRareVagrant" = "MX.typeOfOccurrenceRareVagrant",
16
+ "MX.typeOfOccurrenceMigrant" = "MX.typeOfOccurrenceMigrant",
17
+ "MX.typeOfOccurrenceImport" = "MX.typeOfOccurrenceImport",
18
+ "MX.typeOfOccurrenceAnthropogenic" = "MX.typeOfOccurrenceAnthropogenic",
19
+ "MX.typeOfOccurrenceNotEstablished" = "MX.typeOfOccurrenceNotEstablished",
20
+ "MX.typeOfOccurrenceExtirpated" = "MX.typeOfOccurrenceExtirpated",
21
+ "MX.typeOfOccurrenceOldRecords" = "MX.typeOfOccurrenceOldRecords",
22
+ "MX.typeOfOccurrenceUncertain" = "MX.typeOfOccurrenceUncertain",
23
+ "MX.typeOfOccurrenceSpontaneousOldResident" = "MX.typeOfOccurrenceSpontaneousOldResident",
24
+ "MX.typeOfOccurrenceSpontaneousNewResident" = "MX.typeOfOccurrenceSpontaneousNewResident",
25
+ "MX.typeOfOccurrenceAlienOldResident" = "MX.typeOfOccurrenceAlienOldResident",
26
+ "MX.typeOfOccurrenceSpontaneousNewEphemeral" = "MX.typeOfOccurrenceSpontaneousNewEphemeral",
27
+ "MX.typeOfOccurrenceSpontaneousNewEphemeralOnlyOld" = "MX.typeOfOccurrenceSpontaneousNewEphemeralOnlyOld",
28
+ "MX.typeOfOccurrenceSpontaneousOldFormerlyResidentPossiblyExtinct" = "MX.typeOfOccurrenceSpontaneousOldFormerlyResidentPossiblyExtinct",
29
+ "MX.typeOfOccurrenceSpontaneousOldFormerlyResidentExtinct" = "MX.typeOfOccurrenceSpontaneousOldFormerlyResidentExtinct",
30
+ "MX.typeOfOccurrenceAlienNewEphemeral" = "MX.typeOfOccurrenceAlienNewEphemeral",
31
+ "MX.typeOfOccurrenceAlienNewEphemeralOnlyold" = "MX.typeOfOccurrenceAlienNewEphemeralOnlyold",
32
+ "MX.typeOfOccurrenceAlienNewResident" = "MX.typeOfOccurrenceAlienNewResident",
33
+ "MX.typeOfOccurrenceAlienOldFormerlyResidentPossiblyExtinct" = "MX.typeOfOccurrenceAlienOldFormerlyResidentPossiblyExtinct",
34
+ "MX.typeOfOccurrenceAlienOldExtinct" = "MX.typeOfOccurrenceAlienOldExtinct",
35
+ "MX.typeOfOccurrenceSmallDegreeCultivatedOrigin" = "MX.typeOfOccurrenceSmallDegreeCultivatedOrigin",
36
+ "MX.typeOfOccurrenceNotableDegreeCultivatedOrigin" = "MX.typeOfOccurrenceNotableDegreeCultivatedOrigin",
37
+ "MX.typeOfOccurrenceCompletelyCultivatedOrigin" = "MX.typeOfOccurrenceCompletelyCultivatedOrigin",
38
+ "MX.typeOfOccurrenceOnlyCultivated" = "MX.typeOfOccurrenceOnlyCultivated",
39
+ "MX.typeOfOccurrenceMaxShortDistanceEscape" = "MX.typeOfOccurrenceMaxShortDistanceEscape",
40
+ "MX.typeOfOccurrenceMaxSoilImmigrant" = "MX.typeOfOccurrenceMaxSoilImmigrant",
41
+ "MX.typeOfOccurrenceMaxReplanted" = "MX.typeOfOccurrenceMaxReplanted",
42
+ "MX.typeOfOccurrenceMaxRelict" = "MX.typeOfOccurrenceMaxRelict",
43
+ "MX.typeOfOccurrenceNotEvaluated" = "MX.typeOfOccurrenceNotEvaluated",
44
+ "MX.typeOfOccurrenceRegularBreeder" = "MX.typeOfOccurrenceRegularBreeder",
45
+ "MX.typeOfOccurrenceIrregularBreeder" = "MX.typeOfOccurrenceIrregularBreeder",
46
+ "MX.typeOfOccurrencePassageMigrant" = "MX.typeOfOccurrencePassageMigrant",
47
+ "MX.typeOfOccurrenceBirdLifeCategoryA" = "MX.typeOfOccurrenceBirdLifeCategoryA",
48
+ "MX.typeOfOccurrenceBirdLifeCategoryB" = "MX.typeOfOccurrenceBirdLifeCategoryB",
49
+ "MX.typeOfOccurrenceBirdLifeCategoryC" = "MX.typeOfOccurrenceBirdLifeCategoryC",
50
+ "MX.typeOfOccurrenceBirdLifeCategoryD" = "MX.typeOfOccurrenceBirdLifeCategoryD",
51
+ "MX.typeOfOccurrenceBirdLifeCategoryE" = "MX.typeOfOccurrenceBirdLifeCategoryE",
52
+ "MX.typeOfOccurrenceOccursBasedOnOccurrences" = "MX.typeOfOccurrenceOccursBasedOnOccurrences"
53
+ }
54
+ export class Occurrence {
55
+ "@context"?: string;
56
+ id?: string;
57
+ "@type"?: string;
58
+ area: string;
59
+ notes?: string;
60
+ specimenURI?: string;
61
+ status: TypeOfOccurrenceEnum;
62
+ taxon: string;
63
+ threatened?: boolean;
64
+ year?: string;
65
+ }
@@ -0,0 +1,136 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export enum Explanations {
8
+ "empty" = "",
9
+ "abbreviation-explanationIndexHerbariorum" = "MOS.abbreviation-explanationIndexHerbariorum",
10
+ "abbreviation-explanationInsectAndSpiderCollectionsOfTheWorld" = "MOS.abbreviation-explanationInsectAndSpiderCollectionsOfTheWorld"
11
+ }
12
+ export class Organization {
13
+ "@context"?: string;
14
+ id?: string;
15
+ "@type"?: string;
16
+ /**
17
+ * Economic Operators Registration and Identification number for customs clearance, if needed.
18
+ */
19
+ EORINumber?: string;
20
+ /**
21
+ * Organisation website. Include http://
22
+ */
23
+ URL?: string;
24
+ /**
25
+ * Official code for this organization, if one exists
26
+ */
27
+ abbreviation?: string;
28
+ /**
29
+ * If organisation code is given, the source for it must be chosen.
30
+ */
31
+ abbreviationExplanation?: Explanations;
32
+ /**
33
+ * Filled in by ICT team
34
+ */
35
+ ad?: string;
36
+ /**
37
+ * Name of content/collection contact person for the organization.
38
+ */
39
+ contentContact?: string;
40
+ /**
41
+ * Name of the country as on a postal address.
42
+ */
43
+ country?: string;
44
+ /**
45
+ * Address and other contact details to be given for courier services, if different from normal postal address. Appears on transaction PDFs like formulated here.
46
+ */
47
+ courierAddress?: string;
48
+ /**
49
+ * Tags this organisation has
50
+ */
51
+ datasetID?: string[];
52
+ /**
53
+ * Last date for sending seed orders to this organization.
54
+ */
55
+ dateOrdersDue?: string;
56
+ editNotes?: string;
57
+ /**
58
+ * Contact email address for the organization, or address of a contact person.
59
+ */
60
+ email?: string;
61
+ /**
62
+ * Fax number, with country code
63
+ */
64
+ fax?: string;
65
+ /**
66
+ * Used for organisations that are not to be used (duplicates etc.)
67
+ */
68
+ hidden?: boolean;
69
+ /**
70
+ * Usually city name
71
+ */
72
+ locality?: string;
73
+ /**
74
+ * Web address where the logo of the organization is located. Used on Kotka transaction PDFs for now.
75
+ */
76
+ logo?: string;
77
+ /**
78
+ * Free-text notes
79
+ */
80
+ notes?: string;
81
+ /**
82
+ * Please see if the first level of the organization is pickable from a list. If not, only then write its name here. This is to avoid different spellings of the same organization. E.g. 'University of Sipoo'
83
+ */
84
+ organizationLevel1: {
85
+ en?: string;
86
+ fi?: string;
87
+ sv?: string;
88
+ };
89
+ /**
90
+ * e.g. 'Sipoo Natural History Museum' (belonging to the aforementioned university)
91
+ */
92
+ organizationLevel2?: {
93
+ en?: string;
94
+ fi?: string;
95
+ sv?: string;
96
+ };
97
+ /**
98
+ * e.g. 'Zoological Museum'
99
+ */
100
+ organizationLevel3?: {
101
+ en?: string;
102
+ fi?: string;
103
+ sv?: string;
104
+ };
105
+ /**
106
+ * e.g. 'Herpetology team'
107
+ */
108
+ organizationLevel4?: {
109
+ en?: string;
110
+ fi?: string;
111
+ sv?: string;
112
+ };
113
+ /**
114
+ * Phone number for organization or contact person, with country code.
115
+ */
116
+ phone?: string;
117
+ /**
118
+ * Insert only numbers, leave 'P.O. Box', 'PL' or such out.
119
+ */
120
+ postOfficeBox?: string;
121
+ postalCode?: string;
122
+ /**
123
+ * E.g. state or province; use only if needed in the postal address
124
+ */
125
+ region?: string;
126
+ streetAddress?: string;
127
+ contentContactID?: string[];
128
+ creator?: string;
129
+ dateCreated?: string;
130
+ dateEdited?: string;
131
+ editor?: string;
132
+ /**
133
+ * Team or organisation that owns the record and can edit it.
134
+ */
135
+ owner?: string;
136
+ }
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export enum IntellectualRightsEnum {
8
+ "intellectualRightsCC-BY-SA-4.0" = "MZ.intellectualRightsCC-BY-SA-4.0",
9
+ "intellectualRightsCC-BY-NC-4.0" = "MZ.intellectualRightsCC-BY-NC-4.0",
10
+ "intellectualRightsCC-BY-NC-SA-4.0" = "MZ.intellectualRightsCC-BY-NC-SA-4.0",
11
+ "intellectualRightsCC-BY-4.0" = "MZ.intellectualRightsCC-BY-4.0",
12
+ "intellectualRightsCC0-4.0" = "MZ.intellectualRightsCC0-4.0",
13
+ "intellectualRightsODBL-1.0" = "MZ.intellectualRightsODBL-1.0",
14
+ "intellectualRightsPD" = "MZ.intellectualRightsPD",
15
+ "intellectualRightsARR" = "MZ.intellectualRightsARR",
16
+ "intellectualRightsCC-BY-2.0" = "MZ.intellectualRightsCC-BY-2.0",
17
+ "intellectualRightsCC-BY-SA-2.0" = "MZ.intellectualRightsCC-BY-SA-2.0",
18
+ "intellectualRightsCC-BY-SA-2.0-DE" = "MZ.intellectualRightsCC-BY-SA-2.0-DE",
19
+ "intellectualRightsCC-BY-NC-2.0" = "MZ.intellectualRightsCC-BY-NC-2.0",
20
+ "intellectualRightsCC-BY-NC-SA-2.0" = "MZ.intellectualRightsCC-BY-NC-SA-2.0",
21
+ "intellectualRightsCC-BY-NC-ND-2.0" = "MZ.intellectualRightsCC-BY-NC-ND-2.0",
22
+ "intellectualRightsCC-BY-SA-2.5" = "MZ.intellectualRightsCC-BY-SA-2.5",
23
+ "intellectualRightsCC-BY-SA-2.5-SE" = "MZ.intellectualRightsCC-BY-SA-2.5-SE",
24
+ "intellectualRightsCC-BY-3.0" = "MZ.intellectualRightsCC-BY-3.0",
25
+ "intellectualRightsCC-BY-SA-3.0" = "MZ.intellectualRightsCC-BY-SA-3.0",
26
+ "intellectualRightsCC-BY-NC-SA-3.0" = "MZ.intellectualRightsCC-BY-NC-SA-3.0",
27
+ "intellectualRightsCC-BY-ND-4.0" = "MZ.intellectualRightsCC-BY-ND-4.0",
28
+ "intellectualRightsCC-BY-NC-ND-4.0" = "MZ.intellectualRightsCC-BY-NC-ND-4.0",
29
+ "intellectualRightsCC-BY" = "MY.intellectualRightsCC-BY",
30
+ "intellectualRightsCC0" = "MY.intellectualRightsCC0"
31
+ }
32
+ export enum PublicityRestrictionsEnum {
33
+ "empty" = "",
34
+ "publicityRestrictionsPublic" = "MZ.publicityRestrictionsPublic",
35
+ "publicityRestrictionsProtected" = "MZ.publicityRestrictionsProtected",
36
+ "publicityRestrictionsPrivate" = "MZ.publicityRestrictionsPrivate"
37
+ }
38
+ export class Pdf {
39
+ "@context"?: string;
40
+ id?: string;
41
+ "@type"?: string;
42
+ caption?: string;
43
+ documentURI?: string[];
44
+ fullURL: string;
45
+ keyword?: string[];
46
+ largeURL: string;
47
+ originalFilename?: string;
48
+ originalURL?: string;
49
+ pdfURL: string;
50
+ sourceSystem: string;
51
+ squareThumbnailURL: string;
52
+ thumbnailURL: string;
53
+ uploadDateTime?: string;
54
+ uploadedBy?: string;
55
+ intellectualOwner: string;
56
+ intellectualRights: IntellectualRightsEnum;
57
+ /**
58
+ * 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.
59
+ */
60
+ publicityRestrictions?: PublicityRestrictionsEnum;
61
+ }
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export enum PermitStatusEnum {
8
+ "empty" = "",
9
+ "permitStatusAvailable" = "HRA.permitStatusAvailable",
10
+ "permitStatusNotRequired" = "HRA.permitStatusNotRequired"
11
+ }
12
+ export enum PermitTypeEnum {
13
+ "empty" = "",
14
+ "permitTypePIC" = "HRA.permitTypePIC",
15
+ "permitTypeMAT" = "HRA.permitTypeMAT",
16
+ "permitTypeMTA" = "HRA.permitTypeMTA",
17
+ "permitCollectingPermit" = "HRA.permitCollectingPermit",
18
+ "permitTypeExportPermit" = "HRA.permitTypeExportPermit",
19
+ "permitTypeOther" = "HRA.permitTypeOther",
20
+ "permitTypeMemorandumOfUnderstanding" = "HRA.permitTypeMemorandumOfUnderstanding"
21
+ }
22
+ export class Permit {
23
+ "@context"?: string;
24
+ id?: string;
25
+ "@type"?: string;
26
+ permitEndDate?: string;
27
+ permitFile?: string;
28
+ permitNotes?: string;
29
+ permitStartDate?: string;
30
+ permitStatus?: PermitStatusEnum;
31
+ permitType?: PermitTypeEnum;
32
+ /**
33
+ * Which parent or larger collection this is part of.
34
+ */
35
+ isPartOf?: string;
36
+ }
@@ -0,0 +1,80 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export enum Roles {
8
+ "empty" = "",
9
+ "admin" = "MA.admin",
10
+ "securePortalUser" = "MA.securePortalUser",
11
+ "sensitiveInformationApprovalRequestHandler" = "MA.sensitiveInformationApprovalRequestHandler",
12
+ "taxonEditorUser" = "MA.taxonEditorUser",
13
+ "taxonEditorUserDescriptionWriterOnly" = "MA.taxonEditorUserDescriptionWriterOnly",
14
+ "haukkaUser" = "MA.haukkaUser",
15
+ "satelliteDataManagementUser" = "MA.satelliteDataManagementUser",
16
+ "invasivePortalAdmin" = "MA.invasivePortalAdmin",
17
+ "speciesChallengeAdmin" = "MA.speciesChallengeAdmin",
18
+ "luomusSpaceCalendarUser" = "MA.luomusSpaceCalendarUser",
19
+ "luomusSpaceOpeningTimesUser" = "MA.luomusSpaceOpeningTimesUser",
20
+ "taxonIdEditor" = "MA.taxonIdEditor"
21
+ }
22
+ export enum RequiredRolesEnum {
23
+ "empty" = "",
24
+ "expert" = "MMAN.expert",
25
+ "basic" = "MMAN.basic",
26
+ "owner" = "MMAN.owner",
27
+ "formAdmin" = "MMAN.formAdmin",
28
+ "ictAdmin" = "MMAN.ictAdmin"
29
+ }
30
+ export enum RoleKotkaEnum {
31
+ "empty" = "",
32
+ "admin" = "MA.admin",
33
+ "advanced" = "MA.advanced",
34
+ "member" = "MA.member",
35
+ "guest" = "MA.guest"
36
+ }
37
+ export class Person {
38
+ "@context"?: string;
39
+ id?: string;
40
+ "@type"?: string;
41
+ LTKMLoginName?: string;
42
+ address?: string;
43
+ appleLoginName?: string;
44
+ defaultLanguage?: string;
45
+ defaultQNamePrefix?: string;
46
+ description?: string;
47
+ emailAddress: string;
48
+ facebookLoginName?: string;
49
+ fieldjournalLoginName?: string[];
50
+ firstJoined?: string;
51
+ fullName: string;
52
+ givenNames?: string;
53
+ googleLoginName?: string;
54
+ /**
55
+ * Group, membership or any other way that allows the user to distinguish themselves from people with the same name
56
+ */
57
+ group?: string;
58
+ hakaLoginName?: string;
59
+ hatikkaLoginName?: string[];
60
+ inaturalistLoginName?: string;
61
+ inheritedName?: string;
62
+ insectDatabaseLoginName?: string[];
63
+ kastikkaUserName?: string[];
64
+ lajiAuthLoginName?: string;
65
+ lintuvaaraLoginName?: string[];
66
+ omariistaLoginName?: string;
67
+ organisation?: string[];
68
+ /**
69
+ * Lists all organisations that this user administrates (can grant access to PAP and add users to this organisation)
70
+ */
71
+ organisationAdmin?: string[];
72
+ preferredName?: string;
73
+ previousEmailAddress?: string[];
74
+ role?: Roles[];
75
+ roleAnnotation?: RequiredRolesEnum;
76
+ roleKotka?: RoleKotkaEnum;
77
+ securePortalUserRoleExpires?: string;
78
+ virtuLoginName?: string;
79
+ yearOfBirth?: string;
80
+ }
@@ -0,0 +1,11 @@
1
+ /* tslint:disable */
2
+ /*
3
+ * This file was automatically generated.
4
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
+ * and run the command to regenerate this file.
6
+ */
7
+ export class Pinkka {
8
+ "@context"?: string;
9
+ id?: string;
10
+ "@type"?: string;
11
+ }