We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21b776e commit 1e2834cCopy full SHA for 1e2834c
tests/draft6/optional/format.json
@@ -82,6 +82,24 @@
82
}
83
]
84
},
85
+ {
86
+ "description": "format: uri-template",
87
+ "schema": {
88
+ "format": "uri-template"
89
+ },
90
+ "tests": [
91
92
+ "description": "a valid uri-template",
93
+ "data": "http://example.com/dictionary/{term:1}/{term}",
94
+ "valid": true
95
96
97
+ "description": "an invalid uri-template",
98
+ "data": "http://example.com/dictionary/{term:1}/{term",
99
+ "valid": false
100
+ }
101
+ ]
102
103
{
104
"description": "validation of e-mail addresses",
105
"schema": {"format": "email"},
0 commit comments