{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/teliax/json-schema/teliax-github-com-ringer-warp-api-gateway-internal-models-role-with-scopes-schema.json",
  "title": "github_com_ringer-warp_api-gateway_internal_models.RoleWithScopes",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/teliax-customer-team-api-openapi.yml#/components/schemas/github_com_ringer-warp_api-gateway_internal_models.RoleWithScopes",
  "type": "object",
  "properties": {
    "created_at": {
      "type": "string"
    },
    "customer_id": {
      "description": "null for system roles",
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "is_superadmin": {
      "type": "boolean"
    },
    "is_system": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "updated_at": {
      "type": "string"
    }
  }
}