Changeset 415 for Dev/branches/rest-dojo-ui/docs
- Timestamp:
- 12/04/12 16:29:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/rest-dojo-ui/docs/jsonformat.txt
r414 r415 1 Document types 2 ============== 3 4 5 Question types 6 ============== 7 8 9 10 sessions 11 ======== 12 { 13 type: 'SessionTemplate' 14 title: '' 15 description: '' 16 plannedDate: '' /* ISO UTC datetime */ 17 accounts: [ /* Account ids */ ] 18 } 19 20 { 21 type: 'SessionInstance' 22 title: '' 23 description: '' 24 publishedDate: '' /* ISO UTC datetime */ 25 accounts: [ /* Account ids */ ] 26 } 27 28 survey 29 ====== 30 { 31 type: 'Survey' 32 title: '' 33 description: '' 34 questions: [ /* Question ids */ ] 35 publishedDate: '' 36 } 37 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 46 question 47 ======== 48 { 49 type: 'Question' 50 title: '' 51 description: '' 52 topic: '' 53 categories: [] 54 content: [{ type:'contentTypeId', text: '' || ['' ...], /* custom content element fields */ } /*, and more ... */] 55 } 1 This file is now obsolete. Look in rft/schema for a JSON schema that we 2 can use to actually verify our data.
Note: See TracChangeset
for help on using the changeset viewer.