{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wimsta-com/json-schema/wimsta-com-calc-response-schema.json",
  "title": "CalcResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/wimsta-com-api-openapi.json#/components/schemas/CalcResponse",
  "type": "object",
  "required": [
    "calculator",
    "inputs",
    "result",
    "formulas_used",
    "disclaimer",
    "attribution_notice"
  ],
  "properties": {
    "calculator": {
      "type": "string"
    },
    "inputs": {
      "type": "object",
      "additionalProperties": true,
      "description": "The parsed inputs that were used"
    },
    "result": {
      "type": "object",
      "additionalProperties": true,
      "description": "The range (low/high), unit, category or band, and each formula's value with its registry_id"
    },
    "page_url": {
      "type": "string",
      "format": "uri",
      "description": "The wimsta.com page of this calculator — link humans here"
    },
    "formulas_used": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Registry ids of the formulas behind the result"
    },
    "formula_urls": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      }
    },
    "disclaimer": {
      "type": "string"
    },
    "attribution_notice": {
      "type": "string"
    },
    "registry_version": {
      "type": "string"
    },
    "docs": {
      "type": "string",
      "format": "uri"
    }
  }
}