Skip to content

Instantly share code, notes, and snippets.

@zdwolfe
Created September 24, 2013 20:00
Show Gist options
  • Save zdwolfe/6690401 to your computer and use it in GitHub Desktop.
Save zdwolfe/6690401 to your computer and use it in GitHub Desktop.
LibreCMS Model Construction
[
{
"model": "User",
"type": [String],
"username": String,
"courses": [Course],
"authentication": {
"pasword": SHAEncodedString,
"accessTokens": [String]
}
},
{
"model": "Course",
"subject": String,
"number": String,
"section": Number,
"startDate": Date,
"endDate": Date,
"meetingTimes": [Date],
"assignments": [Assignment]
},
{
"model": "Assignment",
"desription": String,
"dateDue": Date,
"datePosted": Date,
"dateAssigned": Date,
"collaborators": Boolean,
"permitElectronicSubmission": Boolean,
"permitInPersonSubmission": Boolean
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment