Skip to main content

Vehicle

Version: v1.1.0

Stored entity

Partition key pk, sort key sk • discriminator type = "VEHICLE"

Overview

Vehicle

Fields

FieldTypeRequiredDefaultDescription
pkstr
skstr
tenant_idstr
typestrVEHICLE
created_atstr
updated_atstr
stock_idstr
is_deletedbool
deleted_atstr
vehicle_schema_versionstr1.0.0
is_crushedbool
crushed_datestr
vehicle_idstr
vehicle_schema_countrystr
veh_chassis_code_rawstr
veh_chassis_codestr
veh_chassis_code_idstr
veh_production_yearint
veh_production_year_fromint
veh_production_year_toint
veh_production_month_fromint
veh_production_month_toint
veh_production_applicable_yearsList[int]
veh_body_typestr
veh_body_type_idstr
veh_country_of_originstr
veh_country_of_origin_idstr
veh_engine_code_rawstr
veh_engine_codestr
veh_engine_code_idstr
veh_engine_size_ccint
veh_engine_size_litresfloat
veh_engine_powerfloat
veh_engine_power_metricstr
veh_fuel_typestr
veh_fuel_type_idstr
veh_drive_typestr
veh_drive_type_idstr
does_vehicle_startbool
is_vehicle_drivablebool
is_water_damagedbool
has_engine_been_testedbool
odometerint
odometer_metricDistanceMetric (KM, MILES)DistanceMetric
veh_weightfloat
veh_weight_metricWeightMetric (KG, LB, G)WeightMetric
number_of_keysint
registration_idstr
vinstr
veh_engine_cylinder_numberint
veh_engine_cylinder_number_idstr
veh_transmission_typestr
veh_transmission_type_idstr
veh_transmission_num_speedsint
veh_transmission_num_speeds_idstr
veh_transmission_codestr
veh_brake_absstr
veh_brake_abs_idstr
veh_steering_systemstr
veh_steering_system_idstr
veh_axle_codestr
veh_num_of_doorsint
veh_num_of_doors_idstr
veh_exterior_colorstr
veh_exterior_color_idstr
veh_exterior_color_codestr
veh_glass_colorstr
veh_glass_color_idstr
veh_vin_first_11str
is_fire_damagedbool
veh_wheel_typestr
veh_wheel_type_idstr
veh_wheel_sizestr
veh_wheel_size_idstr
veh_tyre_sizestr
has_radiobool
has_cruise_controlbool
has_air_bagsbool
has_air_conditioningbool
has_electric_windowsbool
has_central_lockingbool
has_sun_roofbool
has_ignition_damagebool
veh_seat_materialstr
veh_seat_material_idstr
veh_interior_colorstr
veh_interior_color_idstr
veh_interior_color_codestr
damagesstr
public_commentsstr
private_commentsstr
purchasePurchasePurchase
arrival_datestr
arrival_statusbool
expensesList[Expense]
locationstr
location_idstr
purposestr
purpose_idstr
titlestr
has_batterybool
has_jackbool
custom_fieldsList[CustomField]
imagesList[Image]
videosList[Video]
filesList[File]
inventory_datestr
last_stock_take_datestr
is_draftbool
inspection_statusInspectionStatus (PENDING, DONE, NOT_REQUIRED, DRAFT)InspectionStatus
inspection_list_template_idstr
inspection_list_applied_datestr
veh_make_idstr
veh_makestr
veh_model_idstr
veh_modelstr
veh_make_modelstr
veh_submodelstr
veh_submodel_idstr
veh_seriesstr
veh_series_idstr
veh_production_monthint
sales_channelsSalesChannelsSalesChannels
raw_veh_modelstr
raw_veh_submodelstr
raw_veh_seriesstr
veh_cylinder_head_typestr
veh_cylinder_head_type_idstr
veh_engine_block_typestr
veh_engine_block_type_idstr
veh_engine_valvesstr
veh_engine_valves_idstr
veh_engine_versionstr
veh_engine_version_idstr
veh_aspirationstr
veh_aspiration_idstr

Embedded models

Models embedded in the fields above — shown inline; they have no separate page.

