{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Role", "title": "Role", "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "remote_id": { "type": [ "string", "null" ], "description": "The third-party API ID of the matching object." }, "created_at": { "type": "string", "format": "date-time", "description": "The datetime that this object was created by Merge." }, "modified_at": { "type": "string", "format": "date-time", "description": "The datetime that this object was modified by Merge." }, "name": { "type": [ "string", "null" ], "description": "The name of the Role." }, "ticket_actions": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/TicketActionsEnum" }, "description": "The set of actions that a User with this Role can perform. Possible enum values include: `VIEW`, `CREATE`, `EDIT`, `DELETE`, `CLOSE`, and `ASSIGN`." }, "ticket_access": { "oneOf": [ { "$ref": "#/components/schemas/TicketAccessEnum" }, { "type": "null" } ], "description": "The level of Ticket access that a User with this Role can perform." }, "remote_was_deleted": { "type": "boolean", "description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)." }, "field_mappings": { "oneOf": [ { "$ref": "#/components/schemas/RoleFieldMappings" }, { "type": "null" } ] }, "remote_data": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/RemoteData" } } }, "description": "# The Role Object\n### Description\nThe `Role` object is used to represent the set of actions & access that a user with this role is allowed to perform.\n\n### Usage Example\nTODO" }