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

Last change on this file since 414 was 414, checked in by hendrikvanantwerpen, 12 years ago

Small issues for db name, widgets, startup.

Don't start application when database is not configured correctly.
Refactored edit widgets to use DefaultEdit?.
Fixed bug in getItems of Lists.
Renamed database to 'qed'.

File size: 910 bytes
RevLine 
[414]1Document types
2==============
3
4
5Question types
6==============
7
8
9
[384]10sessions
11========
12{
[410]13    type: 'SessionTemplate'
14    title: ''
15    description: ''
16    plannedDate: '' /* ISO UTC datetime */
[384]17    accounts: [ /* Account ids */ ]
18}
19
20{
[410]21    type: 'SessionInstance'
22    title: ''
23    description: ''
24    publishedDate: '' /* ISO UTC datetime */
[384]25    accounts: [ /* Account ids */ ]
26}
27
28survey
29======
30{
31    type: 'Survey'
[410]32    title: ''
33    description: ''
[384]34    questions: [ /* Question ids */ ]
[410]35    publishedDate: ''
[384]36}
37
[410]38{
39    type: 'SurveyInstance'
40    surveyId: '' // String
41    publishedDate: '' // ISO datetime
42    startDate: '' // can fill in after
43    endDate: '' // can fill in until
44}
45
[384]46question
47========
48{
49    type: 'Question'
[410]50    title: ''
51    description: ''
52    topic: ''
53    categories: []
[414]54    content: [{ type:'contentTypeId', text: '' || ['' ...], /* custom content element fields */ } /*, and more ... */]
[384]55}
Note: See TracBrowser for help on using the repository browser.