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,400 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "Grades",
4
+ "type": "object",
5
+ "definitions": {
6
+ "commentAttribute": {
7
+ "properties": {
8
+ "comment": {
9
+ "type": [
10
+ "string",
11
+ "null"
12
+ ],
13
+ "description": "comment for the grade",
14
+ "default": null,
15
+ "examples": [
16
+ "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam",
17
+ null
18
+ ]
19
+ }
20
+ }
21
+ },
22
+ "commonAttributes": {
23
+ "properties": {
24
+ "accreditationType": {
25
+ "type": [
26
+ "integer",
27
+ "null"
28
+ ],
29
+ "description": "Can be set if isAccredited is true.\n * `1` Substitution result (field is not yet nullable)\n * `2` Advance result\n * `3` Professional experience",
30
+ "default": 1,
31
+ "enum": [
32
+ 1,
33
+ 2,
34
+ 3
35
+ ],
36
+ "example": 1
37
+ },
38
+ "commentForStudent": {
39
+ "type": [
40
+ "string",
41
+ "null"
42
+ ],
43
+ "description": "comment for the student",
44
+ "default": null,
45
+ "examples": [
46
+ "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam",
47
+ null
48
+ ]
49
+ },
50
+ "credits": {
51
+ "type": "number",
52
+ "default": 0,
53
+ "minimum": 0,
54
+ "example": 3
55
+ },
56
+ "date": {
57
+ "type": [
58
+ "string",
59
+ "null"
60
+ ],
61
+ "default": null,
62
+ "format": "date-time",
63
+ "minLength": 1,
64
+ "maxLength": 255,
65
+ "example": "2022-11-08T08:23:12+01:00"
66
+ },
67
+ "ectsGrade": {
68
+ "type": [
69
+ "string",
70
+ "null"
71
+ ],
72
+ "default": null,
73
+ "minLength": 1,
74
+ "maxLength": 3,
75
+ "examples": [
76
+ "A",
77
+ null
78
+ ]
79
+ },
80
+ "isAccredited": {
81
+ "type": "boolean",
82
+ "default": false,
83
+ "example": false
84
+ },
85
+ "isExamEnrolment": {
86
+ "type": "boolean",
87
+ "default": false,
88
+ "example": false
89
+ },
90
+ "isExtraCurricular": {
91
+ "type": "boolean",
92
+ "default": false,
93
+ "example": false
94
+ },
95
+ "isExtraCurricularAccreditation": {
96
+ "type": "boolean",
97
+ "default": false,
98
+ "example": false
99
+ },
100
+ "isFreeTrial": {
101
+ "type": "boolean",
102
+ "default": false,
103
+ "example": false
104
+ },
105
+ "isMedicalCertificate": {
106
+ "type": "boolean",
107
+ "default": false,
108
+ "example": false
109
+ },
110
+ "isPublished": {
111
+ "type": "boolean",
112
+ "default": false,
113
+ "description": "can be set if grade publish is active",
114
+ "example": false
115
+ },
116
+ "isReleased": {
117
+ "type": "boolean",
118
+ "default": false,
119
+ "example": false
120
+ },
121
+ "isTermAbroad": {
122
+ "type": "boolean",
123
+ "default": false,
124
+ "example": false
125
+ },
126
+ "publishedDateTime": {
127
+ "type": [
128
+ "string",
129
+ "null"
130
+ ],
131
+ "default": null,
132
+ "format": "date-time",
133
+ "minLength": 1,
134
+ "maxLength": 255,
135
+ "example": "2022-11-08T08:23:12+01:00"
136
+ },
137
+ "releasedDateTime": {
138
+ "type": [
139
+ "string",
140
+ "null"
141
+ ],
142
+ "default": null,
143
+ "format": "date-time",
144
+ "minLength": 1,
145
+ "maxLength": 255,
146
+ "example": "2022-11-08T08:23:12+01:00"
147
+ },
148
+ "replacementTitleDe": {
149
+ "type": [
150
+ "string",
151
+ "null"
152
+ ],
153
+ "default": null,
154
+ "minLength": 1,
155
+ "maxLength": 255,
156
+ "example": "Ersatzleistung"
157
+ },
158
+ "replacementTitleEn": {
159
+ "type": [
160
+ "string",
161
+ "null"
162
+ ],
163
+ "default": null,
164
+ "minLength": 1,
165
+ "maxLength": 255,
166
+ "example": "Replacement"
167
+ },
168
+ "term": {
169
+ "type": [
170
+ "integer",
171
+ "null"
172
+ ],
173
+ "default": null,
174
+ "minLength": 1,
175
+ "maxLength": 14,
176
+ "example": 1
177
+ },
178
+ "termOfStudy": {
179
+ "type": [
180
+ "integer",
181
+ "null"
182
+ ],
183
+ "default": null,
184
+ "minLength": 1,
185
+ "example": 3
186
+ },
187
+ "university": {
188
+ "type": [
189
+ "string",
190
+ "null"
191
+ ],
192
+ "description": "Can be set if isTermAbroad or isAccredited is true and no accreditation reasons exist for the profile.",
193
+ "default": null,
194
+ "minLength": 1,
195
+ "maxLength": 255,
196
+ "example": "Hochschule"
197
+ },
198
+ "year": {
199
+ "type": [
200
+ "integer",
201
+ "null"
202
+ ],
203
+ "default": null,
204
+ "minLength": 1,
205
+ "example": 2025
206
+ },
207
+ "valuationType": {
208
+ "type": "integer",
209
+ "default": 1,
210
+ "minimum": 1
211
+ },
212
+ "visibleDate": {
213
+ "type": [
214
+ "string",
215
+ "null"
216
+ ],
217
+ "default": null,
218
+ "description": "date when the grade is visible for the student",
219
+ "format": "date-time",
220
+ "minLength": 1,
221
+ "maxLength": 255,
222
+ "example": "2022-11-08T08:23:12+01:00"
223
+ }
224
+ }
225
+ },
226
+ "companyNameAttribute": {
227
+ "properties": {
228
+ "companyName": {
229
+ "type": [
230
+ "string",
231
+ "null"
232
+ ],
233
+ "default": null,
234
+ "minLength": 1,
235
+ "maxLength": 255,
236
+ "example": "Musterfirma GmbH"
237
+ }
238
+ }
239
+ },
240
+ "companyContactAttribute": {
241
+ "properties": {
242
+ "companyContact": {
243
+ "type": [
244
+ "string",
245
+ "null"
246
+ ],
247
+ "default": null,
248
+ "minLength": 1,
249
+ "maxLength": 255,
250
+ "example": "Max Mustermann"
251
+ }
252
+ }
253
+ },
254
+ "gradeAndPointsAttributes": {
255
+ "properties": {
256
+ "grade": {
257
+ "type": [
258
+ "number",
259
+ "null"
260
+ ],
261
+ "default": null,
262
+ "minimum": 0,
263
+ "maximum": 6,
264
+ "examples": [
265
+ 1.3,
266
+ null
267
+ ]
268
+ },
269
+ "maxPoints": {
270
+ "type": [
271
+ "number",
272
+ "null"
273
+ ],
274
+ "default": 0,
275
+ "minimum": 0,
276
+ "examples": [
277
+ 100,
278
+ null
279
+ ]
280
+ },
281
+ "points": {
282
+ "type": [
283
+ "number",
284
+ "null"
285
+ ],
286
+ "default": 0,
287
+ "minimum": 0,
288
+ "description": "can be set to 0.0 or null if the gradeAnnotation has an evaluation selection of a certain type",
289
+ "examples": [
290
+ 100,
291
+ null
292
+ ]
293
+ }
294
+ }
295
+ },
296
+ "passedAttribute": {
297
+ "properties": {
298
+ "isPassed": {
299
+ "type": [
300
+ "boolean",
301
+ "null"
302
+ ],
303
+ "default": null,
304
+ "description": "determines whether the grade is passed\n * `null` the grade is not yet passed but also not yet failed\n * `true` the grade is passed\n * `false` the grade is not passed",
305
+ "examples": [
306
+ true,
307
+ false,
308
+ null
309
+ ]
310
+ }
311
+ }
312
+ },
313
+ "publicationAndConfidentialityAttributes": {
314
+ "properties": {
315
+ "isPaperPublished": {
316
+ "type": "boolean",
317
+ "default": false,
318
+ "example": false
319
+ },
320
+ "hasConfidentialityClause": {
321
+ "type": "boolean",
322
+ "default": false,
323
+ "example": false
324
+ }
325
+ }
326
+ },
327
+ "additionalInformationAttributes": {
328
+ "properties": {
329
+ "additionalInformation3": {
330
+ "type": [
331
+ "string",
332
+ "null"
333
+ ],
334
+ "default": null,
335
+ "minLength": 1,
336
+ "maxLength": 255,
337
+ "example": "20.07.1969"
338
+ },
339
+ "additionalInformation4": {
340
+ "type": [
341
+ "string",
342
+ "null"
343
+ ],
344
+ "default": null,
345
+ "minLength": 1,
346
+ "maxLength": 255,
347
+ "example": "additional information 4"
348
+ }
349
+ }
350
+ },
351
+ "superVisorAttributes": {
352
+ "properties": {
353
+ "supervisorOne": {
354
+ "type": [
355
+ "string",
356
+ "null"
357
+ ],
358
+ "default": null,
359
+ "minLength": 1,
360
+ "maxLength": 255,
361
+ "example": "Prof. Dr. Max Mustermann"
362
+ },
363
+ "supervisorTwo": {
364
+ "type": [
365
+ "string",
366
+ "null"
367
+ ],
368
+ "default": null,
369
+ "minLength": 1,
370
+ "maxLength": 255,
371
+ "example": "Prof. Dr. Max Mustermann"
372
+ }
373
+ }
374
+ },
375
+ "topicAttributes": {
376
+ "properties": {
377
+ "topicDe": {
378
+ "type": [
379
+ "string",
380
+ "null"
381
+ ],
382
+ "default": null,
383
+ "minLength": 1,
384
+ "maxLength": 255,
385
+ "example": "Thema"
386
+ },
387
+ "topicEn": {
388
+ "type": [
389
+ "string",
390
+ "null"
391
+ ],
392
+ "default": null,
393
+ "minLength": 1,
394
+ "maxLength": 255,
395
+ "example": "Topic"
396
+ }
397
+ }
398
+ }
399
+ }
400
+ }
@@ -0,0 +1,108 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "Grade",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "grades",
12
+ "examples": [
13
+ "grades"
14
+ ]
15
+ },
16
+ "id": {
17
+ "type": "string",
18
+ "minimum": 1,
19
+ "minLength": 1,
20
+ "example": "49"
21
+ },
22
+ "attributes": {
23
+ "type": "object",
24
+ "allOf": [
25
+ {
26
+ "$ref": "GradesAttributeSchema.json#/definitions/commonAttributes"
27
+ },
28
+ {
29
+ "properties": {
30
+ "valuationType": {
31
+ "description": "The valuation type of the grade.\n * `1` = Grading\n * `2` = Passed/Not passed\n * `4` = Participated/Not participated\n * `5` = Thesis/Project work\n * `6` = Internship\n * `7` = study project\n * `8` = Elective\n * `9` = Internship without grade\n * `10` = Elective without grade\n * `11` = Final exam",
32
+ "enum": [
33
+ 1,
34
+ 2,
35
+ 4,
36
+ 5,
37
+ 6,
38
+ 7,
39
+ 8,
40
+ 9,
41
+ 10,
42
+ 11
43
+ ],
44
+ "examples": [
45
+ 1,
46
+ 2,
47
+ 4,
48
+ 5,
49
+ 6,
50
+ 7,
51
+ 8,
52
+ 9,
53
+ 10,
54
+ 11
55
+ ]
56
+ }
57
+ }
58
+ },
59
+ {
60
+ "$ref": "GradesAttributeSchema.json#/definitions/companyNameAttribute"
61
+ },
62
+ {
63
+ "$ref": "GradesAttributeSchema.json#/definitions/superVisorAttributes"
64
+ },
65
+ {
66
+ "$ref": "GradesAttributeSchema.json#/definitions/gradeAndPointsAttributes"
67
+ },
68
+ {
69
+ "$ref": "GradesAttributeSchema.json#/definitions/passedAttribute"
70
+ },
71
+ {
72
+ "$ref": "GradesAttributeSchema.json#/definitions/publicationAndConfidentialityAttributes"
73
+ },
74
+ {
75
+ "$ref": "GradesAttributeSchema.json#/definitions/additionalInformationAttributes"
76
+ },
77
+ {
78
+ "$ref": "GradesAttributeSchema.json#/definitions/superVisorAttributes"
79
+ },
80
+ {
81
+ "$ref": "GradesAttributeSchema.json#/definitions/topicAttributes"
82
+ }
83
+ ]
84
+ },
85
+ "relationships": {
86
+ "type": "object",
87
+ "allOf": [
88
+ {
89
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
90
+ },
91
+ {
92
+ "$ref": "GradesRelationshipSchema.json#/definitions/examFormRelationship"
93
+ },
94
+ {
95
+ "$ref": "GradesRelationshipSchema.json#/definitions/moduleGradeRelationships"
96
+ },
97
+ {
98
+ "$ref": "GradesRelationshipSchema.json#/definitions/subjectGradeRelationships"
99
+ },
100
+ {
101
+ "$ref": "GradesRelationshipSchema.json#/definitions/ratingRelationship"
102
+ }
103
+ ]
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
@@ -0,0 +1,112 @@
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
+ "id": {
19
+ "type": "string",
20
+ "minimum": 1,
21
+ "maxLength": 20,
22
+ "minLength": 1,
23
+ "example": "1"
24
+ }
25
+ },
26
+ "required": [
27
+ "type",
28
+ "id"
29
+ ]
30
+ },
31
+ {
32
+ "properties": {
33
+ "attributes": {
34
+ "type": "object",
35
+ "allOf": [
36
+ {
37
+ "properties": {
38
+ "valuationType": {
39
+ "description": "The valuation type of the grade.\n * `1` = Grading",
40
+ "enum": [
41
+ 1,2,3,4,5,6,7,8,9,10,11
42
+ ],
43
+ "examples": [
44
+ 1
45
+ ]
46
+ }
47
+ }
48
+ },
49
+ {
50
+ "$ref": "#/definitions/commonAttributes"
51
+ },
52
+ {
53
+ "$ref": "GradesAttributeSchema.json#/definitions/commentAttribute"
54
+ },
55
+ {
56
+ "$ref": "GradesAttributeSchema.json#/definitions/gradeAndPointsAttributes"
57
+ },
58
+ {
59
+ "$ref": "GradesAttributeSchema.json#/definitions/topicAttributes"
60
+ },
61
+ {
62
+ "$ref": "GradesAttributeSchema.json#/definitions/passedAttribute"
63
+ },
64
+ {
65
+ "$ref": "GradesAttributeSchema.json#/definitions/superVisorAttributes"
66
+ },
67
+ {
68
+ "$ref": "GradesAttributeSchema.json#/definitions/companyNameAttribute"
69
+ },
70
+ {
71
+ "$ref": "GradesAttributeSchema.json#/definitions/companyContactAttribute"
72
+ },
73
+ {
74
+ "$ref": "GradesAttributeSchema.json#/definitions/additionalInformationAttributes"
75
+ },
76
+ {
77
+ "$ref": "GradesAttributeSchema.json#/definitions/publicationAndConfidentialityAttributes"
78
+ }
79
+ ]
80
+ },
81
+ "relationships": {
82
+ "type": "object",
83
+ "allOf": [
84
+ {
85
+ "$ref": "GradesRelationshipSchema.json#/definitions/commonRelationships"
86
+ },
87
+ {
88
+ "$ref": "GradesRelationshipSchema.json#/definitions/examFormRelationship"
89
+ },
90
+ {
91
+ "$ref": "GradesRelationshipSchema.json#/definitions/ratingRelationship"
92
+ }
93
+ ]
94
+ }
95
+ }
96
+ }
97
+ ]
98
+ }
99
+ },
100
+ "definitions": {
101
+ "commonAttributes": {
102
+ "allOf": [
103
+ {
104
+ "$ref": "GradesAttributeSchema.json#/definitions/commonAttributes"
105
+ }
106
+ ]
107
+ }
108
+ },
109
+ "required": [
110
+ "data"
111
+ ]
112
+ }