Cazana

Codebook

The full vehicle specification for every Cazana ID the feeds reference.

The codebook is the master vehicle specification table. Each row is one specification, identified by a Cazana ID, and carries the full descriptive detail for that vehicle: make, model, derivative, body, engine, performance and pricing.

The feeds do not repeat this detail on every row. They carry a cazanaId, and you join it to the codebook once to expand any row to its full specification. This keeps the data feeds compact and the specification consistent across all of them.

Cadence and file

  • Published: daily, alongside the data feeds.
  • File name: codebook_YYYY-MM-DD.jsonl (or .csv).
  • Formats: JSONL or CSV. See File formats.

Fields

FieldTypeNotes
cazanaIdintegerCazana ID. The join key carried by every feed.
manufacturerstringManufacturer.
modelstringModel.
derivativestringDerivative.
specDescriptionstringFull specification description.
bodyStylestringBody style.
fuelTypestringFuel type.
fuelDeliverystringFuel delivery.
transmissionTypestringTransmission type.
driveTypestringDrive type.
drivenAxlestringDriven axle.
engineCcintegerEngine capacity, in cc.
bhpintegerPower output, in bhp.
cylinderCountintegerNumber of cylinders.
valveCountintegerNumber of valves.
gearCountintegerNumber of gears.
doorCodeintegerDoor code.
seatCountintegerNumber of seats.
wheelBaseintegerWheelbase, in mm.
weightintegerWeight, in kg.
steeringPositionstringSteering position.
vehicleTypestringVehicle type.
countrystringCountry.
basePricenumberBase price.
onTheRoadPricenumberOn-the-road price.
modelVersionCodestringModel version code.
modelVersionFromdatetimeModel version valid from.
modelVersionTodatetimeModel version valid to.
fromDatedatetimeRecord valid from.
toDatedatetimeRecord valid to.

Joining the codebook

  1. Read the cazanaId from any feed row, for example a sale event.
  2. Look that cazanaId up in the codebook.
  3. Read the specification fields from the matching codebook row.

Because the codebook is published with every delivery, every cazanaId in a day's feeds has a matching row in that day's codebook.