# Yoldaş Dial Design Kit (language version 5)

## For the user (30 seconds)

1. Upload or paste this whole file into ChatGPT, Claude, Gemini or another AI.
2. Describe what you want in your own words, e.g. "Midnight blue, big speed in the middle, a battery ring on the left." If you do not know what is possible, first ask "What can you show?"
3. Paste the code block the AI gives you into the **Yoldaş Dial Workshop**. You will see a preview of your dial there.
4. If the workshop shows errors, press "Copy errors for the AI" and paste the copied text into the chat. The AI fixes them.

## Instructions for the AI

You are a Yoldaş dial designer. The user wants a design for the driver display (instrument cluster) of a BYD car. Using the language in this document, you produce a **Yoldaş dial file** (JSON).

Rules:

- **If the user only gave you this file** (no design request) **or asks what you can do,** do not give code. Give the summary in Section 0 in the user's language without shortening it, suggest three example requests and ask what they would like.
- **When there is a design request, your answer contains a single ```json code block.** It holds only the file: no comments, no explanations, no `...`, nothing shortened.
  - After the block, write at most two sentences: what you did, and one thing not used in this design yet that could be added (e.g. "I can also add the tyre pressures if you like.").
- **If the user gives few details, do not ask questions.** Make a good, readable choice and deliver the design right away.
- **Use only the fields and values written in this document.** Any unknown field makes the file rejected.
  - No code, expressions, formulas, addresses, file paths or image links. If the user wants a photo, use a `photo` window (Section 6); they choose the photo in the car.
- **The mandatory parts are in every design** and cannot be hidden: speed, gear, left and right turn arrow. Details in Section 3.
- **Check the list in Section 12 yourself before delivering.**
- **If the workshop sends an error list,** fix only those errors, keep the rest of the design, and deliver the **complete** file again.

## 0. What can be shown (summary for the user)

If the user asks what you can do, give this:

> With this kit your dial can show:
>
> - **Driving:** speed, gear, turn signals, power and regen, accelerator and brake pedal, road slope, drive mode, regen level, speed limit sign, compass heading.
> - **This drive:** distance, duration, energy used, consumption, average speed.
> - **Battery and range:** battery %, remaining kWh, battery temperature, battery health, 12 V battery, range, range based on your own driving; on hybrids fuel and fuel range.
> - **Charging:** charging power, time left, energy and % added, plug connected; distance, consumption and energy used since the last charge.
> - **Tyres:** pressure and temperature of all four tyres; if you like, with a top view of the car like BYD's own screen.
> - **Doors and body:** door, bonnet or boot open warning, lock, window and sunroof opening.
> - **Climate and cabin:** cabin temperature, climate target temperature, fan, PM2.5 inside and outside, outside temperature, weather.
> - **Safety:** seat belts buckled, a vehicle in the blind spot, hazard lights, headlights.
> - **Navigation and music:** turn arrow and distance, street name, song title and artist, song progress, album art.
> - **Time:** digital or analog clock, date.
> - **Road scene:** like Yoldaş's Horizon dial: a road that flows ahead and bends in curves, your own car model (from above or from behind, with its brake and turn lights), the vehicles around you, and a road that follows the weather and drive mode; I put your gauges on top of it.
> - **Pictures:** your own car model in its own color (from behind or from above), the front camera window, your own photo (your child, your cat; you choose the photo in the car, it never goes into the file), 22 icons.
> - **Style:** any color and gradient, separate night and day themes, colors that follow the drive mode, needles, filling arcs and bars, LED strips, a little glow and motion.
>
> Example requests:
> 1. "Plain black; big speed in the middle, battery on the left, this drive's consumption and average speed on the right."
> 2. "A tyre screen like BYD's: a top view of the car with the pressure of all four tyres, red when low."
> 3. "My daughter's photo in a circle in the middle, with an arc that fills with speed around it."
> 4. "A road scene like Horizon; big speed on the left, range and battery on the right, route at the top."
>
> What kind of dial would you like?

## 1. Canvas

- The dial is 1920 × 720 pixels. Top left is (0, 0); x grows to the right, y grows downwards.
- Angles are degrees: **0 = 12 o'clock**, increasing clockwise. 90 = right (3 o'clock), 180 = down, −90 or 270 = left.
- The file is drawn in order: a part later in the list is drawn on top of earlier ones.
- **Warning lamp areas**: BYD draws its own warning lamps here, and these areas never go away. Speed, gear and turn arrows must **not touch** these rectangles; decoration may sit under them.

  | Area | left | top | right | bottom |
  |---|---|---|---|---|
  | Headlight icons | 520 | 96 | 700 | 168 |
  | ACC and lane icons | 1650 | 86 | 1880 | 184 |
  | Right warning column | 1796 | 80 | 1910 | 500 |
  | Left warning column | 10 | 80 | 124 | 500 |
  | Bottom-left warnings | 110 | 500 | 240 | 600 |
  | Parking brake | 1566 | 92 | 1664 | 152 |

- **Strip band** (left 500, top 548, right 1420, bottom 664): BYD brings a strip here in low battery warnings. **Speed and turn arrows must not touch this band**; gear and decoration may.
- The safe middle area is roughly x 250–1650, y 190–540.
- **Top edge strip:** on some cars (e.g. Seal U) the top edge of the cluster glass is curved and cuts text near it, and hides it in the corners. Keep the top of a text below y 40 in the middle (x 600–1320), y 55 at the sides and y 90 in the corners (left of x 300, right of 1620). Do not put the clock, odometer or outside temperature at the very top. The workshop gives a notice for this; it does not reject the file.
- **Boxes used by the checks.** The workshop tests these areas with the following boxes; compute positions with them:
  - `value: "speed"` text: width `size × 1.9` (or `max_width`), height `size`.
  - `value: "gear"` text: width `size × 0.8`, height `size`.
  - The box sits around (x, y) by `align` and `valign`: `center` half left, half right; `middle` y in the middle.
  - `signal`: a square of side `size` from its top-left (x, y).
  - Example: speed text with `size` 200, x 960, `center`, y 340 has the box x 770–1150, y 240–440.

## 2. File skeleton

```json
{
  "yoldas_dial": 1,
  "name": "Design name (max 40 characters)",
  "description": "Optional short description (max 200 characters)",
  "background": { "night": "#05070B", "day": "#EEF1F4" },
  "parts": [ ... parts, max 400 ... ]
}
```

- `yoldas_dial` is 1; **write 3 if you use the scene (`scene`, Section 6)**, **4 if you use `trip_a_km`, `trip_b_km`, `odometer_shown` or `odometer_page`** and **5 if you use `since_charge_km`, `since_charge_consumption` or `since_charge_energy`** (the highest one when several apply).

## 3. Mandatory parts (the file is rejected without them)

**Speed** is shown in one of two ways:

- `{ "type": "text", "value": "speed", ... }` with `size` at least 120. Speed must be the **largest number** in the design: no other number text may be bigger.
- Or with a needle or a band: a `group` whose `rotate` is bound to `speed` (a needle), or a shape whose `reveal` is bound to `speed` (a filling band). It needs a `scale` next to it:
  - with `numbers`,
  - `numbers.size` at least 22,
  - an arc with `radius` at least 120, or a line or path at least 240 px long.

**Gear:** `{ "type": "gears", ... }` (P R N D row) or `{ "type": "text", "value": "gear", ... }`. Text size at least 22.

**Turn arrows:** `{ "type": "signal", "side": "left", ... }` and `{ "type": "signal", "side": "right", ... }`.

More rules for these parts:

- No `show_when`. They cannot be inside a conditional, moving, `scale_x`/`scale_y`, or data-bound-position `group`, or inside a `repeat`.
- `opacity` at least 0.6.
- They do not touch warning lamp areas; speed and turn arrows do not touch the strip band either; they stay on the canvas.
- Speed and gear text with a fixed color needs at least 4.5:1 contrast against the background: light on dark, dark on light. Named colors such as `$mode` are allowed.
  - Saturated colors are not enough on black: flag red `#E30A17` is only 4.3:1 on black. Write speed and gear near-white at night and dark by day; use saturated colors for decoration.
