4 "id": "http://json-schema.org/draft-04/schema#",
5 "$schema": "http://json-schema.org/draft-04/schema#",
6 "description": "Core schema meta-schema",
11 "items": { "$ref": "#" }
17 "positiveIntegerDefault0": {
18 "allOf": [ { "$ref": "#/definitions/positiveInteger" }, { "default": 0 } ]
21 "enum": [ "array", "boolean", "integer", "null", "number", "object", "string" ]
25 "items": { "type": "string" },
50 "exclusiveMinimum": true
66 "maxLength": { "$ref": "#/definitions/positiveInteger" },
67 "minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
74 { "type": "boolean" },
82 { "$ref": "#/definitions/schemaArray" }
86 "maxItems": { "$ref": "#/definitions/positiveInteger" },
87 "minItems": { "$ref": "#/definitions/positiveIntegerDefault0" },
92 "maxProperties": { "$ref": "#/definitions/positiveInteger" },
93 "minProperties": { "$ref": "#/definitions/positiveIntegerDefault0" },
94 "required": { "$ref": "#/definitions/stringArray" },
95 "additionalProperties": {
97 { "type": "boolean" },
104 "additionalProperties": { "$ref": "#" },
109 "additionalProperties": { "$ref": "#" },
112 "patternProperties": {
114 "additionalProperties": { "$ref": "#" },
119 "additionalProperties": {
122 { "$ref": "#/definitions/stringArray" }
133 { "$ref": "#/definitions/simpleTypes" },
136 "items": { "$ref": "#/definitions/simpleTypes" },
142 "allOf": { "$ref": "#/definitions/schemaArray" },
143 "anyOf": { "$ref": "#/definitions/schemaArray" },
144 "oneOf": { "$ref": "#/definitions/schemaArray" },
145 "not": { "$ref": "#" }
148 "exclusiveMaximum": [ "maximum" ],
149 "exclusiveMinimum": [ "minimum" ]