Candidate Message Schema
| Field | Field Type | Description |
|---|---|---|
| id | Integer | Unique ID of the conversation thread |
| recipients | Array | Array of objects containing name and email of all participants in a conversation [`{name: "", email: ""}...]` |
| messages | Array | Contains all messages in a conversations |
| candidate | Object | Info about the candidate. For now, contains unique ID. |
| is_private | Boolean | Specifies whether this conversation was marked as private. |
Schema for individual messages in a conversation (Candidate Message)
| Field | Field Type | Description |
|---|---|---|
| sender | Object | Provides name and email of sender in the format {name:"", email: ""} |
| subject | String | Subject of message |
| body | String | Content of message |
| date | DateTime | Timestamp when message was sent |
| attachments | Array | Array of objects of the format {file_name: "", url: ""} |