@tillhub/schemas 6.445.0 → 6.446.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.446.0](https://github.com/tillhub/schemas/compare/v6.445.0...v6.446.0) (2026-06-18)
2
+
3
+
4
+ ### Features
5
+
6
+ * **mms-hierarchy:** new schema ([#1169](https://github.com/tillhub/schemas/issues/1169)) ([43abf22](https://github.com/tillhub/schemas/commit/43abf22))
7
+
1
8
  # [6.445.0](https://github.com/tillhub/schemas/compare/v6.444.0...v6.445.0) (2026-06-15)
2
9
 
3
10
 
@@ -1,27 +1,34 @@
1
1
  const contact = {
2
2
  type: 'object',
3
- additionalProperties: false,
3
+ additionalProperties: true,
4
4
  required: [
5
5
  'roles',
6
- 'mmsId',
7
6
  'email'
8
7
  ],
9
8
  properties: {
10
9
  roles: {
11
10
  type: 'array',
12
- minItems: 1,
13
11
  items: {
14
12
  type: 'string',
15
13
  minLength: 1
16
14
  }
17
15
  },
18
16
  mmsId: {
19
- type: 'string',
20
- minLength: 1
17
+ type: ['null', 'string']
21
18
  },
22
19
  email: {
23
20
  type: 'string',
24
21
  format: 'email'
22
+ },
23
+ firstName: {
24
+ type: ['null', 'string']
25
+ },
26
+ lastName: {
27
+ type: ['null', 'string']
28
+ },
29
+ attributes: {
30
+ type: ['null', 'object'],
31
+ additionalProperties: true
25
32
  }
26
33
  }
27
34
  }
@@ -31,16 +38,22 @@ const connection = {
31
38
  additionalProperties: true,
32
39
  required: [
33
40
  'unzerId',
34
- 'contacts'
41
+ 'mmsId'
35
42
  ],
36
43
  properties: {
37
44
  unzerId: {
38
45
  type: 'string',
39
46
  minLength: 1
40
47
  },
48
+ mmsId: {
49
+ type: 'string',
50
+ minLength: 1
51
+ },
52
+ description: {
53
+ type: ['null', 'string']
54
+ },
41
55
  contacts: {
42
56
  type: 'array',
43
- minItems: 1,
44
57
  items: contact
45
58
  }
46
59
  }
@@ -50,14 +63,14 @@ module.exports = {
50
63
  $id: 'https://schemas.tillhub.com/v0/client_accounts.connections.schema.json',
51
64
  $schema: 'http://json-schema.org/draft-07/schema#',
52
65
  type: 'object',
53
- additionalProperties: false,
66
+ additionalProperties: true,
54
67
  required: [
55
68
  'connections'
56
69
  ],
57
70
  properties: {
58
71
  connections: {
59
72
  type: 'object',
60
- additionalProperties: false,
73
+ additionalProperties: true,
61
74
  required: [
62
75
  'hasAccessTo',
63
76
  'accessibleBy'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tillhub/schemas",
3
- "version": "6.445.0",
3
+ "version": "6.446.0",
4
4
  "private": false,
5
5
  "description": "All Tillhub API OpenAPI 3 compatible JSON Schemas.",
6
6
  "main": "./lib/index.js",