{
  "$comment": "Machine-readable companion to https://valem.run/calculators/lithuania/car-tax. Formula, inputs, outputs, engine-verified test vectors, cited sources and the re-runnable Valem ModelSpec behind the page.",
  "url": "https://valem.run/calculators/lithuania/car-tax",
  "dataUrl": "https://valem.run/calculators/lithuania/car-tax.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "Lithuania registracijos mokestis model by Valem (https://valem.run/calculators/lithuania/car-tax), CC BY 4.0.",
    "note": "Covers the model — the expression of each rule and the arrangement of the catalog. The rates and thresholds themselves are law and are not licensed by anyone; the cited sources are where they come from."
  },
  "verificationUrl": "https://valem.run/calculators/lithuania/car-tax/verify",
  "country": "lithuania",
  "countryName": "Lithuania",
  "formula": "car-tax",
  "formulaName": "Registracijos mokestis",
  "title": "Registracijos Mokestis — Lithuania car pollution fee",
  "answer": "Lithuania charges no annual car tax; the cost is a one-off registration pollution fee scaled by CO2 emissions.",
  "lang": "en",
  "currency": "EUR",
  "taxYear": "2025",
  "verification": {
    "claim": "shape-only",
    "statement": "The rates in this model are illustrative. Its 2 self-test cases confirm the engine reproduces the shape of the charge, but the schedule is not the official one, so the amount will not match a real bill. The cited sources name the document that would replace it.",
    "selfTestCases": 2,
    "ratesAreIllustrative": true,
    "sourcesCheckedOn": "2026-08-02"
  },
  "sources": [
    {
      "label": "Regitra",
      "url": "https://www.regitra.lt",
      "checked": "2026-08-02"
    }
  ],
  "terminalOutput": "fee",
  "inputs": [
    {
      "name": "co2",
      "type": "number",
      "label": "CO₂ (g/km)",
      "minimum": 0
    }
  ],
  "outputs": [
    {
      "name": "fee",
      "type": "number",
      "label": "Registracijos mokestis",
      "format": "currency",
      "formula": "($c := co2; $round($c <= 130 ? 0 : $c <= 150 ? 52 : $c <= 170 ? 93 : $c <= 190 ? 150 : $c <= 250 ? 300 : 540, 2))"
    }
  ],
  "testCases": [
    {
      "description": "C1 petrol 180 g/km",
      "given": {
        "co2": 180
      },
      "expect": {
        "fee": 150
      }
    },
    {
      "description": "C3 EV 0 g/km — no fee",
      "given": {
        "co2": 0
      },
      "expect": {
        "fee": 0
      }
    }
  ],
  "spec": {
    "id": "car-tax-lithuania",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "co2": {
          "type": "number",
          "minimum": 0
        },
        "fee": {
          "type": "number",
          "readOnly": true
        }
      }
    },
    "constants": {},
    "defaultValues": [
      {
        "path": "$",
        "expr": "{ 'co2': 180 }"
      }
    ],
    "derivations": [
      {
        "path": "$.fee",
        "expr": "($c := co2; $round($c <= 130 ? 0 : $c <= 150 ? 52 : $c <= 170 ? 93 : $c <= 190 ? 150 : $c <= 250 ? 300 : 540, 2))"
      }
    ],
    "constraints": [],
    "metaDerivations": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "Registracijos mokestis",
          "layout": "vertical",
          "components": [
            {
              "id": "illustrativeNotice",
              "type": "alert",
              "variant": "warning",
              "label": "Iliustratyvūs tarifai — tai ne oficiali lentelė",
              "text": "'Lietuvoje nėra metinio automobilio mokesčio; mokama vienkartinė registracijos taršos rinkliava pagal CO2 ir kurą. Čia pateikti dydžiai iliustruoja skaičiavimo formą, o ne oficialius tarifus. Pasitikrinkite Regitroje.'"
            },
            {
              "id": "co2",
              "type": "numericField",
              "label": "CO₂ (g/km)",
              "bind": "$.co2"
            },
            {
              "id": "tiles",
              "type": "group",
              "layout": "horizontal",
              "components": [
                {
                  "id": "feeTile",
                  "type": "statTile",
                  "label": "Registracijos mokestis",
                  "bind": "$.fee",
                  "format": "currency",
                  "currency": "EUR"
                }
              ]
            },
            {
              "id": "note",
              "type": "staticText",
              "text": "'Lietuva: nėra metinio automobilio mokesčio. Vienkartinis registracijos taršos mokestis pagal CO₂ ir kurą; elektromobiliams — 0. Iliustratyvūs tarifai. Įvertis, ne mokestinė konsultacija.'"
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Šaltiniai",
              "items": [
                {
                  "label": "Regitra",
                  "url": "https://www.regitra.lt",
                  "date": "2026-08-02"
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "C1 petrol 180 g/km",
        "given": {
          "$.co2": 180
        },
        "expect": {
          "$.fee": 150
        }
      },
      {
        "description": "C3 EV 0 g/km — no fee",
        "given": {
          "$.co2": 0
        },
        "expect": {
          "$.fee": 0
        }
      }
    ]
  }
}
