{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-campaign-manager/json-schema/google-campaign-manager-user-role-permission-schema.json",
  "title": "UserRolePermission",
  "description": "Contains properties of a user role permission.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-campaign-manager-user-role-permissions-api-openapi.yml#/components/schemas/UserRolePermission",
  "properties": {
    "id": {
      "format": "int64",
      "description": "ID of this user role permission.",
      "type": "string"
    },
    "kind": {
      "description": "Identifies what kind of resource this is. Value: the fixed string \"dfareporting#userRolePermission\".",
      "type": "string"
    },
    "permissionGroupId": {
      "description": "ID of the permission group that this user role permission belongs to.",
      "format": "int64",
      "type": "string"
    },
    "name": {
      "description": "Name of this user role permission.",
      "type": "string"
    },
    "availability": {
      "description": "Levels of availability for a user role permission.",
      "type": "string",
      "enum": [
        "NOT_AVAILABLE_BY_DEFAULT",
        "ACCOUNT_BY_DEFAULT",
        "SUBACCOUNT_AND_ACCOUNT_BY_DEFAULT",
        "ACCOUNT_ALWAYS",
        "SUBACCOUNT_AND_ACCOUNT_ALWAYS",
        "USER_PROFILE_ONLY"
      ]
    }
  },
  "type": "object"
}