draft-06: format "uri-template" tests
}
]
},
+ {
+ "description": "format: uri-template",
+ "schema": {
+ "format": "uri-template"
+ },
+ "tests": [
+ {
+ "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": "validation of e-mail addresses",
"schema": {"format": "email"},
