Changeset 525 for Dev/trunk/src/server/config/couchdb-schema.json
- Timestamp:
- 03/19/14 21:33:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/src/server/config/couchdb-schema.json
r523 r525 11 11 "nonEmptyString": { "type": "string", "minLength": 1 }, 12 12 "codeString": { "type": "string", "pattern": "^[A-Za-z0-9]+$" }, 13 "subcodeString": { "type": "string", "pattern": "^[A-Za-z0-9]*$" }, 13 14 "schemaInfo": { 14 15 "type": "object", … … 148 149 "properties": { 149 150 "type": { "type": "string", "pattern": "^StringInput$" }, 150 "subcode": { "$ref": "#/definitions/ codeString" },151 "subcode": { "$ref": "#/definitions/subcodeString" }, 151 152 "text": { "$ref": "#/definitions/nonEmptyString" } 152 153 }, … … 159 160 "type": { "type": "string", "pattern": "^TextInput$" }, 160 161 "maxLength": { "type": "integer" }, 161 "subcode": { "$ref": "#/definitions/ codeString" },162 "subcode": { "$ref": "#/definitions/subcodeString" }, 162 163 "text": { "$ref": "#/definitions/nonEmptyString" } 163 164 }, … … 172 173 "max": { "type": "integer" }, 173 174 "places": { "type": "integer" }, 174 "subcode": { "$ref": "#/definitions/ codeString" },175 "subcode": { "$ref": "#/definitions/subcodeString" }, 175 176 "text": { "$ref": "#/definitions/nonEmptyString" } 176 177 }, … … 192 193 "minLabel": { "$ref": "#/definitions/nonEmptyString" }, 193 194 "maxLabel": { "$ref": "#/definitions/nonEmptyString" }, 194 "subcode": { "$ref": "#/definitions/ codeString" },195 "subcode": { "$ref": "#/definitions/subcodeString" }, 195 196 "text": { "$ref": "#/definitions/nonEmptyString" } 196 197 }, … … 218 219 "type": "object", 219 220 "properties": { 220 "subcode": { "$ref": "#/definitions/ codeString" }221 "subcode": { "$ref": "#/definitions/subcodeString" } 221 222 }, 222 223 "required": ["subcode"], 223 224 "additionalProperties": false 224 225 }, 225 "subcode": { "$ref": "#/definitions/ codeString" }226 "subcode": { "$ref": "#/definitions/subcodeString" } 226 227 }, 227 228 "required":["type","items","subcode"], … … 235 236 "type": "object", 236 237 "properties": { 237 "subcode": { "$ref": "#/definitions/ codeString" },238 "subcode": { "$ref": "#/definitions/subcodeString" }, 238 239 "text": { "$ref": "#/definitions/nonEmptyString" } 239 240 }, … … 244 245 "type": "object", 245 246 "properties": { 246 "subcode": { "$ref": "#/definitions/ codeString" }247 "subcode": { "$ref": "#/definitions/subcodeString" } 247 248 }, 248 249 "required": ["subcode"],
Note: See TracChangeset
for help on using the changeset viewer.