{
  "$comment": "Machine-readable companion to https://valem.run/calculators/slovakia/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/slovakia/car-tax",
  "dataUrl": "https://valem.run/calculators/slovakia/car-tax.json",
  "license": {
    "name": "CC BY 4.0",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "Slovakia diaľničná známka model by Valem (https://valem.run/calculators/slovakia/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/slovakia/car-tax/verify",
  "country": "slovakia",
  "countryName": "Slovakia",
  "formula": "car-tax",
  "formulaName": "Diaľničná známka",
  "title": "Diaľničná Známka — Slovakia motorway vignette",
  "answer": "Slovak private cars pay no annual road tax; the recurring cost is the motorway e-vignette, which costs 90 EUR a year in 2026.",
  "lang": "en",
  "currency": "EUR",
  "taxYear": "2026",
  "verification": {
    "claim": "internal-consistency",
    "statement": "The Valem engine reproduces this model's stated formula through 3 self-test cases (below, and re-runnable against the spec). That asserts internal consistency, NOT that the formula matches current law — the cited sources are the evidence for that, and carry the date each was last checked.",
    "selfTestCases": 3,
    "ratesAreIllustrative": false,
    "sourcesCheckedOn": "2026-08-02"
  },
  "sources": [
    {
      "label": "eznamka.sk",
      "url": "https://eznamka.sk",
      "checked": "2026-08-04"
    }
  ],
  "terminalOutput": "tax",
  "inputs": [
    {
      "name": "period",
      "type": "number",
      "label": "Platnosť (1 = deň, 2 = 10 dní, 3 = 30 dní, 4 = rok)",
      "minimum": 1,
      "maximum": 4
    }
  ],
  "outputs": [
    {
      "name": "tax",
      "type": "number",
      "label": "Cena známky",
      "format": "currency",
      "formula": "($p := period; $round($p <= 1 ? $const.day1 : $p <= 2 ? $const.day10 : $p <= 3 ? $const.day30 : $const.annualVignette, 2))"
    }
  ],
  "testCases": [
    {
      "description": "C1 annual vignette",
      "given": {
        "period": 4
      },
      "expect": {
        "tax": 90
      }
    },
    {
      "description": "C2 10-day vignette",
      "given": {
        "period": 2
      },
      "expect": {
        "tax": 10.8
      }
    },
    {
      "description": "C3 electric car pays the same annual price — no EV exemption in Slovakia",
      "given": {
        "period": 4
      },
      "expect": {
        "tax": 90
      }
    }
  ],
  "spec": {
    "id": "car-tax-slovakia",
    "version": "1.0.0",
    "schema": {
      "type": "object",
      "properties": {
        "period": {
          "type": "number",
          "minimum": 1,
          "maximum": 4
        },
        "tax": {
          "type": "number",
          "readOnly": true
        }
      }
    },
    "constants": {
      "day1": 8.1,
      "day10": 10.8,
      "day30": 17.1,
      "annualVignette": 90
    },
    "defaultValues": [
      {
        "path": "$",
        "expr": "{ 'period': 4 }"
      }
    ],
    "derivations": [
      {
        "path": "$.tax",
        "expr": "($p := period; $round($p <= 1 ? $const.day1 : $p <= 2 ? $const.day10 : $p <= 3 ? $const.day30 : $const.annualVignette, 2))"
      }
    ],
    "constraints": [],
    "metaDerivations": [],
    "viewDefinition": {
      "renderer": "builtin",
      "defaultView": "main",
      "views": [
        {
          "id": "main",
          "label": "Diaľničná známka",
          "layout": "vertical",
          "components": [
            {
              "id": "period",
              "type": "numericField",
              "label": "Platnosť (1 = deň, 2 = 10 dní, 3 = 30 dní, 4 = rok)",
              "bind": "$.period"
            },
            {
              "id": "tiles",
              "type": "group",
              "layout": "horizontal",
              "components": [
                {
                  "id": "taxTile",
                  "type": "statTile",
                  "label": "Cena známky",
                  "bind": "$.tax",
                  "format": "currency",
                  "currency": "EUR"
                }
              ]
            },
            {
              "id": "note",
              "type": "staticText",
              "text": "'Slovensko 2026: osobné autá neplatia cestnú daň. Diaľničná známka stojí 8,10 EUR (1 deň), 10,80 EUR (10 dní), 17,10 EUR (30 dní) alebo 90 EUR (rok) — ceny sa v roku 2026 nemenili. Na rozdiel od Česka elektromobily NIE sú oslobodené. Plus poplatok za prvú evidenciu. Odhad, nie daňové poradenstvo.'"
            },
            {
              "id": "sources",
              "type": "sourceList",
              "label": "Zdroje",
              "items": [
                {
                  "label": "eznamka.sk",
                  "url": "https://eznamka.sk",
                  "date": "2026-08-04"
                }
              ]
            }
          ]
        }
      ]
    },
    "tests": [
      {
        "description": "C1 annual vignette",
        "given": {
          "$.period": 4
        },
        "expect": {
          "$.tax": 90
        }
      },
      {
        "description": "C2 10-day vignette",
        "given": {
          "$.period": 2
        },
        "expect": {
          "$.tax": 10.8
        }
      },
      {
        "description": "C3 electric car pays the same annual price — no EV exemption in Slovakia",
        "given": {
          "$.period": 4
        },
        "expect": {
          "$.tax": 90
        }
      }
    ]
  }
}
