File tree Expand file tree Collapse file tree 5 files changed +83
-0
lines changed Expand file tree Collapse file tree 5 files changed +83
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "refToInteger" : {
3
+ "$ref" : " #foo"
4
+ },
5
+ "definitions" : {
6
+ "A" : {
7
+ "id" : " #foo" ,
8
+ "type" : " integer"
9
+ }
10
+ }
11
+ }
Original file line number Diff line number Diff line change 186
186
"valid" : true
187
187
}
188
188
]
189
+ },
190
+ {
191
+ "description" : " Location-independent identifier in remote ref" ,
192
+ "schema" : {
193
+ "$ref" : " http://localhost:1234/locationIndependentIdentifier.json#/refToInteger"
194
+ },
195
+ "tests" : [
196
+ {
197
+ "description" : " integer is valid" ,
198
+ "data" : 1 ,
199
+ "valid" : true
200
+ },
201
+ {
202
+ "description" : " string is invalid" ,
203
+ "data" : " foo" ,
204
+ "valid" : false
205
+ }
206
+ ]
189
207
}
190
208
]
Original file line number Diff line number Diff line change 167
167
"valid" : false
168
168
}
169
169
]
170
+ },
171
+ {
172
+ "description" : " Location-independent identifier in remote ref" ,
173
+ "schema" : {
174
+ "$ref" : " http://localhost:1234/locationIndependentIdentifier.json#/refToInteger"
175
+ },
176
+ "tests" : [
177
+ {
178
+ "description" : " integer is valid" ,
179
+ "data" : 1 ,
180
+ "valid" : true
181
+ },
182
+ {
183
+ "description" : " string is invalid" ,
184
+ "data" : " foo" ,
185
+ "valid" : false
186
+ }
187
+ ]
170
188
}
171
189
]
Original file line number Diff line number Diff line change 192
192
"valid" : true
193
193
}
194
194
]
195
+ },
196
+ {
197
+ "description" : " Location-independent identifier in remote ref" ,
198
+ "schema" : {
199
+ "$ref" : " http://localhost:1234/locationIndependentIdentifier.json#/refToInteger"
200
+ },
201
+ "tests" : [
202
+ {
203
+ "description" : " integer is valid" ,
204
+ "data" : 1 ,
205
+ "valid" : true
206
+ },
207
+ {
208
+ "description" : " string is invalid" ,
209
+ "data" : " foo" ,
210
+ "valid" : false
211
+ }
212
+ ]
195
213
}
196
214
]
Original file line number Diff line number Diff line change 192
192
"valid" : true
193
193
}
194
194
]
195
+ },
196
+ {
197
+ "description" : " Location-independent identifier in remote ref" ,
198
+ "schema" : {
199
+ "$ref" : " http://localhost:1234/locationIndependentIdentifier.json#/refToInteger"
200
+ },
201
+ "tests" : [
202
+ {
203
+ "description" : " integer is valid" ,
204
+ "data" : 1 ,
205
+ "valid" : true
206
+ },
207
+ {
208
+ "description" : " string is invalid" ,
209
+ "data" : " foo" ,
210
+ "valid" : false
211
+ }
212
+ ]
195
213
}
196
214
]
You can’t perform that action at this time.
0 commit comments