Permalink
Browse files

CSPACE-5060: Updating organization spec and schema with the latest on…

…es from nightly
  • Loading branch information...
anvk committed Apr 23, 2012
1 parent 353f44c commit 30b12c9b1d8511717fa240f149a3396abcac4963
Showing with 649 additions and 41 deletions.
  1. +237 −38 src/test/uischema/organization.json
  2. +412 −3 src/test/uispecs/organization.json
@@ -1,89 +1,193 @@
{
"organization": {
"properties": {
- "relations": {
- "default": {},
- "type": "object"
- },
"termsUsed": {
"default": [],
"type": "array"
},
+ "relations": {
+ "default": {},
+ "type": "object"
+ },
"csid": {
"type": "string"
},
"fields": {
"properties": {
- "functions": {
+ "relatedTerms": {
"items": {
"properties": {
"_primary": {
+ "default": true,
"type": "boolean"
},
- "function": {
+ "relatedTerm": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
- "tenantID": {
- "type": "string"
- },
- "mainBodyGroup": {
+ "contactNames": {
"items": {
"properties": {
"_primary": {
+ "default": true,
"type": "boolean"
},
- "longName": {
- "type": "string"
- },
- "shortName": {
- "type": "string"
- },
- "nameAdditions": {
+ "contactName": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
- "contactNames": {
- "items": {
- "properties": {
- "_primary": {
- "type": "boolean"
+ "contact": {
+ "properties": {
+ "updatedAt": {
+ "type": "string"
+ },
+ "faxNumberGroup": {
+ "items": {
+ "properties": {
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ },
+ "faxNumber": {
+ "type": "string"
+ },
+ "faxNumberType": {
+ "default": "",
+ "type": "string"
+ }
+ },
+ "type": "object"
},
- "contactName": {
- "type": "string"
- }
+ "type": "array"
},
- "type": "object"
+ "tenantID": {
+ "type": "string"
+ },
+ "createdBy": {
+ "type": "string"
+ },
+ "addressGroup": {
+ "items": {
+ "properties": {
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ },
+ "addressStateOrProvince": {
+ "type": "string"
+ },
+ "addressPostCode": {
+ "type": "string"
+ },
+ "addressType": {
+ "default": "",
+ "type": "string"
+ },
+ "addressPlace1": {
+ "type": "string"
+ },
+ "addressCountry": {
+ "type": "string"
+ },
+ "addressPlace2": {
+ "type": "string"
+ },
+ "addressMunicipality": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "webAddressGroup": {
+ "items": {
+ "properties": {
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ },
+ "webAddress": {
+ "type": "string"
+ },
+ "webAddressType": {
+ "default": "",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "emailGroup": {
+ "items": {
+ "properties": {
+ "emailType": {
+ "default": "",
+ "type": "string"
+ },
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ },
+ "email": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "telephoneNumberGroup": {
+ "items": {
+ "properties": {
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ },
+ "telephoneNumber": {
+ "type": "string"
+ },
+ "telephoneNumberType": {
+ "default": "",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "updatedBy": {
+ "type": "string"
+ }
},
- "type": "array"
- },
- "foundingDate": {
- "type": "date"
+ "type": "object"
},
- "shortIdentifier": {
+ "updatedBy": {
"type": "string"
},
- "updatedAt": {
+ "shortIdentifier": {
"type": "string"
},
"dissolutionDate": {
"type": "date"
},
- "foundingPlace": {
- "type": "string"
- },
"subBodies": {
"items": {
"properties": {
"_primary": {
+ "default": true,
"type": "boolean"
},
"subBody": {
@@ -94,17 +198,21 @@
},
"type": "array"
},
+ "foundingPlace": {
+ "type": "string"
+ },
"createdAt": {
"type": "string"
},
"termStatus": {
- "default": "",
+ "default": "provisional",
"type": "string"
},
"historyNotes": {
"items": {
"properties": {
"_primary": {
+ "default": true,
"type": "boolean"
},
"historyNote": {
@@ -115,13 +223,26 @@
},
"type": "array"
},
- "displayName": {
- "type": "string"
+ "narrowerContexts": {
+ "items": {
+ "properties": {
+ "narrowerContext": {
+ "type": "string"
+ },
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
},
"groups": {
"items": {
"properties": {
"_primary": {
+ "default": true,
"type": "boolean"
},
"group": {
@@ -131,6 +252,84 @@
"type": "object"
},
"type": "array"
+ },
+ "functions": {
+ "items": {
+ "properties": {
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ },
+ "function": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "mainBodyGroup": {
+ "items": {
+ "properties": {
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ },
+ "longName": {
+ "type": "string"
+ },
+ "shortName": {
+ "type": "string"
+ },
+ "nameAdditions": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tenantID": {
+ "type": "string"
+ },
+ "foundingDate": {
+ "type": "date"
+ },
+ "csid": {
+ "type": "string"
+ },
+ "uri": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "date"
+ },
+ "createdBy": {
+ "type": "string"
+ },
+ "broaderContext": {
+ "type": "string"
+ },
+ "refName": {
+ "type": "string"
+ },
+ "displayName": {
+ "type": "string"
+ },
+ "equivalentContexts": {
+ "items": {
+ "properties": {
+ "_primary": {
+ "default": true,
+ "type": "boolean"
+ },
+ "equivalentContext": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
}
},
"type": "object"
Oops, something went wrong.

0 comments on commit 30b12c9

Please sign in to comment.