Changeset 510 for Dev/trunk/src/server/config
- Timestamp:
- 03/12/14 15:16:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/server/config/couchdb-schema.json
r509 r510 114 114 { "$ref": "#/definitions/content/NumberInput" }, 115 115 { "$ref": "#/definitions/content/ScaleInput" }, 116 { "$ref": "#/definitions/content/SingleChoiceInput" }, 116 117 { "$ref": "#/definitions/content/MultipleChoiceInput" } 117 118 ] … … 200 201 "additionalProperties": false 201 202 }, 203 "SingleChoiceInput": { 204 "type": "object", 205 "properties": { 206 "type": { "type": "string", "pattern": "^SingleChoiceInput$" }, 207 "items": { "type": "array", "items": { 208 "type": "object", 209 "properties": { 210 "text": { "$ref": "#/definitions/nonEmptyString" }, 211 "value": { "$ref": "#/definitions/nonEmptyString" } 212 }, 213 "required": ["text","value"], 214 "additionalProperties": false 215 } }, 216 "otherItem": { 217 "type": "object", 218 "properties": { 219 "text": { "$ref": "#/definitions/nonEmptyString" }, 220 "value": { "$ref": "#/definitions/nonEmptyString" } 221 }, 222 "required": ["subcode","value"], 223 "additionalProperties": false 224 }, 225 "subcode": { "$ref": "#/definitions/codeString" } 226 }, 227 "required":["type","items","subcode"], 228 "additionalProperties": false 229 }, 202 230 "MultipleChoiceInput": { 203 231 "type": "object", 204 232 "properties": { 205 233 "type": { "type": "string", "pattern": "^MultipleChoiceInput$" }, 206 "allowMultiple": { "type": "boolean" },207 234 "items": { "type": "array", "items": { 208 235 "type": "object",
Note: See TracChangeset
for help on using the changeset viewer.