{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/project_group_permission", "title": "Project Group Permission", "type": "object", "description": "A group's permission for a given project.", "properties": { "type": { "type": "string", "example": "example_value" }, "links": { "type": "object", "properties": { "self": { "type": "object", "title": "Link", "description": "A link to a resource related to this object.", "properties": { "href": { "type": "string", "format": "uri" }, "name": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false, "example": "example_value" }, "permission": { "type": "string", "enum": [ "read", "write", "create-repo", "admin", "none" ], "example": "read" }, "group": { "$ref": "#/components/schemas/group" }, "project": { "$ref": "#/components/schemas/project" } }, "required": [ "type" ], "additionalProperties": true }