{ "$id": "projects-update-data", "title": "Project Update Data", "description": "PATCH body properties used to update a project", "type": "object", "additionalProperties": true, "properties": { "name": { "$ref": "projects-common#/definitions/name" }, "description": { "$ref": "projects-common#/definitions/description" }, "thumbnailBackgroundColor": { "$ref": "project-thumbnails-common#/definitions/backgroundColor" }, "members": { "$ref": "#/definitions/members" }, "version": { "$ref": "projects-common#/definitions/version" }, "gitConfiguration": { "$ref": "projects-common#/definitions/gitConfiguration" } }, "definitions": { "members": { "type": "array", "items": { "$ref": "#/definitions/membersEntry" } }, "membersEntry": { "type": "object", "required": [ "type", "reference", "role" ], "additionalProperties": false, "properties": { "type": { "type": "string", "enum": [ "account", "group" ] }, "reference": { "$ref": "common#/definitions/object-id-string" }, "role": { "type": "string", "enum": [ "owner", "editor", "operator", "viewer" ] } } } } }