summaryrefslogtreecommitdiff
path: root/json/tests/draft2020-12/optional/format-assertion.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft2020-12/optional/format-assertion.json')
-rw-r--r--json/tests/draft2020-12/optional/format-assertion.json42
1 files changed, 0 insertions, 42 deletions
diff --git a/json/tests/draft2020-12/optional/format-assertion.json b/json/tests/draft2020-12/optional/format-assertion.json
deleted file mode 100644
index 0340037..0000000
--- a/json/tests/draft2020-12/optional/format-assertion.json
+++ /dev/null
@@ -1,42 +0,0 @@
-[
- {
- "description": "schema that uses custom metaschema with format-assertion: false",
- "schema": {
- "$id": "https://schema/using/format-assertion/false",
- "$schema": "http://localhost:1234/draft2020-12/format-assertion-false.json",
- "format": "ipv4"
- },
- "tests": [
- {
- "description": "format-assertion: false: valid string",
- "data": "127.0.0.1",
- "valid": true
- },
- {
- "description": "format-assertion: false: invalid string",
- "data": "not-an-ipv4",
- "valid": false
- }
- ]
- },
- {
- "description": "schema that uses custom metaschema with format-assertion: true",
- "schema": {
- "$id": "https://schema/using/format-assertion/true",
- "$schema": "http://localhost:1234/draft2020-12/format-assertion-true.json",
- "format": "ipv4"
- },
- "tests": [
- {
- "description": "format-assertion: true: valid string",
- "data": "127.0.0.1",
- "valid": true
- },
- {
- "description": "format-assertion: true: invalid string",
- "data": "not-an-ipv4",
- "valid": false
- }
- ]
- }
-]