{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"patientId": {
"type": "string"
},
"status": {
"type": "string"
},
"droppedOffAt": {
"type": "object"
}
},
"required": [
"patientId",
"status",
"droppedOffAt"
]
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"status": {
"type": "string"
},
"startedAt": {
"type": "object"
},
"completedAt": {
"type": "object"
},
"passengers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"patientId": {
"type": "string"
},
"status": {
"type": "string"
},
"droppedOffAt": {
"type": "object"
}
},
"required": [
"patientId",
"status",
"droppedOffAt"
]
}
}
},
"required": [
"status",
"startedAt",
"completedAt",
"passengers"
]
}