{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimemonitoring-com/json-schema/uptimemonitoring-com-admin-ping-response-schema.json",
  "title": "AdminPingResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimemonitoring-com-admin-api-openapi.yml#/components/schemas/AdminPingResponse",
  "type": "object",
  "required": [
    "github_id",
    "github_username",
    "admin"
  ],
  "properties": {
    "github_id": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int64",
      "description": "GitHub numeric ID of the AUTHENTICATED CALLER (sourced from\n`users.github_id` for the user identified by\nAuthInfo.UserID) — never the account owner's. Team accounts B1\n(issue #323) made non-owner admins possible, so a viewer/member\nadmin inspecting someone else's account must see their own\nidentity here, not the account's. Display-only — the gate\nitself keys on AuthInfo.UserID, not this field. `null` if the\ncaller has no GitHub identity (an email- or Google-only user\nwho is still an admin via their users.id).\n"
    },
    "github_username": {
      "type": [
        "string",
        "null"
      ],
      "description": "GitHub username of the authenticated caller, sourced the same\nway as github_id. Display-only; the gate does not key on this\nvalue because GitHub usernames are mutable. `null` under the\nsame condition as github_id.\n"
    },
    "admin": {
      "type": "boolean",
      "description": "Always `true` on a 200 response."
    }
  }
}