- id: %Schema{type: :string, nullable: false},
- account: %Schema{type: :object, nullable: false},
- unread: %Schema{type: :integer, nullable: false}
+ id: %Schema{type: :string},
+ account: %Schema{type: :object},
+ unread: %Schema{type: :integer},
+ last_message: ChatMessage,
+ updated_at: %Schema{type: :string, format: :"date-time"}