Constraints

The following constraints apply to the JSON schema.

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 ...
       }
    }
}