gettriages

TriageResponseInfo Schema

{
  "$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"
      ]
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "estimatedRadius": {
      "type": "number"
    },
    "location": {
      "type": "string"
    },
    "classification": {
      "type": "string"
    },
    "subClassification": {
      "type": "string"
    },
    "measures": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "remarks": {
      "type": "string"
    },
    "createdOn": {
      "type": "object",
      "format": "date-time"
    }
  },
  "required": [
    "_id",
    "tenantId",
    "tenantKey",
    "patientId",
    "disasterId",
    "user",
    "latitude",
    "longitude",
    "estimatedRadius",
    "location",
    "classification",
    "subClassification",
    "measures",
    "remarks",
    "createdOn"
  ]
}

UserResponseInfo Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "firstName": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "firstName",
    "lastName"
  ]
}