Skip to content
1 viewer
View

Vehicle reference

9 pages, 37 routes, 39 connections and 0 CLI commands, generated from the declarations of Vehicle without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 21

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Phone beaconvehicle.beacondetail/view/vehicle/{vehicle_id}/beacon0vehicle.detailVehiclehidden
Van buildervehicle.buildeditor/view/vehicle/{vehicle_id}/build0vehicle.detailVehiclehidden
Makevehicle.catalog.makelist/view/vehicle/catalog/{make}0vehicle.catalogVehicle modelhidden
Modelvehicle.catalog.modeldetail/view/vehicle/catalog/{make}/{model}0vehicle.catalog.makeVehicle modelhidden
Custom vehiclevehicle.customeditor/view/vehicle/editor/{custom_id}0vehicle.editorCustom vehiclehidden
Build designvehicle.designeditor/view/vehicle/designer/{design_id}0vehicle.designerBuild designhidden
Build designervehicle.designereditor/view/vehicle/designer0vehicle.fleetBuild designhidden
Vehiclevehicle.detaildetail/view/vehicle/{vehicle_id}0vehicle.fleetVehiclehidden
Diagnosevehicle.diagnosedetail/view/vehicle/{vehicle_id}/diagnose0vehicle.detailVehiclehidden
Vehicle editorvehicle.editoreditor/view/vehicle/editor0vehicle.fleetCustom vehiclehidden
Vehiclesvehicle.fleetlist/view/vehicle/list0Vehiclein navigation
New vehiclevehicle.registereditor/view/vehicle/create0vehicle.fleetVehiclehidden
VIN reportvehicle.vindetail/view/vehicle/{vehicle_id}/vin0vehicle.detailVehiclehidden
Catalogvehicle.cataloglist/view/vehicle/catalog20Vehicle modelin navigation
Shop queuevehicle.shoplist/view/vehicle/shop30Vehiclein navigation
CRE8 vanvehicle.vancustom/view/vehicle/van59in navigation
One CRE8 vanvehicle.van.unitdetail/view/vehicle/van/unit/{serial}59vehicle.vanVanin navigation
Plantvehicle.factorycustom/view/vehicle/factory60in navigation
Billvehicle.factory.billcustom/view/vehicle/factory/bill61in navigation
Partvehicle.factory.partcustom/view/vehicle/factory/part62in navigation
Formsvehicle.formscustom/view/vehicle/forms63in navigation
21 rows

Connections · 39

Vehicle.Analyze

Analyze recorded samples (derived projection — no new persistence).

Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • POST /vehicle/analyzeHTTP route

Vehicle.BuildApplyTemplate

Merge one van-shop build template (merch print shop, retail pop-up, coffee and food, repair workshop, mobile studio, skoolie terminal tenant) into a vehicle's build manifest and set its business_activity. Additive and idempotent: applying twice adds nothing, and no component the owner already has is changed or removed. Owner-gated.

Vehicle.BuildApplyTemplate input
FieldTypeRequiredDescriptionAllowed
vehicle_idrequired
template_idrequired
actoroptional
3 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/build/template/applyHTTP route

Vehicle.BuildTemplates

The van-shop build template catalog: per commercial activity, the components (zone, quantity, typical nameplate watts, typical weight) a starting manifest carries. Costs are null by design. Optional `business_activity` filter.

Vehicle.BuildTemplates input
FieldTypeRequiredDescriptionAllowed
business_activityoptional
1 row
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/build/templatesHTTP route

Vehicle.BuildUpsert

Add, edit or remove one component of a vehicle's build manifest (electrical / solar / insulation / cabinetry / plumbing / shop-fixture / ...), with quantity, unit cost and installed state. Owner-gated. This manifest is the record a van-builder editor edits.

Vehicle.BuildUpsert input
FieldTypeRequiredDescriptionAllowed
vehicle_idrequired
component_idoptional
categoryoptional
nameoptional
zoneoptional
qtyoptional
cost_centsoptional
weight_kgoptional
wattsoptional
duty_fractionoptional
statusoptional
shop_item_idoptional
noteoptional
removeoptional
actoroptional
15 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/build/upsertHTTP route

Vehicle.CatalogIngest

