source: Dev/branches/rest-dojo-ui/docs/jsonformat.txt @ 408

Last change on this file since 408 was 384, checked in by hendrikvanantwerpen, 13 years ago
  • Cleanup of the differen ListViews?, List & OrderedList?. Based QuestionListView? on these base classes as well. Removed duplicate code.
  • Destroy busy indicator of TabbedQuestionBrowser? (because it's placed outside of the widgets DOM tree, this is not done automatically).
  • Use dojo/date/stamp module for uniform and parsable date formatting.
  • Added docs/ directory for database format documentation etc.
File size: 641 bytes
Line 
1sessions
2========
3{
4    type: 'SessionTemplate',
5    title: '',
6    description: '',
7    plannedDate: '', /* ISO UTC datetime */
8    accounts: [ /* Account ids */ ]
9}
10
11{
12    type: 'SessionInstance',
13    title: '',
14    description: '',
15    publishedDate: '', /* ISO UTC datetime */
16    accounts: [ /* Account ids */ ]
17}
18
19survey
20======
21{
22    type: 'Survey'
23    title: '',
24    description: '',
25    questions: [ /* Question ids */ ]
26}
27
28question
29========
30{
31    type: 'Question'
32    title: '',
33    description: '',
34    topic: '',
35    categories: [],
36    content: [{ type:'contentTypeId', /* custom content element fields */ } /* and more ... */]
37}
Note: See TracBrowser for help on using the repository browser.