summaryrefslogtreecommitdiff
path: root/json/tests/draft2019-09/not.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2019-09/not.json')
-rw-r--r--json/tests/draft2019-09/not.json14
1 files changed, 12 insertions, 2 deletions
diff --git a/json/tests/draft2019-09/not.json b/json/tests/draft2019-09/not.json
index 98de0ed..f76f763 100644
--- a/json/tests/draft2019-09/not.json
+++ b/json/tests/draft2019-09/not.json
@@ -2,6 +2,7 @@
{
"description": "not",
"schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
"not": {"type": "integer"}
},
"tests": [
@@ -20,6 +21,7 @@
{
"description": "not multiple types",
"schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
"not": {"type": ["integer", "boolean"]}
},
"tests": [
@@ -43,6 +45,7 @@
{
"description": "not more complex schema",
"schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
"not": {
"type": "object",
"properties": {
@@ -73,6 +76,7 @@
{
"description": "forbidden property",
"schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
"properties": {
"foo": {
"not": {}
@@ -94,7 +98,10 @@
},
{
"description": "not with boolean schema true",
- "schema": {"not": true},
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
+ "not": true
+ },
"tests": [
{
"description": "any value is invalid",
@@ -105,7 +112,10 @@
},
{
"description": "not with boolean schema false",
- "schema": {"not": false},
+ "schema": {
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
+ "not": false
+ },
"tests": [
{
"description": "any value is valid",