https://example.com/schemas/complex
This is an example schema that uses types defined in other schemas.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | complex.schema.json |
object
(Complex References)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
refabstract | object |
Required | cannot be null | Complex References |
refnamed | object |
Optional | cannot be null | Complex References |
refrefed | object |
Optional | cannot be null | Complex References |
refobj | object |
Optional | cannot be null | Complex References |
refnestedobj | object |
Optional | cannot be null | Complex References |
or | Merged | Optional | cannot be null | Complex References |
and | Merged | Optional | cannot be null | Complex References |
xor | Merged | Optional | cannot be null | Complex References |
int.* |
integer |
Optional | cannot be null | Complex References |
str.* |
string |
Optional | cannot be null | Complex References |
Additional Properties | boolean |
Optional | cannot be null | Complex References |
refabstract
- is required
- Type:
object
(Details) - cannot be null
- defined in: Complex References
object
(Details)
This is a very simple example of a JSON schema. There is only one property.
refnamed
- is optional
- Type:
object
(Simple) - cannot be null
- defined in: Complex References
object
(Simple)
This is a very simple example of a JSON schema. There is only one property.
refrefed
- is optional
- Type:
object
(Simple) - cannot be null
- defined in: Complex References
object
(Simple)
refobj
- is optional
- Type:
object
(Details) - cannot be null
- defined in: Complex References
object
(Details)
refnestedobj
- is optional
- Type:
object
(Details) - cannot be null
- defined in: Complex References
object
(Details)
String or number…
or
- is optional
- Type: merged type (Details)
- cannot be null
- defined in: Complex References
merged type (Details)
any of
Number in a range
and
- is optional
- Type: merged type (Details)
- cannot be null
- defined in: Complex References
merged type (Details)
all of
Exclusive choice.
xor
- is optional
- Type: merged type (Details)
- cannot be null
- defined in: Complex References
merged type (Details)
one (and only one) of
int.*
- is optional
- Type:
integer
- cannot be null
- defined in: Complex References
integer
str.*
- is optional
- Type:
string
- cannot be null
- defined in: Complex References
string
Additional properties are allowed, as long as they follow this schema:
- is optional
- Type:
boolean
- cannot be null
- defined in: Complex References
boolean