File tree Expand file tree Collapse file tree 1 file changed +50
-1
lines changed Expand file tree Collapse file tree 1 file changed +50
-1
lines changed Original file line number Diff line number Diff line change 4343 {
4444 "description" : " Valid $schema" ,
4545 "data" : {
46- "$schema" : " http ://example.com/foo "
46+ "$schema" : " https ://json-schema.org/draft/2019-09/schema "
4747 },
4848 "valid" : true
49+ },
50+ {
51+ "description" : " $schema in subschema with no canonical ID: in allOf" ,
52+ "data" : {
53+ "allOf" : [
54+ {
55+ "$schema" : " https://json-schema.org/draft/2019-09/schema"
56+ }
57+ ]
58+ },
59+ "valid" : false
60+ },
61+ {
62+ "description" : " $schema in subschema with no canonical ID: in referenced" ,
63+ "data" : {
64+ "$ref" : " #/$defs/A" ,
65+ "$defs" : {
66+ "A" : {
67+ "$schema" : " https://json-schema.org/draft/2019-09/schema"
68+ }
69+ }
70+ },
71+ "valid" : false
72+ },
73+ {
74+ "description" : " $schema in subschema with canonical ID: has $id" ,
75+ "data" : {
76+ "$ref" : " #/$defs/A" ,
77+ "$defs" : {
78+ "A" : {
79+ "$id" : " other" ,
80+ "$schema" : " https://json-schema.org/draft/2019-09/schema"
81+ }
82+ }
83+ },
84+ "valid" : true
85+ },
86+ {
87+ "description" : " $schema in subschema with canonical ID: has $anchor" ,
88+ "data" : {
89+ "$ref" : " #/$defs/A" ,
90+ "$defs" : {
91+ "A" : {
92+ "$anchor" : " name" ,
93+ "$schema" : " https://json-schema.org/draft/2019-09/schema"
94+ }
95+ }
96+ },
97+ "valid" : false
4998 }
5099 ]
51100 },
You can’t perform that action at this time.
0 commit comments