{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/loyaltyvip-com/json-schema/loyaltyvip-com-tier-ladder-freshness-schema.json",
  "title": "TierLadderFreshness",
  "description": "How old the whole published ladder is. A ladder is only as current as its OLDEST confirmed tier.",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/loyaltyvip-com-openapi.yml#/components/schemas/TierLadderFreshness",
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "enum": [
        "confirmed",
        "stale",
        "partial",
        "unconfirmed"
      ],
      "description": "'confirmed' every tier confirmed within the last 365 days · 'stale' every tier confirmed but the oldest is older than that · 'partial' some tiers confirmed and some never · 'unconfirmed' none confirmed, or no tiers. Do not state an unconfirmed or stale threshold as current fact."
    },
    "confirmed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "The OLDEST confirmation across the ladder, not the newest."
    },
    "confirmed_by": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "review",
        "scrape",
        null
      ]
    },
    "confirmed_count": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    }
  }
}