SessionNoteOut
Response item for GET/POST /devices/{uuid}/sessions/{session_id}/notes (D-19).
author_id is None when the author user was deleted (FK on_delete=SET_NULL).
author_name falls back to "Unknown" in that case.
author_role is the live workspace role ("field_worker" | "manager" | "owner");
"unknown" when the author is None or no longer in the workspace.
idstring<uuid>required
session_idstring<uuid>required
author_id object
anyOf
- string<uuid>
- null
string<uuid>
author_nameAuthor Name (string)required
author_roleAuthor Role (string)required
bodyBody (string)required
created_atstring<date-time>required
SessionNoteOut
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"session_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"author_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"author_name": "string",
"author_role": "string",
"body": "string",
"created_at": "2024-07-29T15:51:28.071Z"
}