{"openapi":"3.1.0","info":{"title":"Valem calculators","version":"1.0.0","description":"Verified tax calculators and decision tools: net salary, car tax and self-employed income across 50+ countries. Every result carries its tax year, its cited sources and what its verification claims; quote them with the number. A result with staleReason is not yet updated for the current tax year."},"servers":[{"url":"https://valem.run/"}],"paths":{"/calculators/catalog.json":{"get":{"operationId":"listCalculators","summary":"List calculators; filter by country or formula to get each one's inputs","parameters":[{"name":"country","in":"query","required":false,"description":"Country slug, e.g. estonia, germany, uk","schema":{"type":"string"}},{"name":"formula","in":"query","required":false,"description":"Formula slug, e.g. net-salary, car-tax, self-employed","schema":{"type":"string"}}],"responses":{"200":{"description":"The calculator listing"}}}},"/calculators/{country}/{formula}.json":{"get":{"operationId":"calculate","summary":"Run a calculator. Pass its inputs as query parameters; with none, returns the model manifest","parameters":[{"name":"country","in":"path","required":true,"description":"Country slug from listCalculators, e.g. germany","schema":{"type":"string","pattern":"^[a-z0-9-]+$"}},{"name":"formula","in":"path","required":true,"description":"Formula slug from listCalculators, e.g. net-salary","schema":{"type":"string","pattern":"^[a-z0-9-]+$"}},{"name":"inputs","in":"query","description":"The calculator's inputs by name (see listCalculators), e.g. grossAnnual=48000","style":"form","explode":true,"schema":{"type":"object","additionalProperties":{"type":["number","string","boolean"]}},"example":{"grossAnnual":48000}}],"responses":{"200":{"description":"The computed result (or the manifest, with no inputs)"},"400":{"description":"An unknown or ill-typed input; the body lists validInputs"},"404":{"description":"No such calculator"}}}}}}