We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf22d2 commit 7b442e0Copy full SHA for 7b442e0
jsonschema-core.md
@@ -244,17 +244,27 @@ intent is clear to both human readers and implementations.
244
A string schema operates as an implicit reference to another schema object.
245
A string schema is a shorthand for a schema containing only the `$ref` keyword.
246
247
-For example, the string schema
+For example, the schema
248
249
```json
250
-"https://example.com/schema"
+{
251
+ "type": "object",
252
+ "properties": {
253
+ "foo": "https://example.com/schema"
254
+ }
255
+}
256
```
257
258
is equivalent to
259
260
261
{
- "$ref": "https://example.com/schema"
262
+ "type": "array",
263
264
+ "foo": {
265
+ "$ref": "https://example.com/schema"
266
267
268
}
269
270
0 commit comments