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,215 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "LecturerContract",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "lecturer-contracts",
12
+ "examples": [
13
+ "lecturer-contracts"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "type": "object",
18
+ "properties": {
19
+ "personnelNumber": {
20
+ "type": "string",
21
+ "maxLength": 32,
22
+ "example": "ABC123456"
23
+ },
24
+ "contractNumber": {
25
+ "type": "string",
26
+ "maxLength": 32,
27
+ "example": "ABC123456"
28
+ },
29
+ "bisSocialInsuranceNumber": {
30
+ "oneOf": [
31
+ {
32
+ "type": "string",
33
+ "pattern": "^([0-9]{4})$",
34
+ "minLength": 4,
35
+ "maxLength": 4,
36
+ "example": "1234"
37
+ },
38
+ {
39
+ "type": "string",
40
+ "pattern": "^([0-9]{10})$",
41
+ "minLength": 10,
42
+ "maxLength": 10,
43
+ "example": "1234010180"
44
+ },
45
+ {
46
+ "type": "string",
47
+ "maxLength": 0,
48
+ "example": ""
49
+ }
50
+ ]
51
+ },
52
+ "bankName": {
53
+ "type": "string",
54
+ "maxLength": 255,
55
+ "example": "Simovative Bank"
56
+ },
57
+ "iban": {
58
+ "oneOf": [
59
+ {
60
+ "type": "string",
61
+ "minLength": 14,
62
+ "maxLength": 34,
63
+ "pattern": "^([A-Z]{2})([0-9]{2})([A-Z0-9]{9,30})$",
64
+ "example": "DE89370400440532013000"
65
+ },
66
+ {
67
+ "type": "string",
68
+ "maxLength": 0,
69
+ "example": ""
70
+ }
71
+ ]
72
+ },
73
+ "bic": {
74
+ "oneOf": [
75
+ {
76
+ "type": "string",
77
+ "minLength": 8,
78
+ "maxLength": 11,
79
+ "pattern": "^[A-Z]{6}[A-Z0-9]*$",
80
+ "example": "SIMMDEMM"
81
+ },
82
+ {
83
+ "type": "string",
84
+ "maxLength": 0,
85
+ "example": ""
86
+ }
87
+ ]
88
+ },
89
+ "isFullTime": {
90
+ "type": "boolean",
91
+ "example": true
92
+ },
93
+ "hasHabilitation": {
94
+ "type": "boolean",
95
+ "example": false
96
+ }
97
+ },
98
+ "required": []
99
+ },
100
+ "relationships": {
101
+ "type": "object",
102
+ "properties": {
103
+ "profile": {
104
+ "type": "object",
105
+ "properties": {
106
+ "data": {
107
+ "type": "object",
108
+ "properties": {
109
+ "type": {
110
+ "type": "string",
111
+ "const": "profiles",
112
+ "examples": [
113
+ "profiles"
114
+ ]
115
+ },
116
+ "id": {
117
+ "type": "string",
118
+ "minLength": 1,
119
+ "maxLength": 20,
120
+ "minimum": 1,
121
+ "example": "130",
122
+ "description": "The id of the profile. You must have at least one matching site with the profile."
123
+ }
124
+ },
125
+ "required": [
126
+ "type",
127
+ "id"
128
+ ]
129
+ }
130
+ },
131
+ "required": [
132
+ "data"
133
+ ]
134
+ },
135
+ "site": {
136
+ "type": "object",
137
+ "properties": {
138
+ "data": {
139
+ "type": "object",
140
+ "properties": {
141
+ "type": {
142
+ "type": "string",
143
+ "const": "sites",
144
+ "examples": [
145
+ "sites"
146
+ ]
147
+ },
148
+ "id": {
149
+ "type": "string",
150
+ "minLength": 1,
151
+ "maxLength": 20,
152
+ "minimum": 1,
153
+ "example": "2",
154
+ "description": "The id of the site. Can be found in a5 in the top navigation. You can only set sites to which you and the profile are assigned."
155
+ }
156
+ },
157
+ "required": [
158
+ "type",
159
+ "id"
160
+ ]
161
+ }
162
+ },
163
+ "required": [
164
+ "data"
165
+ ]
166
+ },
167
+ "lecturerContractStatus": {
168
+ "type": "object",
169
+ "properties": {
170
+ "data": {
171
+ "type": "object",
172
+ "properties": {
173
+ "type": {
174
+ "type": "string",
175
+ "const": "lecturer-contract-status",
176
+ "examples": [
177
+ "lecturer-contract-status"
178
+ ]
179
+ },
180
+ "id": {
181
+ "type": "string",
182
+ "minLength": 1,
183
+ "maxLength": 20,
184
+ "minimum": 1,
185
+ "example": "2",
186
+ "description": "The id of the lecturer contract status. Can be found in a5 under Settings -> Lecturer contracts -> Status values contracts"
187
+ }
188
+ },
189
+ "required": [
190
+ "type",
191
+ "id"
192
+ ]
193
+ }
194
+ },
195
+ "required": [
196
+ "data"
197
+ ]
198
+ }
199
+ },
200
+ "required": [
201
+ "profile"
202
+ ]
203
+ }
204
+ },
205
+ "required": [
206
+ "type",
207
+ "attributes",
208
+ "relationships"
209
+ ]
210
+ }
211
+ },
212
+ "required": [
213
+ "data"
214
+ ]
215
+ }
@@ -0,0 +1,180 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "OnlineExamEnrolment",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "online-exam-enrolments",
12
+ "examples": [
13
+ "online-exam-enrolments"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "type": "object",
18
+ "properties": {
19
+ "enrolmentDateTime": {
20
+ "type": [
21
+ "string",
22
+ "null"
23
+ ],
24
+ "format": "date-time",
25
+ "example": "2023-01-20 10:00:00"
26
+ },
27
+ "examStartDateTime": {
28
+ "type": [
29
+ "string",
30
+ "null"
31
+ ],
32
+ "format": "date-time",
33
+ "example": "2023-01-22 12:00:00"
34
+ },
35
+ "examEndDateTime": {
36
+ "type": [
37
+ "string",
38
+ "null"
39
+ ],
40
+ "format": "date-time",
41
+ "example": "2023-01-22 14:00:00"
42
+ }
43
+ }
44
+ },
45
+ "relationships": {
46
+ "type": "object",
47
+ "oneOf": [
48
+ {
49
+ "properties": {
50
+ "booking": {
51
+ "$ref": "#/definitions/booking"
52
+ },
53
+ "moduleVersion": {
54
+ "type": "object",
55
+ "properties": {
56
+ "data": {
57
+ "type": "object",
58
+ "properties": {
59
+ "type": {
60
+ "type": "string",
61
+ "const": "module-versions",
62
+ "examples": [
63
+ "module-versions"
64
+ ]
65
+ },
66
+ "id": {
67
+ "type": "string",
68
+ "minLength": 1,
69
+ "maxLength": 20,
70
+ "minimum": 1,
71
+ "example": "10",
72
+ "description": "The id of the module version id."
73
+ }
74
+ },
75
+ "required": [
76
+ "type",
77
+ "id"
78
+ ]
79
+ }
80
+ },
81
+ "required": [
82
+ "data"
83
+ ]
84
+ }
85
+ },
86
+ "required": [
87
+ "booking",
88
+ "moduleVersion"
89
+ ]
90
+ },
91
+ {
92
+ "properties": {
93
+ "booking": {
94
+ "$ref": "#/definitions/booking"
95
+ },
96
+ "subjectVersion": {
97
+ "type": "object",
98
+ "properties": {
99
+ "data": {
100
+ "type": "object",
101
+ "properties": {
102
+ "type": {
103
+ "type": "string",
104
+ "const": "subject-versions",
105
+ "examples": [
106
+ "subject-versions"
107
+ ]
108
+ },
109
+ "id": {
110
+ "type": "string",
111
+ "minLength": 1,
112
+ "maxLength": 20,
113
+ "minimum": 1,
114
+ "example": "10",
115
+ "description": "The id of the subject version."
116
+ }
117
+ },
118
+ "required": [
119
+ "type",
120
+ "id"
121
+ ]
122
+ }
123
+ },
124
+ "required": [
125
+ "data"
126
+ ]
127
+ }
128
+ },
129
+ "required": [
130
+ "booking",
131
+ "subjectVersion"
132
+ ]
133
+ }
134
+ ]
135
+ }
136
+ },
137
+ "required": [
138
+ "type",
139
+ "attributes"
140
+ ]
141
+ }
142
+ },
143
+ "definitions": {
144
+ "booking": {
145
+ "type": "object",
146
+ "properties": {
147
+ "data": {
148
+ "type": "object",
149
+ "properties": {
150
+ "type": {
151
+ "type": "string",
152
+ "const": "bookings",
153
+ "examples": [
154
+ "bookings"
155
+ ]
156
+ },
157
+ "id": {
158
+ "type": "string",
159
+ "minLength": 1,
160
+ "maxLength": 20,
161
+ "minimum": 1,
162
+ "example": "10",
163
+ "description": "The id of the booking."
164
+ }
165
+ },
166
+ "required": [
167
+ "type",
168
+ "id"
169
+ ]
170
+ }
171
+ },
172
+ "required": [
173
+ "data"
174
+ ]
175
+ }
176
+ },
177
+ "required": [
178
+ "data"
179
+ ]
180
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "Payment",
4
+ "type": "array",
5
+ "minItems": 1,
6
+ "items": {
7
+ "type": "object",
8
+ "properties": {
9
+ "invoice-number": {
10
+ "type": "string",
11
+ "minLength": 1
12
+ },
13
+ "currency-code": {
14
+ "type": "string",
15
+ "minLength": 3,
16
+ "maxLength": 3
17
+ },
18
+ "amount": {
19
+ "type": "number"
20
+ },
21
+ "date": {
22
+ "type": "string",
23
+ "format": "date"
24
+ },
25
+ "paid": {
26
+ "type": "boolean"
27
+ },
28
+ "comment": {
29
+ "type": "string"
30
+ },
31
+ "language": {
32
+ "type": "string",
33
+ "enum": [
34
+ "de",
35
+ "en"
36
+ ],
37
+ "default": "de"
38
+ },
39
+ "site-id": {
40
+ "type": "number"
41
+ }
42
+ },
43
+ "required": [
44
+ "invoice-number",
45
+ "currency-code",
46
+ "amount",
47
+ "date",
48
+ "language"
49
+ ]
50
+ }
51
+ }
@@ -0,0 +1,104 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "ProfessionalBackground",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "professional-backgrounds",
12
+ "examples": [
13
+ "professional-backgrounds"
14
+ ]
15
+ },
16
+ "attributes": {
17
+ "type": "object",
18
+ "properties": {
19
+ "profileId": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "maxLength": 255,
23
+ "example": "123"
24
+ },
25
+ "companyId": {
26
+ "type": "string",
27
+ "minLength": 1,
28
+ "maxLength": 255,
29
+ "example": "123"
30
+ },
31
+ "department": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 255,
35
+ "example": "R&D"
36
+ },
37
+ "position": {
38
+ "type": "string",
39
+ "minLength": 1,
40
+ "maxLength": 255,
41
+ "example": "Trainee research assistant"
42
+ },
43
+ "typeId": {
44
+ "type": "string",
45
+ "minLength": 1,
46
+ "maxLength": 20,
47
+ "examples": [
48
+ "1"
49
+ ]
50
+ },
51
+ "room": {
52
+ "type": "string",
53
+ "minLength": 1,
54
+ "maxLength": 255,
55
+ "examples": [
56
+ "Room1"
57
+ ]
58
+ },
59
+ "description": {
60
+ "type": "string",
61
+ "minLength": 1,
62
+ "maxLength": 255,
63
+ "example": "I am a job description"
64
+ },
65
+ "startDate": {
66
+ "type": "string",
67
+ "format": "date",
68
+ "examples": [
69
+ "2012-11-01"
70
+ ]
71
+ },
72
+ "endDate": {
73
+ "type": "string",
74
+ "format": "date",
75
+ "examples": [
76
+ "2012-12-21"
77
+ ]
78
+ },
79
+ "addressId": {
80
+ "type": "string",
81
+ "minLength": 1,
82
+ "maxLength": 20,
83
+ "examples": [
84
+ "1"
85
+ ]
86
+ }
87
+ },
88
+ "required": [
89
+ "companyId",
90
+ "profileId",
91
+ "typeId"
92
+ ]
93
+ }
94
+ },
95
+ "required": [
96
+ "type",
97
+ "attributes"
98
+ ]
99
+ }
100
+ },
101
+ "required": [
102
+ "data"
103
+ ]
104
+ }
@@ -0,0 +1,113 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "ProfessionalBackground",
4
+ "type": "object",
5
+ "properties": {
6
+ "data": {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "professional-backgrounds",
12
+ "examples": [
13
+ "professional-backgrounds"
14
+ ]
15
+ },
16
+ "id": {
17
+ "type": "string",
18
+ "minLength": 1,
19
+ "maxLength": 20,
20
+ "examples": [
21
+ "1"
22
+ ]
23
+ },
24
+ "attributes": {
25
+ "type": "object",
26
+ "properties": {
27
+ "profileId": {
28
+ "type": "string",
29
+ "minLength": 1,
30
+ "maxLength": 255,
31
+ "example": "123"
32
+ },
33
+ "companyId": {
34
+ "type": "string",
35
+ "minLength": 1,
36
+ "maxLength": 255,
37
+ "example": "123"
38
+ },
39
+ "department": {
40
+ "type": "string",
41
+ "minLength": 1,
42
+ "maxLength": 255,
43
+ "example": "R&D"
44
+ },
45
+ "position": {
46
+ "type": "string",
47
+ "minLength": 1,
48
+ "maxLength": 255,
49
+ "example": "Trainee research assistant"
50
+ },
51
+ "typeId": {
52
+ "type": "string",
53
+ "minLength": 1,
54
+ "maxLength": 20,
55
+ "examples": [
56
+ "1"
57
+ ]
58
+ },
59
+ "room": {
60
+ "type": "string",
61
+ "minLength": 1,
62
+ "maxLength": 255,
63
+ "examples": [
64
+ "Room1"
65
+ ]
66
+ },
67
+ "description": {
68
+ "type": "string",
69
+ "minLength": 1,
70
+ "maxLength": 255,
71
+ "example": "I am a job description"
72
+ },
73
+ "startDate": {
74
+ "type": "string",
75
+ "format": "date",
76
+ "examples": [
77
+ "2012-11-01"
78
+ ]
79
+ },
80
+ "endDate": {
81
+ "type": "string",
82
+ "format": "date",
83
+ "examples": [
84
+ "2012-12-21"
85
+ ]
86
+ },
87
+ "addressId": {
88
+ "type": "string",
89
+ "minLength": 1,
90
+ "maxLength": 20,
91
+ "examples": [
92
+ "1"
93
+ ]
94
+ }
95
+ },
96
+ "required": [
97
+ "companyId",
98
+ "profileId",
99
+ "typeId"
100
+ ]
101
+ }
102
+ },
103
+ "required": [
104
+ "id",
105
+ "type",
106
+ "attributes"
107
+ ]
108
+ }
109
+ },
110
+ "required": [
111
+ "data"
112
+ ]
113
+ }