Load makes, models and EPA variants into Vehicle's catalog file: `source: epa` reads vehicles.csv (inline `records`, a `path` under data/imports/vehicle/, or a `source_url`, zipped or not), `source: vpic` asks NHTSA vPIC for each make's models per year, `source: recalls | complaints | safety` asks NHTSA for each make, model and year's recalls and complaint counts (no VIN, no narrative), and `source: testcar` reads one EPA Test Car List file of coastdown curves. Requests are capped by `max_requests` before anything is fetched. `dry_run` plans without writing. Operator-only; it writes no Vehicle record.

Vehicle.CatalogIngest input
FieldTypeRequiredDescriptionAllowed
sourcerequired
recordsoptional
pathoptional
source_urloptional
payloadoptional
makesoptional
yearsoptional
yearoptional
year_fromoptional
year_tooptional
max_requestsoptional
dry_runoptional
applyoptional
makeoptional
modeloptional
modelsoptional
vehiclesoptional
17 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/catalog/ingestHTTP route

Vehicle.CatalogSafety

The NHTSA recalls and complaint counts the catalog holds for a `make` and `model` (one `year` when given), newest first, with totals by part system. Complaint counts only: no VIN or narrative is kept.

Vehicle.CatalogSafety input
FieldTypeRequiredDescriptionAllowed
makerequired
modelrequired
yearoptional
3 rows
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/catalog/safetyHTTP route

Vehicle.CatalogSearch

Walk the make and model catalog: no `make` lists makes (filtered by `q`), a `make` lists its models (by `year` when given), a `model` lists its years, and a `year` lists its EPA variants with engine, drive, transmission, class and mileage. An unknown name answers `ok: false` with suggestions; an unloaded catalog answers `empty: true`.

Vehicle.CatalogSearch input
FieldTypeRequiredDescriptionAllowed
qoptional
makeoptional
modeloptional
yearoptional
variantoptional
limitoptional
6 rows
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/catalog/searchHTTP route

Vehicle.CatalogTwinSpec

The physics twin's priors for a `make` and `model` from its EPA Test Car List coastdown: mass from the test weight, drag area and rolling resistance fitted to the target road-load curve, laid over `preset` (or the generic spec). The nearest `year` tested, and within it the median test weight unless `test_vehicle` names one.

Vehicle.CatalogTwinSpec input
FieldTypeRequiredDescriptionAllowed
makerequired
modelrequired
yearoptional
test_vehicleoptional
presetoptional
5 rows
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/catalog/twin-specHTTP route

Vehicle.Command

Evaluate a raw OBD-II hex query (e.g., '01 0C', '09 02') against the active simulator configuration.

Vehicle.Command input
FieldTypeRequiredDescriptionAllowed
commandrequired
vehicle_idoptional
2 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/commandHTTP route

Vehicle.Connect

Establish a vehicle connection (OBD-II, CAN, etc.). Persists a session into vehicle_sessions_runtime.

Vehicle.Connect input
FieldTypeRequiredDescriptionAllowed
adapteroptional
1 row
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/connectHTTP route

Vehicle.CustomSave

Start or edit a custom vehicle on the shared part model: create it from a class form, a reference twin, an EPA variant or a VIN (decoded once, never kept); change its layout, which the part model must accept; set or clear one value with its basis and source; or load the values a real vehicle states onto the parts that take them. Owner-gated on a verified session.

Vehicle.CustomSave input
FieldTypeRequiredDescriptionAllowed
steprequired
vehicle_idoptional
nameoptional
fromoptional
targetoptional
5 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/custom/saveHTTP route

Vehicle.DecodeVin

Decode a 17-character VIN through NHTSA vPIC (the VIN travels in a POST body, never a URL) and rank the catalog's EPA variants for that make, model and year against the decoded engine and drive. Suggestions only: nothing is stored, and the register link carries make, model and year but not the VIN. Needs a signed-in caller.

Vehicle.DecodeVin input
FieldTypeRequiredDescriptionAllowed
vinrequired
model_yearoptional
2 rows
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • POST /vehicle/catalog/decode-vinHTTP route

Vehicle.DesignSave

Save a build design: a name, the reference twin it is laid out in, and the items placed inside it. Owner-gated on a verified session. A layout that does not fit still saves; what fits is answered by the page, from the twin's sourced figures.

Vehicle.DesignSave input
FieldTypeRequiredDescriptionAllowed
design_idoptional
nameoptional
twin_keyoptional
itemsoptional
4 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/design/saveHTTP route

Vehicle.Disconnect

Close a vehicle session. Mutates session state.

Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/disconnectHTTP route

Vehicle.Discover

