{
    "description": "Estimate the indicative price (EUR, excl. VAT) and physical transport height of one roof truss.",
    "method": "POST",
    "input": {
        "region": "string, optional — a recognized anchor town name (see \"regions\"). Only these locations are recognized; this is not a full geocoding service.",
        "snowLoad": "number, optional — one of 1.25, 1.5, 1.75, 2.3 kN\/m². Use this if you already know the exact value.",
        "span": "number, required — meters, 6-12",
        "pitch": "number, required — degrees, 20-40"
    },
    "regions": [
        "rucava",
        "liepaja",
        "grobina",
        "priekule",
        "durbe",
        "aizpute",
        "pavilosta",
        "piltene",
        "ventspils",
        "dundaga",
        "kolka",
        "roja",
        "mersrags",
        "engure",
        "jurmala",
        "riga",
        "babite",
        "spilve",
        "mezares",
        "pinki",
        "marupe",
        "jaunmarupe",
        "balozi",
        "ulbroka",
        "stopini",
        "langstini",
        "bukulti",
        "baltezers",
        "adazi",
        "kadaga",
        "carnikava",
        "gauja",
        "garciems",
        "lilaste",
        "pabazi",
        "zvejniekciems",
        "salacgriva",
        "ainazi",
        "olaine",
        "jaunolaine",
        "jelgava",
        "ozolnieki",
        "dobele",
        "tukums",
        "pieriga",
        "staicele",
        "mazsalaca",
        "aloja",
        "limbazi",
        "vangazi",
        "garkalne",
        "zakumuiza",
        "salaspils",
        "ikskile",
        "kekava",
        "baldone",
        "iecava",
        "bauska",
        "auce",
        "vainode",
        "skrunda",
        "saldus",
        "broceni",
        "kuldiga",
        "sabile",
        "kandava",
        "talsi",
        "valdemarpils",
        "rujiena",
        "valka",
        "valmiera",
        "smiltene",
        "sigulda",
        "cesis",
        "ligatne",
        "jaunligatne",
        "ogre",
        "ogresgals",
        "kegums",
        "lielvarde",
        "gulbene",
        "lubana",
        "balvi",
        "karsava",
        "aizkraukle",
        "jekabpils",
        "koknese",
        "plavinas",
        "rezekne",
        "ludza",
        "preili",
        "akniste",
        "ilukste",
        "daugavpils",
        "kraslava",
        "zilupe",
        "ape",
        "aluksne",
        "cesvaine",
        "madona"
    ],
    "notes": "If the building's location is not one of the listed anchor towns, either reason about the nearest listed anchor yourself, or omit region\/snowLoad entirely to receive an estimate for every valid snow load. The highest value (2.3) covers the merged, less-populated higher zones.",
    "output": {
        "priceValue": "integer — indicative price in whole EUR, excl. VAT",
        "heightMeters": "number — calculated total physical height of the truss in meters",
        "splitTrussRequired": "boolean — true if height > 3.10m requiring split-truss (top-hat) delivery",
        "single mode": "{ \"priceValue\": integer, \"heightMeters\": number, \"splitTrussRequired\": boolean, ... }",
        "all-zones mode": "{ \"estimates\": [ { \"snowLoad\": number, \"priceValue\": integer }, ... ], \"heightMeters\": number, ... }"
    },
    "disclaimer": "Indicative estimate only, not a binding offer."
}