@toa.io/norm 1.0.0-alpha.7 → 1.0.0-alpha.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/norm",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.9",
4
4
  "description": "Toa declarations normalization and validation",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -20,11 +20,11 @@
20
20
  "test": "echo \"Error: run tests from root\" && exit 1"
21
21
  },
22
22
  "dependencies": {
23
- "@toa.io/core": "1.0.0-alpha.7",
24
- "@toa.io/generic": "1.0.0-alpha.7",
25
- "@toa.io/schema": "1.0.0-alpha.7",
26
- "@toa.io/schemas": "1.0.0-alpha.7",
27
- "@toa.io/yaml": "1.0.0-alpha.7"
23
+ "@toa.io/core": "1.0.0-alpha.9",
24
+ "@toa.io/generic": "1.0.0-alpha.9",
25
+ "@toa.io/schema": "1.0.0-alpha.9",
26
+ "@toa.io/schemas": "1.0.0-alpha.9",
27
+ "@toa.io/yaml": "1.0.0-alpha.9"
28
28
  },
29
- "gitHead": "4f5ac0bc342d4b7bd469fbe5c74266f050b55c9f"
29
+ "gitHead": "017a3fa22e8c60654c240f8e55908773d44d4ed1"
30
30
  }
@@ -80,6 +80,22 @@ properties:
80
80
  oneOf:
81
81
  - $ref: '#/definitions/name'
82
82
  - enum: [_version]
83
+ unique:
84
+ type: object
85
+ patternProperties:
86
+ '.*':
87
+ type: array
88
+ items:
89
+ type: string
90
+ index:
91
+ type: object
92
+ patternProperties:
93
+ '.*':
94
+ type: object
95
+ patternProperties:
96
+ '.*':
97
+ type: string
98
+ enum: [asc, desc, hash]
83
99
  dependent:
84
100
  type: boolean
85
101
  default: false