diff options
Diffstat (limited to 'json/tests/draft7/optional/format/relative-json-pointer.json')
-rw-r--r-- | json/tests/draft7/optional/format/relative-json-pointer.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/json/tests/draft7/optional/format/relative-json-pointer.json b/json/tests/draft7/optional/format/relative-json-pointer.json index 9309986..e50e505 100644 --- a/json/tests/draft7/optional/format/relative-json-pointer.json +++ b/json/tests/draft7/optional/format/relative-json-pointer.json @@ -64,6 +64,11 @@ "valid": false }, { + "description": "explicit positive prefix", + "data": "+1/foo/bar", + "valid": false + }, + { "description": "## is not a valid json-pointer", "data": "0##", "valid": false @@ -77,6 +82,16 @@ "description": "zero cannot be followed by other digits, plus octothorpe", "data": "01#", "valid": false + }, + { + "description": "empty string", + "data": "", + "valid": false + }, + { + "description": "multi-digit integer prefix", + "data": "120/foo/bar", + "valid": true } ] } |