n8n-nodes-academyfive-api 0.0.1-beta

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 (120) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +9 -0
  3. package/dist/credentials/AcademyFiveCredentialsApi.credentials.d.ts +10 -0
  4. package/dist/credentials/AcademyFiveCredentialsApi.credentials.js +53 -0
  5. package/dist/credentials/AcademyFiveCredentialsApi.credentials.js.map +1 -0
  6. package/dist/credentials/simovative.svg +5 -0
  7. package/dist/nodes/AcademyFive/AcademyFive.node.d.ts +10 -0
  8. package/dist/nodes/AcademyFive/AcademyFive.node.js +184 -0
  9. package/dist/nodes/AcademyFive/AcademyFive.node.js.map +1 -0
  10. package/dist/nodes/AcademyFive/AcademyFive.node.json +6 -0
  11. package/dist/nodes/AcademyFive/MapToRequestUtils.d.ts +24 -0
  12. package/dist/nodes/AcademyFive/MapToRequestUtils.js +245 -0
  13. package/dist/nodes/AcademyFive/MapToRequestUtils.js.map +1 -0
  14. package/dist/nodes/AcademyFive/NodeConfigUtils.d.ts +5 -0
  15. package/dist/nodes/AcademyFive/NodeConfigUtils.js +50 -0
  16. package/dist/nodes/AcademyFive/NodeConfigUtils.js.map +1 -0
  17. package/dist/nodes/AcademyFive/SchemaResolver.d.ts +12 -0
  18. package/dist/nodes/AcademyFive/SchemaResolver.js +205 -0
  19. package/dist/nodes/AcademyFive/SchemaResolver.js.map +1 -0
  20. package/dist/nodes/AcademyFive/SpecGeneratorUtils.d.ts +11 -0
  21. package/dist/nodes/AcademyFive/SpecGeneratorUtils.js +106 -0
  22. package/dist/nodes/AcademyFive/SpecGeneratorUtils.js.map +1 -0
  23. package/dist/nodes/AcademyFive/SpecMapper.d.ts +61 -0
  24. package/dist/nodes/AcademyFive/SpecMapper.js +385 -0
  25. package/dist/nodes/AcademyFive/SpecMapper.js.map +1 -0
  26. package/dist/nodes/AcademyFive/simovative.svg +5 -0
  27. package/dist/nodes/AcademyFive/types.d.ts +34 -0
  28. package/dist/nodes/AcademyFive/types.js +19 -0
  29. package/dist/nodes/AcademyFive/types.js.map +1 -0
  30. package/dist/package.json +66 -0
  31. package/dist/specs/ac5.json +1 -0
  32. package/dist/specs/schemas/src/Api/AccessGroups/Schema/AccessGroupsGetPaginatedSchema.json +94 -0
  33. package/dist/specs/schemas/src/Api/AccessGroups/Schema/AccessGroupsGetSchema.json +66 -0
  34. package/dist/specs/schemas/src/Api/Bookings/Handler/BookingsPatchSchema.json +150 -0
  35. package/dist/specs/schemas/src/Api/Bookings/StatisticAustria/Handler/BookingStatisticAustriaPatchSchema.json +111 -0
  36. package/dist/specs/schemas/src/Api/Bookings/StatisticAustria/Handler/BookingStatisticAustriaPostSchema.json +113 -0
  37. package/dist/specs/schemas/src/Api/Cohorts/Schema/CohortsGetPaginatedSchema.json +83 -0
  38. package/dist/specs/schemas/src/Api/Colors/Schema/ColorsListGetSchema.json +50 -0
  39. package/dist/specs/schemas/src/Api/Common/Model/Validation/ValidationErrorSchema.json +29 -0
  40. package/dist/specs/schemas/src/Api/Company/Handler/CompanyPostSchema.json +77 -0
  41. package/dist/specs/schemas/src/Api/Company/Handler/CompanyPutSchema.json +84 -0
  42. package/dist/specs/schemas/src/Api/CourseSeriesLecturer/Handler/CourseSeriesLecturerPostSchema.json +113 -0
  43. package/dist/specs/schemas/src/Api/CourseTicket/Handler/CourseTicketsPostV2Schema.json +162 -0
  44. package/dist/specs/schemas/src/Api/DataSourceAreas/Handler/DataSourceAreasPatchSchema.json +84 -0
  45. package/dist/specs/schemas/src/Api/DataSourceAreas/Handler/DataSourceAreasPostSchema.json +151 -0
  46. package/dist/specs/schemas/src/Api/DataSourceFieldOptionGroupRestrictions/Handler/DataSourceFieldOptionGroupRestrictionsPatchSchema.json +107 -0
  47. package/dist/specs/schemas/src/Api/DataSourceFieldOptionGroupRestrictions/Handler/DataSourceFieldOptionGroupRestrictionsPostSchema.json +107 -0
  48. package/dist/specs/schemas/src/Api/DataSourceFieldOptionGroups/Handler/DataSourceFieldOptionGroupsPatchSchema.json +88 -0
  49. package/dist/specs/schemas/src/Api/DataSourceFieldOptionGroups/Handler/DataSourceFieldOptionGroupsPostSchema.json +89 -0
  50. package/dist/specs/schemas/src/Api/DataSourceFieldOptionValues/Handler/DataSourceFieldOptionValuesPatchSchema.json +54 -0
  51. package/dist/specs/schemas/src/Api/DataSourceFieldOptionValues/Handler/DataSourceFieldOptionValuesPostSchema.json +87 -0
  52. package/dist/specs/schemas/src/Api/DataSourceFields/Handler/DataSourceFieldsPatchSchema.json +242 -0
  53. package/dist/specs/schemas/src/Api/DataSourceFields/Handler/DataSourceFieldsPostSchema.json +357 -0
  54. package/dist/specs/schemas/src/Api/DataSourceRecords/Handler/DataSourceRecordsDeleteSchema.json +16 -0
  55. package/dist/specs/schemas/src/Api/DataSourceRecords/Handler/DataSourceRecordsPutBulkSchema.json +42 -0
  56. package/dist/specs/schemas/src/Api/DataSourceTabs/Handler/DataSourceTabsPostSchema.json +85 -0
  57. package/dist/specs/schemas/src/Api/DataSources/Handler/DataSourcesPostSchema.json +61 -0
  58. package/dist/specs/schemas/src/Api/Documents/Handler/DocumentsPostSchema.json +61 -0
  59. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventDatePatchSchema.json +159 -0
  60. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventDatePostSchema.json +335 -0
  61. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventSeriesCustomPatchSchema.json +837 -0
  62. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventSeriesCustomPostSchema.json +288 -0
  63. package/dist/specs/schemas/src/Api/EventSeries/Handler/EventSeriesPostSchema.json +514 -0
  64. package/dist/specs/schemas/src/Api/GkvPendingMessages/Handler/GkvPendingMessagesPatchBulkSchema.json +64 -0
  65. package/dist/specs/schemas/src/Api/GkvPendingMessages/Handler/GkvPendingMessagesPatchSchema.json +120 -0
  66. package/dist/specs/schemas/src/Api/GkvPendingMessages/Handler/GkvPendingMessagesPostSchema.json +117 -0
  67. package/dist/specs/schemas/src/Api/GkvPendingMessages/Handler/GkvPendingMessagesSelectProfileSchema.json +47 -0
  68. package/dist/specs/schemas/src/Api/GlobalFileSyncs/Handler/GlobalFileSyncsPatchSchema.json +63 -0
  69. package/dist/specs/schemas/src/Api/GradeAnnotation/Handler/GradeAnnotationPostSchema.json +98 -0
  70. package/dist/specs/schemas/src/Api/GradeAnnotation/Handler/GradeAnnotationPutSchema.json +105 -0
  71. package/dist/specs/schemas/src/Api/Grades/GradeAnnotationRelations/Handler/GradeAnnotationRelationsPostSchema.json +102 -0
  72. package/dist/specs/schemas/src/Api/Grades/ModuleGradeRecalculation/Schema/ModuleGradeRecalculationJobsGetSchema.json +89 -0
  73. package/dist/specs/schemas/src/Api/Grades/ModuleGradeRecalculation/Schema/ModuleGradeRecalculationJobsPostSchema.json +54 -0
  74. package/dist/specs/schemas/src/Api/Grades/Schema/GradesAttributeSchema.json +400 -0
  75. package/dist/specs/schemas/src/Api/Grades/Schema/GradesGetSchema.json +108 -0
  76. package/dist/specs/schemas/src/Api/Grades/Schema/GradesPatchSchema.json +112 -0
  77. package/dist/specs/schemas/src/Api/Grades/Schema/GradesPostSchema.json +950 -0
  78. package/dist/specs/schemas/src/Api/Grades/Schema/GradesRelationshipSchema.json +547 -0
  79. package/dist/specs/schemas/src/Api/HealthInsuranceInstitutes/Handler/HealthInsuranceInstitutesPatchSchema.json +71 -0
  80. package/dist/specs/schemas/src/Api/HealthInsuranceInstitutes/Handler/HealthInsuranceInstitutesPostSchema.json +73 -0
  81. package/dist/specs/schemas/src/Api/HealthInsuranceProfile/Handler/HealthInsuranceProfilePatchSchema.json +83 -0
  82. package/dist/specs/schemas/src/Api/HealthInsuranceProfile/Handler/HealthInsuranceProfilePostSchema.json +38 -0
  83. package/dist/specs/schemas/src/Api/HealthInsuranceProfileCommunicationLog/Handler/HealthInsuranceProfileCommunicationLogPatchSchema.json +101 -0
  84. package/dist/specs/schemas/src/Api/HealthInsuranceProfileCommunicationLog/Handler/HealthInsuranceProfileCommunicationLogPostSchema.json +99 -0
  85. package/dist/specs/schemas/src/Api/Icons/Schema/IconsListGetSchema.json +50 -0
  86. package/dist/specs/schemas/src/Api/InvoiceCollections/Handler/InvoiceCollectionsFromInstallmentsPostSchema.json +49 -0
  87. package/dist/specs/schemas/src/Api/InvoiceQueueEntries/Handler/InvoiceQueueEntriesPostSchema.json +49 -0
  88. package/dist/specs/schemas/src/Api/Invoices/Handler/InvoicesPostSchema.json +182 -0
  89. package/dist/specs/schemas/src/Api/Invoices/Handler/InvoicesStatusChangePostSchema.json +55 -0
  90. package/dist/specs/schemas/src/Api/LecturerContractEmploymentAvailabilities/Handler/LecturerContractEmploymentAvailabilitiesPatchSchema.json +87 -0
  91. package/dist/specs/schemas/src/Api/LecturerContractEmploymentAvailabilities/Handler/LecturerContractEmploymentAvailabilitiesPostSchema.json +84 -0
  92. package/dist/specs/schemas/src/Api/LecturerContractEmployments/Handler/LecturerContractEmploymentsPatchSchema.json +103 -0
  93. package/dist/specs/schemas/src/Api/LecturerContractEmployments/Handler/LecturerContractEmploymentsPostSchema.json +153 -0
  94. package/dist/specs/schemas/src/Api/LecturerContracts/Handler/LecturerContractsPatchSchema.json +154 -0
  95. package/dist/specs/schemas/src/Api/LecturerContracts/Handler/LecturerContractsPostSchema.json +215 -0
  96. package/dist/specs/schemas/src/Api/OnlineExamEnrolments/Handler/OnlineExamEnrolmentsPostSchema.json +180 -0
  97. package/dist/specs/schemas/src/Api/Payment/Command/PaymentAddCommandSchema.json +51 -0
  98. package/dist/specs/schemas/src/Api/ProfessionalBackground/Handler/ProfessionalBackgroundPostSchema.json +104 -0
  99. package/dist/specs/schemas/src/Api/ProfessionalBackground/Handler/ProfessionalBackgroundPutSchema.json +113 -0
  100. package/dist/specs/schemas/src/Api/ProfileBankDetails/Handler/ProfileBankDetailsPatchSchema.json +56 -0
  101. package/dist/specs/schemas/src/Api/ProfileBankDetails/Handler/ProfileBankDetailsPostSchema.json +56 -0
  102. package/dist/specs/schemas/src/Api/Profiles/Handler/ProfilesPatchSchema.json +45 -0
  103. package/dist/specs/schemas/src/Api/Profiles/Schema/ProfilesGetSchema.json +0 -0
  104. package/dist/specs/schemas/src/Api/RequestFormProfileComments/Schema/RequestFormProfileCommentsPostSchema.json +98 -0
  105. package/dist/specs/schemas/src/Api/RequestFormProfiles/Schema/RequestFromProfilesPatchSchema.json +45 -0
  106. package/dist/specs/schemas/src/Api/RevenueAccounts/Handler/RevenueAccountsPatchSchema.json +151 -0
  107. package/dist/specs/schemas/src/Api/RevenueAccounts/Handler/RevenueAccountsPostSchema.json +151 -0
  108. package/dist/specs/schemas/src/Api/StatisticAustria/Handler/StatisticAustriaPatchSchema.json +115 -0
  109. package/dist/specs/schemas/src/Api/StatisticAustria/Handler/StatisticAustriaPostSchema.json +115 -0
  110. package/dist/specs/schemas/src/Api/StatisticValidations/Handler/StatisticValidationsPostSchema.json +37 -0
  111. package/dist/specs/schemas/src/Api/Submissions/StatusChange/Handler/SubmissionsStatusChangePostSchema.json +42 -0
  112. package/dist/specs/schemas/src/Api/TaskTypes/Schema/TaskTypesGetSchema.json +213 -0
  113. package/dist/specs/schemas/src/Api/TaskTypes/Schema/TaskTypesPatchSchema.json +195 -0
  114. package/dist/specs/schemas/src/Api/TaskTypes/Schema/TaskTypesPostSchema.json +208 -0
  115. package/dist/specs/schemas/src/Api/TranslationPlaceholders/Schema/TranslationPlaceholdersGetSchema.json +57 -0
  116. package/dist/specs/schemas/src/Api/ZensusSettings/Handler/ZensusSettingsPatchSchema.json +176 -0
  117. package/dist/specs/schemas/src/Api/ZensusSettings/Handler/ZensusSettingsPostSchema.json +170 -0
  118. package/dist/tsconfig.tsbuildinfo +1 -0
  119. package/index.js +0 -0
  120. package/package.json +66 -0
