"id" property in member_status resource now required.
[kic.git] / cc_member_status.schema.json
blobdb8550f1259b5cc1f423937df66f714efc307102
2   "$schema": "http://json-schema.org/draft-03/schema#",
3   "description":"Data schema for JSON representation of CampusConnect member_status resource",
4   "type":"object",
5   "properties": {
6     "id": { "type":"string", "required":true },
7     "url": { "type":"string", "required":true, "format":"uri" },
8     "personID": { "type":"string", "required":true },
9     "personIDtype": { "enum": [ "ecs_ePPN", "ecs_loginUID", "ecs_login", "ecs_uid", "ecs_email", "ecs_PersonalUniqueCode", "ecs_custom" ], "required":true },
10     "status": { "enum": [ "active", "pending", "denied", "rejected", "unsubscribed", "account_deactivated" ], "required":true }
11   },
12   "additionalProperties" : false