{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/proxmint/json-schema/proxmint-check-schema.json",
  "title": "Check",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/proxmint-openapi.json#/components/schemas/Check",
  "type": "object",
  "properties": {
    "product": {
      "type": "string",
      "enum": [
        "datacenter",
        "residential",
        "premium-residential",
        "mobile"
      ]
    },
    "ok": {
      "type": "boolean"
    },
    "exitIp": {
      "type": [
        "string",
        "null"
      ]
    },
    "exitCountrySeenByCloudflare": {
      "type": [
        "string",
        "null"
      ]
    },
    "ms": {
      "type": "integer"
    },
    "reason": {
      "type": "string",
      "enum": [
        "no_exits",
        "auth",
        "blocked",
        "unreachable",
        "timeout",
        "bad_response"
      ],
      "description": "Only when `ok` is false."
    },
    "advice": {
      "type": "string",
      "description": "Only when `ok` is false: what to try."
    }
  },
  "required": [
    "product",
    "ok",
    "exitIp",
    "exitCountrySeenByCloudflare",
    "ms"
  ]
}