{
  "type": "object",
  "properties": {
    "inputs": {
      "type": "object",
      "properties": {
        "hourly_wage_chf": {
          "type": "number"
        },
        "hours_per_week": {
          "type": "number"
        },
        "wage_is_net": {
          "type": "boolean"
        },
        "vacation_weeks": {
          "type": "number"
        }
      },
      "required": [
        "hourly_wage_chf",
        "hours_per_week",
        "wage_is_net",
        "vacation_weeks"
      ],
      "additionalProperties": false
    },
    "cantons": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rank": {
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "procedure": {
            "type": "string",
            "enum": [
              "simplified",
              "ordinary"
            ]
          },
          "gross_wage_monthly": {
            "type": "number",
            "description": "CHF"
          },
          "net_wage_monthly": {
            "$ref": "#/properties/cantons/items/properties/gross_wage_monthly"
          },
          "total_employer_cost_monthly": {
            "$ref": "#/properties/cantons/items/properties/gross_wage_monthly"
          },
          "family_allowance_fund_employer_percent": {
            "type": "number"
          },
          "admin_fee_of_gross_wage_approx_percent": {
            "type": "number"
          },
          "minimum_wage_from_5h_chf": {
            "type": "number"
          },
          "below_minimum_wage": {
            "type": "boolean",
            "description": "true when the hourly wage entered is below the canton's floor from 5 h/week (city minimums not included)."
          }
        },
        "required": [
          "rank",
          "code",
          "name",
          "procedure",
          "gross_wage_monthly",
          "net_wage_monthly",
          "total_employer_cost_monthly",
          "family_allowance_fund_employer_percent",
          "admin_fee_of_gross_wage_approx_percent",
          "minimum_wage_from_5h_chf",
          "below_minimum_wage"
        ],
        "additionalProperties": false
      }
    },
    "spread_monthly_chf": {
      "type": "number"
    },
    "note": {
      "type": "string"
    },
    "links": {
      "type": "object",
      "properties": {
        "calculator": {
          "type": "string"
        }
      },
      "required": [
        "calculator"
      ],
      "additionalProperties": false
    },
    "rates_year": {
      "type": "number"
    },
    "data_verified_on": {
      "type": "string",
      "description": "Date the rate set was last checked against the official sources."
    },
    "disclaimer": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    }
  },
  "required": [
    "inputs",
    "cantons",
    "spread_monthly_chf",
    "note",
    "links",
    "rates_year",
    "data_verified_on",
    "disclaimer",
    "provider"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "compare_cantons output",
  "x-source": "https://clino.ch/mcp (MCP tools/list, 2026-11-04, verbatim outputSchema)"
}