@@ -0,0 +1,837 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "EventSeriesCustom",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "eventseries",
12
+ "examples": [
13
+ "eventseries"
14
+ ]
15
+ },
16
+ "id": {
17
+ "type": "string",
18
+ "minimum": 1,
19
+ "maxLength": 20,
20
+ "minLength": 1,
21
+ "examples": [
22
+ "1"
23
+ ]
24
+ },
25
+ "attributes": {
26
+ "$ref": "#/definitions/eventSeries"
27
+ }
28
+ }
29
+ }
30
+ },
31
+
32
+ "definitions": {
33
+ "eventSeries": {
34
+ "anyOf": [
35
+ {
36
+ "$ref": "#/definitions/lectureEventSeriesSchema"
37
+ },
38
+ {
39
+ "$ref": "#/definitions/singularEventSeriesSchema"
40
+ },
41
+ {
42
+ "$ref": "#/definitions/examEventSeriesSchema"
43
+ }
44
+ ]
45
+ },
46
+
47
+ "lectureEventPatchSchema": {
48
+ "oneOf": [
49
+ {
50
+ "$ref": "#/definitions/specificPatchTimeSchema"
51
+ },
52
+ {
53
+ "$ref": "#/definitions/allDayPatchSchema"
54
+ }
55
+ ],
56
+ "properties": {
57
+ "id": {
58
+ "type": "string",
59
+ "description": "The id of the event date"
60
+ },
61
+ "op": {
62
+ "type": "string",
63
+ "description": "The operation on the event date, has to be 'update' in this context",
64
+ "examples": ["update"]
65
+ },
66
+ "teachingUnits": {
67
+ "type": "number",
68
+ "minimum": 0,
69
+ "description": "Amount of teaching units for this event",
70
+ "examples": [
71
+ 1.0,
72
+ 2.5,
73
+ 3.0
74
+ ]
75
+ },
76
+ "lectureSeriesPartId": {
77
+ "type": "integer",
78
+ "minimum": 1,
79
+ "examples": [
80
+ 1,
81
+ 2,
82
+ 3
83
+ ],
84
+ "description": "Id of the corresponding lectureSeriesPart. Note: The corresponding EventSeries needs to be of the type lecture. If the lectureSeries is split into parts, this field is required."
85
+ }
86
+ },
87
+ "required": [
88
+ "id",
89
+ "op"
90
+ ]
91
+ },
92
+
93
+ "baseEventPatchSchema": {
94
+ "allOf": [
95
+ {
96
+ "$ref": "#/definitions/_baseEventPatchSchema"
97
+ }
98
+ ]
99
+ },
100
+ "_baseEventPatchSchema": {
101
+ "properties": {
102
+ "planningStatusId": {
103
+ "type": "integer",
104
+ "minimum": 1,
105
+ "description": "Id of the in AC5 configured planing statuses",
106
+ "examples": [
107
+ 21,
108
+ 42
109
+ ]
110
+ },
111
+ "customEventTypeId": {
112
+ "type": "integer",
113
+ "minimum": 1,
114
+ "description": "Custom event type, configured in AC5",
115
+ "examples": [
116
+ 1,
117
+ 2,
118
+ 3
119
+ ]
120
+ },
121
+ "date": {
122
+ "type": "string",
123
+ "format": "date",
124
+ "description": "Date of event",
125
+ "examples": [
126
+ "2000-02-14"
127
+ ]
128
+ },
129
+ "roomIds": {
130
+ "type": "array",
131
+ "items": {
132
+ "type": "integer",
133
+ "minimum": 1
134
+ },
135
+ "description": "Ids of the rooms, configured in AC5",
136
+ "examples": [
137
+ [
138
+ 1,
139
+ 2,
140
+ 3
141
+ ],
142
+ [
143
+ 21,
144
+ 23,
145
+ 42
146
+ ]
147
+ ]
148
+ },
149
+ "lecturerIds": {
150
+ "type": "array",
151
+ "items": {
152
+ "type": "integer",
153
+ "minimum": 1
154
+ },
155
+ "description": "ProfileIds of the lecturers",
156
+ "examples": [
157
+ [
158
+ 1,
159
+ 2,
160
+ 3
161
+ ],
162
+ [
163
+ 9,
164
+ 8,
165
+ 7
166
+ ]
167
+ ]
168
+ },
169
+ "planningGroupIds": {
170
+ "type": "array",
171
+ "items": {
172
+ "type": "integer",
173
+ "minimum": 1
174
+ },
175
+ "description": "Ids of the planning groups, configured in AC5",
176
+ "examples": [
177
+ [
178
+ 1,
179
+ 2,
180
+ 3
181
+ ],
182
+ [
183
+ 9,
184
+ 8,
185
+ 7
186
+ ]
187
+ ]
188
+ },
189
+ "comment": {
190
+ "type": "string",
191
+ "description": "Free text field",
192
+ "examples": [
193
+ "Bacon ipsum dolor amet t-bone bresaola short loin shank, strip steak ribeye swine jowl."
194
+ ]
195
+ },
196
+ "comment2": {
197
+ "type": "string",
198
+ "description": "Additional free text field",
199
+ "examples": [
200
+ "Bacon ipsum dolor amet t-bone."
201
+ ]
202
+ },
203
+ "customId": {
204
+ "type": "string",
205
+ "description": "Custom id",
206
+ "maxLength": 255,
207
+ "examples": [
208
+ "ID47"
209
+ ]
210
+ },
211
+ "link": {
212
+ "type": "string",
213
+ "description": "Free text field",
214
+ "examples": [
215
+ "https://www.simovative.com"
216
+ ]
217
+ },
218
+ "linkLabel": {
219
+ "type": "string",
220
+ "description": "the label for the link",
221
+ "examples": [
222
+ "zoomlink"
223
+ ]
224
+ }
225
+ }
226
+ },
227
+
228
+ "lectureEventDatePostSchema": {
229
+ "allOf": [
230
+ {
231
+ "$ref": "#/definitions/lectureEventPostSchema"
232
+ },
233
+ {
234
+ "$ref": "#/definitions/baseEventPostSchema"
235
+ }
236
+ ]
237
+ },
238
+
239
+ "lectureEventDatePatchSchema": {
240
+ "allOf": [
241
+ {
242
+ "$ref": "#/definitions/lectureEventPatchSchema"
243
+ },
244
+ {
245
+ "$ref": "#/definitions/baseEventPatchSchema"
246
+ }
247
+ ]
248
+ },
249
+
250
+ "lectureEventPostSchema": {
251
+ "oneOf": [
252
+ {
253
+ "$ref": "EventDatePostSchema.json#/definitions/specificTimeSchema"
254
+ },
255
+ {
256
+ "$ref": "EventDatePostSchema.json#/definitions/allDaySchema"
257
+ }
258
+ ],
259
+ "properties": {
260
+ "op": {
261
+ "type": "string",
262
+ "description": "The operation on the event date, has to be 'add' in this context",
263
+ "examples": ["add"]
264
+ },
265
+ "teachingUnits": {
266
+ "type": "number",
267
+ "minimum": 0,
268
+ "description": "Amount of teaching units for this event",
269
+ "examples": [
270
+ 1.0,
271
+ 2.5,
272
+ 3.0
273
+ ]
274
+ },
275
+ "lectureSeriesPartId": {
276
+ "type": "integer",
277
+ "minimum": 1,
278
+ "examples": [
279
+ 1,
280
+ 2,
281
+ 3
282
+ ],
283
+ "description": "Id of the corresponding lectureSeriesPart. Note: The corresponding EventSeries needs to be of the type lecture. If the lectureSeries is split into parts, this field is required."
284
+ }
285
+ },
286
+ "required": [
287
+ "teachingUnits",
288
+ "op"
289
+ ]
290
+ },
291
+ "baseEventPostSchema": {
292
+ "properties": {
293
+ "planningStatusId": {
294
+ "type": "integer",
295
+ "minimum": 1,
296
+ "description": "Id of the in AC5 configured planing statuses",
297
+ "examples": [
298
+ 21,
299
+ 42
300
+ ]
301
+ },
302
+ "customEventTypeId": {
303
+ "type": "integer",
304
+ "minimum": 1,
305
+ "description": "Custom event type, configured in AC5",
306
+ "examples": [
307
+ 1,
308
+ 2,
309
+ 3
310
+ ]
311
+ },
312
+ "date": {
313
+ "type": "string",
314
+ "format": "date",
315
+ "description": "Date of event",
316
+ "examples": [
317
+ "2000-02-14"
318
+ ]
319
+ },
320
+ "roomIds": {
321
+ "type": "array",
322
+ "items": {
323
+ "type": "integer",
324
+ "minimum": 1
325
+ },
326
+ "description": "Ids of the rooms, configured in AC5",
327
+ "examples": [
328
+ [
329
+ 1,
330
+ 2,
331
+ 3
332
+ ],
333
+ [
334
+ 21,
335
+ 23,
336
+ 42
337
+ ]
338
+ ]
339
+ },
340
+ "lecturerIds": {
341
+ "type": "array",
342
+ "items": {
343
+ "type": "integer",
344
+ "minimum": 1
345
+ },
346
+ "description": "ProfileIds of the lecturers",
347
+ "examples": [
348
+ [
349
+ 1,
350
+ 2,
351
+ 3
352
+ ],
353
+ [
354
+ 9,
355
+ 8,
356
+ 7
357
+ ]
358
+ ]
359
+ },
360
+ "planningGroupIds": {
361
+ "type": "array",
362
+ "items": {
363
+ "type": "integer",
364
+ "minimum": 1
365
+ },
366
+ "description": "Ids of the planning groups, configured in AC5",
367
+ "examples": [
368
+ [
369
+ 1,
370
+ 2,
371
+ 3
372
+ ],
373
+ [
374
+ 9,
375
+ 8,
376
+ 7
377
+ ]
378
+ ]
379
+ },
380
+ "comment": {
381
+ "type": "string",
382
+ "description": "Free text field",
383
+ "examples": [
384
+ "Bacon ipsum dolor amet t-bone bresaola short loin shank, strip steak ribeye swine jowl."
385
+ ]
386
+ },
387
+ "customId": {
388
+ "type": "string",
389
+ "description": "Custom id",
390
+ "maxLength": 255,
391
+ "examples": [
392
+ "ID47"
393
+ ]
394
+ },
395
+ "link": {
396
+ "type": "string",
397
+ "description": "Free text field",
398
+ "examples": [
399
+ "https://www.simovative.com"
400
+ ]
401
+ },
402
+ "linkLabel": {
403
+ "type": "string",
404
+ "description": "the label for the link",
405
+ "examples": [
406
+ "zoomlink"
407
+ ]
408
+ }
409
+ },
410
+ "required": [
411
+ "planningStatusId",
412
+ "customEventTypeId",
413
+ "date"
414
+ ]
415
+ },
416
+
417
+ "baseEventDateDeleteSchema": {
418
+ "type": "object",
419
+ "properties": {
420
+ "id": {
421
+ "type": "string",
422
+ "description": "The event date id to delete",
423
+ "examples": ["1"]
424
+ },
425
+ "op": {
426
+ "type": "string",
427
+ "description": "The operation on the event date, has to be 'delete' in this context",
428
+ "examples": ["delete"]
429
+ }
430
+ },
431
+ "required": [
432
+ "id",
433
+ "op"
434
+ ]
435
+ },
436
+
437
+ "examEventDatePostSchema": {
438
+ "allOf": [
439
+ {
440
+ "$ref": "#/definitions/examEventPostSchema"
441
+ },
442
+ {
443
+ "$ref": "EventDatePostSchema.json#/definitions/baseSchema"
444
+ }
445
+ ]
446
+ },
447
+
448
+ "examEventPostSchema": {
449
+ "oneOf": [
450
+ {
451
+ "$ref": "EventDatePostSchema.json#/definitions/specificTimeSchema"
452
+ },
453
+ {
454
+ "$ref": "EventDatePostSchema.json#/definitions/allDaySchema"
455
+ }
456
+ ],
457
+ "properties": {
458
+ "op": {
459
+ "type": "string",
460
+ "description": "The operation on the event date, has to be 'add' in this context",
461
+ "examples": [
462
+ "add"
463
+ ]
464
+ },
465
+ "assessorIds": {
466
+ "type": "array",
467
+ "items": {
468
+ "type": "integer",
469
+ "minimum": 1
470
+ },
471
+ "description": "ProfileIds of the assessors",
472
+ "examples": [
473
+ [
474
+ 1,
475
+ 2,
476
+ 3
477
+ ],
478
+ [
479
+ 9,
480
+ 8,
481
+ 7
482
+ ]
483
+ ]
484
+ }
485
+ },
486
+ "required": [
487
+ "op"
488
+ ]
489
+ },
490
+
491
+ "examEventDatePatchSchema": {
492
+ "allOf": [
493
+ {
494
+ "$ref": "#/definitions/examEventPatchSchema"
495
+ },
496
+ {
497
+ "$ref": "#/definitions/baseEventPatchSchema"
498
+ }
499
+ ]
500
+ },
501
+
502
+ "examEventPatchSchema": {
503
+ "oneOf": [
504
+ {
505
+ "$ref": "#/definitions/specificPatchTimeSchema"
506
+ },
507
+ {
508
+ "$ref": "#/definitions/allDayPatchSchema"
509
+ }
510
+ ],
511
+ "properties": {
512
+ "id": {
513
+ "type": "string",
514
+ "description": "The id of the event date",
515
+ "examples": [
516
+ "1"
517
+ ]
518
+ },
519
+ "op": {
520
+ "type": "string",
521
+ "description": "The operation on the event date, has to be update in this case",
522
+ "examples": [
523
+ "update"
524
+ ]
525
+ },
526
+ "assessorIds": {
527
+ "type": "array",
528
+ "items": {
529
+ "type": "integer",
530
+ "minimum": 1
531
+ },
532
+ "description": "ProfileIds of the assessors",
533
+ "examples": [
534
+ [
535
+ 1,
536
+ 2,
537
+ 3
538
+ ],
539
+ [
540
+ 9,
541
+ 8,
542
+ 7
543
+ ]
544
+ ]
545
+ }
546
+ },
547
+ "required": [
548
+ "id",
549
+ "op"
550
+ ]
551
+ },
552
+
553
+ "lectureEventSeriesSchema": {
554
+ "anyOf": [
555
+ {
556
+ "properties": {
557
+ "eventDates": {
558
+ "type": "array",
559
+ "minItems": 1,
560
+ "maxItems": 750,
561
+ "description": "Array of eventDates to add based on type lecture. minItems: 1",
562
+ "items": {
563
+ "$ref": "#/definitions/lectureEventDatePostSchema"
564
+ }
565
+ }
566
+ }
567
+ },
568
+ {
569
+ "properties": {
570
+ "eventDates": {
571
+ "type": "array",
572
+ "minItems": 1,
573
+ "maxItems": 750,
574
+ "description": "Array of eventDates to update based on type lecture. minItems: 1",
575
+ "items": {
576
+ "$ref": "#/definitions/lectureEventDatePatchSchema"
577
+ }
578
+ }
579
+ }
580
+ },
581
+ {
582
+ "$ref": "#/definitions/eventDateDeleteSchema"
583
+ }
584
+ ]
585
+ },
586
+
587
+ "singularEventSeriesSchema": {
588
+ "anyOf": [
589
+ {
590
+ "properties": {
591
+ "eventDates": {
592
+ "type": "array",
593
+ "minItems": 1,
594
+ "maxItems": 750,
595
+ "description": "Array of eventDates based on type singular. minItems: 1",
596
+ "items": {
597
+ "$ref": "#/definitions/singleEventDatePostSchema"
598
+ }
599
+ }
600
+ }
601
+ },
602
+ {
603
+ "properties": {
604
+ "eventDates": {
605
+ "type": "array",
606
+ "minItems": 1,
607
+ "maxItems": 750,
608
+ "description": "Array of eventDates based on type singular. minItems: 1",
609
+ "items": {
610
+ "$ref": "#/definitions/singleEventDatePatchSchema"
611
+ }
612
+ }
613
+ }
614
+ },
615
+ {
616
+ "$ref": "#/definitions/eventDateDeleteSchema"
617
+ }
618
+ ]
619
+ },
620
+
621
+ "singleEventDatePostSchema": {
622
+ "allOf": [
623
+ {
624
+ "$ref": "#/definitions/singleEventPostSchema"
625
+ },
626
+ {
627
+ "$ref": "EventDatePostSchema.json#/definitions/baseSchema"
628
+ }
629
+ ]
630
+ },
631
+ "singleEventPostSchema": {
632
+ "oneOf": [
633
+ {
634
+ "$ref": "EventDatePostSchema.json#/definitions/specificTimeSchema"
635
+ },
636
+ {
637
+ "$ref": "EventDatePostSchema.json#/definitions/allDaySchema"
638
+ }
639
+ ],
640
+ "properties": {
641
+ "title": {
642
+ "type": "string",
643
+ "description": "Title of the event, only needed if event is not based on a lecture or exam",
644
+ "examples": [
645
+ "Rehearsal of the singing club"
646
+ ]
647
+ },
648
+ "op": {
649
+ "type": "string",
650
+ "description": "The operation on the event date, has to be 'add' in this context",
651
+ "examples": [
652
+ "add"
653
+ ]
654
+ }
655
+ },
656
+ "required": [
657
+ "title",
658
+ "op"
659
+ ]
660
+ },
661
+
662
+ "singleEventDatePatchSchema": {
663
+ "allOf": [
664
+ {
665
+ "$ref": "#/definitions/singleEventPatchSchema"
666
+ },
667
+ {
668
+ "$ref": "#/definitions/baseEventPatchSchema"
669
+ }
670
+ ]
671
+ },
672
+
673
+ "singleEventPatchSchema": {
674
+ "oneOf": [
675
+ {
676
+ "$ref": "#/definitions/specificPatchTimeSchema"
677
+ },
678
+ {
679
+ "$ref": "#/definitions/allDayPatchSchema"
680
+ }
681
+ ],
682
+ "properties": {
683
+ "id": {
684
+ "type": "string",
685
+ "description": "The id of the event date",
686
+ "examples": [
687
+ "1"
688
+ ]
689
+ },
690
+ "op": {
691
+ "type": "string",
692
+ "description": "The operation on the event date, has to be 'update' in this context",
693
+ "examples": [
694
+ "update"
695
+ ]
696
+ },
697
+ "title": {
698
+ "type": "string",
699
+ "description": "Title of the event, only needed if event is not based on a lecture or exam",
700
+ "examples": [
701
+ "Rehearsal of the singing club"
702
+ ]
703
+ }
704
+ },
705
+ "required": [
706
+ "id",
707
+ "op"
708
+ ]
709
+ },
710
+
711
+ "examEventSeriesSchema": {
712
+ "anyOf": [{
713
+ "properties": {
714
+ "eventDates": {
715
+ "type": "array",
716
+ "minItems": 1,
717
+ "maxItems": 1,
718
+ "description": "Array of eventDates based on type exam. minItems: 1, maxItems:1",
719
+ "items": {
720
+ "$ref": "#/definitions/examEventDatePostSchema"
721
+ }
722
+ }
723
+ }
724
+ },
725
+ {
726
+ "properties": {
727
+ "eventDates": {
728
+ "type": "array",
729
+ "minItems": 1,
730
+ "maxItems": 1,
731
+ "description": "Array of eventDates based on type exam. minItems: 1, maxItems:1",
732
+ "items": {
733
+ "$ref": "#/definitions/examEventDatePatchSchema"
734
+ }
735
+ }
736
+ }
737
+ },
738
+ {
739
+ "$ref": "#/definitions/eventDateDeleteSchema"
740
+ }
741
+ ]
742
+
743
+
744
+ },
745
+
746
+ "eventDateDeleteSchema": {
747
+ "properties": {
748
+ "eventDates": {
749
+ "type": "array",
750
+ "minItems": 1,
751
+ "maxItems": 750,
752
+ "description": "Array of eventDates to delete. minItems: 1",
753
+ "items": {
754
+ "type": "object",
755
+ "properties": {
756
+ "id": {
757
+ "type": "string",
758
+ "description": "The event date id to delete",
759
+ "examples": ["1"]
760
+ },
761
+ "op": {
762
+ "type": "string",
763
+ "description": "The operation on the event date, has to be 'delete' in this context",
764
+ "examples": ["delete"]
765
+ }
766
+ },
767
+ "required": [
768
+ "id",
769
+ "op"
770
+ ]
771
+ }
772
+ }
773
+ }
774
+ },
775
+
776
+ "specificPatchTimeSchema": {
777
+ "allOf": [
778
+ {
779
+ "$ref": "#/definitions/_specificPatchTimeSchema"
780
+ }
781
+ ]
782
+ },
783
+ "_specificPatchTimeSchema": {
784
+ "properties": {
785
+ "allDay": {
786
+ "type": "boolean",
787
+ "enum": [
788
+ false
789
+ ],
790
+ "description": "If false the start and end time is required",
791
+ "examples": [
792
+ false
793
+ ]
794
+ },
795
+ "startTime": {
796
+ "type": "string",
797
+ "format": "time",
798
+ "description": "The start time of the event, for example 12:00:00",
799
+ "examples": [
800
+ "12:00:00",
801
+ "12:15:00"
802
+ ]
803
+ },
804
+ "endTime": {
805
+ "type": "string",
806
+ "format": "time",
807
+ "description": "The end time of the event, for example 14:00:00",
808
+ "examples": [
809
+ "14:00:00",
810
+ "14:15:00"
811
+ ]
812
+ }
813
+ }
814
+ },
815
+ "allDayPatchSchema": {
816
+ "allOf": [
817
+ {
818
+ "$ref": "#/definitions/_allDayPatchSchema"
819
+ }
820
+ ]
821
+ },
822
+ "_allDayPatchSchema": {
823
+ "properties": {
824
+ "allDay": {
825
+ "type": "boolean",
826
+ "enum": [
827
+ true
828
+ ],
829
+ "description": "If true the start and end time are automatically set to 00:00:00 and 23:59:00 respectively",
830
+ "examples": [
831
+ true
832
+ ]
833
+ }
834
+ }
835
+ }
836
+ }
837
+ }