{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeshub/json-schema/pipeshub-oauth-user-info-response-schema.json",
  "title": "OAuthUserInfoResponse",
  "description": "OpenID Connect UserInfo Response.\nContains claims about the authenticated user.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeshub-openid-connect-api-openapi.yml#/components/schemas/OAuthUserInfoResponse",
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "description": "User ID"
    },
    "name": {
      "type": "string",
      "description": "Full name"
    },
    "given_name": {
      "type": "string",
      "description": "First name"
    },
    "family_name": {
      "type": "string",
      "description": "Last name"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address"
    },
    "email_verified": {
      "type": "boolean",
      "description": "Whether email has been verified"
    },
    "picture": {
      "type": "string",
      "format": "uri",
      "description": "Profile picture URL"
    },
    "updated_at": {
      "type": "integer",
      "description": "Last profile update timestamp (Unix epoch)"
    }
  },
  "required": [
    "user_id"
  ]
}