Constraints
The following constraints apply to the JSON schema.
-
Uses JSON Schema draft-07 standard
-
Implements recursive references using $ref
-
Applies type definitions and constraints to each property
The following is an example of a JSON schema.
{
"$schema" : "<http://json-schema.org/draft-07/schema#>",
"title" : "BankModelSchema.Account.v1",
"type" : "object",
"properties" : {
// ... properties definitions ...
},
"required" : ["eventId", "schemaId", "eventType", "eventTime",
"eventTimezoneOffset", "eventSequenceNumber", "contentType",
"transactionId", "objectType", "object"],
"definitions" : {
"Object" : {
// ... Object definition ...
},
"ObjectReference" : {
// ... ObjectReference definition ...
}
}
}
