Vehicle API · Schema

Photo

Vehicle photo asset with multiple size variants

AutomotiveCarsEdmundsPricingVehicles

Properties

Name Type Description
id string Photo identifier
title string Photo description
category string Photo category: exterior, interior, color
tags array
sizes array Available image sizes with URLs
View JSON Schema on GitHub

JSON Schema

vehicle-api-photo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vehicle-api/refs/heads/main/json-schema/vehicle-api-photo-schema.json",
  "title": "Photo",
  "description": "Vehicle photo asset with multiple size variants",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Photo identifier",
      "example": "toyota_camry_2025_le_001"
    },
    "title": {
      "type": "string",
      "description": "Photo description",
      "example": "Toyota Camry 2025 LE Front 3/4"
    },
    "category": {
      "type": "string",
      "description": "Photo category: exterior, interior, color",
      "example": "exterior"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "front 3/4",
        "exterior"
      ]
    },
    "sizes": {
      "type": "array",
      "description": "Available image sizes with URLs",
      "items": {
        "type": "object",
        "properties": {
          "size": {
            "type": "string",
            "example": "98x65"
          },
          "link": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}