@takeshape/json-schema 11.102.3 → 11.103.1

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.
@@ -18,13 +18,13 @@ export type AnyOfSchema = JSONSchema7 & {
18
18
  export type AllOfSchema = JSONSchema7 & {
19
19
  allOf: Exclude<JSONSchema7['allOf'], undefined>;
20
20
  };
21
- export type ObjectSchema = JSONSchema7 & {
21
+ export type ObjectSchema = Omit<JSONSchema7, 'type'> & {
22
22
  type: 'object';
23
23
  };
24
24
  export type PropertySchema = ObjectSchema & {
25
25
  properties: Exclude<JSONSchema7['properties'], undefined>;
26
26
  };
27
- export type ArraySchema = JSONSchema7 & {
27
+ export type ArraySchema = Omit<JSONSchema7, 'type'> & {
28
28
  type: 'array';
29
29
  };
30
30
  export type ListSchema = ArraySchema & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/json-schema",
3
- "version": "11.102.3",
3
+ "version": "11.103.1",
4
4
  "description": "JSON Schema validator",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {
@@ -38,7 +38,7 @@
38
38
  "ajv-formats": "3.0.1",
39
39
  "lodash": "4.17.21",
40
40
  "minimatch": "^3.0.4",
41
- "@takeshape/util": "11.102.3"
41
+ "@takeshape/util": "11.103.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/json-schema": "^7.0.7",