Purchase — v1.0.0
FieldTypeRequiredDefaultDescription
purchase_sourcestr
purchase_source_idstr
auction_idstr
auctionstr
seller_namestr
seller_emailstr
seller_phonestr
deliery_methodstr
deliery_method_idstr
is_original_pickup_addressbool
addressVehicleAddressAddress
seller_license_frontFileFile
seller_license_backFileFile
seller_signatureFileFile
payment_typestr
payment_type_idstr
payment_referencestr
purchase_datestr
purchase_pricefloat
has_stolen_checkbool
marketing_sourcestr
marketing_source_idstr
purchase_idstr
purchase_display_idstr

Change history

  • v1.0.0 · 2025-09-02 · Cian (shared account) · Initial version. (1eaebf801)
VehicleAddress — v1.0.0
FieldTypeRequiredDefaultDescription
countrystr
citystr
address_line_1str
address_line_2str
regionstr
postal_codestr

Change history

  • v1.0.0 · 2025-09-02 · Cian (shared account) · Initial version. (1eaebf801)
File — v1.0.0
FieldTypeRequiredDefaultDescription
urlstr
is_privatebool
namestr

Change history

  • v1.0.0 · 2025-09-02 · Cian (shared account) · Initial version. (1eaebf801)
Expense — v1.0.0
FieldTypeRequiredDefaultDescription
amountfloat
contactstr
contact_idstr
referencestr
currencystr
descriptionstr
datestr
expense_idstr
expense_display_idstr
typestrEXPENSE
created_atstr
updated_atstr

Change history

  • v1.0.0 · 2025-09-02 · Cian (shared account) · Initial version. (1eaebf801)
CustomField — v1.0.0
FieldTypeRequiredDefaultDescription
namestr
valuestr

Change history

  • v1.0.0 · 2025-09-02 · Cian (shared account) · Initial version. (1eaebf801)
Image — v1.0.0
FieldTypeRequiredDefaultDescription
orderint
urlstr
is_privatebool

Change history

  • v1.0.0 · 2025-09-02 · Cian (shared account) · Initial version. (1eaebf801)
Video — v1.0.0
FieldTypeRequiredDefaultDescription
orderint
urlstr
is_privatebool

Change history

  • v1.0.0 · 2025-09-02 · Cian (shared account) · Initial version. (1eaebf801)
SalesChannels — v1.1.0
FieldTypeRequiredDefaultDescription
web_shop_idstr
web_shop_statusWebShopStatus (LISTED, NOT_LISTED)WebShopStatus
wallaby_part_idstr
wallaby_part_statusWallabyPartStatus (LISTED, NOT_LISTED)WallabyPartStatus
tui_part_idstr
tui_part_statusTuiPartStatus (LISTED, NOT_LISTED)TuiPartStatus
trade_me_idstr
trade_me_statusTradeMeStatus (LISTED, NOT_LISTED, WITHDRAWN, EXPIRED, SOLD)TradeMeStatus
parts_world_statusPartsWorldStatus (LISTED, NOT_LISTED)PartsWorldStatus
gumtree_idstr
gumtree_statusGumtreeStatus (LISTED, NOT_LISTED)GumtreeStatus
facebook_marketplace_idstr
facebook_marketplace_statusFacebookMarketplaceStatus (LISTED, NOT_LISTED)FacebookMarketplaceStatus

Change history

  • v1.1.0 · 2025-10-18 · Cian (shared account) · Added optional field tui_part_id.; Added optional field tui_part_status.; Added optional field wallaby_part_id.; Added optional field wallaby_part_status.; Field facebook_marketplace_status default changed: FacebookMarketplaceStatus.NOT_LISTED → None.; Field gumtree_status default changed: GumtreeStatus.NOT_LISTED → None.; Field parts_world_status default changed: PartsWorldStatus.NOT_LISTED → None.; Field trade_me_status default changed: TradeMeStatus.NOT_LISTED → None.; Field web_shop_status default changed: WebShopStatus.NOT_LISTED → None. (91560176a)
  • v1.0.0 · 2025-09-02 · Cian (shared account) · Initial version. (1eaebf801)

APIs / Triggers

TriggerEndpoint / SourceDetailHandler
EventEventBridgeVehicleCreatedsrc/purchase_handle_vehicle_created.py

Change history

v1.1.0 · 2025-09-06 · Cian (shared account) · f9c41793f

fx

  • Added optional field inspection_list_applied_date.
  • Added optional field inspection_list_template_id.
v1.0.0 · 2025-09-02 · Cian (shared account) · 1eaebf801

fx

  • Initial version.

Generated from dismantly-backend/Microservices/Purchase/dependencies/models.py. Do not edit by hand.

Models last synced: 2026-06-23 13:21 UTC