123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222 |
- {
- "$schema": "http://json-schema.org/draft-04/schema#",
- "default": {},
- "definitions": {
- "positiveInteger": {
- "minimum": 0,
- "type": "integer"
- },
- "positiveIntegerDefault0": {
- "allOf": [
- {
- "$ref": "#/definitions/positiveInteger"
- },
- {
- "default": 0
- }
- ]
- },
- "schemaArray": {
- "items": {
- "$ref": "#"
- },
- "minItems": 1,
- "type": "array"
- },
- "simpleTypes": {
- "enum": [
- "array",
- "boolean",
- "integer",
- "null",
- "number",
- "object",
- "string"
- ]
- },
- "stringArray": {
- "items": {
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- },
- "dependencies": {
- "exclusiveMaximum": [
- "maximum"
- ],
- "exclusiveMinimum": [
- "minimum"
- ]
- },
- "description": "Core schema meta-schema",
- "id": "http://json-schema.org/draft-04/schema#",
- "properties": {
- "$schema": {
- "format": "uri",
- "type": "string"
- },
- "additionalItems": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "#"
- }
- ],
- "default": {}
- },
- "additionalProperties": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "$ref": "#"
- }
- ],
- "default": {}
- },
- "allOf": {
- "$ref": "#/definitions/schemaArray"
- },
- "anyOf": {
- "$ref": "#/definitions/schemaArray"
- },
- "default": {},
- "definitions": {
- "additionalProperties": {
- "$ref": "#"
- },
- "default": {},
- "type": "object"
- },
- "dependencies": {
- "additionalProperties": {
- "anyOf": [
- {
- "$ref": "#"
- },
- {
- "$ref": "#/definitions/stringArray"
- }
- ]
- },
- "type": "object"
- },
- "description": {
- "type": "string"
- },
- "enum": {
- "type": "array"
- },
- "exclusiveMaximum": {
- "default": false,
- "type": "boolean"
- },
- "exclusiveMinimum": {
- "default": false,
- "type": "boolean"
- },
- "format": {
- "type": "string"
- },
- "id": {
- "format": "uri",
- "type": "string"
- },
- "items": {
- "anyOf": [
- {
- "$ref": "#"
- },
- {
- "$ref": "#/definitions/schemaArray"
- }
- ],
- "default": {}
- },
- "maxItems": {
- "$ref": "#/definitions/positiveInteger"
- },
- "maxLength": {
- "$ref": "#/definitions/positiveInteger"
- },
- "maxProperties": {
- "$ref": "#/definitions/positiveInteger"
- },
- "maximum": {
- "type": "number"
- },
- "minItems": {
- "$ref": "#/definitions/positiveIntegerDefault0"
- },
- "minLength": {
- "$ref": "#/definitions/positiveIntegerDefault0"
- },
- "minProperties": {
- "$ref": "#/definitions/positiveIntegerDefault0"
- },
- "minimum": {
- "type": "number"
- },
- "multipleOf": {
- "exclusiveMinimum": true,
- "minimum": 0,
- "type": "number"
- },
- "not": {
- "$ref": "#"
- },
- "oneOf": {
- "$ref": "#/definitions/schemaArray"
- },
- "pattern": {
- "format": "regex",
- "type": "string"
- },
- "patternProperties": {
- "additionalProperties": {
- "$ref": "#"
- },
- "default": {},
- "type": "object"
- },
- "properties": {
- "additionalProperties": {
- "$ref": "#"
- },
- "default": {},
- "type": "object"
- },
- "required": {
- "$ref": "#/definitions/stringArray"
- },
- "title": {
- "type": "string"
- },
- "type": {
- "anyOf": [
- {
- "$ref": "#/definitions/simpleTypes"
- },
- {
- "items": {
- "$ref": "#/definitions/simpleTypes"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- }
- ]
- },
- "uniqueItems": {
- "default": false,
- "type": "boolean"
- }
- },
- "type": "object"
- }
|