Debian Codegraph @

tests/output-extra/v1-extra/content/unevaluated_properties_ref.json

raw symbols SCIP
1 [
2 {
3 "description": "unevaluatedProperties fires through $ref",
4 "schema": {
5 "$schema": "https://json-schema.org/v1",
6 "$id": "https://json-schema.org/tests/content/v1-extra/unevaluated_properties_ref/0",
7 "type": "object",
8 "$defs": {
9 "inner": {
10 "type": "object",
11 "properties": {
12 "foo": true
13 }
14 }
15 },
16 "$ref": "#/$defs/inner",
17 "unevaluatedProperties": false
18 },
19 "tests": [
20 {
21 "description": "extra property still reports location",
22 "data": {"foo": null, "bar": null},
23 "output": {
24 "list": {
25 "$id": "https://json-schema.org/tests/content/v1-extra/unevaluated_properties_ref/0/tests/0/list",
26 "$ref": "/v1/output/schema",
27 "properties": {
28 "valid": {"const": false},
29 "details": {
30 "contains": {
31 "properties": {
32 "schemaLocation": {"const": "https://json-schema.org/tests/content/v1-extra/unevaluated_properties_ref/0#/unevaluatedProperties"},
33 "instanceLocation": {"const": "/bar"},
34 "errors": {}
35 },
36 "required": ["schemaLocation", "instanceLocation", "errors"]
37 }
38 }
39 },
40 "required": ["valid", "details"]
41 }
42 }
43 }
44 ]
45 }
46 ]