-
Lars Trieloff authoredLars Trieloff authored
complex.schema.md 1.73 KiB
template: reference
foo: bar
Complex References Schema
https://example.com/schemas/complex
This is an example schema that uses types defined in other schemas.
Abstract | Extensible | Custom Properties | Defined In |
---|---|---|---|
Can be instantiated | No | Forbidden | complex.schema.json |
Schema Hierarchy
- Complex References
https://example.com/schemas/complex
Complex References Properties
Property | Type | Required | Defined by |
---|---|---|---|
refabstract | complex | Required | Complex References (this schema) |
refnamed | Simple | Optional | Complex References (this schema) |
reflist | Simple[] | Optional | Complex References (this schema) |
refabstract
refabstract
- is required
- type: complex
- defined in this schema
refabstract Type
Unknown type ``.
{
"properties": {
"foo": {
"type": "string",
"description": "A unique identifier given to every addressable thing."
}
},
"required": true,
"simpletype": "complex"
}
refnamed
refnamed
- is optional
- type: Simple
- defined in this schema
refnamed Type
- Complex type: Simple –
https://example.com/schemas/simple
reflist
reflist
-
is optional
-
type: Simple[]
-
defined in this schema
reflist Type
Array type: Simple[]
All items must be of the type:
- Complex type: Simple –
https://example.com/schemas/simple