diff --git a/README.md b/README.md index 1bafd11d..8d20b02f 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ Conformance tests for JSON Schema and its vocabularies may be found The JSON Schema web site is at http://json-schema.org/ -The source for the website is [maintained in a separate repository](https://github.com/json-schema-org/json-schema-org.github.io). +The source for the website is [maintained in a separate repository](https://github.com/json-schema-org/website). ## License diff --git a/hyper-schema-output.json b/hyper-schema-output.json index 81d32854..91d49d5d 100644 --- a/hyper-schema-output.json +++ b/hyper-schema-output.json @@ -1,5 +1,5 @@ { - "$id": "http://json-schema.org/draft-7/hyper-schema-output", + "$id": "http://json-schema.org/draft-07/hyper-schema-output", "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": { diff --git a/hyper-schema.json b/hyper-schema.json index c0b3d248..7ed18bc5 100644 --- a/hyper-schema.json +++ b/hyper-schema.json @@ -39,16 +39,15 @@ "properties": { "additionalProperties": { "$ref": "#" } }, - "if": {"$ref": "#"}, - "then": {"$ref": "#"}, - "else": {"$ref": "#"}, + "if": { "$ref": "#" }, + "then": { "$ref": "#" }, + "else": { "$ref": "#" }, "allOf": { "$ref": "#/definitions/schemaArray" }, "anyOf": { "$ref": "#/definitions/schemaArray" }, "oneOf": { "$ref": "#/definitions/schemaArray" }, "not": { "$ref": "#" }, "contains": { "$ref": "#" }, "propertyNames": { "$ref": "#" }, - "base": { "type": "string", "format": "uri-template" diff --git a/schema.json b/schema.json index 5bee90ec..fb92c7f7 100644 --- a/schema.json +++ b/schema.json @@ -64,6 +64,10 @@ "type": "boolean", "default": false }, + "writeOnly": { + "type": "boolean", + "default": false + }, "examples": { "type": "array", "items": true @@ -156,9 +160,9 @@ "format": { "type": "string" }, "contentMediaType": { "type": "string" }, "contentEncoding": { "type": "string" }, - "if": {"$ref": "#"}, - "then": {"$ref": "#"}, - "else": {"$ref": "#"}, + "if": { "$ref": "#" }, + "then": { "$ref": "#" }, + "else": { "$ref": "#" }, "allOf": { "$ref": "#/definitions/schemaArray" }, "anyOf": { "$ref": "#/definitions/schemaArray" }, "oneOf": { "$ref": "#/definitions/schemaArray" },