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.
$ref
1 parent cda4281 commit 6695ca3Copy full SHA for 6695ca3
tests/draft-next/optional/refOfUnknownKeyword.json
@@ -42,5 +42,28 @@
42
"valid": false
43
}
44
]
45
+ },
46
+ {
47
+ "description": "reference internals of known non-applicator",
48
+ "schema": {
49
+ "$schema": "https://json-schema.org/draft/next/schema",
50
+ "$id": "/base",
51
+ "examples": [
52
+ { "type": "string" }
53
+ ],
54
+ "$ref": "#/examples/0"
55
56
+ "tests": [
57
58
+ "description": "match",
59
+ "data": "a string",
60
+ "valid": true
61
62
63
+ "description": "mismatch",
64
+ "data": 42,
65
+ "valid": false
66
+ }
67
+ ]
68
69
0 commit comments