{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProjectRoleDetails",
  "title": "ProjectRoleDetails",
  "additionalProperties": false,
  "description": "Details about a project role.",
  "properties": {
    "admin": {
      "description": "Whether this role is the admin role for the project.",
      "readOnly": true,
      "type": "boolean"
    },
    "default": {
      "description": "Whether this role is the default role for the project.",
      "readOnly": true,
      "type": "boolean"
    },
    "description": {
      "description": "The description of the project role.",
      "readOnly": true,
      "type": "string"
    },
    "id": {
      "description": "The ID of the project role.",
      "format": "int64",
      "readOnly": true,
      "type": "integer"
    },
    "name": {
      "description": "The name of the project role.",
      "type": "string"
    },
    "roleConfigurable": {
      "description": "Whether the roles are configurable for this project.",
      "readOnly": true,
      "type": "boolean"
    },
    "scope": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Scope"
        }
      ],
      "description": "The scope of the role. Indicated for roles associated with [next-gen projects](https://confluence.atlassian.com/x/loMyO).",
      "readOnly": true
    },
    "self": {
      "description": "The URL the project role details.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "translatedName": {
      "description": "The translated name of the project role.",
      "type": "string"
    }
  },
  "type": "object"
}