{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/perkville/json-schema/perkville-get-v2-connection-level-progress-response-schema.json",
  "title": "GetV2ConnectionLevelProgressResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/perkville-openapi-generated.yml#/components/schemas/GetV2ConnectionLevelProgressResponse",
  "type": "object",
  "properties": {
    "business": {
      "type": "string"
    },
    "connection": {
      "type": "string"
    },
    "current_level_info": {
      "type": "object",
      "properties": {
        "current_level": {
          "type": "string"
        },
        "current_level_name": {
          "type": "string"
        },
        "current_level_expiration_date": {
          "type": "string",
          "format": "date"
        },
        "last_level_change_dt": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "last_mod_dt": {
      "type": "string",
      "format": "date-time"
    },
    "next_level_info": {
      "type": "object",
      "properties": {
        "next_level": {
          "type": "string"
        },
        "next_level_name": {
          "type": "string"
        },
        "next_level_deadline_date": {
          "type": "string",
          "format": "date"
        },
        "points_earned_towards_next_level": {
          "type": "integer"
        },
        "points_until_next_level": {
          "type": "integer"
        }
      }
    },
    "requalification_info": {
      "type": "object",
      "properties": {
        "points_earned_towards_requalification": {
          "type": "integer"
        },
        "points_until_requalification": {
          "type": "integer"
        },
        "requalification_deadline_date": {
          "type": "string",
          "format": "date"
        }
      }
    },
    "user": {
      "type": "string"
    }
  }
}