summaryrefslogtreecommitdiff
path: root/json/tests/draft7/optional/format/uri-template.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft7/optional/format/uri-template.json')
-rw-r--r--json/tests/draft7/optional/format/uri-template.json58
1 files changed, 0 insertions, 58 deletions
diff --git a/json/tests/draft7/optional/format/uri-template.json b/json/tests/draft7/optional/format/uri-template.json
deleted file mode 100644
index df355c5..0000000
--- a/json/tests/draft7/optional/format/uri-template.json
+++ /dev/null
@@ -1,58 +0,0 @@
-[
- {
- "description": "format: uri-template",
- "schema": { "format": "uri-template" },
- "tests": [
- {
- "description": "all string formats ignore integers",
- "data": 12,
- "valid": true
- },
- {
- "description": "all string formats ignore floats",
- "data": 13.7,
- "valid": true
- },
- {
- "description": "all string formats ignore objects",
- "data": {},
- "valid": true
- },
- {
- "description": "all string formats ignore arrays",
- "data": [],
- "valid": true
- },
- {
- "description": "all string formats ignore booleans",
- "data": false,
- "valid": true
- },
- {
- "description": "all string formats ignore nulls",
- "data": null,
- "valid": true
- },
- {
- "description": "a valid uri-template",
- "data": "http://example.com/dictionary/{term:1}/{term}",
- "valid": true
- },
- {
- "description": "an invalid uri-template",
- "data": "http://example.com/dictionary/{term:1}/{term",
- "valid": false
- },
- {
- "description": "a valid uri-template without variables",
- "data": "http://example.com/dictionary",
- "valid": true
- },
- {
- "description": "a valid relative uri-template",
- "data": "dictionary/{term:1}/{term}",
- "valid": true
- }
- ]
- }
-]