-
Notifications
You must be signed in to change notification settings - Fork 5
Search Data Model
Amit S K edited this page Mar 12, 2019
·
1 revision
Topic{
topic:string,
Question:[
{
question: string,
description:string,
upvotes:integer,
timestamp:long,
downvote:integer,
answers:[
{
answer:string,
accepted:boolean,
comments:[
{
comment:string,
timestamp:long,
likes:integer,
replies:[
{
reply:string,
likes:integer,
timestamp:long,
user:{
firstname:string,
emailaddress:string,
imageurl:string
}
}
],
user:{
firstname:string,
emailaddress:string,
imageurl:string
}
}
],
upvotes:integer,
views:integer,
timestamp:long,
user:{
firstname:string,
emailaddress:string,
imageurl:string
}
}
],
comments:[
{
comment:string,
timestamp:long,
likes:integer,
replies:[
{
reply:string,
likes:integer,
timestamp:long
}
],
}
],
user:{
firstname:string,
emailaddress:string,
imageurl:string
}
}