{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "linkedin-pricing/schema.json",
 "title": "LinkedIn worldwide pricing (latest.json)",
 "type": "object",
 "required": [
  "dataset",
  "title",
  "last_updated",
  "refresh",
  "records"
 ],
 "properties": {
  "dataset": {
   "const": "linkedin-pricing"
  },
  "title": {
   "type": "string"
  },
  "description": {
   "type": "string"
  },
  "publisher": {
   "type": "string"
  },
  "license": {
   "type": "string"
  },
  "last_updated": {
   "type": "string",
   "format": "date"
  },
  "refresh": {
   "const": "weekly"
  },
  "methodology_url": {
   "type": "string"
  },
  "currency_note": {
   "type": "string"
  },
  "fx_source": {
   "type": "string"
  },
  "fx_date": {
   "type": "string"
  },
  "changes": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "date",
     "from",
     "to",
     "currency"
    ]
   }
  },
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "vendor",
     "product",
     "plan",
     "plan_id",
     "billing",
     "available",
     "price",
     "price_unit",
     "currency",
     "country",
     "country_name",
     "source_type",
     "source_url",
     "captured_at",
     "evidence",
     "evidence_sha256",
     "verification"
    ],
    "properties": {
     "id": {
      "type": "string",
      "pattern": "^[a-z-]+\\.[a-z]{2}\\.(monthly|annual)$"
     },
     "vendor": {
      "const": "LinkedIn"
     },
     "product": {
      "enum": [
       "Premium",
       "Sales Navigator",
       "Recruiter"
      ]
     },
     "plan": {
      "type": "string"
     },
     "plan_id": {
      "enum": [
       "premium-career",
       "premium-business",
       "salesnav-core",
       "salesnav-advanced",
       "salesnav-advanced-plus",
       "recruiter-lite"
      ]
     },
     "billing": {
      "enum": [
       "monthly",
       "annual"
      ]
     },
     "available": {
      "type": "boolean"
     },
     "price": {
      "type": [
       "number",
       "null"
      ],
      "description": "local list price; per month for monthly billing, per year (total) for annual"
     },
     "price_local": {
      "type": [
       "number",
       "null"
      ]
     },
     "price_unit": {
      "enum": [
       "per seat per month",
       "per seat per year"
      ]
     },
     "price_per_month": {
      "type": [
       "number",
       "null"
      ]
     },
     "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$"
     },
     "price_usd": {
      "type": [
       "number",
       "null"
      ],
      "description": "price / fx_rate"
     },
     "price_per_month_usd": {
      "type": [
       "number",
       "null"
      ]
     },
     "fx_rate": {
      "type": [
       "number",
       "null"
      ],
      "description": "units of currency per 1 USD"
     },
     "fx_date": {
      "type": [
       "string",
       "null"
      ]
     },
     "fx_source": {
      "type": [
       "string",
       "null"
      ]
     },
     "country": {
      "type": "string",
      "pattern": "^[A-Z]{2}$"
     },
     "country_name": {
      "type": "string"
     },
     "region": {
      "type": "string"
     },
     "tax_included": {
      "type": [
       "boolean",
       "null"
      ]
     },
     "source_type": {
      "enum": [
       "linkedin_web",
       "app_store",
       "other"
      ]
     },
     "source_id": {
      "type": "string"
     },
     "source_url": {
      "type": "string"
     },
     "captured_at": {
      "type": "string"
     },
     "evidence": {
      "type": "string"
     },
     "evidence_sha256": {
      "type": "string",
      "pattern": "^[0-9a-f]{64}$"
     },
     "verification": {
      "type": "object",
      "required": [
       "status",
       "checks"
      ],
      "properties": {
       "status": {
        "enum": [
         "verified",
         "changed_needs_review",
         "failed"
        ]
       },
       "checks": {
        "type": "array",
        "items": {
         "type": "string"
        }
       }
      }
     },
     "cross_checks": {
      "type": "array"
     },
     "notes": {
      "type": "string"
     },
     "price_low": {
      "type": [
       "number",
       "null"
      ],
      "description": "reference only: lowest monthly App Store SKU of the storefront, in sku_currency (an older price point, not used for ranking)"
     },
     "price_typical": {
      "type": [
       "number",
       "null"
      ],
      "description": "reference only: most frequent monthly App Store SKU (lowest on a tie), in sku_currency. Lower SKUs are older price points still shown in the store and are not used for ranking"
     },
     "price_high": {
      "type": [
       "number",
       "null"
      ],
      "description": "highest monthly App Store SKU, in sku_currency: the current list price (equals LinkedIn's web list price in the 5 web currencies). For app_store records price = price_high"
     },
     "price_low_usd": {
      "type": [
       "number",
       "null"
      ],
      "description": "price_low / fx_rate of sku_currency"
     },
     "price_typical_usd": {
      "type": [
       "number",
       "null"
      ]
     },
     "price_high_usd": {
      "type": [
       "number",
       "null"
      ]
     },
     "sku_currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "description": "currency of the App Store SKUs (the storefront currency)"
     },
     "sku_count": {
      "type": "integer",
      "description": "number of monthly-range Core SKUs listed (annual SKUs excluded; the storefront shows at most 10 SKUs in total)"
     },
     "skus": {
      "type": "array",
      "description": "every Sales Navigator Core SKU listed, in page order, with the inferred period",
      "items": {
       "type": "object",
       "required": [
        "price",
        "period"
       ],
       "properties": {
        "price": {
         "type": "number"
        },
        "price_text": {
         "type": "string"
        },
        "period": {
         "enum": [
          "monthly",
          "annual"
         ]
        }
       }
      }
     },
     "sku_rule": {
      "type": "string",
      "description": "price_high_v3: price = max of monthly SKUs (current list price); low = min and typical = mode (lowest on tie) kept as reference. low_typical_high_v2 (history only, 2026-11-26): price was the mode. A SKU is annual when it is 5x or more the median Core SKU or above 360 USD"
     },
     "sku_source": {
      "type": "string"
     },
     "sku_evidence": {
      "type": "string"
     },
     "last_verified": {
      "type": "string"
     },
     "pending_review": {
      "type": "object"
     }
    }
   }
  }
 }
}
