Examples
Object Type Definition
Value
{
"primaryKey": "customerId",
"type": "object",
"properties": {
"customerId": {
"type": "string",
"generate": {
"type": "uuid",
"format": "v4"
}
},
"firstName": {
"type": "string",
"minLength": 1
},
"lastName": {
"type": "string",
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"minLength": 1
},
"phone": {
"type": "string",
"minLength": 1
},
"address": {
"type": "object",
"properties": {
"street": {
"type": "string",
"minLength": 1
},
"city": {
"type": "string",
"minLength": 1
},
"state": {
"type": "string",
"minLength": 1
},
"zip": {
"type": "string",
"minLength": 1
}
},
"required": [
"street",
"city",
"state",
"zip"
]
}
},
"required": [
"firstName",
"lastName",
"email",
"phone",
"address"
],
"additionalProperties": false
}Object Type Definition
Value
Object Type Definition
Value
Object Type Definition
Value
Last updated
Was this helpful?