Debian Codegraph @

t/invalid-schemas/ref.json

raw
1 [
2 {
3 "description": "invalid $ref: unencoded characters",
4 "comment": "when properly encoded, this would be http://foo%5Ebar/path",
5 "schema": {
6 "$defs": {
7 "foo": {
8 "$ref": "http://foo^bar/path"
9 }
10 }
11 },
12 "tests": [
13 {
14 "description": "unencoded characters in $ref uri",
15 "data": 1,
16 "valid": false
17 }
18 ]
19 },
20 {
21 "description": "invalid $ref: non-ascii characters",
22 "schema": {
23 "$defs": {
24 "foo": {
25 "$ref": "https://ಠ_ಠ.com"
26 }
27 }
28 },
29 "tests": [
30 {
31 "description": "non-ascii characters in $ref uri",
32 "data": 1,
33 "valid": false
34 }
35 ]
36 }
37 ]