File tree Expand file tree Collapse file tree 1 file changed +0
-67
lines changed Expand file tree Collapse file tree 1 file changed +0
-67
lines changed Original file line number Diff line number Diff line change 107
107
}
108
108
]
109
109
},
110
- {
111
- "description" : " Valid use of empty fragments in location-independent $id" ,
112
- "comment" : " These are allowed but discouraged" ,
113
- "schema" : {
114
- "$schema" : " https://json-schema.org/draft/next/schema" ,
115
- "$ref" : " https://json-schema.org/draft/next/schema"
116
- },
117
- "tests" : [
118
- {
119
- "description" : " Identifier name with absolute URI" ,
120
- "data" : {
121
- "$ref" : " http://localhost:1234/draft-next/bar" ,
122
- "$defs" : {
123
- "A" : {
124
- "$id" : " http://localhost:1234/draft-next/bar#" ,
125
- "type" : " integer"
126
- }
127
- }
128
- },
129
- "valid" : true
130
- },
131
- {
132
- "description" : " Identifier name with base URI change in subschema" ,
133
- "data" : {
134
- "$id" : " http://localhost:1234/draft-next/root" ,
135
- "$ref" : " http://localhost:1234/draft-next/nested.json#/$defs/B" ,
136
- "$defs" : {
137
- "A" : {
138
- "$id" : " nested.json" ,
139
- "$defs" : {
140
- "B" : {
141
- "$id" : " #" ,
142
- "type" : " integer"
143
- }
144
- }
145
- }
146
- }
147
- },
148
- "valid" : true
149
- }
150
- ]
151
- },
152
110
{
153
111
"description" : " Unnormalized $ids are allowed but discouraged" ,
154
112
"schema" : {
180
138
}
181
139
},
182
140
"valid" : true
183
- },
184
- {
185
- "description" : " Unnormalized identifier with empty fragment" ,
186
- "data" : {
187
- "$ref" : " http://localhost:1234/draft-next/foo/baz" ,
188
- "$defs" : {
189
- "A" : {
190
- "$id" : " http://localhost:1234/draft-next/foo/bar/../baz#" ,
191
- "type" : " integer"
192
- }
193
- }
194
- },
195
- "valid" : true
196
- },
197
- {
198
- "description" : " Unnormalized identifier with empty fragment and no ref" ,
199
- "data" : {
200
- "$defs" : {
201
- "A" : {
202
- "$id" : " http://localhost:1234/draft-next/foo/bar/../baz#" ,
203
- "type" : " integer"
204
- }
205
- }
206
- },
207
- "valid" : true
208
141
}
209
142
]
210
143
}
You can’t perform that action at this time.
0 commit comments