@tillhub/schemas 6.211.0 → 6.212.0

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [6.212.0](https://github.com/tillhub/schemas/compare/v6.211.0...v6.212.0) (2023-04-25)
2
+
3
+
4
+ ### Features
5
+
6
+ * **mmsbranch:** fix objects to arrays & description ([924b5c5](https://github.com/tillhub/schemas/commit/924b5c5))
7
+
1
8
  # [6.211.0](https://github.com/tillhub/schemas/compare/v6.210.0...v6.211.0) (2023-04-25)
2
9
 
3
10
 
@@ -12,19 +12,19 @@ module.exports = {
12
12
  format: 'uuid'
13
13
  }),
14
14
  created_by: oneOf({
15
- description: 'When was created the branch in Mms.',
15
+ description: 'Who created the branch in Mms.',
16
16
  type: 'string',
17
17
  maxLength: 255,
18
18
  minLength: 1
19
19
  }),
20
20
  updated_by: oneOf({
21
- description: 'Last time it was updated in Mms.',
21
+ description: 'Who updated the branch for the last time in Mms.',
22
22
  type: 'string',
23
23
  maxLength: 255,
24
24
  minLength: 1
25
25
  }),
26
26
  deleted_by: oneOf({
27
- description: 'Last time it was updated in Mms.',
27
+ description: 'Who deleted the branch in Mms.',
28
28
  type: 'string',
29
29
  maxLength: 255,
30
30
  minLength: 1
@@ -119,11 +119,17 @@ module.exports = {
119
119
  }),
120
120
  contacts: oneOf({
121
121
  description: 'The contacts.',
122
- type: 'object'
122
+ type: 'array',
123
+ items: {
124
+ type: 'object'
125
+ }
123
126
  }),
124
127
  unzer_identifier_records: oneOf({
125
128
  description: 'The unzer identifier records.',
126
- type: 'object'
129
+ type: 'array',
130
+ items: {
131
+ type: 'object'
132
+ }
127
133
  }),
128
134
  state: oneOf({
129
135
  description: 'The state.',
@@ -133,7 +139,10 @@ module.exports = {
133
139
  }),
134
140
  contracts: oneOf({
135
141
  description: 'The contracts.',
136
- type: 'object'
142
+ type: 'array',
143
+ items: {
144
+ type: 'object'
145
+ }
137
146
  }),
138
147
  units: oneOf({
139
148
  description: 'The uuids of units.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.211.0",
3
+ "version": "6.212.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",