summaryrefslogtreecommitdiff
path: root/json/tests/draft-next/maxLength.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft-next/maxLength.json')
-rw-r--r--json/tests/draft-next/maxLength.json10
1 files changed, 8 insertions, 2 deletions
diff --git a/json/tests/draft-next/maxLength.json b/json/tests/draft-next/maxLength.json
index 748b4da..e09e44a 100644
--- a/json/tests/draft-next/maxLength.json
+++ b/json/tests/draft-next/maxLength.json
@@ -1,7 +1,10 @@
[
{
"description": "maxLength validation",
- "schema": {"maxLength": 2},
+ "schema": {
+ "$schema": "https://json-schema.org/draft/next/schema",
+ "maxLength": 2
+ },
"tests": [
{
"description": "shorter is valid",
@@ -32,7 +35,10 @@
},
{
"description": "maxLength validation with a decimal",
- "schema": {"maxLength": 2.0},
+ "schema": {
+ "$schema": "https://json-schema.org/draft/next/schema",
+ "maxLength": 2.0
+ },
"tests": [
{
"description": "shorter is valid",