Skip to main content

Comment

A Comment schema

Attributes

Attribute NameTypeRequiredDefaultRefComments
_idString
commenter_idStringtrueUser
visible_user_idString[]true
messageStringtrue
thread_idStringtrueThread
dateDateDate.now()

Example

{
_id:"624f8bb1ccbfa9214879a4fa",
commenter_id:"623659ddb8316b8b54f77815",
message:"Hello!",
visible_user_id:["user1", "user2"]
thread_id:"624f8bb1ccbfa9214879a4fa",
date:"2022-03-19T22:34:40.718Z"
__v:0
}