{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "UserSummary", "type": "object", "properties": { "id": { "type": "integer", "readOnly": true }, "department": { "$ref": "#/components/schemas/DepartmentSummary" }, "created_at": { "type": "string", "format": "date-time", "readOnly": true }, "updated_at": { "type": "string", "format": "date-time", "readOnly": true }, "firstName": { "type": "string", "maxLength": 100 }, "lastName": { "type": "string", "maxLength": 100 }, "email": { "type": "string", "format": "email", "maxLength": 254 }, "position": { "type": "string", "nullable": true, "maxLength": 100 }, "phone": { "type": "string", "nullable": true, "maxLength": 30 }, "address": { "type": "string", "nullable": true }, "notifications": { "type": "boolean" }, "is_active": { "type": "boolean" }, "mobile": { "type": "boolean" }, "profile_image": { "type": "string", "nullable": true }, "slack_user_id": { "type": "string", "maxLength": 50 }, "is_sso_enabled": { "type": "boolean" }, "last_changed_by": { "type": "integer", "nullable": true, "title": "Last changed by user" }, "user": { "type": "integer" }, "approval_delegatee": { "allOf": [ { "$ref": "#/components/schemas/ApprovalDelegateeDocs" } ], "nullable": true, "readOnly": true, "type": "object" }, "expected_return_date": { "type": "string", "format": "date", "readOnly": true } }, "required": [ "department", "email", "user" ] }