changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ "inspection": {
+ "additionalProperties": false,
+ "properties": {
+ "battery_health_percent": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "final_grade": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "identity_match": {
+ "type": [
+ "string",
+ "boolean",
+ "null"
+ ]
+ },
+ "overall_score": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "qc_approved_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "repair_estimate_bdt": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "final_grade",
+ "overall_score",
+ "repair_estimate_bdt",
+ "battery_health_percent",
+ "identity_match",
+ "qc_approved_at"
+ ],
+ "type": "object"
+ },
+ "vehicle_detail": {
+ "additionalProperties": false,
+ "properties": {
+ "auction_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "body_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "condition": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "const": "BDT",
+ "type": "string"
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fuel_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "hub": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "images": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 8,
+ "type": "array"
+ },
+ "inspection_status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "listing_id": {
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,119}$",
+ "type": "string"
+ },
+ "make": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "mileage_km": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "model": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "price_bdt": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "transmission": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "trim": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "type": "string"
+ },
+ "verified": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "verified_inspection": {
+ "$ref": "#/$defs/inspection"
+ },
+ "year": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "listing_id",
+ "make",
+ "model",
+ "trim",
+ "condition",
+ "fuel_type",
+ "transmission",
+ "body_type",
+ "hub",
+ "inspection_status",
+ "status",
+ "year",
+ "price_bdt",
+ "mileage_km",
+ "verified",
+ "description",
+ "auction_id",
+ "images",
+ "url",
+ "currency"
+ ],
+ "type": "object"
+ }
+ },
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "cheapest_listing_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "const": "BDT",
+ "type": "string"
+ },
+ "found_listing_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "known_price_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "known_price_listing_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "not_found": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "not_found_listing_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "price_comparison_complete": {
+ "type": "boolean"
+ },
+ "price_comparison_notice": {
+ "type": "string"
+ },
+ "requested_listing_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "unavailable": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "http_status": {
+ "type": "integer"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "vehicle_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "vehicle_id",
+ "http_status",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "unavailable_listing_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "unknown_price_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "unknown_price_listing_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "vehicles": {
+ "items": {
+ "$ref": "#/$defs/vehicle_detail"
+ },
+ "maxItems": 4,
+ "type": "array"
+ }
+ },
+ "required": [
+ "currency",
+ "vehicles",
+ "not_found",
+ "unavailable",
+ "requested_listing_count",
+ "found_listing_count",
+ "not_found_listing_count",
+ "unavailable_listing_count",
+ "known_price_count",
+ "unknown_price_count",
+ "known_price_listing_ids",
+ "unknown_price_listing_ids",
+ "price_comparison_complete",
+ "cheapest_listing_id",
+ "price_comparison_notice"
+ ],
+ "type": "object"
+ },
+ {
+ "$ref": "#/$defs/error"
+ }
+ ],
+ "type": "object"
+}