{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"patientId": {
"type": "string"
},
"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"
}
},
"patient": {
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"gender": {
"type": "string"
},
"age": {
"type": "number"
},
"preExistingHealthConditions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"firstName",
"lastName",
"gender",
"age",
"preExistingHealthConditions"
]
},
"createdOn": {
"type": "number"
}
},
"required": [
"patientId",
"latitude",
"longitude",
"estimatedRadius",
"location",
"classification",
"rts",
"niss",
"gcsEye",
"gcsVerbal",
"gcsMotor",
"systolicBP",
"respiratoryRate",
"topInjuryScores",
"createdOn"
]
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"gender": {
"type": "string"
},
"age": {
"type": "number"
},
"preExistingHealthConditions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"firstName",
"lastName",
"gender",
"age",
"preExistingHealthConditions"
]
}