{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/MonitoredElementUser", "title": "MonitoredElementUser", "type": "object", "required": [ "id", "firstName", "lastName", "displayName", "type", "email", "numbers", "location", "locationId" ], "properties": { "id": { "type": "string", "example": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS80NDVkMzMzMC1mNjE3LTExZWItOWQyZS01NzViODE3ZGE2NmE", "description": "ID of person or workspace." }, "firstName": { "type": "string", "example": "John", "description": "First name of person or workspace." }, "lastName": { "type": "string", "example": "Brown", "description": "Last name of person or workspace." }, "displayName": { "type": "string", "example": "John Brown", "description": "Display name of person or workspace." }, "type": { "type": "string", "enum": [ "PEOPLE", "PLACE" ], "description": "Type of the person or workspace.\n * `PEOPLE` - Object is a user.\n * `PLACE` - Object is a workspace.\n" }, "email": { "type": "string", "example": "john.brown@gmail.com", "description": "Email of the person or workspace." }, "numbers": { "type": "array", "items": { "$ref": "#/components/schemas/UserNumberItem" }, "description": "The list of phone numbers containing only the primary number for the monitored person, workspace." }, "location": { "type": "string", "example": "Alaska", "description": "Name of location for call park." }, "locationId": { "type": "string", "example": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzEyMzQ1", "description": "ID of the location for call park." } } }