{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimerobot/json-schema/uptimerobot-user-dto-schema.json",
  "title": "UserDto",
  "description": "UserPublic",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimerobot-user-api-openapi.yml#/components/schemas/UserDto",
  "type": "object",
  "properties": {
    "email": {
      "type": "string"
    },
    "fullName": {
      "type": "string"
    },
    "monitorsCount": {
      "description": "Monitors this account is using. Third party services are counted separately, in dependencyMonitorsCount, because they spend their own allowance rather than a monitor slot.",
      "type": "number"
    },
    "monitorLimit": {
      "type": "number"
    },
    "dependencyMonitorsCount": {
      "description": "Third party services this account is tracking.",
      "type": "number"
    },
    "dependencyMonitorLimit": {
      "description": "Third party services this account may track. Independent of monitorLimit — spending one does not reduce the other.",
      "type": "number"
    },
    "smsCredits": {
      "type": "number"
    },
    "activeSubscription": {
      "type": "object",
      "properties": {
        "plan": {
          "description": "Display label for the active plan (e.g. \"Free\", \"Solo\", \"Team\", \"Scale\"). This is a human-readable label, NOT a stable identifier — it can change (e.g. \"Enterprise\" → \"Scale\"). Consumers needing stability should branch on a stable field, not on this string.",
          "type": "string"
        },
        "monitorLimit": {
          "type": "number"
        },
        "expirationDate": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      },
      "required": [
        "plan",
        "monitorLimit"
      ]
    }
  },
  "required": [
    "email",
    "fullName",
    "monitorsCount",
    "monitorLimit",
    "dependencyMonitorsCount",
    "dependencyMonitorLimit",
    "smsCredits",
    "activeSubscription"
  ]
}