changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "adjustments": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "enum": [
- "market_derived",
- "heuristic"
- ],
- "type": "string"
- },
- "factor": {
- "type": "string"
- },
- "impactAmount": {
- "type": "number"
- },
- "impactPercent": {
- "type": "number"
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "factor",
- "impactAmount",
- "impactPercent",
- "basis",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "askingPriceAnalysis": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "askingPrice": {
- "type": "number"
- },
- "differenceFromMid": {
- "type": "number"
- },
- "differencePercent": {
- "type": "number"
- },
- "marketPosition": {
- "enum": [
- "well_below_market",
- "below_market",
- "near_market",
- "above_market",
- "well_above_market"
- ],
- "type": "string"
- },
- "thresholdsPercent": {
- "additionalProperties": false,
- "properties": {
- "above": {
- "type": "number"
- },
- "below": {
- "type": "number"
- },
- "wellAbove": {
- "type": "number"
- },
- "wellBelow": {
- "type": "number"
- }
- },
- "required": [
- "wellBelow",
- "below",
- "above",
- "wellAbove"
- ],
- "type": "object"
- },
- "withinEstimatedRange": {
- "type": "boolean"
- }
- },
- "required": [
- "askingPrice",
- "differenceFromMid",
- "differencePercent",
- "marketPosition",
- "withinEstimatedRange",
- "thresholdsPercent"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "assumptions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "confidence": {
- "additionalProperties": false,
- "properties": {
- "factors": {
- "additionalProperties": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "level": {
- "enum": [
- "high",
- "medium",
- "low",
- "very_low"
- ],
- "type": "string"
- },
- "reasons": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "score": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "score",
- "level",
- "reasons",
- "factors"
- ],
- "type": "object"
- },
- "currency": {
- "type": "string"
- },
- "currencyConversion": {
- "additionalProperties": false,
- "properties": {
- "conversions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "type": "string"
- },
- "rate": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "rateDate": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": "string"
- },
- "to": {
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "rate",
- "source",
- "rateDate"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "resultCurrency": {
- "type": "string"
- },
- "sourcesConfigured": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "resultCurrency",
- "sourcesConfigured",
- "conversions"
- ],
- "type": "object"
- },
- "dataFreshness": {
- "additionalProperties": false,
- "properties": {
- "latestComparableAt": {
- "type": [
- "string",
- "null"
- ]
- },
- "medianComparableAgeDays": {
- "type": [
- "number",
- "null"
- ]
- },
- "oldestComparableAt": {
- "type": [
- "string",
- "null"
- ]
- },
- "recentListingCount": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "recentWindowDays": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "latestComparableAt",
- "oldestComparableAt",
- "medianComparableAgeDays",
- "recentListingCount",
- "recentWindowDays"
- ],
- "type": "object"
- },
- "depreciation": {
- "additionalProperties": false,
- "properties": {
- "estimatedAnnualDepreciationPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "estimatedOriginalPrice": {
- "type": [
- "number",
- "null"
- ]
- },
- "marketImpliedAnnualDepreciationPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "originalPriceSource": {
- "type": [
- "string",
- "null"
- ]
- },
- "totalDepreciationAmount": {
- "type": [
- "number",
- "null"
- ]
- },
- "totalDepreciationPercent": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "estimatedOriginalPrice",
- "originalPriceSource",
- "totalDepreciationAmount",
- "totalDepreciationPercent",
- "estimatedAnnualDepreciationPercent",
- "marketImpliedAnnualDepreciationPercent"
- ],
- "type": "object"
- },
- "disclaimer": {
- "type": "string"
- },
- "estimatedDealerBuyPrice": {
- "type": [
- "number",
- "null"
- ]
- },
- "estimatedDealerRetailPrice": {
- "type": [
- "number",
- "null"
- ]
- },
- "estimatedPrivateSalePrice": {
- "type": [
- "number",
- "null"
- ]
- },
- "estimatedValue": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "type": "string"
- },
- "high": {
- "type": "number"
- },
- "low": {
- "type": "number"
- },
- "mid": {
- "type": "number"
- }
- },
- "required": [
- "low",
- "mid",
- "high",
- "currency"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "marketComparables": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "askingPrice": {
- "type": "number"
- },
- "city": {
- "type": [
- "string",
- "null"
- ]
- },
- "country": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- },
- "make": {
- "type": "string"
- },
- "mileageKm": {
- "type": [
- "number",
- "null"
- ]
- },
- "model": {
- "type": "string"
- },
- "observedAt": {
- "type": [
- "string",
- "null"
- ]
- },
- "originalAskingPrice": {
- "type": "number"
- },
- "originalCurrency": {
- "type": "string"
- },
- "priceType": {
- "enum": [
- "listing",
- "sale"
- ],
- "type": "string"
- },
- "similarityScore": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "sourceName": {
- "type": "string"
- },
- "sourceUrl": {
- "type": [
- "string",
- "null"
- ]
- },
- "trim": {
- "type": [
- "string",
- "null"
- ]
- },
- "year": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "make",
- "model",
- "year",
- "trim",
- "mileageKm",
- "askingPrice",
- "currency",
- "originalAskingPrice",
- "originalCurrency",
- "country",
- "city",
- "sourceName",
- "sourceUrl",
- "observedAt",
- "priceType",
- "similarityScore"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "marketCoverage": {
- "additionalProperties": false,
- "properties": {
- "country": {
- "type": "string"
- },
- "countryCode": {
- "type": "string"
- },
- "liveMarketDataAvailable": {
- "type": "boolean"
- },
- "marketDataProviders": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "comparablesReturned": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "id": {
- "type": "string"
- },
- "status": {
- "enum": [
- "ok",
- "empty",
- "timeout",
- "error"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "status",
- "comparablesReturned"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "region": {
- "type": "string"
- },
- "regionalFallbackCountries": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "valuationParametersConfigured": {
- "type": "boolean"
- }
- },
- "required": [
- "countryCode",
- "country",
- "region",
- "valuationParametersConfigured",
- "marketDataProviders",
- "liveMarketDataAvailable",
- "regionalFallbackCountries"
- ],
- "type": "object"
- },
- "marketStats": {
- "additionalProperties": false,
- "properties": {
- "averagePrice": {
- "type": [
- "number",
- "null"
- ]
- },
- "comparableCount": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "comparablesConsidered": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "currencyExcludedCount": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "medianMileageKm": {
- "type": [
- "number",
- "null"
- ]
- },
- "medianPrice": {
- "type": [
- "number",
- "null"
- ]
- },
- "outliersExcluded": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "priceDispersionPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "pricePerKmAdjustment": {
- "type": [
- "number",
- "null"
- ]
- },
- "recentListingCount": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "comparableCount",
- "comparablesConsidered",
- "outliersExcluded",
- "medianPrice",
- "averagePrice",
- "medianMileageKm",
- "priceDispersionPercent",
- "recentListingCount",
- "pricePerKmAdjustment",
- "currencyExcludedCount"
- ],
- "type": "object"
- },
- "methodology": {
- "additionalProperties": false,
- "properties": {
- "dealerBuyDiscountPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "dealerRetailMarkupPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "fallbackLevel": {
- "anyOf": [
- {
- "enum": [
- "same_trim_same_year",
- "same_trim_year_plus_minus_1",
- "same_model_year_plus_minus_1",
- "same_model_year_plus_minus_2",
- "regional_same_model_year_plus_minus_2"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "fallbackLevelDescription": {
- "type": [
- "string",
- "null"
- ]
- },
- "listingNegotiationDiscountPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "mileageEffect": {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "enum": [
- "market_derived",
- "heuristic",
- "not_applied"
- ],
- "type": "string"
- },
- "percentPer10000Km": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "basis",
- "percentPer10000Km"
- ],
- "type": "object"
- },
- "outlierMethod": {
- "type": "string"
- },
- "privateSaleAdjustmentPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "rangeHalfWidthPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "yearEffect": {
- "additionalProperties": false,
- "properties": {
- "annualPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "basis": {
- "enum": [
- "market_derived",
- "heuristic",
- "not_needed"
- ],
- "type": "string"
- }
- },
- "required": [
- "basis",
- "annualPercent"
- ],
- "type": "object"
- }
- },
- "required": [
- "fallbackLevel",
- "fallbackLevelDescription",
- "outlierMethod",
- "yearEffect",
- "mileageEffect",
- "rangeHalfWidthPercent",
- "dealerBuyDiscountPercent",
- "privateSaleAdjustmentPercent",
- "dealerRetailMarkupPercent",
- "listingNegotiationDiscountPercent"
- ],
- "type": "object"
- },
- "riskFlags": {
- "items": {
- "enum": [
- "INSUFFICIENT_COMPARABLES",
- "NO_MARKET_DATA_PROVIDER",
- "STALE_MARKET_DATA",
- "HIGH_PRICE_DISPERSION",
- "MILEAGE_UNKNOWN",
- "TRIM_UNKNOWN",
- "CONDITION_UNKNOWN",
- "ACCIDENT_HISTORY_UNKNOWN",
- "ACCIDENT_SEVERITY_UNVERIFIED",
- "STRUCTURAL_DAMAGE_REPORTED",
- "HIGH_MILEAGE_FOR_AGE",
- "ASKING_PRICE_SIGNIFICANTLY_ABOVE_MARKET",
- "ASKING_PRICE_SIGNIFICANTLY_BELOW_MARKET",
- "CURRENCY_CONVERSION_UNAVAILABLE",
- "REGIONAL_FALLBACK_USED",
- "BROADENED_COMPARABLE_SEARCH",
- "HEURISTIC_ADJUSTMENTS_USED",
- "PROVIDER_PARTIAL_FAILURE",
- "OUTLIERS_REMOVED",
- "VIN_MISMATCH",
- "VIN_CHECK_DIGIT_INVALID",
- "VIN_DECODE_UNAVAILABLE",
- "SUBJECT_LISTING_EXCLUDED"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "estimated",
- "insufficient_market_data"
- ],
- "type": "string"
- },
- "valuationDate": {
- "type": "string"
- },
- "vehicle": {
- "additionalProperties": false,
- "properties": {
- "accidentHistory": {
- "enum": [
- "none",
- "minor_cosmetic",
- "repaired",
- "structural",
- "reported",
- "unknown"
- ],
- "type": "string"
- },
- "ageYears": {
- "type": "number"
- },
- "bodyType": {
- "anyOf": [
- {
- "enum": [
- "sedan",
- "hatchback",
- "suv",
- "crossover",
- "pickup",
- "coupe",
- "convertible",
- "wagon",
- "van",
- "minivan",
- "other"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "city": {
- "type": [
- "string",
- "null"
- ]
- },
- "color": {
- "type": [
- "string",
- "null"
- ]
- },
- "condition": {
- "enum": [
- "excellent",
- "very_good",
- "good",
- "fair",
- "poor",
- "unknown"
- ],
- "type": "string"
- },
- "country": {
- "type": "string"
- },
- "countryCode": {
- "type": "string"
- },
- "drivetrain": {
- "anyOf": [
- {
- "enum": [
- "fwd",
- "rwd",
- "awd",
- "4wd"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "engine": {
- "type": [
- "string",
- "null"
- ]
- },
- "expectedMileageKm": {
- "type": [
- "number",
- "null"
- ]
- },
- "fuelType": {
- "anyOf": [
- {
- "enum": [
- "petrol",
- "diesel",
- "hybrid",
- "plug_in_hybrid",
- "electric",
- "lpg",
- "cng",
- "hydrogen",
- "other"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "make": {
- "type": "string"
- },
- "mileageKm": {
- "type": [
- "number",
- "null"
- ]
- },
- "mileageVsExpectedPercent": {
- "type": [
- "number",
- "null"
- ]
- },
- "model": {
- "type": "string"
- },
- "options": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "owners": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "serviceHistory": {
- "enum": [
- "full",
- "partial",
- "none",
- "unknown"
- ],
- "type": "string"
- },
- "transmission": {
- "anyOf": [
- {
- "enum": [
- "automatic",
- "manual",
- "cvt",
- "dct",
- "other"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "trim": {
- "type": [
- "string",
- "null"
- ]
- },
- "year": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "make",
- "model",
- "year",
- "trim",
- "mileageKm",
- "condition",
- "country",
- "countryCode",
- "city",
- "fuelType",
- "transmission",
- "bodyType",
- "drivetrain",
- "engine",
- "accidentHistory",
- "serviceHistory",
- "owners",
- "color",
- "options",
- "ageYears",
- "expectedMileageKm",
- "mileageVsExpectedPercent"
- ],
- "type": "object"
- },
- "vinCheck": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "checkDigit": {
- "enum": [
- "valid",
- "invalid",
- "not_applicable"
- ],
- "type": "string"
- },
- "decodeStatus": {
- "enum": [
- "decoded",
- "not_decoded",
- "unavailable",
- "not_configured"
- ],
- "type": "string"
- },
- "decoded": {
- "additionalProperties": false,
- "properties": {
- "bodyClass": {
- "type": [
- "string",
- "null"
- ]
- },
- "driveType": {
- "type": [
- "string",
- "null"
- ]
- },
- "engine": {
- "type": [
- "string",
- "null"
- ]
- },
- "fuelType": {
- "type": [
- "string",
- "null"
- ]
- },
- "make": {
- "type": [
- "string",
- "null"
- ]
- },
- "model": {
- "type": [
- "string",
- "null"
- ]
- },
- "modelYear": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "transmission": {
- "type": [
- "string",
- "null"
- ]
- },
- "trim": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "make",
- "model",
- "modelYear",
- "trim",
- "bodyClass",
- "fuelType",
- "driveType",
- "transmission",
- "engine"
- ],
- "type": "object"
- },
- "decoder": {
- "type": "string"
- },
- "enrichedFields": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "matches": {
- "additionalProperties": false,
- "properties": {
- "make": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "model": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "year": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "make",
- "model",
- "year"
- ],
- "type": "object"
- },
- "notes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "vinMasked": {
- "type": "string"
- },
- "wmiRegion": {
- "enum": [
- "north_america",
- "south_america",
- "europe",
- "asia",
- "africa",
- "oceania",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "vinMasked",
- "wmiRegion",
- "checkDigit",
- "decoder",
- "decodeStatus",
- "decoded",
- "matches",
- "enrichedFields",
- "notes"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "status",
- "vehicle",
- "valuationDate",
- "currency",
- "estimatedValue",
- "estimatedPrivateSalePrice",
- "estimatedDealerBuyPrice",
- "estimatedDealerRetailPrice",
- "askingPriceAnalysis",
- "depreciation",
- "adjustments",
- "marketComparables",
- "marketStats",
- "methodology",
- "confidence",
- "riskFlags",
- "assumptions",
- "dataFreshness",
- "marketCoverage",
- "vinCheck",
- "currencyConversion",
- "disclaimer"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "nextAction": {
- "additionalProperties": false,
- "properties": {
- "instruction": {
- "type": "string"
- },
- "target": {
- "const": "x402_endpoint",
- "type": "string"
- },
- "type": {
- "const": "pay_and_retry",
- "type": "string"
- }
- },
- "required": [
- "type",
- "target",
- "instruction"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "properties": {
- "endpoint": {
- "type": "string"
- },
- "method": {
- "const": "POST",
- "type": "string"
- },
- "retrySameBody": {
- "const": true,
- "type": "boolean"
- }
- },
- "required": [
- "endpoint",
- "method",
- "retrySameBody"
- ],
- "type": "object"
- },
- "preview": {
- "additionalProperties": false,
- "properties": {
- "fullResultAvailable": {
- "const": true,
- "type": "boolean"
- },
- "inputAccepted": {
- "const": true,
- "type": "boolean"
- },
- "summary": {
- "type": "string"
- },
- "useCases": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "inputAccepted",
- "fullResultAvailable",
- "summary",
- "useCases"
- ],
- "type": "object"
- },
- "price": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "type": "string"
- },
- "protocol": {
- "const": "x402",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency",
- "protocol"
- ],
- "type": "object"
- },
- "requestId": {
- "type": "string"
- },
- "status": {
- "const": "payment_required",
- "type": "string"
- },
- "tool": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "tool",
- "requestId",
- "price",
- "preview",
- "payment",
- "nextAction"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "adjustments": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "enum": [
+ "market_derived",
+ "heuristic"
+ ],
+ "type": "string"
+ },
+ "factor": {
+ "type": "string"
+ },
+ "impactAmount": {
+ "type": "number"
+ },
+ "impactPercent": {
+ "type": "number"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "factor",
+ "impactAmount",
+ "impactPercent",
+ "basis",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "askingPriceAnalysis": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "askingPrice": {
+ "type": "number"
+ },
+ "differenceFromMid": {
+ "type": "number"
+ },
+ "differencePercent": {
+ "type": "number"
+ },
+ "marketPosition": {
+ "enum": [
+ "well_below_market",
+ "below_market",
+ "near_market",
+ "above_market",
+ "well_above_market"
+ ],
+ "type": "string"
+ },
+ "thresholdsPercent": {
+ "additionalProperties": false,
+ "properties": {
+ "above": {
+ "type": "number"
+ },
+ "below": {
+ "type": "number"
+ },
+ "wellAbove": {
+ "type": "number"
+ },
+ "wellBelow": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "wellBelow",
+ "below",
+ "above",
+ "wellAbove"
+ ],
+ "type": "object"
+ },
+ "withinEstimatedRange": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "askingPrice",
+ "differenceFromMid",
+ "differencePercent",
+ "marketPosition",
+ "withinEstimatedRange",
+ "thresholdsPercent"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "assumptions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "confidence": {
+ "additionalProperties": false,
+ "properties": {
+ "factors": {
+ "additionalProperties": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "level": {
+ "enum": [
+ "high",
+ "medium",
+ "low",
+ "very_low"
+ ],
+ "type": "string"
+ },
+ "reasons": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "score": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "score",
+ "level",
+ "reasons",
+ "factors"
+ ],
+ "type": "object"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "currencyConversion": {
+ "additionalProperties": false,
+ "properties": {
+ "conversions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "type": "string"
+ },
+ "rate": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "rateDate": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "rate",
+ "source",
+ "rateDate"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "resultCurrency": {
+ "type": "string"
+ },
+ "sourcesConfigured": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "resultCurrency",
+ "sourcesConfigured",
+ "conversions"
+ ],
+ "type": "object"
+ },
+ "dataFreshness": {
+ "additionalProperties": false,
+ "properties": {
+ "latestComparableAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "medianComparableAgeDays": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "oldestComparableAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "recentListingCount": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "recentWindowDays": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "latestComparableAt",
+ "oldestComparableAt",
+ "medianComparableAgeDays",
+ "recentListingCount",
+ "recentWindowDays"
+ ],
+ "type": "object"
+ },
+ "depreciation": {
+ "additionalProperties": false,
+ "properties": {
+ "estimatedAnnualDepreciationPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "estimatedOriginalPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "marketImpliedAnnualDepreciationPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "originalPriceSource": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "totalDepreciationAmount": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "totalDepreciationPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "estimatedOriginalPrice",
+ "originalPriceSource",
+ "totalDepreciationAmount",
+ "totalDepreciationPercent",
+ "estimatedAnnualDepreciationPercent",
+ "marketImpliedAnnualDepreciationPercent"
+ ],
+ "type": "object"
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "estimatedDealerBuyPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "estimatedDealerRetailPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "estimatedPrivateSalePrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "estimatedValue": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "type": "string"
+ },
+ "high": {
+ "type": "number"
+ },
+ "low": {
+ "type": "number"
+ },
+ "mid": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "low",
+ "mid",
+ "high",
+ "currency"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "marketComparables": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "askingPrice": {
+ "type": "number"
+ },
+ "city": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "country": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "make": {
+ "type": "string"
+ },
+ "mileageKm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "model": {
+ "type": "string"
+ },
+ "observedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "originalAskingPrice": {
+ "type": "number"
+ },
+ "originalCurrency": {
+ "type": "string"
+ },
+ "priceType": {
+ "enum": [
+ "listing",
+ "sale"
+ ],
+ "type": "string"
+ },
+ "similarityScore": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "sourceName": {
+ "type": "string"
+ },
+ "sourceUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "trim": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "year": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "make",
+ "model",
+ "year",
+ "trim",
+ "mileageKm",
+ "askingPrice",
+ "currency",
+ "originalAskingPrice",
+ "originalCurrency",
+ "country",
+ "city",
+ "sourceName",
+ "sourceUrl",
+ "observedAt",
+ "priceType",
+ "similarityScore"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "marketCoverage": {
+ "additionalProperties": false,
+ "properties": {
+ "country": {
+ "type": "string"
+ },
+ "countryCode": {
+ "type": "string"
+ },
+ "liveMarketDataAvailable": {
+ "type": "boolean"
+ },
+ "marketDataProviders": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "comparablesReturned": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "empty",
+ "timeout",
+ "error"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status",
+ "comparablesReturned"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "region": {
+ "type": "string"
+ },
+ "regionalFallbackCountries": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "valuationParametersConfigured": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "countryCode",
+ "country",
+ "region",
+ "valuationParametersConfigured",
+ "marketDataProviders",
+ "liveMarketDataAvailable",
+ "regionalFallbackCountries"
+ ],
+ "type": "object"
+ },
+ "marketStats": {
+ "additionalProperties": false,
+ "properties": {
+ "averagePrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "comparableCount": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "comparablesConsidered": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "currencyExcludedCount": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "medianMileageKm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "medianPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "outliersExcluded": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "priceDispersionPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "pricePerKmAdjustment": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "recentListingCount": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "comparableCount",
+ "comparablesConsidered",
+ "outliersExcluded",
+ "medianPrice",
+ "averagePrice",
+ "medianMileageKm",
+ "priceDispersionPercent",
+ "recentListingCount",
+ "pricePerKmAdjustment",
+ "currencyExcludedCount"
+ ],
+ "type": "object"
+ },
+ "methodology": {
+ "additionalProperties": false,
+ "properties": {
+ "dealerBuyDiscountPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "dealerRetailMarkupPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "fallbackLevel": {
+ "anyOf": [
+ {
+ "enum": [
+ "same_trim_same_year",
+ "same_trim_year_plus_minus_1",
+ "same_model_year_plus_minus_1",
+ "same_model_year_plus_minus_2",
+ "regional_same_model_year_plus_minus_2"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "fallbackLevelDescription": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "listingNegotiationDiscountPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "mileageEffect": {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "enum": [
+ "market_derived",
+ "heuristic",
+ "not_applied"
+ ],
+ "type": "string"
+ },
+ "percentPer10000Km": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "basis",
+ "percentPer10000Km"
+ ],
+ "type": "object"
+ },
+ "outlierMethod": {
+ "type": "string"
+ },
+ "privateSaleAdjustmentPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "rangeHalfWidthPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "yearEffect": {
+ "additionalProperties": false,
+ "properties": {
+ "annualPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "basis": {
+ "enum": [
+ "market_derived",
+ "heuristic",
+ "not_needed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "basis",
+ "annualPercent"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "fallbackLevel",
+ "fallbackLevelDescription",
+ "outlierMethod",
+ "yearEffect",
+ "mileageEffect",
+ "rangeHalfWidthPercent",
+ "dealerBuyDiscountPercent",
+ "privateSaleAdjustmentPercent",
+ "dealerRetailMarkupPercent",
+ "listingNegotiationDiscountPercent"
+ ],
+ "type": "object"
+ },
+ "riskFlags": {
+ "items": {
+ "enum": [
+ "INSUFFICIENT_COMPARABLES",
+ "NO_MARKET_DATA_PROVIDER",
+ "STALE_MARKET_DATA",
+ "HIGH_PRICE_DISPERSION",
+ "MILEAGE_UNKNOWN",
+ "TRIM_UNKNOWN",
+ "CONDITION_UNKNOWN",
+ "ACCIDENT_HISTORY_UNKNOWN",
+ "ACCIDENT_SEVERITY_UNVERIFIED",
+ "STRUCTURAL_DAMAGE_REPORTED",
+ "HIGH_MILEAGE_FOR_AGE",
+ "ASKING_PRICE_SIGNIFICANTLY_ABOVE_MARKET",
+ "ASKING_PRICE_SIGNIFICANTLY_BELOW_MARKET",
+ "CURRENCY_CONVERSION_UNAVAILABLE",
+ "REGIONAL_FALLBACK_USED",
+ "BROADENED_COMPARABLE_SEARCH",
+ "HEURISTIC_ADJUSTMENTS_USED",
+ "PROVIDER_PARTIAL_FAILURE",
+ "OUTLIERS_REMOVED",
+ "VIN_MISMATCH",
+ "VIN_CHECK_DIGIT_INVALID",
+ "VIN_DECODE_UNAVAILABLE",
+ "SUBJECT_LISTING_EXCLUDED"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "estimated",
+ "insufficient_market_data"
+ ],
+ "type": "string"
+ },
+ "valuationDate": {
+ "type": "string"
+ },
+ "vehicle": {
+ "additionalProperties": false,
+ "properties": {
+ "accidentHistory": {
+ "enum": [
+ "none",
+ "minor_cosmetic",
+ "repaired",
+ "structural",
+ "reported",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "ageYears": {
+ "type": "number"
+ },
+ "bodyType": {
+ "anyOf": [
+ {
+ "enum": [
+ "sedan",
+ "hatchback",
+ "suv",
+ "crossover",
+ "pickup",
+ "coupe",
+ "convertible",
+ "wagon",
+ "van",
+ "minivan",
+ "other"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "city": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "color": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "condition": {
+ "enum": [
+ "excellent",
+ "very_good",
+ "good",
+ "fair",
+ "poor",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "country": {
+ "type": "string"
+ },
+ "countryCode": {
+ "type": "string"
+ },
+ "drivetrain": {
+ "anyOf": [
+ {
+ "enum": [
+ "fwd",
+ "rwd",
+ "awd",
+ "4wd"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "engine": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "expectedMileageKm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "fuelType": {
+ "anyOf": [
+ {
+ "enum": [
+ "petrol",
+ "diesel",
+ "hybrid",
+ "plug_in_hybrid",
+ "electric",
+ "lpg",
+ "cng",
+ "hydrogen",
+ "other"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "make": {
+ "type": "string"
+ },
+ "mileageKm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "mileageVsExpectedPercent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "model": {
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "owners": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "serviceHistory": {
+ "enum": [
+ "full",
+ "partial",
+ "none",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "transmission": {
+ "anyOf": [
+ {
+ "enum": [
+ "automatic",
+ "manual",
+ "cvt",
+ "dct",
+ "other"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "trim": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "year": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "make",
+ "model",
+ "year",
+ "trim",
+ "mileageKm",
+ "condition",
+ "country",
+ "countryCode",
+ "city",
+ "fuelType",
+ "transmission",
+ "bodyType",
+ "drivetrain",
+ "engine",
+ "accidentHistory",
+ "serviceHistory",
+ "owners",
+ "color",
+ "options",
+ "ageYears",
+ "expectedMileageKm",
+ "mileageVsExpectedPercent"
+ ],
+ "type": "object"
+ },
+ "vinCheck": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "checkDigit": {
+ "enum": [
+ "valid",
+ "invalid",
+ "not_applicable"
+ ],
+ "type": "string"
+ },
+ "decodeStatus": {
+ "enum": [
+ "decoded",
+ "not_decoded",
+ "unavailable",
+ "not_configured"
+ ],
+ "type": "string"
+ },
+ "decoded": {
+ "additionalProperties": false,
+ "properties": {
+ "bodyClass": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "driveType": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "engine": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fuelType": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "make": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "model": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "modelYear": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "transmission": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "trim": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "make",
+ "model",
+ "modelYear",
+ "trim",
+ "bodyClass",
+ "fuelType",
+ "driveType",
+ "transmission",
+ "engine"
+ ],
+ "type": "object"
+ },
+ "decoder": {
+ "type": "string"
+ },
+ "enrichedFields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "matches": {
+ "additionalProperties": false,
+ "properties": {
+ "make": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "model": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "year": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "make",
+ "model",
+ "year"
+ ],
+ "type": "object"
+ },
+ "notes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "vinMasked": {
+ "type": "string"
+ },
+ "wmiRegion": {
+ "enum": [
+ "north_america",
+ "south_america",
+ "europe",
+ "asia",
+ "africa",
+ "oceania",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "vinMasked",
+ "wmiRegion",
+ "checkDigit",
+ "decoder",
+ "decodeStatus",
+ "decoded",
+ "matches",
+ "enrichedFields",
+ "notes"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "vehicle",
+ "valuationDate",
+ "currency",
+ "estimatedValue",
+ "estimatedPrivateSalePrice",
+ "estimatedDealerBuyPrice",
+ "estimatedDealerRetailPrice",
+ "askingPriceAnalysis",
+ "depreciation",
+ "adjustments",
+ "marketComparables",
+ "marketStats",
+ "methodology",
+ "confidence",
+ "riskFlags",
+ "assumptions",
+ "dataFreshness",
+ "marketCoverage",
+ "vinCheck",
+ "currencyConversion",
+ "disclaimer"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "nextAction": {
+ "additionalProperties": false,
+ "properties": {
+ "instruction": {
+ "type": "string"
+ },
+ "target": {
+ "enum": [
+ "x402_endpoint",
+ "mcp_credits_endpoint",
+ "payment_endpoint",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "pay_and_retry",
+ "authorize_and_use_mcp_credits",
+ "payment_unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "target",
+ "instruction"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "properties": {
+ "endpoint": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method": {
+ "const": "POST",
+ "type": "string"
+ },
+ "retrySameBody": {
+ "const": true,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "endpoint",
+ "method",
+ "retrySameBody"
+ ],
+ "type": "object"
+ },
+ "paymentGuidance": {},
+ "preview": {
+ "additionalProperties": false,
+ "properties": {
+ "fullResultAvailable": {
+ "const": true,
+ "type": "boolean"
+ },
+ "inputAccepted": {
+ "const": true,
+ "type": "boolean"
+ },
+ "summary": {
+ "type": "string"
+ },
+ "useCases": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "inputAccepted",
+ "fullResultAvailable",
+ "summary",
+ "useCases"
+ ],
+ "type": "object"
+ },
+ "price": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "protocol": {
+ "enum": [
+ "x402",
+ "api_credits",
+ "subscription",
+ "l402",
+ "mpp",
+ "unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "protocol"
+ ],
+ "type": "object"
+ },
+ "requestId": {
+ "type": "string"
+ },
+ "status": {
+ "const": "payment_required",
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "tool",
+ "requestId",
+ "price",
+ "preview",
+ "payment",
+ "nextAction"
+ ],
+ "type": "object"
+ }
+]