{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/organization-custom-repository-role", "title": "Organization Custom Repository Role", "description": "Custom repository roles created by organization owners", "type": "object", "properties": { "id": { "description": "The unique identifier of the custom role.", "type": "integer" }, "name": { "description": "The name of the custom role.", "type": "string" }, "description": { "description": "A short description about who this role is for or what permissions it grants.", "type": "string", "nullable": true }, "base_role": { "type": "string", "description": "The system role from which this role inherits permissions.", "enum": [ "read", "triage", "write", "maintain" ] }, "permissions": { "description": "A list of additional permissions included in this role.", "type": "array", "items": { "type": "string" } }, "organization": { "$ref": "#/components/schemas/simple-user" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" } }, "required": [ "id", "name", "base_role", "permissions", "organization", "created_at", "updated_at" ] }