{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"_id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"tenantKey": {
"type": "string",
"format": "^[a-z\\-]+$"
},
"patientId": {
"type": "string",
"format": "uuid"
},
"disasterId": {
"type": "string",
"format": "uuid"
},
"user": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
}
},
"required": [
"id",
"firstName",
"lastName"
]
},
"createdOn": {
"type": "object",
"format": "date-time"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"estimatedRadius": {
"type": "number"
},
"location": {
"type": "string"
},
"classification": {
"type": "string"
},
"rts": {
"type": "number"
},
"niss": {
"type": "number"
},
"gcsEye": {
"type": "number"
},
"gcsVerbal": {
"type": "number"
},
"gcsMotor": {
"type": "number"
},
"systolicBP": {
"type": "number"
},
"respiratoryRate": {
"type": "number"
},
"topInjuryScores": {
"type": "array",
"items": {
"type": "number"
}
}
},
"required": [
"_id",
"tenantId",
"tenantKey",
"patientId",
"disasterId",
"user",
"createdOn",
"latitude",
"longitude",
"estimatedRadius",
"location",
"classification",
"rts",
"niss",
"gcsEye",
"gcsVerbal",
"gcsMotor",
"systolicBP",
"respiratoryRate",
"topInjuryScores"
]
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
}
},
"required": [
"id",
"firstName",
"lastName"
]
}