Skip to main content

Cars

A Cars feed has an <agents> section and an <adverts> section; each <advert> uses category="car" and points at its agent by reference. (For a dealer group with several offices, use the multi-office layout with an <offices> section.)

Read first

Getting Started covers the shared rules — fetch schedule, the JamesEdition Feed Crawler 1.0 User-Agent, image rules, and supported video sources.

Example

<?xml version="1.0" encoding="UTF-8"?>
<jamesedition_feed version="3.9">
<agents>
<agent reference="ag123">
<first_name>Jane</first_name>
<last_name>Doe</last_name>
<email>jane.doe@example.com</email>
<phone1>+1234567890</phone1>
<profile_picture_url>https://example.com/jane.jpg</profile_picture_url>
</agent>
</agents>

<adverts>
<advert reference="car-001" category="car">
<type>sale</type>
<price currency="USD">280000</price>
<price_on_request>no</price_on_request>
<title>Exquisite Ferrari F8 Tributo</title>
<description>A 710 HP V8 with a premium interior.</description>
<year>2021</year>
<preowned>yes</preowned>
<location>
<country>US</country>
<region>California</region>
<city>Los Angeles</city>
<address>123 Luxury Avenue</address>
<zip>90001</zip>
</location>
<hide_address>no</hide_address>

<brand>Ferrari</brand>
<model>F8 Tributo</model>
<car_type>Coupe</car_type>
<certified>yes</certified>
<gearbox>Automatic</gearbox>
<drivetrain>RWD</drivetrain>
<engine>8 Cylinder</engine>
<drive>LHD</drive>
<color>Red</color>
<interior_color>Black</interior_color>
<fueltype>Petrol</fueltype>
<mileage unit="km">8000</mileage>
<vin>12345VIN67890</vin>
<fuel_consumption>12.4</fuel_consumption>
<co2_emission>292.0</co2_emission>
<co2_efficiency>A</co2_efficiency>

<media>
<image>
<image_url>https://example.com/car1.jpg</image_url>
</image>
<image>
<image_url>https://example.com/car2.jpg</image_url>
</image>
<video>
<video_url>https://youtu.be/example</video_url>
</video>
</media>
<agent_reference>ag123</agent_reference>
</advert>
</adverts>
</jamesedition_feed>

Required fields

  • the reference and category="car" attributes on <advert>
  • brand and model
  • location/country and location/city
  • a price — price (with currency) or price_on_request=yes
  • at least 2 images
  • agent_reference matching an <agent>
FieldRequiredTypeExampleDescription
reference (attribute)Yesstringcar-001Unique advert ID, on the <advert> element.
category (attribute)YescarcarAsset category, on the <advert> element.
typeYessale | rentsaleSale or rent.
price (currency attribute)Yes¹int280000 currency="USD"currency = ISO 4217.
price_on_requestNoyes/nonoWhen yes, price hidden on the public listing.
titleNostringExquisite Ferrari…
descriptionNotextA 710 HP V8…
yearNoint2021Manufacturing year.
preownedNoyes/noyesno for new.
location/countryYesISO 3166-1 alpha-2US
location/regionNotext (name)CaliforniaState / region name (matched by name, not a code).
location/cityYesstringLos Angeles
location/addressNostring123 Luxury AvenueHidden if hide_address=yes.
location/zipNostring90001
location/latitude · longitudeNofloat34.05Optional.
hide_addressNoyes/nonoHide the public address.
media/image/image_urlYes (≥2)urlhttps://…/car1.jpgJPEG/PNG/WEBP, ≤100, ≤20 MB each.
media/video/video_urlNourlhttps://youtu.be/…Supported video sources.
agent_referenceYesstringag123Must match an <agent> reference.

¹ Required unless price_on_request=yes.

Car fields

FieldRequiredTypeExampleDescription
brandYesstringFerrariMake.
modelYesstringF8 TributoModel.
car_typeNoenumCoupeSee values below.
certifiedNoyes/noyesManufacturer-certified.
gearboxNoenumAutomaticSee values.
drivetrainNoenumRWDSee values.
engineNoenum8 CylinderCylinder count — see values.
driveNoenumLHDLHD / RHD.
colorNostringRedExterior colour.
interior_colorNostringBlack
fueltypeNoenumPetrolSee values.
mileage (unit attribute)Noint8000 unit="km"Units: km, mi (default km).
vinNostring12345VIN67890
fuel_consumptionNonumber12.4Combined, litres per 100 km (L/100 km).
co2_emissionNonumber292.0Combined, g/km.
co2_efficiencyNostringAFree text — the EU energy-efficiency class as printed (e.g. A, B, D). Not validated against a fixed list.

Car field values

Send one of the canonical values below. Other values still import — we map common variants (e.g. EstateStation/Estate wagon) — but a canonical value avoids gaps.

FieldAllowed values
car_typeCabriolet, Coupe, Hot rod, Limousine, Pickup, Race car, Roadster, RV, Sedan, Station/Estate wagon, SUV, Other
gearboxAutomatic, Manual, Semi-automatic, CVT, Dual-clutch, Tiptronic, E-Gear, F1, Other
drivetrainRWD, FWD, AWD, 4x4, 6x6
driveLHD, RHD
engine3 Cylinder, 4 Cylinder, 5 Cylinder, 6 Cylinder, 8 Cylinder, 10 Cylinder, 12 Cylinder, 16 Cylinder, Electric, Other
fueltypePetrol, Diesel, Electric, Hybrid, Ethanol, Other

Agent fields

FieldRequiredTypeExample
reference (attribute)Yesstringag123
first_name · last_nameYesstringJane / Doe
emailYesstringjane.doe@example.com
phone1Nostring+1234567890
phone2 · faxNostring
agent_license_idNostring636289
profile_picture_urlNourl
language_codesNostringeng,spa
linkedin / instagram / facebook / tiktokNourl
biographyNotext