diff --git a/tests/draft2019-09/meta/core.json b/tests/draft2019-09/meta/core.json index 5908b754..0bf9d7d3 100644 --- a/tests/draft2019-09/meta/core.json +++ b/tests/draft2019-09/meta/core.json @@ -386,6 +386,32 @@ "$anchor": "himom@" }, "valid": false + }, + { + "description": "Fragment syntax disallowed", + "data": { + "$ref": "#foo", + "$defs": { + "A": { + "$anchor": "#foo", + "type": "integer" + } + } + }, + "valid": false + }, + { + "description": "Invalid characters disallowed", + "data": { + "$ref": "#/a/b", + "$defs": { + "A": { + "$anchor": "/a/b", + "type": "integer" + } + } + }, + "valid": false } ] },