Skip to content

Instantly share code, notes, and snippets.

Created March 28, 2013 19:41
Show Gist options
  • Save anonymous/5266190 to your computer and use it in GitHub Desktop.
Save anonymous/5266190 to your computer and use it in GitHub Desktop.
projman data schema in json format
{
"_id" : id,
"createdAt" : created_date,
"modifiedAt" : modified_date,
"accessedAt" : accessed_date,
"name" : name,
"description" : description,
"owner": owner._id,
"assignedTo" : user._id,
"following" : [
user1._id,
user2._id,
user3._id
],
"due" : due_date,
"file" : file_url or gridfs id, // includes pictures
"related" : [
// array of ids for related (but not immediately related) tasks/projects
],
"subtasks" : [
// array of embedded documents similar to this model (aka children)
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment