-
Lars Trieloff authoredLars Trieloff authored
complex.schema.md 1.49 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 | complex | 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: complex
- defined in this schema
refnamed Type
Unknown type ``.
{
"$ref": "https://example.com/schemas/simple",
"$linkVal": "Simple",
"$linkPath": "simple.schema.md",
"simpletype": "complex"
}