File tree Expand file tree Collapse file tree 1 file changed +0
-62
lines changed Expand file tree Collapse file tree 1 file changed +0
-62
lines changed Original file line number Diff line number Diff line change 4848 "valid" : false
4949 }
5050 ]
51- },
52- {
53- "description" : " non-schema object containing a plain-name $id property" ,
54- "schema" : {
55- "$defs" : {
56- "const_not_anchor" : {
57- "const" : {
58- "$id" : " #not_a_real_anchor"
59- }
60- }
61- },
62- "if" : {
63- "const" : " skip not_a_real_anchor"
64- },
65- "then" : true ,
66- "else" : {
67- "$ref" : " #/$defs/const_not_anchor"
68- }
69- },
70- "tests" : [
71- {
72- "description" : " skip traversing definition for a valid result" ,
73- "data" : " skip not_a_real_anchor" ,
74- "valid" : true
75- },
76- {
77- "description" : " const at const_not_anchor does not match" ,
78- "data" : 1 ,
79- "valid" : false
80- }
81- ]
82- },
83- {
84- "description" : " non-schema object containing an $id property" ,
85- "schema" : {
86- "$defs" : {
87- "const_not_id" : {
88- "const" : {
89- "$id" : " not_a_real_id"
90- }
91- }
92- },
93- "if" : {
94- "const" : " skip not_a_real_id"
95- },
96- "then" : true ,
97- "else" : {
98- "$ref" : " #/$defs/const_not_id"
99- }
100- },
101- "tests" : [
102- {
103- "description" : " skip traversing definition for a valid result" ,
104- "data" : " skip not_a_real_id" ,
105- "valid" : true
106- },
107- {
108- "description" : " const at const_not_id does not match" ,
109- "data" : 1 ,
110- "valid" : false
111- }
112- ]
11351 }
11452]
You can’t perform that action at this time.
0 commit comments