Discover vehicle capabilities (supported PIDs, OBD-II modes).

Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • POST /vehicle/discoverHTTP route

Vehicle.DtcRead

Read diagnostic trouble codes from the vehicle. Persists DTCs into vehicle_dtc_runtime.

Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/dtc/readHTTP route

Vehicle.Get

One registered vehicle with its alerts and build totals, read off its `Vehicle` vertex and projected for the verified session: the owner gets the fix and the trail, anyone else what position_visibility allows. An unregistered id answers `found: false` rather than an error.

Vehicle.Get input
FieldTypeRequiredDescriptionAllowed
vehicle_idrequired
1 row
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/registry/getHTTP route

Vehicle.LineSummary

Calls and output
  • Output keyvehicle.result
  • Classificationunclassified

Vehicle.List

Every registered vehicle, most recently heard from first, with server-side filters on role / body / status / owner.

Vehicle.List input
FieldTypeRequiredDescriptionAllowed
roleoptional
bodyoptional
statusoptional
owneroptional
shop_idoptional
nearoptional
latoptional
lngoptional
radius_moptional
9 rows
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/registry/listHTTP route

Vehicle.LocationPush

Record one GPS fix on a registered vehicle: keeps it as `last_position` (with a geohash cell) and appends it to a bounded, downsampled recent track. Owner-gated — a fix is where the vehicle and whoever is in it physically are.

Vehicle.LocationPush input
FieldTypeRequiredDescriptionAllowed
vehicle_idrequired
latrequired
lngrequired
headingoptional
speedoptional
accuracyoptional
observed_at_msoptional
beacon_tokenoptional
actoroptional
9 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/location/pushHTTP route

Vehicle.PartClassify

File a part under one system and subsystem: an NHTSA ODI `component` (`SERVICE BRAKES, HYDRAULIC:ANTILOCK`), a diagnostic trouble `dtc` (with an optional `description`), or a build-bill `category` or `name`. With none of them, the whole taxonomy. Reads nothing.

Vehicle.PartClassify input
FieldTypeRequiredDescriptionAllowed
componentoptional
dtcoptional
descriptionoptional
categoryoptional
nameoptional
5 rows
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/parts/classifyHTTP route

Vehicle.ProbePlan

Plan a probe sequence (read-only computation).

Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • POST /vehicle/probe/planHTTP route

Vehicle.Profiles

List known vehicle adapter profiles.

Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/profilesHTTP route

Vehicle.Register

Register a vehicle as a durable entity — its VIN, make/model/year/trim/engine, body, role, owner and optional org/shop/chapter links — as one `Vehicle` vertex in the protocol graph. Idempotent on vehicle_id; owner-gated once an owner exists.

Vehicle.Register input
FieldTypeRequiredDescriptionAllowed
vehicle_idrequired
vinoptional
makeoptional
modeloptional
yearoptional
trimoptional
engineoptional
bodyoptional
nicknameoptional
roleoptional
owneroptional
org_idoptional
shop_idoptional
chapter_idoptional
odometer_kmoptional
gvwr_kgoptional
curb_weight_kgoptional
battery_whoptional
statusoptional
documentsoptional
notesoptional
position_visibilityoptional
business_activityoptional
actoroptional
24 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/registry/registerHTTP route

Vehicle.RentOffer

Offer a registered vehicle for rent, or change the offer: day, week and four-week prices, deposit, km per day, the days it is offered and its status. Owner-gated. The offer is a Rental unit whose twin is `vehicle/{vehicle_id}`, so booking, deposit and payout are Rental's; the Vehicle record is not written.

Vehicle.RentOffer input
FieldTypeRequiredDescriptionAllowed
vehicle_idrequired
day_priceoptional
week_priceoptional
four_week_priceoptional
depositoptional
km_per_dayoptional
available_fromoptional
available_untiloptional
statusoptional
pay_assetoptional
actoroptional
11 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/rent/offerHTTP route

Vehicle.RobotTasks

Calls and output
  • Output keyvehicle.result
  • Classificationunclassified

Vehicle.Sample

Sample one cycle of vehicle PIDs. Persists each reading into vehicle_samples_runtime.

Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • GET /vehicle/sampleHTTP route
  • POST /vehicle/sample/pushHTTP route

Vehicle.Scan

Scan current state — produces a snapshot of the active session without writing new data.

Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • POST /vehicle/scanHTTP route

Vehicle.Status

Vehicle subsystem health / pool status.

Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/statusHTTP route

Vehicle.Stream

