File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "$schema" : " https ://json-schema.org/draft-04/schema#" ,
2+ "$schema" : " http ://json-schema.org/draft-04/schema#" ,
33 "definitions" : {
44 "outputItem" : {
55 "type" : " object" ,
Original file line number Diff line number Diff line change 357357 "valid" : false
358358 }
359359 ]
360+ },
361+ {
362+ "description" : " ref creates new scope when adjacent to keywords" ,
363+ "schema" : {
364+ "$defs" : {
365+ "A" : {
366+ "unevaluatedProperties" : false
367+ }
368+ },
369+ "properties" : {
370+ "prop1" : {
371+ "type" : " string"
372+ }
373+ },
374+ "$ref" : " #/$defs/A"
375+ },
376+ "tests" : [
377+ {
378+ "description" : " referenced subschema doesn't see annoations from properties" ,
379+ "data" : {
380+ "prop1" : " match"
381+ },
382+ "valid" : false
383+ }
384+ ]
360385 }
361386]
Original file line number Diff line number Diff line change 175175 },
176176 {
177177 "description" : " remote ref, containing refs itself" ,
178- "schema" : {"$ref" : " https ://json-schema.org/draft-03/schema#" },
178+ "schema" : {"$ref" : " http ://json-schema.org/draft-03/schema#" },
179179 "tests" : [
180180 {
181181 "description" : " remote ref valid" ,
Original file line number Diff line number Diff line change 11[
22 {
33 "description" : " valid definition" ,
4- "schema" : {"$ref" : " https ://json-schema.org/draft-04/schema#" },
4+ "schema" : {"$ref" : " http ://json-schema.org/draft-04/schema#" },
55 "tests" : [
66 {
77 "description" : " valid definition schema" ,
1616 },
1717 {
1818 "description" : " invalid definition" ,
19- "schema" : {"$ref" : " https ://json-schema.org/draft-04/schema#" },
19+ "schema" : {"$ref" : " http ://json-schema.org/draft-04/schema#" },
2020 "tests" : [
2121 {
2222 "description" : " invalid definition schema" ,
Original file line number Diff line number Diff line change 175175 },
176176 {
177177 "description" : " remote ref, containing refs itself" ,
178- "schema" : {"$ref" : " https ://json-schema.org/draft-04/schema#" },
178+ "schema" : {"$ref" : " http ://json-schema.org/draft-04/schema#" },
179179 "tests" : [
180180 {
181181 "description" : " remote ref valid" ,
Original file line number Diff line number Diff line change 11[
22 {
33 "description" : " valid definition" ,
4- "schema" : {"$ref" : " https ://json-schema.org/draft-06/schema#" },
4+ "schema" : {"$ref" : " http ://json-schema.org/draft-06/schema#" },
55 "tests" : [
66 {
77 "description" : " valid definition schema" ,
1616 },
1717 {
1818 "description" : " invalid definition" ,
19- "schema" : {"$ref" : " https ://json-schema.org/draft-06/schema#" },
19+ "schema" : {"$ref" : " http ://json-schema.org/draft-06/schema#" },
2020 "tests" : [
2121 {
2222 "description" : " invalid definition schema" ,
Original file line number Diff line number Diff line change 175175 },
176176 {
177177 "description" : " remote ref, containing refs itself" ,
178- "schema" : {"$ref" : " https ://json-schema.org/draft-06/schema#" },
178+ "schema" : {"$ref" : " http ://json-schema.org/draft-06/schema#" },
179179 "tests" : [
180180 {
181181 "description" : " remote ref valid" ,
Original file line number Diff line number Diff line change 11[
22 {
33 "description" : " valid definition" ,
4- "schema" : {"$ref" : " https ://json-schema.org/draft-07/schema#" },
4+ "schema" : {"$ref" : " http ://json-schema.org/draft-07/schema#" },
55 "tests" : [
66 {
77 "description" : " valid definition schema" ,
1616 },
1717 {
1818 "description" : " invalid definition" ,
19- "schema" : {"$ref" : " https ://json-schema.org/draft-07/schema#" },
19+ "schema" : {"$ref" : " http ://json-schema.org/draft-07/schema#" },
2020 "tests" : [
2121 {
2222 "description" : " invalid definition schema" ,
Original file line number Diff line number Diff line change 175175 },
176176 {
177177 "description" : " remote ref, containing refs itself" ,
178- "schema" : {"$ref" : " https ://json-schema.org/draft-07/schema#" },
178+ "schema" : {"$ref" : " http ://json-schema.org/draft-07/schema#" },
179179 "tests" : [
180180 {
181181 "description" : " remote ref valid" ,
You can’t perform that action at this time.
0 commit comments