{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usecarscout-com/json-schema/usecarscout-com-snapshot-schema.json",
  "title": "Snapshot",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usecarscout-com-openapi.json#/components/schemas/Snapshot",
  "type": "object",
  "properties": {
    "snapshotDate": {
      "type": "string",
      "format": "date"
    },
    "listingCount": {
      "type": "integer"
    },
    "medianPrice": {
      "type": "null",
      "description": "Always null: snapshots have no median price."
    },
    "meanPrice": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Average asking price for the model year, in US dollars."
    },
    "meanMileage": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Interpolated from 50,000-mile bands; accurate only to the band."
    },
    "medianMileage": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Interpolated from 50,000-mile bands; accurate only to the band. Recent model years come out at 25,000 regardless of the cars."
    },
    "mileagePercentiles": {
      "type": [
        "object",
        "null"
      ],
      "description": "p25, p50, and p75 are interpolated from 50,000-mile bands and accurate only to the band. under50k, under100k, under150k, and under200k are exact shares of listings below each band edge, present on snapshots collected from late October 2026.",
      "properties": {
        "p25": {
          "type": "integer"
        },
        "p50": {
          "type": "integer"
        },
        "p75": {
          "type": "integer"
        },
        "under50k": {
          "type": "number"
        },
        "under100k": {
          "type": "number"
        },
        "under150k": {
          "type": "number"
        },
        "under200k": {
          "type": "number"
        }
      }
    },
    "stateCounts": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": "integer"
      }
    }
  },
  "additionalProperties": true
}