Stream multiple sample cycles into vehicle_samples_runtime. Long-running write loop.

Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/streamHTTP route

Vehicle.TripStart

Mark the start of a trip. Persists trip state for later analysis.

Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/trip/startHTTP route

Vehicle.TripStop

Mark the end of a trip and finalize trip session record.

Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/trip/stopHTTP route

Vehicle.UnitTrace

Vehicle.UnitTrace input
FieldTypeRequiredDescriptionAllowed
serialrequired
1 row
Calls and output
  • Output keyvehicle.result
  • Classificationunclassified

Vehicle.Update

Patch a registered vehicle's identity, ownership, links, odometer, status, notes, document set, business_activity or position_visibility (owner_only | coarse | public — who besides the owner sees the fix; absent reads as coarse). Owner-gated; an absent field is left alone, never cleared.

Vehicle.Update input
FieldTypeRequiredDescriptionAllowed
vehicle_idrequired
vinoptional
makeoptional
modeloptional
yearoptional
trimoptional
engineoptional
bodyoptional
nicknameoptional
roleoptional
owneroptional
org_idoptional
shop_idoptional
chapter_idoptional
odometer_kmoptional
gvwr_kgoptional
curb_weight_kgoptional
battery_whoptional
statusoptional
documentsoptional
notesoptional
position_visibilityoptional
business_activityoptional
rotate_beacon_tokenoptional
actoroptional
25 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/registry/updateHTTP route

Vehicle.VanLedger

Calls and output
  • Output keyvehicle.result
  • Classificationunclassified
  • GET /vehicle/van/ledgerHTTP route

Vehicle.ViewPatch

Live read-only pill strip for the vehicle SSR pages (/view/vehicle/list, /view/vehicle/{vehicle_id}): fleet counts, or one vehicle's rpm / speed / coolant / fuel / voltage / load / boost / moving and alert count. Steered by `view` (list | detail) and `vehicle_id`.

Vehicle.ViewPatch input
FieldTypeRequiredDescriptionAllowed
viewoptional
vehicle_idoptional
2 rows
Calls and output
  • Output keyvehicle.result
  • Classificationroute_handler
  • GET /vehicle/document/patchHTTP route

Vehicle.VinLayout

Read the VIN on a vehicle's record through NHTSA vPIC and keep what it states about the layout, so a vehicle no reference twin covers gets parts. The VIN comes from the record, never the request. Owner-gated.

Vehicle.VinLayout input
FieldTypeRequiredDescriptionAllowed
vehicle_idrequired
actoroptional
2 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/registry/vin-layoutHTTP route

Vehicle.VinReport

Read what public records say about a VIN: the NHTSA vPIC decode, then NHTSA's recalls, complaints and NCAP crash ratings for the make, model and year it decodes to. With a vehicle_id it reads the record's VIN and keeps the report, which holds no VIN, on the record (owner-gated); with a vin alone it answers and keeps nothing. Signed in.

Vehicle.VinReport input
FieldTypeRequiredDescriptionAllowed
vehicle_idoptional
vinoptional
model_yearoptional
actoroptional
4 rows
Calls and output
  • Output keyvehicle.result
  • Classificationreal
  • POST /vehicle/registry/vin-reportHTTP route

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper_with_sql_compat
  • Preferred truthhyper
  • App ownerVehicle
  • SQL projectioncompatibility_projection · DDL declarations: 10
Hyper vertex kinds read
  • Vehicle
  • VehicleCatalogComplaints
  • VehicleCatalogMake
  • VehicleCatalogModel
  • VehicleCatalogRecall
  • VehicleCatalogRoadLoad
  • VehicleCatalogVariant
Hyper vertex kinds written
  • CustomVehicle
  • RentalUnit
  • Vehicle
  • VehicleCatalogComplaints
  • VehicleCatalogMake
  • VehicleCatalogModel
  • VehicleCatalogRead
  • VehicleCatalogRecall
  • VehicleCatalogRoadLoad
  • VehicleCatalogVariant
  • VehicleDesign
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • warningApp declares a Hyper graph model and SQL DDL; treat SQL as compatibility/projection until migrated. (hybrid_model)
SQL tables
Table
vehicle_sessions_runtime
vehicle_samples_runtime
vehicle_dtc_runtime
vehicle_capabilities_runtime
vehicle_probe_packs_runtime
5 rows

Capabilities and dependencies

Depends on
  • Device

Structure review · 5

Warnings · 5