n8n-nodes-academyfive-api-beta 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,950 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "Grade",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "allOf": [
9
+ {
10
+ "properties": {
11
+ "type": {
12
+ "type": "string",
13
+ "const": "grades",
14
+ "examples": [
15
+ "grades"
16
+ ]
17
+ }
18
+ },
19
+ "required": [
20
+ "type"
21
+ ]
22
+ },
23
+ {
24
+ "oneOf": [
25
+ {
26
+ "$ref": "#/definitions/gradeValuation"
27
+ },
28
+ {
29
+ "$ref": "#/definitions/passedValuation"
30
+ },
31
+ {
32
+ "$ref": "#/definitions/thesisValuation"
33
+ },
34
+ {
35
+ "$ref": "#/definitions/internshipValuation"
36
+ },
37
+ {
38
+ "$ref": "#/definitions/studyProjectValuation"
39
+ },
40
+ {
41
+ "$ref": "#/definitions/electiveValuation"
42
+ },
43
+ {
44
+ "$ref": "#/definitions/internshipWithoutGradeValuation"
45
+ },
46
+ {
47
+ "$ref": "#/definitions/electiveWithoutGradeValuation"
48
+ },
49
+ {
50
+ "$ref": "#/definitions/finalExamValuation"
51
+ }
52
+ ]
53
+ }
54
+ ]
55
+ }
56
+ },
57
+ "definitions": {
58
+ "commonAttributes": {
59
+ "allOf": [
60
+ {
61
+ "$ref": "GradesAttributeSchema.json#/definitions/commonAttributes"
62
+ },
63
+ {
64
+ "required": [
65
+ "valuationType"
66
+ ]
67
+ }
68
+ ]
69
+ },
70
+ "subjectOrModuleRelationships": {
71
+ "type": "object",
72
+ "oneOf": [
73
+ {
74
+ "$ref": "#/definitions/moduleRelationships"
75
+ },
76
+ {
77
+ "$ref": "#/definitions/subjectRelationships"
78
+ }
79
+ ]
80
+ },
81
+ "electiveValuation": {
82
+ "title": "elective valuation",
83
+ "properties": {
84
+ "attributes": {
85
+ "type": "object",
86
+ "allOf": [
87
+ {
88
+ "booking": {
89
+ "type": "object",
90
+ "properties": {
91
+ "data": {
92
+ "type": "object",
93
+ "properties": {
94
+ "type": {
95
+ "type": "string",
96
+ "const": "bookings",
97
+ "examples": [
98
+ "bookings"
99
+ ]
100
+ },
101
+ "id": {
102
+ "type": "string",
103
+ "minLength": 1,
104
+ "maxLength": 20,
105
+ "minimum": 1,
106
+ "example": "10",
107
+ "description": "The id of the booking. You must have at least one matching site with the booking."
108
+ }
109
+ },
110
+ "required": [
111
+ "type",
112
+ "id"
113
+ ]
114
+ }
115
+ },
116
+ "required": [
117
+ "data"
118
+ ]
119
+ }
120
+ },
121
+ {
122
+ "properties": {
123
+ "valuationType": {
124
+ "description": "The valuation type of the grade.\n * `8` = Elective",
125
+ "enum": [
126
+ 8
127
+ ],
128
+ "examples": [
129
+ 8
130
+ ]
131
+ }
132
+ }
133
+ },
134
+ {
135
+ "$ref": "#/definitions/commonAttributes"
136
+ },
137
+ {
138
+ "$ref": "GradesAttributeSchema.json#/definitions/gradeAndPointsAttributes"
139
+ },
140
+ {
141
+ "$ref": "GradesAttributeSchema.json#/definitions/topicAttributes"
142
+ }
143
+ ]
144
+ },
145
+ "relationships": {
146
+ "allOf": [
147
+ {
148
+ "type": "object",
149
+ "properties": {
150
+ "booking": {
151
+ "type": "object",
152
+ "properties": {
153
+ "data": {
154
+ "type": "object",
155
+ "properties": {
156
+ "type": {
157
+ "type": "string",
158
+ "const": "bookings",
159
+ "examples": [
160
+ "bookings"
161
+ ]
162
+ },
163
+ "id": {
164
+ "type": "string",
165
+ "minLength": 1,
166
+ "maxLength": 20,
167
+ "minimum": 1,
168
+ "example": "123",
169
+ "description": "The id of the student booking."
170
+ }
171
+ },
172
+ "required": [
173
+ "type",
174
+ "id"
175
+ ]
176
+ }
177
+ },
178
+ "required": [
179
+ "data"
180
+ ]
181
+ }
182
+ }
183
+ }, {
184
+ "$ref": "#/definitions/subjectOrModuleRelationships"
185
+ },
186
+ {
187
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
188
+ }
189
+ ]
190
+ }
191
+ },
192
+ "required": [
193
+ "attributes",
194
+ "relationships"
195
+ ]
196
+ },
197
+ "electiveWithoutGradeValuation": {
198
+ "title": "elective without valuation",
199
+ "properties": {
200
+ "attributes": {
201
+ "type": "object",
202
+ "allOf": [
203
+ {
204
+ "properties": {
205
+ "valuationType": {
206
+ "description": "The valuation type of the grade.\n * `10` = Elective without grade",
207
+ "enum": [
208
+ 10
209
+ ],
210
+ "examples": [
211
+ 10
212
+ ]
213
+ }
214
+ }
215
+ },
216
+ {
217
+ "$ref": "#/definitions/commonAttributes"
218
+ },
219
+ {
220
+ "$ref": "GradesAttributeSchema.json#/definitions/passedAttribute"
221
+ },
222
+ {
223
+ "$ref": "GradesAttributeSchema.json#/definitions/topicAttributes"
224
+ }
225
+ ]
226
+ },
227
+ "relationships": {
228
+ "allOf": [
229
+ {
230
+ "type": "object",
231
+ "properties": {
232
+ "booking": {
233
+ "type": "object",
234
+ "properties": {
235
+ "data": {
236
+ "type": "object",
237
+ "properties": {
238
+ "type": {
239
+ "type": "string",
240
+ "const": "bookings",
241
+ "examples": [
242
+ "bookings"
243
+ ]
244
+ },
245
+ "id": {
246
+ "type": "string",
247
+ "minLength": 1,
248
+ "maxLength": 20,
249
+ "minimum": 1,
250
+ "example": "123",
251
+ "description": "The id of the student booking."
252
+ }
253
+ },
254
+ "required": [
255
+ "type",
256
+ "id"
257
+ ]
258
+ }
259
+ },
260
+ "required": [
261
+ "data"
262
+ ]
263
+ }
264
+ }
265
+ },
266
+ {
267
+ "$ref": "#/definitions/subjectOrModuleRelationships"
268
+ },
269
+ {
270
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
271
+ }
272
+ ]
273
+ }
274
+ },
275
+ "required": [
276
+ "attributes",
277
+ "relationships"
278
+ ]
279
+ },
280
+ "finalExamValuation": {
281
+ "title": "final exam valuation",
282
+ "properties": {
283
+ "attributes": {
284
+ "type": "object",
285
+ "allOf": [
286
+ {
287
+ "properties": {
288
+ "valuationType": {
289
+ "description": "The valuation type of the grade.\n * `11` = Final exam",
290
+ "enum": [
291
+ 11
292
+ ],
293
+ "examples": [
294
+ 11
295
+ ]
296
+ }
297
+ }
298
+ },
299
+ {
300
+ "$ref": "#/definitions/commonAttributes"
301
+ },
302
+ {
303
+ "$ref": "GradesAttributeSchema.json#/definitions/passedAttribute"
304
+ },
305
+ {
306
+ "$ref": "GradesAttributeSchema.json#/definitions/superVisorAttributes"
307
+ },
308
+ {
309
+ "$ref": "GradesAttributeSchema.json#/definitions/topicAttributes"
310
+ }
311
+ ]
312
+ },
313
+ "relationships": {
314
+ "allOf": [
315
+ {
316
+ "type": "object",
317
+ "properties": {
318
+ "booking": {
319
+ "type": "object",
320
+ "properties": {
321
+ "data": {
322
+ "type": "object",
323
+ "properties": {
324
+ "type": {
325
+ "type": "string",
326
+ "const": "bookings",
327
+ "examples": [
328
+ "bookings"
329
+ ]
330
+ },
331
+ "id": {
332
+ "type": "string",
333
+ "minLength": 1,
334
+ "maxLength": 20,
335
+ "minimum": 1,
336
+ "example": "123",
337
+ "description": "The id of the student booking."
338
+ }
339
+ },
340
+ "required": [
341
+ "type",
342
+ "id"
343
+ ]
344
+ }
345
+ },
346
+ "required": [
347
+ "data"
348
+ ]
349
+ }
350
+ }
351
+ },
352
+ {
353
+ "$ref": "#/definitions/subjectOrModuleRelationships"
354
+ },
355
+ {
356
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
357
+ },
358
+ {
359
+ "$ref": "GradesRelationshipSchema.json#/definitions/ratingRelationship"
360
+ }
361
+ ]
362
+ }
363
+ },
364
+ "required": [
365
+ "attributes",
366
+ "relationships"
367
+ ]
368
+ },
369
+ "gradeValuation": {
370
+ "title": "grade valuation",
371
+ "properties": {
372
+ "attributes": {
373
+ "type": "object",
374
+ "allOf": [
375
+ {
376
+ "properties": {
377
+ "valuationType": {
378
+ "description": "The valuation type of the grade.\n * `1` = Grading",
379
+ "enum": [
380
+ 1
381
+ ],
382
+ "examples": [
383
+ 1
384
+ ]
385
+ }
386
+ }
387
+ },
388
+ {
389
+ "$ref": "#/definitions/commonAttributes"
390
+ },
391
+ {
392
+ "$ref": "GradesAttributeSchema.json#/definitions/commentAttribute"
393
+ },
394
+ {
395
+ "$ref": "GradesAttributeSchema.json#/definitions/gradeAndPointsAttributes"
396
+ }
397
+ ]
398
+ },
399
+ "relationships": {
400
+ "type": "object",
401
+ "allOf": [
402
+ {
403
+ "type": "object",
404
+ "properties": {
405
+ "booking": {
406
+ "type": "object",
407
+ "properties": {
408
+ "data": {
409
+ "type": "object",
410
+ "properties": {
411
+ "type": {
412
+ "type": "string",
413
+ "const": "bookings",
414
+ "examples": [
415
+ "bookings"
416
+ ]
417
+ },
418
+ "id": {
419
+ "type": "string",
420
+ "minLength": 1,
421
+ "maxLength": 20,
422
+ "minimum": 1,
423
+ "example": "123",
424
+ "description": "The id of the student booking."
425
+ }
426
+ },
427
+ "required": [
428
+ "type",
429
+ "id"
430
+ ]
431
+ }
432
+ },
433
+ "required": [
434
+ "data"
435
+ ]
436
+ }
437
+ }
438
+ },
439
+ {
440
+ "$ref": "#/definitions/subjectOrModuleRelationships"
441
+ },
442
+ {
443
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
444
+ },
445
+ {
446
+ "$ref": "GradesRelationshipSchema.json#/definitions/examFormRelationship"
447
+ }
448
+ ],
449
+ "required": [
450
+ "booking"
451
+ ]
452
+ }
453
+ },
454
+ "required": [
455
+ "attributes",
456
+ "relationships"
457
+ ]
458
+ },
459
+ "internshipAttributes": {
460
+ "allOf": [
461
+ {
462
+ "$ref": "GradesAttributeSchema.json#/definitions/companyNameAttribute"
463
+ },
464
+ {
465
+ "$ref": "GradesAttributeSchema.json#/definitions/companyContactAttribute"
466
+ },
467
+ {
468
+ "$ref": "GradesAttributeSchema.json#/definitions/additionalInformationAttributes"
469
+ },
470
+ {
471
+ "$ref": "GradesAttributeSchema.json#/definitions/topicAttributes"
472
+ }
473
+ ]
474
+ },
475
+ "internshipValuation": {
476
+ "title": "internship valuation",
477
+ "properties": {
478
+ "attributes": {
479
+ "type": "object",
480
+ "allOf": [
481
+ {
482
+ "properties": {
483
+ "valuationType": {
484
+ "description": "The valuation type of the grade.\n * `6` = Internship",
485
+ "enum": [
486
+ 6
487
+ ],
488
+ "examples": [
489
+ 6
490
+ ]
491
+ }
492
+ }
493
+ },
494
+ {
495
+ "$ref": "#/definitions/commonAttributes"
496
+ },
497
+ {
498
+ "$ref": "GradesAttributeSchema.json#/definitions/gradeAndPointsAttributes"
499
+ },
500
+ {
501
+ "$ref": "#/definitions/internshipAttributes"
502
+ }
503
+ ]
504
+ },
505
+ "relationships": {
506
+ "allOf": [
507
+ {
508
+ "type": "object",
509
+ "properties": {
510
+ "booking": {
511
+ "type": "object",
512
+ "properties": {
513
+ "data": {
514
+ "type": "object",
515
+ "properties": {
516
+ "type": {
517
+ "type": "string",
518
+ "const": "bookings",
519
+ "examples": [
520
+ "bookings"
521
+ ]
522
+ },
523
+ "id": {
524
+ "type": "string",
525
+ "minLength": 1,
526
+ "maxLength": 20,
527
+ "minimum": 1,
528
+ "example": "123",
529
+ "description": "The id of the student booking."
530
+ }
531
+ },
532
+ "required": [
533
+ "type",
534
+ "id"
535
+ ]
536
+ }
537
+ },
538
+ "required": [
539
+ "data"
540
+ ]
541
+ }
542
+ }
543
+ },
544
+ {
545
+ "$ref": "#/definitions/subjectOrModuleRelationships"
546
+ },
547
+ {
548
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
549
+ }
550
+ ]
551
+ }
552
+ },
553
+ "required": [
554
+ "attributes",
555
+ "relationships"
556
+ ]
557
+ },
558
+ "internshipWithoutGradeValuation": {
559
+ "title": "internship without valuation",
560
+ "properties": {
561
+ "attributes": {
562
+ "type": "object",
563
+ "allOf": [
564
+ {
565
+ "properties": {
566
+ "valuationType": {
567
+ "description": "The valuation type of the grade.\n * `9` = Internship without grade",
568
+ "enum": [
569
+ 9
570
+ ],
571
+ "examples": [
572
+ 9
573
+ ]
574
+ }
575
+ }
576
+ },
577
+ {
578
+ "$ref": "#/definitions/commonAttributes"
579
+ },
580
+ {
581
+ "$ref": "GradesAttributeSchema.json#/definitions/passedAttribute"
582
+ },
583
+ {
584
+ "$ref": "#/definitions/internshipAttributes"
585
+ }
586
+ ]
587
+ },
588
+ "relationships": {
589
+ "allOf": [
590
+ {
591
+ "type": "object",
592
+ "properties": {
593
+ "booking": {
594
+ "type": "object",
595
+ "properties": {
596
+ "data": {
597
+ "type": "object",
598
+ "properties": {
599
+ "type": {
600
+ "type": "string",
601
+ "const": "bookings",
602
+ "examples": [
603
+ "bookings"
604
+ ]
605
+ },
606
+ "id": {
607
+ "type": "string",
608
+ "minLength": 1,
609
+ "maxLength": 20,
610
+ "minimum": 1,
611
+ "example": "123",
612
+ "description": "The id of the student booking."
613
+ }
614
+ },
615
+ "required": [
616
+ "type",
617
+ "id"
618
+ ]
619
+ }
620
+ },
621
+ "required": [
622
+ "data"
623
+ ]
624
+ }
625
+ }
626
+ },
627
+ {
628
+ "$ref": "#/definitions/subjectOrModuleRelationships"
629
+ },
630
+ {
631
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
632
+ }
633
+ ]
634
+ }
635
+ },
636
+ "required": [
637
+ "attributes",
638
+ "relationships"
639
+ ]
640
+ },
641
+ "moduleRelationships": {
642
+ "title": "module grade",
643
+ "allOf": [
644
+ {
645
+ "$ref": "GradesRelationshipSchema.json#/definitions/moduleGradeRelationships"
646
+ },
647
+ {
648
+ "required": [
649
+ "module",
650
+ "moduleVersion"
651
+ ]
652
+ }
653
+ ]
654
+ },
655
+ "passedValuation": {
656
+ "title": "passed/participated valuation",
657
+ "properties": {
658
+ "attributes": {
659
+ "type": "object",
660
+ "allOf": [
661
+ {
662
+ "properties": {
663
+ "valuationType": {
664
+ "description": "The valuation type of the grade.\n * `2` = Passed/Not passed\n * `4` = Participated/Not participated",
665
+ "enum": [
666
+ 2,
667
+ 4
668
+ ],
669
+ "examples": [
670
+ 2,
671
+ 4
672
+ ]
673
+ }
674
+ }
675
+ },
676
+ {
677
+ "$ref": "#/definitions/commonAttributes"
678
+ },
679
+ {
680
+ "$ref": "GradesAttributeSchema.json#/definitions/commentAttribute"
681
+ },
682
+ {
683
+ "$ref": "GradesAttributeSchema.json#/definitions/passedAttribute"
684
+ }
685
+ ]
686
+ },
687
+ "relationships": {
688
+ "type": "object",
689
+ "allOf": [
690
+ {
691
+ "type": "object",
692
+ "properties": {
693
+ "booking": {
694
+ "type": "object",
695
+ "properties": {
696
+ "data": {
697
+ "type": "object",
698
+ "properties": {
699
+ "type": {
700
+ "type": "string",
701
+ "const": "bookings",
702
+ "examples": [
703
+ "bookings"
704
+ ]
705
+ },
706
+ "id": {
707
+ "type": "string",
708
+ "minLength": 1,
709
+ "maxLength": 20,
710
+ "minimum": 1,
711
+ "example": "123",
712
+ "description": "The id of the student booking."
713
+ }
714
+ },
715
+ "required": [
716
+ "type",
717
+ "id"
718
+ ]
719
+ }
720
+ },
721
+ "required": [
722
+ "data"
723
+ ]
724
+ }
725
+ }
726
+ },
727
+ {
728
+ "$ref": "#/definitions/subjectOrModuleRelationships"
729
+ },
730
+ {
731
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
732
+ },
733
+ {
734
+ "$ref": "GradesRelationshipSchema.json#/definitions/examFormRelationship"
735
+ }
736
+ ]
737
+ }
738
+ },
739
+ "required": [
740
+ "attributes",
741
+ "relationships"
742
+ ]
743
+ },
744
+ "studyProjectValuation": {
745
+ "title": "study project valuation",
746
+ "properties": {
747
+ "attributes": {
748
+ "type": "object",
749
+ "allOf": [
750
+ {
751
+ "properties": {
752
+ "valuationType": {
753
+ "description": "The valuation type of the grade.\n * `7` = study project",
754
+ "enum": [
755
+ 7
756
+ ],
757
+ "examples": [
758
+ 7
759
+ ]
760
+ }
761
+ }
762
+ },
763
+ {
764
+ "$ref": "#/definitions/commonAttributes"
765
+ },
766
+ {
767
+ "$ref": "GradesAttributeSchema.json#/definitions/gradeAndPointsAttributes"
768
+ },
769
+ {
770
+ "$ref": "GradesAttributeSchema.json#/definitions/publicationAndConfidentialityAttributes"
771
+ },
772
+ {
773
+ "$ref": "GradesAttributeSchema.json#/definitions/additionalInformationAttributes"
774
+ },
775
+ {
776
+ "$ref": "GradesAttributeSchema.json#/definitions/topicAttributes"
777
+ }
778
+ ]
779
+ },
780
+ "relationships": {
781
+ "allOf": [
782
+ {
783
+ "type": "object",
784
+ "properties": {
785
+ "booking": {
786
+ "type": "object",
787
+ "properties": {
788
+ "data": {
789
+ "type": "object",
790
+ "properties": {
791
+ "type": {
792
+ "type": "string",
793
+ "const": "bookings",
794
+ "examples": [
795
+ "bookings"
796
+ ]
797
+ },
798
+ "id": {
799
+ "type": "string",
800
+ "minLength": 1,
801
+ "maxLength": 20,
802
+ "minimum": 1,
803
+ "example": "123",
804
+ "description": "The id of the student booking."
805
+ }
806
+ },
807
+ "required": [
808
+ "type",
809
+ "id"
810
+ ]
811
+ }
812
+ },
813
+ "required": [
814
+ "data"
815
+ ]
816
+ }
817
+ }
818
+ },
819
+ {
820
+ "$ref": "#/definitions/subjectOrModuleRelationships"
821
+ },
822
+ {
823
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
824
+ }
825
+ ]
826
+ }
827
+ },
828
+ "required": [
829
+ "attributes",
830
+ "relationships"
831
+ ]
832
+ },
833
+ "subjectRelationships": {
834
+ "title": "subject grade",
835
+ "allOf": [
836
+ {
837
+ "$ref": "GradesRelationshipSchema.json#/definitions/subjectGradeRelationships"
838
+ },
839
+ {
840
+ "required": [
841
+ "subject",
842
+ "subjectVersion"
843
+ ]
844
+ }
845
+ ]
846
+ },
847
+ "thesisValuation": {
848
+ "title": "thesis valuation",
849
+ "properties": {
850
+ "attributes": {
851
+ "type": "object",
852
+ "allOf": [
853
+ {
854
+ "properties": {
855
+ "valuationType": {
856
+ "description": "The valuation type of the grade.\n * `5` = Thesis/Project work",
857
+ "enum": [
858
+ 5
859
+ ],
860
+ "examples": [
861
+ 5
862
+ ]
863
+ }
864
+ }
865
+ },
866
+ {
867
+ "$ref": "#/definitions/commonAttributes"
868
+ },
869
+ {
870
+ "$ref": "GradesAttributeSchema.json#/definitions/gradeAndPointsAttributes"
871
+ },
872
+ {
873
+ "$ref": "GradesAttributeSchema.json#/definitions/publicationAndConfidentialityAttributes"
874
+ },
875
+ {
876
+ "$ref": "GradesAttributeSchema.json#/definitions/companyNameAttribute"
877
+ },
878
+ {
879
+ "$ref": "GradesAttributeSchema.json#/definitions/additionalInformationAttributes"
880
+ },
881
+ {
882
+ "$ref": "GradesAttributeSchema.json#/definitions/superVisorAttributes"
883
+ },
884
+ {
885
+ "$ref": "GradesAttributeSchema.json#/definitions/topicAttributes"
886
+ }
887
+ ]
888
+ },
889
+ "relationships": {
890
+ "type": "object",
891
+ "allOf": [
892
+ {
893
+ "type": "object",
894
+ "properties": {
895
+ "booking": {
896
+ "type": "object",
897
+ "properties": {
898
+ "data": {
899
+ "type": "object",
900
+ "properties": {
901
+ "type": {
902
+ "type": "string",
903
+ "const": "bookings",
904
+ "examples": [
905
+ "bookings"
906
+ ]
907
+ },
908
+ "id": {
909
+ "type": "string",
910
+ "minLength": 1,
911
+ "maxLength": 20,
912
+ "minimum": 1,
913
+ "example": "123",
914
+ "description": "The id of the student booking."
915
+ }
916
+ },
917
+ "required": [
918
+ "type",
919
+ "id"
920
+ ]
921
+ }
922
+ },
923
+ "required": [
924
+ "data"
925
+ ]
926
+ }
927
+ }
928
+ },
929
+ {
930
+ "$ref": "#/definitions/subjectOrModuleRelationships"
931
+ },
932
+ {
933
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
934
+ },
935
+ {
936
+ "$ref": "GradesRelationshipSchema.json#/definitions/examFormRelationship"
937
+ }
938
+ ]
939
+ }
940
+ },
941
+ "required": [
942
+ "attributes",
943
+ "relationships"
944
+ ]
945
+ }
946
+ },
947
+ "required": [
948
+ "data"
949
+ ]
950
+ }