summaryrefslogtreecommitdiff
path: root/tests/draft2019-09/format.json
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-04-12 21:09:51 -0400
committerJulian Berman <Julian@GrayVines.com>2021-04-12 21:09:51 -0400
commit61d6022ad9cceb91eb634d01eecfc15358b1d8a1 (patch)
tree1d88ab4660f2a28ae9e98c7b9538d58d85816ed3 /tests/draft2019-09/format.json
parent037b4438fc54e52584cf8fb5e469cf3413751a1f (diff)
downloadjsonschema-61d6022ad9cceb91eb634d01eecfc15358b1d8a1.tar.gz
Squashed 'json/' changes from 3627cc1..15ec577
15ec577 Merge pull request #471 from json-schema-org/ether/id-anchor-in-enum 9f97865 test for confusing not-identifiers in enums 0f7ecd4 Merge pull request #475 from marksparkza/marksparkza-patch-1 783d22a Add jschon fc68499 Merge pull request #472 from json-schema-org/ether/unevaluatedProperties_uncles ed4cf5f more test cases for unevaluatedItems, unevaluatedProperties d0d814d Merge pull request #469 from json-schema-org/ether/ipv4-vulnerability 7ca5f36 reject ipv4 strings with an octet with a leading zero 8e1e1c1 fix spelling error in test descriptions 77f1d10 Merge pull request #462 from jdesrosiers/dynamic-ref-tests 72a32fe Merge pull request #468 from json-schema-org/ether/combine-test-cases 0c48ffb Merge pull request #453 from notEthan/float-overflow-d4-int 76a4ba0 these test cases can be combined since the schemas are the same cd73775 Merge pull request #464 from json-schema-org/ether/format-by-default-always-validates 043dc63 by default, "format" only annotates, not validates 3c45b81 Merge pull request #460 from amosonn/remove-remotes-from-script b09e48d Fix $ref with siblings in pre-2019-09 tests ff9f22e Add tests for $dynamicRef/$dynamicAnchor 0faaf09 Fix refs to Draft 2019-09 schema to be refs to 2020-12 ebbcbc8 Use flask to server remotes directly bb98b03 Remove remotes from bin/jsonschema_suite fcae732 Merge pull request #455 from jdesrosiers/bootstrap-202012 e002409 Update tests for 2020-12 405b3fb Copy 2019-09 tests to bootstrap 2020-12 tests 1636a22 draft4 float-overflow instance may be considered not an integer 8daea3f Merge pull request #451 from json-schema-org/ether/more-relative-json-pointer 69fe40f some more relative-json-pointer tests 6505944 Merge pull request #450 from json-schema-org/ether/recursiveRef-dynamic-path afd0cd3 Move content* keyword tests to non-optional e2b2a4b Change all content* keyword tests to always validate 8999eae $recursiveRef example demonstrating dynamic nature of the resolution scope f47003f fix duplicate test description bcf1dc8 Merge pull request #391 from ether/recursiveRef (rebased, squashed) 3d88f34 test $recursiveRef + $recursiveAnchor 3b79a45 Merge pull request #418 from ChALkeR/chalker/contentSchema 29f609b Add tests for contentSchema git-subtree-dir: json git-subtree-split: 15ec577f5ddee0115319f4e7f856cd57567a9c78
Diffstat (limited to 'tests/draft2019-09/format.json')
-rw-r--r--tests/draft2019-09/format.json95
1 files changed, 95 insertions, 0 deletions
diff --git a/tests/draft2019-09/format.json b/tests/draft2019-09/format.json
index dddea86..0eb5048 100644
--- a/tests/draft2019-09/format.json
+++ b/tests/draft2019-09/format.json
@@ -32,6 +32,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid email string is only an annotation by default",
+ "data": "2962",
+ "valid": true
}
]
},
@@ -68,6 +73,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid idn-email string is only an annotation by default",
+ "data": "2962",
+ "valid": true
}
]
},
@@ -104,6 +114,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid regex string is only an annotation by default",
+ "data": "^(abc]",
+ "valid": true
}
]
},
@@ -140,6 +155,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid ipv4 string is only an annotation by default",
+ "data": "127.0.0.0.1",
+ "valid": true
}
]
},
@@ -176,6 +196,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid ipv6 string is only an annotation by default",
+ "data": "12345::",
+ "valid": true
}
]
},
@@ -212,6 +237,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid idn-hostname string is only an annotation by default",
+ "data": "〮실례.테스트",
+ "valid": true
}
]
},
@@ -248,6 +278,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid hostname string is only an annotation by default",
+ "data": "-a-host-name-that-starts-with--",
+ "valid": true
}
]
},
@@ -284,6 +319,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid date string is only an annotation by default",
+ "data": "06/19/1963",
+ "valid": true
}
]
},
@@ -320,6 +360,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid date-time string is only an annotation by default",
+ "data": "1990-02-31T15:59:60.123-08:00",
+ "valid": true
}
]
},
@@ -356,6 +401,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid time string is only an annotation by default",
+ "data": "08:30:06 PST",
+ "valid": true
}
]
},
@@ -392,6 +442,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid json-pointer string is only an annotation by default",
+ "data": "/foo/bar~",
+ "valid": true
}
]
},
@@ -428,6 +483,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid relative-json-pointer string is only an annotation by default",
+ "data": "/foo/bar",
+ "valid": true
}
]
},
@@ -464,6 +524,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid iri string is only an annotation by default",
+ "data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334",
+ "valid": true
}
]
},
@@ -500,6 +565,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid iri-reference string is only an annotation by default",
+ "data": "\\\\WINDOWS\\filëßåré",
+ "valid": true
}
]
},
@@ -536,6 +606,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid uri string is only an annotation by default",
+ "data": "//foo.bar/?baz=qux#quux",
+ "valid": true
}
]
},
@@ -572,6 +647,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid uri-reference string is only an annotation by default",
+ "data": "\\\\WINDOWS\\fileshare",
+ "valid": true
}
]
},
@@ -608,6 +688,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid uri-template string is only an annotation by default",
+ "data": "http://example.com/dictionary/{term:1}/{term",
+ "valid": true
}
]
},
@@ -644,6 +729,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid uuid string is only an annotation by default",
+ "data": "2eb8aa08-aa98-11ea-b4aa-73b441d1638",
+ "valid": true
}
]
},
@@ -680,6 +770,11 @@
"description": "ignores null",
"data": null,
"valid": true
+ },
+ {
+ "description": "invalid duration string is only an annotation by default",
+ "data": "PT1D",
+ "valid": true
}
]
}