summaryrefslogtreecommitdiff
path: root/json
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2019-09-04 09:23:16 +0200
committerJulian Berman <Julian@GrayVines.com>2019-09-04 09:23:16 +0200
commit9ab25e0c28dd0d5384dbfd834e244a09b24ca56c (patch)
tree669fe8e68b137c42d49266f5120192dcc940047e /json
parenta5d9c3e5b828d7b9b17dbc041408702aad8206ed (diff)
parent6f05b2e8b7517667edf570418ca47ab37b7400b9 (diff)
downloadjsonschema-9ab25e0c28dd0d5384dbfd834e244a09b24ca56c.tar.gz
Merge commit '6f05b2e8b7517667edf570418ca47ab37b7400b9'
* commit '6f05b2e8b7517667edf570418ca47ab37b7400b9': Squashed 'json/' changes from e2f566f6..6b673312
Diffstat (limited to 'json')
-rw-r--r--json/README.md2
-rw-r--r--json/tests/draft6/contains.json5
-rw-r--r--json/tests/draft7/contains.json5
3 files changed, 11 insertions, 1 deletions
diff --git a/json/README.md b/json/README.md
index 1145f43..f65934c 100644
--- a/json/README.md
+++ b/json/README.md
@@ -67,8 +67,8 @@ This suite is being used by:
### Clojure ###
+* [jinx](https://github.com/juxt/jinx)
* [json-schema](https://github.com/tatut/json-schema)
-* [JSON Schema for Clojure(Script) (JUXT)](https://github.com/juxt/json-schema)
### Coffeescript ###
diff --git a/json/tests/draft6/contains.json b/json/tests/draft6/contains.json
index b7ae5a2..67ecbd9 100644
--- a/json/tests/draft6/contains.json
+++ b/json/tests/draft6/contains.json
@@ -89,6 +89,11 @@
"description": "empty array is invalid",
"data": [],
"valid": false
+ },
+ {
+ "description": "non-arrays are valid",
+ "data": "contains does not apply to strings",
+ "valid": true
}
]
}
diff --git a/json/tests/draft7/contains.json b/json/tests/draft7/contains.json
index b7ae5a2..67ecbd9 100644
--- a/json/tests/draft7/contains.json
+++ b/json/tests/draft7/contains.json
@@ -89,6 +89,11 @@
"description": "empty array is invalid",
"data": [],
"valid": false
+ },
+ {
+ "description": "non-arrays are valid",
+ "data": "contains does not apply to strings",
+ "valid": true
}
]
}