update draft-07 meta-schema

master
Evgeny Poberezkin 2018-01-11 21:43:42 +00:00
parent 02a202cfbc
commit b7cee43bbe
1 changed files with 6 additions and 5 deletions

View File

@ -59,14 +59,14 @@
"description": {
"type": "string"
},
"default": {},
"default": true,
"readOnly": {
"type": "boolean",
"default": false
},
"examples": {
"type": "array",
"items": {}
"items": true
},
"multipleOf": {
"type": "number",
@ -96,7 +96,7 @@
{ "$ref": "#" },
{ "$ref": "#/definitions/schemaArray" }
],
"default": {}
"default": true
},
"maxItems": { "$ref": "#/definitions/nonNegativeInteger" },
"minItems": { "$ref": "#/definitions/nonNegativeIntegerDefault0" },
@ -135,9 +135,10 @@
}
},
"propertyNames": { "$ref": "#" },
"const": {},
"const": true,
"enum": {
"type": "array",
"items": true,
"minItems": 1,
"uniqueItems": true
},
@ -163,5 +164,5 @@
"oneOf": { "$ref": "#/definitions/schemaArray" },
"not": { "$ref": "#" }
},
"default": {}
"default": true
}