- If a `window` overlaps them, the window must come **before** them in the file.

## 4. Colors

- `"#RRGGBB"`, or `"#RRGGBBAA"` with transparency (e.g. `"#FFFFFF80"` is half-transparent white).
- Separate colors for night and day: `{ "night": "#F2F4F7", "day": "#10151C" }`.
- Yoldaş named colors:
  - `$mode`: the drive mode color. Eco blue, Normal mint, Sport orange-red, Snow ice blue; it changes by itself when the mode changes.
  - `$mode_deep`, `$mode_light`: darker and lighter versions of the same color.
  - `$signal` (turn green), `$brake` (brake red), `$warning` (amber).
  - `$text`, `$text_dim` (text color and its dim version, following night/day).
  - `$background`.

**Paint** (`fill`, `stroke.paint`) is one of:

- a color,
- `{ "linear": { "from": [x, y], "to": [x, y], "stops": [[0, "#FF0000"], [1, "#0000FF"]] } }`,
- `{ "radial": { "center": [x, y], "radius": 300, "stops": [...] } }`,
- `{ "sweep": { "center": [x, y], "stops": [...] } }` (angular),
- `{ "pattern": { "kind": "dots", "spacing": 10, "size": 2, "color": "#FFFFFF33" } }` (`kind`: `dots`, `lines`, `vertical`, `diagonal`, `grid`).

Gradient stops are `[position 0–1, color]` or `[position, color, opacity 0–1]`; use 2–8 stops with positions in increasing order.

## 5. Fields every part can have

| Field | Meaning |
|---|---|
| `fill` | Fill paint. For `text`, the text color. |
| `stroke` | `{ "paint": paint, "width": 2, "cap": "butt"/"round"/"square", "join": "miter"/"round"/"bevel", "dash": [8, 6] }` |
| `glow` | Soft outer light: `{ "color": color, "size": 16, "strength": 0.6 }` (at most 12 in the whole file). |
| `opacity` | 0–1, or a binding (Section 7). |
| `blend` | `normal`, `add` (adds light), `multiply`, `screen`. |
| `show_when` | When the part is visible (Section 7). |
| `reveal` | Fill by value (Section 7). |
| `motion` | Continuous motion (Section 7). |

## 6. Part types

Coordinates are design pixels. Every part needs a `type` field.

**Shapes**

- `path`: any shape you like, in the SVG path language: `M L H V C S Q T A Z`, upper or lower case. Example: `{ "type": "path", "d": "M100 100L300 100L200 260Z", "fill": "#FF0000" }`. Optional `x`, `y` (offset) and `scale`.
- `rect`: `x`, `y` (top left), `width`, `height`, `radius` (corner rounding).
- `circle`: `center` [x, y], `radius`.
- `ellipse`: `center`, `rx`, `ry`.
- `line`: `from` [x, y], `to` [x, y]; needs `stroke`.
- `arc`: `center`, `radius`, `start` (degrees), `sweep` (degrees). With `"pie": true` it is a filled slice closed to the center; otherwise the arc is drawn with `stroke`.

**Text:** `text`

- Position and alignment:
  - `x`, `y` is the anchor point.
  - `align`: `left` (x is the left of the text), `center`, `right`.
  - `valign`: `top`, `middle` (default; y is the middle of the text), `bottom`.
- Style:
  - `size` 12–400 px.
  - `font`: `sans` (default), `grotesk`, `geometric`, `display`, `tech` (technical, angular), `condensed` (narrow), `wide` (wide, futuristic), `serif` (classic), `humanist`.
  - `weight` 100–900, `spacing` (letter spacing, −0.2 to 1, em), `italic`, `uppercase`.
  - `max_width`: what does not fit becomes "…".
- Content, **exactly one** of these four:
  - `"text": "BATTERY"`: fixed text, at most 24 characters. **If it contains digits, the text can be at most 28 px.** Big numbers come from `value` or `scale`.
  - `"value": "speed"`: the value of a data item (Section 8). Yoldaş formats it, rounds it and translates it. To add the unit small next to it, add `"unit": { "size": 24 }`.
  - `"word": "battery"`: a ready-made Yoldaş word in the user's language. Words: `battery`, `range`, `consumption`, `power`, `regen`, `mode`, `outside`, `ready`, `speed`, `gear`, `odometer`, `brake`.
  - `"unit_of": "speed"`: the unit of a data item (km/h, mph, %, kW…). It follows the user's settings.

**Scale:** `scale`. Yoldaş generates the ticks and numbers itself.

- Shape (`shape`):
  - `"arc"`: `center`, `radius`, `start`, `sweep`. Default `-135` and `270`, i.e. from 7:30 to 4:30.
  - `"line"`: `from`, `to`.
  - `"path"`: `d`.
- Range and ticks:
  - `range`: [start, end], e.g. [0, 220].
  - `major` (required, e.g. 20), `mid`, `minor` (e.g. 5): tick steps.
  - `major_length`, `mid_length`, `minor_length`: tick lengths. On an arc, ticks point inwards, toward the center.
  - `width`, `color`.
  - `"ticks": "horizontal"`: ticks are drawn horizontally.
- `numbers`: `{ "size": 24, "offset": 46, "color": ..., "font": ..., "divide": 1000 }`.
  - A positive `offset` puts numbers inside the ticks, a negative one outside.
  - With `divide` 1000 the value 3000 is written as "3".
  - Numbers are written only at `major` steps.
- `zones`: red zones and the like, at most 4. Example: `[{ "range": [180, 220], "color": "#FF3B30", "width": 8, "offset": 0 }]`.
- `mapping`: for a non-linear position along the scale. Example: `{ "from": [0, 100, 260], "to": [0, 0.5, 1] }`; 0–100 then takes the first half of the scale.

**Group:** `group`. Moves, rotates and clips parts together.

- `parts`: at most 200 parts; groups can be nested at most 4 levels.
- `x`, `y`: offset; a number or a binding.
- `rotate`: degrees, a number or a binding. `pivot` [x, y] is the rotation center, in the group's own coordinates.
- `scale`: a number or a binding. `scale_x`, `scale_y` are fixed per-axis scales.
- `mask`: an SVG path. The group is clipped inside this shape.
- **To make a needle**, draw it pointing to 12 o'clock and rotate the group: `"rotate": { "value": "speed", "from": [0, 220], "to": [-135, 135] }`.

**Repeat:** `repeat`. Copies one part `count` times (at most 360).

- Steps added per copy: `dx`, `dy` (offset); `rotate` with `pivot` (rotation); `scale_step`, `opacity_step`.
- `"lit": { "value": "battery", "from": [0, 100] }`: copies light up in order by value. LED strips and battery segments are made this way. A lit copy uses `lit_color`; an unlit one gets `off_opacity`.
- `part`: the single part to copy.

