Skip to content

Latest commit

 

History

History
223 lines (126 loc) · 8.28 KB

complex.md

File metadata and controls

223 lines (126 loc) · 8.28 KB

Complex References Schema

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

Complex References Type

object (Complex References)

Complex References Properties

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

refabstract

refabstract Type

object (Details)

refnamed

This is a very simple example of a JSON schema. There is only one property.

refnamed

refnamed Type

object (Simple)

refrefed

This is a very simple example of a JSON schema. There is only one property.

refrefed

refrefed Type

object (Simple)

refobj

refobj

refobj Type

object (Details)

refnestedobj

refnestedobj

refnestedobj Type

object (Details)

or

String or number…

or

or Type

merged type (Details)

any of

and

Number in a range

and

and Type

merged type (Details)

all of

xor

Exclusive choice.

xor

xor Type

merged type (Details)

one (and only one) of

Pattern: int.*

int.*

int.* Type

integer

Pattern: str.*

str.*

str.* Type

string

Additional Properties

Additional properties are allowed, as long as they follow this schema:

additionalProperties Type

boolean