{ "$id": "projects-http", "title": "Project HTTP Data", "description": "Project data as it is sent back from get and search endpoints", "type": "object", "additionalProperties": false, "required": [], "properties": { "_id": { "$ref": "common#/definitions/object-id-string" }, "iid": { "$ref": "common#/definitions/iid" }, "name": { "$ref": "projects-common#/definitions/name" }, "description": { "$ref": "projects-common#/definitions/description" }, "members": { "$ref": "#/definitions/members" }, "accessControl": { "$ref": "projects-common#/definitions/accessControl" }, "componentIidIndex": { "$ref": "projects-common#/definitions/componentIidIndex" }, "components": { "$ref": "projects-common#/definitions/components" }, "folders": { "$ref": "common-http#/definitions/foldersExpanded" }, "created": { "$ref": "common#/definitions/iso-date-string" }, "createdBy": { "$ref": "common-http#/definitions/account" }, "lastUpdated": { "$ref": "common#/definitions/iso-date-string" }, "lastUpdatedBy": { "$ref": "common-http#/definitions/account" }, "versionHistory": { "$ref": "projects-common#/definitions/versionHistory" }, "gitConfiguration": { "$ref": "projects-common#/definitions/gitConfiguration" } }, "definitions": { "members": { "type": "array", "items": { "$ref": "#/definitions/membersEntry" } }, "membersEntry": { "type": "object", "additionalProperties": false, "required": [ "type", "reference", "role" ], "properties": { "type": { "type": "string", "enum": [ "account", "group" ] }, "reference": { "$ref": "common#/definitions/object-id-string" }, "role": { "type": "string", "enum": [ "owner", "editor", "operator", "viewer" ] }, "missing": { "type": "boolean" }, "username": { "type": "string" }, "name": { "type": "string" }, "provenance": { "type": "string" } } } } }