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