File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 70
70
"valid" : false
71
71
}
72
72
]
73
+ },
74
+ {
75
+ "description" : " regexes are not anchored by default and are case sensitive" ,
76
+ "schema" : {
77
+ "patternProperties" : {
78
+ "[0-9]{2,}" : { "type" : " boolean" },
79
+ "X_" : { "type" : " string" }
80
+ }
81
+ },
82
+ "tests" : [
83
+ {
84
+ "description" : " non recognized members are ignored" ,
85
+ "data" : { "answer 1" : " 42" },
86
+ "valid" : true
87
+ },
88
+ {
89
+ "description" : " recognized members are accounted for" ,
90
+ "data" : { "a31b" : null },
91
+ "valid" : false
92
+ },
93
+ {
94
+ "description" : " regexes are case sensitive" ,
95
+ "data" : { "a_x_3" : 3 },
96
+ "valid" : true
97
+ },
98
+ {
99
+ "description" : " regexes are case sensitive, 2" ,
100
+ "data" : { "a_X_3" : 3 },
101
+ "valid" : false
102
+ }
103
+ ]
73
104
}
74
105
]
You can’t perform that action at this time.
0 commit comments