{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-iam/json-schema/google-cloud-iam-role-schema.json",
  "title": "Role",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-cloud-iam-roles-api-openapi.yml#/components/schemas/Role",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Resource name of the role."
    },
    "title": {
      "type": "string",
      "description": "Human-readable title of the role."
    },
    "description": {
      "type": "string",
      "description": "Description of the role."
    },
    "includedPermissions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Permissions included in the role."
    },
    "stage": {
      "type": "string",
      "enum": [
        "ALPHA",
        "BETA",
        "GA",
        "DEPRECATED"
      ],
      "description": "Launch stage of the role."
    },
    "deleted": {
      "type": "boolean",
      "description": "Whether the role has been deleted."
    },
    "etag": {
      "type": "string",
      "description": "Entity tag for optimistic concurrency control."
    }
  }
}