Skip to content

Car

A schema describing a car

Primary Key

url

Foreign Keys

Fields Reference Resource Reference Fields
showroomId showroom id

Fields

Name Definition Type
showroomId?

Unique identifier for the showroom where the car is located. If not provided the car is located at the dealers's main address

Examples
  • showroom-downtown-123
string
title

The title or name of the car listing

Constraints
  • required: true
Examples
  • 2023 Tesla Model 3 Long Range
string
url

URL to the car listing

Constraints
  • required: true
Examples
  • https://example.com/cars/tesla-model-3-2023
string
price

The price of the car in the currency specified

Constraints
  • required: true
  • minimum: 0
Examples
  • 45990
number
currency

Currency of the price

Constraints
  • required: true
Examples
  • EUR
string
year?

Year of first registration (1900-2100)

Constraints
  • minimum: 1900
Examples
  • 2023
number
mileage

Odometer reading in kilometers

Constraints
  • required: true
  • minimum: 0
Examples
  • 15000
number
brand

Car brand/manufacturer

Constraints
  • required: true
Examples
  • Tesla
string
model

Car model name

Constraints
  • required: true
Examples
  • Model 3
string
version

Specific version or trim level

Constraints
  • required: true
Examples
  • Long Range AWD
string
fuel

Fuel type

Constraints
  • required: true
Categories
  • diesel
  • petrol
  • hybrid
  • electric
Examples
  • electric
  • petrol
string
gearbox

Transmission type

Constraints
  • required: true
Categories
  • manual
  • auto
Examples
  • auto
  • manual
string
category

Vehicle category/body type

Constraints
  • required: true
Categories
  • small
  • estate
  • saloon
  • suv
  • van
  • sport
  • cabrio
Examples
  • suv
  • estate
  • sport
string
color

Exterior color

Constraints
  • required: true
Categories
  • grey
  • black
  • white
  • blue
  • red
  • green
  • yellow
  • orange
Examples
  • white
  • black
  • blue
string
door

Number of doors identifier

Constraints
  • required: true
Categories
  • twothree
  • fourfive
  • sixseven
Examples
  • fourfive
  • twothree
string
power?

Engine power in horsepower

Examples
  • 283
number
cubics?

Engine displacement in cubic centimeters

Examples
  • 1998
number
seats?

Number of seats

Examples
  • 5
number
owners?

Number of previous owners

Examples
  • 1
number
month?

Month of first registration (1-12)

Constraints
  • minimum: 1
  • maximum: 12
Examples
  • 6
number
warranty?

Warranty duration in months

Examples
  • 24
number
range?

Electric vehicle range in kilometers

Examples
  • 580
number
battery?

Battery capacity in kWh for electric vehicles

Examples
  • 75
number
plate?

License plate number

Examples
  • AB-12-CD
string
vin?

Vehicle Identification Number

Examples
  • 5YJ3E1EA4KF123456
string