> ## Documentation Index
> Fetch the complete documentation index at: https://docs.a7manager.se/llms.txt
> Use this file to discover all available pages before exploring further.

# Vehicle Types

> Vehicle models, their product-group tree and mounting positions.

A vehicle type is a **model** of vehicle rather than an individual one. Everything structural
hangs off the type, so it is described once and applies to every vehicle of that type.

The page is a grid of types, with a drawer holding the two trees that define a type's
structure: its product groups, and the mounting positions within them.

***

## Vehicle type

A code and a name, unique within the project. Vehicles reference it, and so do maintenance
plans and inspection templates.

## Product groups

A tree of systems within the type, following the **EN 15380-2** standard — brakes, doors,
bogies, each subdividing further.

Standard top-level groups are **seeded automatically** when a type is created and marked as
standard; anything deeper is defined here. Codes are unique within a type.

Product groups matter well beyond this page: they classify [defects](/pages/defects), they
structure [inspection campaigns](/pages/inspections), and they are the grouping dimension on
the dashboards.

## Slots

A slot is a place a component can sit: "bogie 1, axle 2, left wheel". Each slot belongs to a
product group and has a position plus a human-readable label, and can be marked as required.

Two things make slots more than labels:

* Each slot lists **which component types are allowed in it**. The mounting import rejects the
  whole file if a component's type is not on that list.
* Slots **nest**, so a bogie slot can contain axle slots.

Positions are unique per type and product group. The position string is also what the
[`measurements`](/data/files/measurements) import matches against, so it has to agree with
whatever the source system calls that position.

***

## Order of setup

Because imports resolve codes rather than identifiers, this page comes first in a new project:

<Steps>
  <Step title="Create the vehicle type">
    Its standard product groups appear automatically.
  </Step>

  <Step title="Extend the product-group tree">
    Add the subgroups the fleet actually uses.
  </Step>

  <Step title="Define component types">
    On [Component Types](/pages/component-types) — slots need them to exist.
  </Step>

  <Step title="Define slots">
    With their allowed component types.
  </Step>
</Steps>

Only then can vehicles, components and any imported operational data resolve.

***

## Tables

<Card title="Field reference" icon="table" href="/data/tables/assets">
  `assets_vehicletype`, `assets_productgroup` and `assets_vehicletypeslot`, plus the
  join table listing which component types each slot allows.
</Card>

***

## Roles

Reading requires **Asset Manager**. Creating and editing requires **Project Admin**.