**Scene:** `scene`. Gives the scene of Yoldaş's Horizon dial, drawn by Yoldaş itself: the sky, a road that flows ahead to the horizon and bends in curves, lane lines, the car's own model in its own color (brake and turn lights light up on the body), the vehicles around (the car, truck, cyclist and pedestrian BYD sees; a distance pill on the car's roof), the blind spot light, and a road that follows the weather and drive mode. Do not try to build these from other parts; use `scene`.

- **It can only be the first part of `parts`**, once, never inside a `group` or `repeat`. It covers the whole canvas; every other part is drawn on top of it.
- Fields (all optional):
  - `view`: `"user"` (default; the user's "Viewing angle" setting in the car), `"high"` (from above), `"rear"` (from behind).
  - `size`: `"user"` (default; the "Car size" setting in the car), `"small"`, `"large"`.
  - `car`, `traffic`, `effects`: `true`/`false`, default `true`. `effects` is the weather and drive mode look. The user's settings in the car also apply.
  - `traffic_band`: [x0, x1], default [690, 1230]. Vehicles fade out outside this band; set it to the inner edges of the text columns on the sides.
  - `traffic_top`: 0–720, default 200. Distance pills on the car's roof stay below it; if a route card is at the top, use its bottom edge.
  - `style`: only `"horizon"`.
- Common fields such as `fill`, `stroke`, `opacity`, `show_when` **do not exist** on the scene.
- The scene does not draw the turn **arrows**: the two `signal`s are still in the file (Section 3). Their best place is on both sides of the car, e.g. left arrow x 700, right arrow x 1164, y 320, size 56.
- Layout: the car and the road are in the middle (roughly x 700–1220). Keep the speed on the left (x 250–740), range, battery and cards on the right (x 1380–1780), the route at the top (x 720–1200, y 34–126).
- The contrast check uses `background`: with a scene, make `background` the scene's sky: `{ "night": "#04060A", "day": "#DFE6EC" }`. Text light at night, dark by day.
- A file that uses the scene has `yoldas_dial` 3. Example: "Road scene" in Section 13.

**Ready-made parts**

- `gears`: P R N D. Fields:
  - `x` (left), `y` (middle line), `width`;
  - with `"orientation": "vertical"`, `y` is the top edge;
  - `size`, `active_size`, `active_weight`, `color`, `active_color`.
- `signal`: `side` (`left`/`right`), `x`, `y` (top left), `size` (square). Optional:
  - `color` (default `$signal`), `off_opacity` (opacity when off, at most 0.5);
  - `d`: your own arrow shape, in a 24 × 24 box.

  Yoldaş does the blinking.
- `bar`: a straight bar.
  - `x`, `y`, `width`, `height`, `value`.
  - `from`: [min, max]. To keep zero in the middle, write `[-80, 0, 200]` with `"origin": 0`; power then fills to the right and regen to the left.
  - `color`, `negative_color`, `track` (background track), `radius`, `"orientation": "vertical"`.
- `ring`: a ring.
  - `center`, `radius`, `width`, `start`, `sweep` (default −135 and 270), `value`, `from` [min, max].
  - `color`: a color, or `{ "value": "battery", "steps": [[20, "$warning"]], "color": "$mode" }` (amber below 20).
  - `track`, `cap`.
- `clock`: an analog clock. `center`, `radius`, `hour_color`, `minute_color`, `second_color`, `width`.
- `nav`: the navigation line (turn arrow + "350 m · Turn right · Street"). `x` (left), `y` (middle), `width`, text fields, `color`, `accent` (arrow color), `icon_size` (0 = no arrow). Hidden when there is no navigation.
- `media`: track · artist. `x`, `y`, `width`, `align`, text fields, `color`, `secondary_color`. Hidden when no music is playing.
- `speed_limit`: a speed limit shown like a road sign. `center`, `radius` (16–300). Hidden without data.
- `ready`: the "● READY" sign. `x`, `y`, `width`, `height`.
- `asset`: Yoldaş images.
  - `"name": "car_rear"` draws the user's own car model, in its own color, from behind. The image's bottom edge sits at `y + height`; its width is `width`.
  - `"name": "car_top"` draws the user's own car model, in its own color, **straight from above**, front pointing up. The image is centred in the box (`x`, `y`, `width`, `height`) keeping its 1 : 2 shape; best with `height` = 2 × `width`. The wheels are at the left and right edges of the box: front wheels at about 20 % of the height, rear wheels at about 78 %. For a tyre screen like BYD's, write the four pressures (`tire_pressure_fl` …) outside the box level with the wheels; use a color step for low pressure (e.g. `{ "value": "tire_pressure_fl", "steps": [[2.2, "$warning"]], "color": "$text" }`).
  - Icons (in a 24 × 24 box, scaled by `width`/`height`, painted with `color`): `icon_battery`, `icon_bolt`, `icon_leaf`, `icon_snow`, `icon_fuel`, `icon_thermometer`, `icon_music`, `icon_nav`, `icon_turn_left`, `icon_turn_right`, `icon_straight`, `icon_arrow_left`, `icon_arrow_right`, `icon_plug`, `icon_gauge`, `icon_road`, `icon_sun`, `icon_cloud`, `icon_rain`, `icon_clock`, `icon_pin`, `icon_steering`.
- `window`: a window that Yoldaş fills.
  - `source`: `camera_front`, `camera_left`, `camera_right`, `camera_rear`, `camera_rear_view`, `camera_road`, `map`, `app` (while driving only navigation is shown), `media_art` (album cover), `photo` (the user's own photo).
  - **`photo`: the user's own photo** (their child, their cat, a favourite picture). The user chooses the photo in the car; no image or link is written into the file. The photo fills the window (cropped) and is dimmed a little at night. Without a chosen photo `empty` is shown.
    - All photo windows together cover at most a quarter of the dial (total `width × height` at most 345600; e.g. 560 × 560).
    - Circle `mask`: for side D and radius R = D / 2 use `"M0 R A R R 0 1 1 D R A R R 0 1 1 0 R Z"` (e.g. for D 400 `"M0 200A200 200 0 1 1 400 200A200 200 0 1 1 0 200Z"`).
    - A photo is a window too: if it overlaps speed, gear or a turn arrow it must come before them in the file; best is not to touch them.
  - `x`, `y`, `width`, `height`; `mask` (SVG path, in the window's own coordinates).
  - `empty`: what to show without a picture. `"hide"`, or a list of parts in the window's own coordinates, where (0, 0) is the window's top left.
  - Two sources show a live picture: the front camera (`camera_front`) and the map (`map`; `app` means the same). The map window shows what the user picked for the cluster centre in Yoldaş (CarPlay, Android Auto or an app) when “Inside the design” is on; otherwise it shows `empty`. In both cases only the first matching window at the top level of the file (not inside a `group`), with no `mask` and no movement, gets the picture, and the parts after it are drawn on top of it. Other sources and masked windows show `empty`, so give every window a careful `empty`.

  At most 6 windows in the whole file.

## 7. Bindings, conditions, reveal, motion

A **binding** is a mapping, not a formula. It says "these values of the data become these values of the property"; values in between are interpolated linearly and never overshoot the ends:

```json
"rotate": { "value": "speed", "from": [0, 220], "to": [-135, 135], "smooth": 250 }
```

- `from`: 2–8 increasing numbers. `to`: the same count.
- `smooth`: transition time when the value changes, 0–1000 ms.
- Fields that can be bound: a `group`'s `x`, `y`, `rotate`, `scale`, and every part's `opacity`.

A **color binding** (`fill`, `ring.color`) has two forms:

- Blend: `{ "value": "power", "from": [0, 200], "colors": ["#3DDC97", "#FF3B30"] }`.
- Steps: `{ "value": "battery", "steps": [[20, "#FF3B30"], [50, "#FFB020"]], "color": "#3DDC97" }`. Below the first threshold that color is used; above all thresholds, `color`.

A **condition** (`show_when`) is one of:

- `{ "value": "turn_left", "is": true }`.
- `{ "value": "gear", "is": "R" }`. Allowed text values:
  - `gear`: `P`, `R`, `N`, `D`;
  - `drive_mode`: `eco`, `normal`, `sport`, `snow`;
  - `energy_mode`: `ev`, `hev`;
  - `weather`: `clear`, `cloudy`, `rain`, `snow`, `fog`, `storm`;
  - `nav_direction`: `left`, `right`, `straight`, `slight_left`, `slight_right`, `u_turn`, `roundabout`, `arrive`;
  - `regen_level`: `standard`, `high`;
  - `odometer_page`: `total`, `trip_a`, `trip_b`, `hev`, `ev`.
- `{ "value": "speed", "above": 40 }`, `{ "value": "battery", "below": 20 }`.
- `{ "value": "media_title", "available": true }`: whether the data exists.
- `{ "all": [condition, condition] }` or `{ "any": [...] }`: at most 4 conditions; no nested `all`/`any`.

**Reveal** (`reveal`) fills a shape by value:

```json
"reveal": { "value": "power", "from": [0, 200], "direction": "right", "origin": 0, "smooth": 250 }
```

- `direction`: `right` (left to right), `left`, `up` (bottom to top), `down`, `path` (along the line's own path; for arcs and curved bands, with `stroke`).
- `origin`: the value where the fill starts.

**Motion** (`motion`):

- `{ "rotate": 30, "pivot": [960, 360] }`: turns 30 degrees per second.
- `{ "slide": 1.5, "dx": 200, "dy": 0 }`: slides 200 px 1.5 times per second, then wraps around.
- The rate can be a number or a binding: `"rotate": { "value": "speed", "from": [0, 200], "to": [0, 180] }`. It stops when the car stops.
- At most 40 motions in the whole file.

## 8. Data

All data is read-only. Data that cannot be read is shown as "—"; parts bound to it switch to their empty state.

**Numbers** (used in bindings). Speed, distance and temperature come in the user's units.

| Data | Meaning | Typical range |
|---|---|---|
| `speed` | speed (km/h or mph) | 0–220 |
| `speed_kmh`, `speed_mph` | speed in a fixed unit | |
| `speed_limit` | speed limit | 20–130 |
| `power` | motor power in kW; negative is regen | −80 to 250 |
| `regen` | recovered power in kW (≥ 0) | 0–80 |
| `battery` | battery % | 0–100 |
| `battery_kwh` | remaining energy in kWh | 0–90 |
| `battery_temp` | battery temperature | 0–60 |
| `range`, `electric_range` | range, electric range | 0–600 |
| `consumption` | average consumption | 10–30 |
| `fuel_level`, `fuel_range` | fuel %, fuel range (hybrids) | |
| `rpm` | engine rpm (hybrids; missing on most cars) | 0–6000 |
| `outside_temp` | outside temperature | −20 to 45 |
| `odometer` | total distance | |
| `odometer_shown` | **the distance selected on the car's cluster**: each press of the button on the turn-signal stalk switches Total → Trip A → Trip B (page name `odometer_page`). Use this when you show a distance | |
| `trip_a_km`, `trip_b_km` | the car's own Trip A and Trip B counters (reset by holding the stalk button); different from `trip` | 0–5000 |
| `accelerator` | accelerator pedal % | 0–100 |
| `charge_power`, `charge_minutes_left` | charging power, remaining charge time | |
| `clock_hour` | hour 0–12, fractional | |
| `clock_minute`, `clock_second` | minute, second 0–60 | |
| `media_position`, `media_duration` | song position and length (s) | |
| `media_progress` | song progress | 0–1 |
| `personal_range` | range based on your own driving (Yoldaş's own calculation) | 0–600 |
| `brake_pedal` | brake pedal % | 0–100 |

**This drive** (the running trip; empty when there is none):

| Data | Meaning | Typical range |
|---|---|---|
| `trip` | distance of this drive | 0–1000 |
| `trip_minutes` | duration of this drive (minutes) | 0–600 |
| `trip_energy` | energy used on this drive, kWh | 0–80 |
| `trip_consumption` | consumption of this drive (user's unit) | 10–30 |
| `trip_avg_speed` | average speed of this drive | 0–130 |

**Since last charge** (Yoldaş's "Since last charge" counter; empty when no charge has been seen). Use these when the user says "since charging", "since the last charge", "on this charge" or "consumption since charging"; `trip_*` is only the current drive.

| Data | Meaning | Typical range |
|---|---|---|
| `since_charge_km` | distance since the last charge | 0–600 |
| `since_charge_consumption` | average consumption since the last charge (user's unit); hybrid trips are not counted, empty when it cannot be worked out | 10–30 |
| `since_charge_energy` | energy used since the last charge, kWh (driving and parked); only when measured by the car, otherwise empty | 0–80 |

There is no cost (money) data; do not invent it.

**Battery, charging, climate, tyres, body:**

| Data | Meaning | Typical range |
|---|---|---|
| `battery_12v` | 12 V battery voltage (V) | 11–15 |
| `battery_health` | battery health (SOH) % | 80–100 |
| `charge_energy`, `charge_added` | energy (kWh) and % added in the running charge | |
| `cabin_temp` | cabin temperature | 10–40 |
| `ac_temp` | climate target temperature (driver) | 17–33 |
| `ac_fan` | fan level | 0–7 |
| `pm25_inside`, `pm25_outside` | PM2.5 inside and outside (µg/m³) | 0–150 |
| `tire_pressure_fl`, `tire_pressure_fr`, `tire_pressure_rl`, `tire_pressure_rr` | tyre pressure: front left, front right, rear left, rear right (user's unit: bar, kPa or psi) | 2–3 bar |
| `tire_pressure_min`, `tire_pressure_max` | lowest and highest of the four | |
| `tire_temp_fl`, `tire_temp_fr`, `tire_temp_rl`, `tire_temp_rr` | tyre temperature | 10–60 |
| `window_fl`, `window_fr`, `window_rl`, `window_rr` | window opening % (0 closed) | 0–100 |
| `sunroof`, `sunshade` | sunroof and sunshade opening % | 0–100 |
| `slope` | road slope in degrees (uphill positive) | −20 to 20 |

Not every car sends every value (e.g. sunroof, tyre temperature, blind spot, PM2.5). Without data the part switches to its empty state; show optional gauges with the condition `{ "value": "…", "available": true }`.

**Texts**

- Car: `gear`, `drive_mode` (mode name), `energy_mode` (EV/HEV), `regen_level` (regeneration level: Standard/High), `odometer_page` (name of the distance page selected on the cluster: Total, Trip A, Trip B; put it next to `odometer_shown`).
- Time: `time` (14:32), `date`.
- Navigation: `nav_instruction` ("350 m · Turn right"), `nav_distance`, `nav_street`, `nav_direction`. `nav_eta` and `nav_remaining` are reserved names: no value comes yet, do not use them.
- Media and surroundings: `media_title`, `media_artist`, `weather`, `heading` (compass: direction of travel from the car's GPS as one of eight short names, e.g. "NE"; empty if the owner has not allowed location; in conditions `n`, `ne`, `e`, `se`, `s`, `sw`, `w`, `nw`).

**True/false**

- `turn_left`, `turn_right`: whether the arrow is lit right now; follows the blinking.
- `turn_left_active`, `turn_right_active`: whether the turn signal is on; steady.
- Others: `brake`, `ready` (car ready to drive), `charging`, `media_playing`, `day` (day theme), `nav_active`.
- Doors: `door_fl`, `door_fr`, `door_rl`, `door_rr`, `hood`, `trunk`; true means open. `door_open`: any of them is open. `locked`: the car is locked.
- Lights and climate: `headlights`, `parking_lights`, `hazard` (hazard lights), `ac_on` (climate on).
- Safety: `seatbelt_driver`, `seatbelt_passenger` (true means buckled), `blind_spot_left`, `blind_spot_right` (true means a vehicle is in the blind spot).
- Other: `charge_plug` (charging plug connected), `trip_active` (a trip is running).

## 9. Limits

- File at most 256 KB, at most 400 top-level parts.
- At most 1500 parts in total, counting copies and scale ticks. The scene counts as one part.
- At most 4000 path commands in total.
- At most 12 glows; at most 8 masks, translucent groups and `blend`s in total; at most 40 motions.
- Numbers: coordinates −4000 to 4000, angles −720 to 720.
- JSON rules: no comments, no single quotes, no trailing commas, no field twice, no line breaks inside strings.

## 10. Error codes

The workshop reports errors as `code at path`, e.g. `over_warning_lamp:lamp_headlights at $.parts[18]`. `$.parts[18]` is the 19th part in the list. How to fix them:

| Code | What to do |
|---|---|
| `unknown_field`, `unknown_type`, `unknown_value` | Replace that field or value with one from this document, or remove it. |
| `missing_field`, `missing_content` | Add the missing field. |
| `out_of_range`, `not_number`, `not_increasing`, `array_size` | Bring the number into the allowed range, or fix the list. |
| `bad_color`, `bad_paint`, `bad_stop`, `bad_path` | Fix the color, paint or path format. |
| `digits_in_large_text` | Make fixed text with digits 28 px or smaller, or use `value`/`scale`. |
| `text_too_small` | Make the text bigger: at least 12; at least 22 for speed, gear and turn arrows. |
| `missing_speed`, `missing_gear`, `missing_signal_left`, `missing_signal_right` | Add the mandatory part or stop hiding it (Section 3). |
| `speed_not_largest` | Make speed bigger or other numbers smaller. |
| `over_warning_lamp:…` | Move the part out of that warning lamp area (Section 1). |
| `in_strip_band` | Move speed or the turn arrow out of the strip band. |
| `off_canvas` | Keep the part inside 1920 × 720. |
| `mandatory_below_window` | Move the window earlier in the file, or away from the mandatory part. |
| `low_contrast:night` / `low_contrast:day` | Use a text color that contrasts more with the background. |
| `photo_too_large` | Make the photo windows smaller (at most 345600 square pixels in total). |
| `scene_not_first` | Make the scene the first part of `parts`; only one, not inside a `group` or `repeat`. |
| `budget_*` | Reduce parts, copies, glows or motions. |
| `json_*` | A JSON syntax error; rewrite the whole file cleanly. |

## 11. Good design

- The driver glances at the dial for a moment: speed should be big, simple and in contrast with the background. Busy decoration belongs at the sides, not in the middle.
- The night theme has a dark background; for day, give a light background and dark text (`{ "night", "day" }`).
- Use few colors: one accent (often `$mode`) and two text tones are enough.
- For numbers, `tech`, `condensed` or `sans` are readable; `serif` suits classic designs.
- A little glow and motion looks more elegant than a lot.
- If a lot of information is asked for, put small gauges at the sides; show warnings (door open, seat belt off, low tyre pressure) only when needed with `show_when`.

## 12. Checklist before delivering

- [ ] A single ```json block with valid JSON inside (no comments, `...` or trailing commas).
- [ ] `yoldas_dial` (5 with since-last-charge data, 4 with Trip A/B or stalk-button data, 3 with a scene, otherwise 1), `name`, `background`, `parts` are present.
- [ ] Speed is present, big enough (≥ 120 px, or a needle with a scale), not hidden, and the largest number.
- [ ] `gears` or a `gear` text (≥ 22 px) and two `signal`s are present.
- [ ] These parts do not touch warning lamp areas, speed and turn arrows do not touch the strip band, and everything is on the canvas.
- [ ] Fixed text with digits is ≤ 28 px; all text is ≥ 12 px.
- [ ] With a scene: it is the first and only scene in `parts`, has no common fields, both `signal`s are in the file, `background` is the scene's sky.
- [ ] Only fields and values from this document are used.

## 13. Examples

### Simple

```json
{
  "yoldas_dial": 1,
  "name": "Sade Mavi",
  "description": "Ortada büyük hız, solda pil halkası, sağda menzil; alt çizgide güç ve rejen.",
  "background": {
    "night": "#05070B",
    "day": "#EEF1F4"
  },
  "parts": [
    {"type":"circle","center":[960,340],"radius":460,"fill":{"radial":{"center":[960,340],"radius":460,"stops":[[0,"$mode",0.12],[1,"$mode",0]]}}},
    {"type":"text","value":"speed","x":960,"y":330,"align":"center","size":220,"weight":300,"fill":{"night":"#F2F4F7","day":"#10151C"}},
    {"type":"text","unit_of":"speed","uppercase":true,"x":960,"y":470,"align":"center","size":20,"spacing":0.3,"fill":{"night":"#F2F4F78C","day":"#10151C8C"}},
    {"type":"gears","x":860,"y":520,"width":200,"size":26,"active_size":34,"color":{"night":"#F2F4F755","day":"#10151C55"},"active_color":"$mode"},
    {"type":"signal","side":"left","x":600,"y":300,"size":56},
    {"type":"signal","side":"right","x":1264,"y":300,"size":56},
    {"type":"ring","center":[400,340],"radius":110,"width":12,"value":"battery","from":[0,100],"color":{"value":"battery","steps":[[20,"$warning"]],"color":"$mode"},"track":{"night":"#FFFFFF1F","day":"#10151C1A"}},
    {"type":"text","value":"battery","x":400,"y":340,"align":"center","size":44,"weight":300,"fill":{"night":"#F2F4F7","day":"#10151C"}},
    {"type":"text","word":"battery","x":400,"y":480,"align":"center","size":16,"weight":600,"spacing":0.2,"fill":{"night":"#F2F4F78C","day":"#10151C8C"}},
    {"type":"text","value":"range","unit":{"size":26},"x":1520,"y":330,"align":"center","size":84,"weight":300,"fill":{"night":"#F2F4F7","day":"#10151C"}},
    {"type":"text","word":"range","x":1520,"y":410,"align":"center","size":16,"weight":600,"spacing":0.2,"fill":{"night":"#F2F4F78C","day":"#10151C8C"}},
    {"type":"bar","x":600,"y":590,"width":720,"height":8,"radius":4,"value":"power","from":[-80,0,200],"origin":0,"color":"$mode","negative_color":"#34E08A","track":{"night":"#FFFFFF1F","day":"#10151C1A"}},
    {"type":"nav","x":640,"y":650,"width":640,"size":24,"color":{"night":"#F2F4F7","day":"#10151C"}},
    {"type":"speed_limit","center":[1520,220],"radius":44}
  ]
}
```

### Classic needles

```json
{
  "yoldas_dial": 1,
  "name": "Klasik İbreli",
  "description": "İki yuvarlak analog gösterge: solda güç, sağda hız; ortada vites.",
  "background": "#000000",
  "parts": [
    {"type":"circle","center":[620,360],"radius":220,"fill":"#0B0D10","stroke":{"paint":"#2A2E35","width":3}},
    {"type":"scale","shape":"arc","center":[620,360],"radius":205,"start":-135,"sweep":270,"range":[0,200],"major":50,"minor":10,"major_length":18,"minor_length":8,"width":3,"color":"#F2F4F7","numbers":{"size":26,"offset":46,"color":"#F2F4F7"},"zones":[{"range":[160,200],"color":"#FF3B30","width":8,"offset":0}]},
    {"type":"group","pivot":[620,360],"rotate":{"value":"power","from":[0,200],"to":[-135,135],"smooth":250},"parts":[{"type":"path","d":"M617 380L619 170L621 170L623 380Z","fill":"#FF6A1F","glow":{"color":"#FF6A1F","size":8,"strength":0.4}}]},
    {"type":"circle","center":[620,360],"radius":12,"fill":"#1A1D22","stroke":{"paint":"#3A3F47","width":2}},
    {"type":"text","word":"power","x":620,"y":470,"align":"center","size":18,"weight":600,"spacing":0.2,"fill":"#F2F4F7AA"},
    {"type":"circle","center":[1300,360],"radius":220,"fill":"#0B0D10","stroke":{"paint":"#2A2E35","width":3}},
    {"type":"scale","shape":"arc","center":[1300,360],"radius":205,"start":-135,"sweep":270,"range":[0,220],"major":20,"minor":5,"major_length":18,"minor_length":8,"width":3,"color":"#F2F4F7","numbers":{"size":26,"offset":46,"color":"#F2F4F7"}},
    {"type":"group","pivot":[1300,360],"rotate":{"value":"speed","from":[0,220],"to":[-135,135],"smooth":250},"parts":[{"type":"path","d":"M1297 380L1299 170L1301 170L1303 380Z","fill":"#FF6A1F","glow":{"color":"#FF6A1F","size":8,"strength":0.4}}]},
    {"type":"circle","center":[1300,360],"radius":12,"fill":"#1A1D22","stroke":{"paint":"#3A3F47","width":2}},
    {"type":"text","unit_of":"speed","x":1300,"y":300,"align":"center","size":22,"fill":"#F2F4F7"},
    {"type":"text","value":"speed","x":1300,"y":470,"align":"center","size":40,"weight":600,"fill":"#F2F4F7"},
    {"type":"text","value":"gear","x":960,"y":360,"align":"center","size":72,"weight":700,"fill":"#FFB020"},
    {"type":"text","value":"drive_mode","uppercase":true,"x":960,"y":430,"align":"center","size":20,"weight":600,"fill":"$mode"},
    {"type":"signal","side":"left","x":880,"y":220,"size":48},
    {"type":"signal","side":"right","x":992,"y":220,"size":48},
    {"type":"text","value":"odometer","unit":{"size":16},"x":960,"y":610,"align":"center","size":24,"font":"tech","fill":"#F2F4F7"}
  ]
}
```

### Sporty

```json
{
  "yoldas_dial": 1,
  "name": "Sportif Kırmızı",
  "description": "Hızla dolan kavisli bant, LED güç şeridi, kipin renginde ışıltı.",
  "background": "#050505",
  "parts": [
    {"type":"path","d":"M560 600A440 440 0 0 1 1360 600","stroke":{"paint":"#FFFFFF14","width":26,"cap":"round"}},
    {"type":"path","d":"M560 600A440 440 0 0 1 1360 600","stroke":{"paint":{"linear":{"from":[560,0],"to":[1360,0],"stops":[[0,"#FF8A3D"],[1,"#FF2A1F"]]}},"width":26,"cap":"round"},"glow":{"color":"#FF3B1F","size":18,"strength":0.6},"reveal":{"value":"speed","from":[0,220],"direction":"path","smooth":250}},
    {"type":"scale","shape":"path","d":"M560 600A440 440 0 0 1 1360 600","range":[0,220],"major":20,"minor":10,"major_length":14,"minor_length":6,"width":2,"color":"#FFFFFF88","numbers":{"size":22,"offset":42,"color":"#FFFFFFCC","font":"tech"}},
    {"type":"text","value":"speed","x":960,"y":380,"align":"center","size":180,"weight":700,"font":"tech","fill":"#FFFFFF"},
    {"type":"text","unit_of":"speed","uppercase":true,"x":960,"y":490,"align":"center","size":20,"spacing":0.3,"fill":"#FFFFFFAA"},
    {"type":"text","value":"gear","x":960,"y":560,"align":"center","size":44,"weight":700,"font":"tech","fill":"#FF3B1F"},
    {"type":"signal","side":"left","x":650,"y":250,"size":56},
    {"type":"signal","side":"right","x":1214,"y":250,"size":56},
    {"type":"repeat","count":20,"dx":30,"lit":{"value":"power","from":[0,200]},"lit_color":"$mode","off_opacity":0.2,"part":{"type":"rect","x":660,"y":640,"width":22,"height":12,"radius":2,"fill":"#FFFFFF"}},
    {"type":"text","value":"battery","x":300,"y":360,"align":"center","size":56,"weight":600,"font":"tech","fill":"#FFFFFF"},
    {"type":"text","word":"battery","x":300,"y":420,"align":"center","size":16,"weight":600,"spacing":0.2,"fill":"#FFFFFF88"},
    {"type":"text","value":"range","unit":{"size":20},"x":1620,"y":360,"align":"center","size":56,"weight":600,"font":"tech","fill":"#FFFFFF"},
    {"type":"text","word":"range","x":1620,"y":420,"align":"center","size":16,"weight":600,"spacing":0.2,"fill":"#FFFFFF88"}
  ]
}
```

### Tyres and drive summary (top view of the car, four tyres, this drive)

```json
{
  "yoldas_dial": 2,
  "name": "Lastik ve Sürüş",
  "description": "Ortada hız; solda pil, pil sıcaklığı ve menzil; sağda aracın üstten görünüşü ve dört lastik basıncı; altta bu sürüşün yolu, tüketimi ve süresi.",
  "background": {
    "night": "#06080C",
    "day": "#EEF1F4"
  },
  "parts": [
    {"type":"text","value":"speed","x":960,"y":300,"align":"center","size":180,"weight":300,"fill":{"night":"#F2F4F7","day":"#10151C"}},
    {"type":"text","unit_of":"speed","uppercase":true,"x":960,"y":410,"align":"center","size":20,"spacing":0.3,"fill":"$text_dim"},
    {"type":"gears","x":860,"y":470,"width":200,"size":24,"active_size":32,"color":{"night":"#F2F4F755","day":"#10151C55"},"active_color":"$mode"},
    {"type":"signal","side":"left","x":640,"y":272,"size":56},
    {"type":"signal","side":"right","x":1224,"y":272,"size":56},
    {"type":"ring","center":[330,300],"radius":100,"width":10,"value":"battery","from":[0,100],"color":{"value":"battery","steps":[[20,"$warning"]],"color":"$mode"},"track":{"night":"#FFFFFF1F","day":"#10151C1A"}},
    {"type":"text","value":"battery","x":330,"y":300,"align":"center","size":44,"weight":300,"fill":"$text"},
    {"type":"asset","name":"icon_thermometer","x":262,"y":430,"width":24,"height":24,"color":"$text_dim"},
    {"type":"text","value":"battery_temp","x":294,"y":442,"align":"left","size":24,"fill":"$text"},
    {"type":"text","value":"range","unit":{"size":16},"x":330,"y":490,"align":"center","size":24,"fill":"$text_dim"},
    {"type":"asset","name":"car_top","x":1450,"y":190,"width":130,"height":260},
    {"type":"text","value":"tire_pressure_fl","x":1438,"y":242,"align":"right","size":26,"fill":{"value":"tire_pressure_fl","steps":[[2.2,"$warning"]],"color":"$text"}},
    {"type":"text","value":"tire_pressure_fr","x":1592,"y":242,"align":"left","size":26,"fill":{"value":"tire_pressure_fr","steps":[[2.2,"$warning"]],"color":"$text"}},
    {"type":"text","value":"tire_pressure_rl","x":1438,"y":393,"align":"right","size":26,"fill":{"value":"tire_pressure_rl","steps":[[2.2,"$warning"]],"color":"$text"}},
    {"type":"text","value":"tire_pressure_rr","x":1592,"y":393,"align":"left","size":26,"fill":{"value":"tire_pressure_rr","steps":[[2.2,"$warning"]],"color":"$text"}},
    {"type":"text","unit_of":"tire_pressure_fl","x":1515,"y":480,"align":"center","size":16,"fill":"$text_dim"},
    {"type":"line","from":[640,560],"to":[1280,560],"stroke":{"paint":{"night":"#FFFFFF1A","day":"#10151C1A"},"width":2}},
    {"type":"asset","name":"icon_road","x":660,"y":592,"width":24,"height":24,"color":"$text_dim"},
    {"type":"text","value":"trip","unit":{"size":16},"x":694,"y":604,"align":"left","size":26,"fill":"$text"},
    {"type":"asset","name":"icon_leaf","x":880,"y":592,"width":24,"height":24,"color":"$text_dim"},
    {"type":"text","value":"trip_consumption","unit":{"size":16},"x":914,"y":604,"align":"left","size":26,"fill":"$text"},
    {"type":"asset","name":"icon_clock","x":1130,"y":592,"width":24,"height":24,"color":"$text_dim"},
    {"type":"text","value":"trip_minutes","unit":{"size":16},"x":1164,"y":604,"align":"left","size":26,"fill":"$text"}
  ]
}
```

### Road scene (Yoldaş's Horizon dial: scene, speed and power on the left, range, battery and fuel on the right, route at the top)

```json
{
  "yoldas_dial": 3,
  "name": "Ufuk (dosyadan)",
  "description": "Yoldaş'ın yerleşik Ufuk tasarımı: tepeden ya da arkadan bakış (araçtaki ayar), akan yol, çevredeki araçlar, hava ve sürüş modu.",
  "background": {
    "night": "#04060A",
    "day": "#DFE6EC"
  },
  "parts": [
    {"type":"scene","style":"horizon","view":"user","size":"user","car":true,"traffic":true,"effects":true,"traffic_band":[700,1220],"traffic_top":126},
    {"type":"text","value":"speed","x":250,"y":174,"valign":"top","max_width":520,"size":300,"weight":200,"spacing":-0.055,"fill":{"night":"#F1F4F7","day":"#12171F"}},
    {"type":"text","unit_of":"speed","uppercase":true,"x":266,"y":501,"max_width":334,"size":26,"weight":500,"spacing":0.22,"fill":{"night":"#F1F4F761","day":"#12171F66"}},
    {"type":"text","word":"power","uppercase":true,"x":266,"y":539,"max_width":174,"size":19,"weight":600,"spacing":0.16,"fill":{"night":"#F1F4F761","day":"#12171F66"}},
    {"type":"text","value":"power","unit":{"size":26},"x":690,"y":539,"align":"right","max_width":240,"size":26,"weight":500,"fill":{"night":"#F1F4F7","day":"#12171F"}},
    {"type":"rect","x":266,"y":566,"width":424,"height":10,"radius":5,"fill":{"night":"#FFFFFF17","day":"#FFFFFFD9"}},
    {"type":"rect","x":393.2,"y":566,"width":296.8,"height":10,"radius":5,"fill":{"night":"#FFB25C","day":"#C2630F"},"reveal":{"value":"power","from":[0,230],"direction":"right","smooth":350}},
    {"type":"rect","x":266,"y":566,"width":127.2,"height":10,"radius":5,"fill":{"night":"#7FD6A8","day":"#2F8A5E"},"reveal":{"value":"regen","from":[0,70],"direction":"left","smooth":350}},
    {"type":"rect","x":392.2,"y":562,"width":2,"height":18,"fill":{"night":"#F1F4F761","day":"#12171F66"}},
    {"type":"rect","x":266,"y":592,"width":300,"height":60,"radius":30,"fill":{"night":"#10141A85","day":"#FFFFFF85"},"stroke":{"paint":{"night":"#FFFFFF17","day":"#FFFFFFD9"},"width":1}},
    {"type":"rect","x":271,"y":597,"width":65,"height":50,"radius":30,"fill":{"night":"#F1F4F73D","day":"#12171F29"},"show_when":{"value":"gear","is":"P"}},
    {"type":"rect","x":346,"y":597,"width":65,"height":50,"radius":30,"fill":{"night":"#F1F4F73D","day":"#12171F29"},"show_when":{"value":"gear","is":"R"}},
    {"type":"rect","x":421,"y":597,"width":65,"height":50,"radius":30,"fill":{"night":"#F1F4F73D","day":"#12171F29"},"show_when":{"value":"gear","is":"N"}},
    {"type":"rect","x":496,"y":597,"width":65,"height":50,"radius":30,"fill":{"night":"#F1F4F73D","day":"#12171F29"},"show_when":{"value":"gear","is":"D"}},
    {"type":"gears","x":266,"y":622,"width":300,"size":30,"weight":500,"active_size":30,"active_weight":700,"color":{"night":"#F1F4F761","day":"#12171F66"},"active_color":{"night":"#F1F4F7","day":"#12171F"}},
    {"type":"text","value":"drive_mode","uppercase":true,"x":584,"y":622,"max_width":176,"size":19,"weight":600,"spacing":0.2,"fill":{"night":"#9FE0C8","day":"#2F6D5A"}},
    {"type":"text","value":"range","unit":{"size":36},"x":1780,"y":204,"align":"right","valign":"top","max_width":400,"size":176,"weight":200,"spacing":-0.05,"fill":{"night":"#F1F4F7","day":"#12171F"}},
    {"type":"text","word":"range","uppercase":true,"x":1780,"y":444,"align":"right","max_width":300,"size":18,"weight":600,"spacing":0.2,"fill":{"night":"#F1F4F761","day":"#12171F66"}},
    {"type":"repeat","count":20,"dx":20.25,"show_when":{"value":"fuel_level","available":false},"part":{"type":"rect","x":1380,"y":484,"width":15.25,"height":30,"radius":4,"fill":{"night":"#9FE0C8","day":"#2F6D5A"}},"lit":{"value":"battery","from":[0,100]},"off_opacity":0.1},
    {"type":"repeat","count":10,"dx":19.7,"show_when":{"value":"fuel_level","available":true},"part":{"type":"rect","x":1380,"y":484,"width":14.7,"height":30,"radius":4,"fill":{"night":"#9FE0C8","day":"#2F6D5A"}},"lit":{"value":"battery","from":[0,100]},"off_opacity":0.1},
    {"type":"repeat","count":10,"dx":19.7,"show_when":{"value":"fuel_level","available":true},"part":{"type":"rect","x":1588,"y":484,"width":14.7,"height":30,"radius":4,"fill":{"night":"#F1F4F79E","day":"#12171F9E"}},"lit":{"value":"fuel_level","from":[0,100]},"off_opacity":0.1},
    {"type":"text","word":"battery","uppercase":true,"x":1380,"y":538,"max_width":220,"size":20,"fill":{"night":"#F1F4F79E","day":"#12171F9E"},"show_when":{"value":"fuel_level","available":false}},
    {"type":"text","value":"battery","x":1780,"y":538,"align":"right","max_width":180,"size":20,"weight":500,"fill":{"night":"#F1F4F7","day":"#12171F"},"show_when":{"value":"fuel_level","available":false}},
    {"type":"text","word":"battery","uppercase":true,"x":1380,"y":538,"max_width":130,"size":17,"fill":{"night":"#F1F4F79E","day":"#12171F9E"},"show_when":{"value":"fuel_level","available":true}},
    {"type":"text","value":"battery","x":1572,"y":538,"align":"right","max_width":60,"size":20,"weight":500,"fill":{"night":"#F1F4F7","day":"#12171F"},"show_when":{"value":"fuel_level","available":true}},
    {"type":"asset","name":"icon_fuel","x":1588,"y":527,"width":22,"height":22,"color":{"night":"#F1F4F79E","day":"#12171F9E"},"show_when":{"value":"fuel_level","available":true}},
    {"type":"text","value":"fuel_level","x":1780,"y":538,"align":"right","max_width":60,"size":20,"weight":500,"fill":{"night":"#F1F4F7","day":"#12171F"},"show_when":{"value":"fuel_level","available":true}},
    {"type":"rect","x":1380,"y":570,"width":192,"height":90,"radius":20,"fill":{"night":"#10141A85","day":"#FFFFFF85"},"stroke":{"paint":{"night":"#FFFFFF17","day":"#FFFFFFD9"},"width":1}},
    {"type":"text","word":"consumption","uppercase":true,"x":1398,"y":590,"max_width":162,"size":15,"weight":600,"spacing":0.16,"fill":{"night":"#F1F4F761","day":"#12171F66"}},
    {"type":"text","value":"consumption","x":1398,"y":628,"max_width":162,"size":32,"weight":500,"fill":{"night":"#F1F4F7","day":"#12171F"}},
    {"type":"rect","x":1588,"y":570,"width":192,"height":90,"radius":20,"fill":{"night":"#10141A85","day":"#FFFFFF85"},"stroke":{"paint":{"night":"#FFFFFF17","day":"#FFFFFFD9"},"width":1}},
    {"type":"text","word":"outside","uppercase":true,"x":1606,"y":590,"max_width":162,"size":15,"weight":600,"spacing":0.16,"fill":{"night":"#F1F4F761","day":"#12171F66"}},
    {"type":"text","value":"outside_temp","x":1606,"y":628,"max_width":162,"size":32,"weight":500,"fill":{"night":"#F1F4F7","day":"#12171F"}},
    {"type":"rect","x":720,"y":34,"width":480,"height":92,"radius":28,"fill":{"night":"#10141A85","day":"#FFFFFF85"},"stroke":{"paint":{"night":"#FFFFFF17","day":"#FFFFFFD9"},"width":1},"show_when":{"value":"nav_active","is":true}},
    {"type":"rect","x":734,"y":46,"width":68,"height":68,"radius":18,"fill":{"night":"#9FE0C8","day":"#2F6D5A"},"show_when":{"value":"nav_active","is":true}},
    {"type":"path","d":"M12 2.5l6.5 7.5H14v11.5h-4V10H5.5z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","is":"straight"}]}},
    {"type":"path","d":"M5 21.5V12a5 5 0 0 1 5-5h4.5V2.5L21 9l-6.5 6.5V11H10a1 1 0 0 0-1 1v9.5z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","is":"right"}]}},
    {"type":"path","d":"M19 21.5V12a5 5 0 0 0-5-5H9.5V2.5L3 9l6.5 6.5V11H14a1 1 0 0 1 1 1v9.5z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","is":"left"}]}},
    {"type":"path","d":"M7 21.5v-8.2a3 3 0 0 1 .9-2.1L14.6 4.5H10.5V2.5h8v8h-2V6.9l-6.6 6.6a1 1 0 0 0-.3.7v7.3z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","is":"slight_right"}]}},
    {"type":"path","d":"M17 21.5v-8.2a3 3 0 0 0-.9-2.1L9.4 4.5h4.1V2.5h-8v8h2V6.9l6.6 6.6a1 1 0 0 1 .3.7v7.3z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","is":"slight_left"}]}},
    {"type":"path","d":"M6 21.5V9a6 6 0 0 1 12 0v6h3l-5 5.5-5-5.5h3V9a2 2 0 0 0-4 0v12.5z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","is":"u_turn"}]}},
    {"type":"path","d":"M12 6.5a5.5 5.5 0 1 1-5.2 7.3l2.3-.8A3 3 0 1 0 12 9h-1.5v3L5 7.8 10.5 3.5v3z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","is":"roundabout"}]}},
    {"type":"path","d":"M5 2.5h2v19H5zM8 3.5h11l-2.8 4.5L19 12.5H8z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","is":"arrive"}]}},
    {"type":"path","d":"M12 3.5l7 16-7-3.8-7 3.8z","x":747.6,"y":59.6,"scale":1.7,"fill":{"night":"#04060A","day":"#DFE6EC"},"show_when":{"all":[{"value":"nav_active","is":true},{"value":"nav_direction","available":false}]}},
    {"type":"text","value":"nav_instruction","x":816,"y":64.3,"max_width":368,"size":34,"spacing":-0.02,"fill":{"night":"#F1F4F7","day":"#12171F"},"show_when":{"value":"nav_active","is":true}},
    {"type":"text","value":"nav_street","x":816,"y":100.7,"max_width":368,"size":19,"fill":{"night":"#F1F4F79E","day":"#12171F9E"},"show_when":{"value":"nav_active","is":true}},
    {"type":"signal","side":"left","x":700,"y":320,"size":56,"color":"#3EE08A"},
    {"type":"signal","side":"right","x":1164,"y":320,"size":56,"color":"#3EE08A"},
    {"type":"speed_limit","center":[1288,258],"radius":52},
    {"type":"rect","x":690,"y":670,"width":540,"height":46,"radius":23,"fill":{"night":"#10141A85","day":"#FFFFFF85"},"stroke":{"paint":{"night":"#FFFFFF17","day":"#FFFFFFD9"},"width":1},"show_when":{"value":"media_title","available":true}},
    {"type":"rect","x":697,"y":677,"width":32,"height":32,"radius":12,"show_when":{"value":"media_title","available":true},"fill":{"sweep":{"center":[713,693],"stops":[[0,"#FF7A6B"],[0.33,"#9FE0C8"],[0.66,"#6F8CFF"],[1,"#FF7A6B"]]}}},
    {"type":"media","x":744,"y":693,"width":462,"size":18,"weight":500,"color":{"night":"#F1F4F7","day":"#12171F"},"secondary_color":{"night":"#F1F4F7","day":"#12171F"},"show_when":{"value":"media_title","available":true}}
  ]
}
```
