{
  "type": "object",
  "properties": {
    "canton": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "name"
      ],
      "additionalProperties": false
    },
    "procedure": {
      "type": "string",
      "enum": [
        "simplified",
        "ordinary"
      ]
    },
    "procedure_note": {
      "type": "string"
    },
    "inputs": {
      "type": "object",
      "properties": {
        "hourly_wage_chf": {
          "type": "number"
        },
        "hours_per_week": {
          "type": "number"
        },
        "wage_is_net": {
          "type": "boolean"
        },
        "vacation_weeks": {
          "type": "number"
        },
        "workplace_postcode": {
          "type": [
            "string",
            "null"
          ]
        },
        "skill_level": {
          "type": "string"
        }
      },
      "required": [
        "hourly_wage_chf",
        "hours_per_week",
        "wage_is_net",
        "vacation_weeks",
        "workplace_postcode",
        "skill_level"
      ],
      "additionalProperties": false
    },
    "monthly": {
      "type": "object",
      "properties": {
        "hours": {
          "type": "number"
        },
        "base_wage": {
          "type": "number",
          "description": "CHF"
        },
        "vacation_supplement": {
          "$ref": "#/properties/monthly/properties/base_wage"
        },
        "gross_wage": {
          "$ref": "#/properties/monthly/properties/base_wage"
        },
        "employee_deductions": {
          "type": "object",
          "properties": {
            "ahv_iv_eo": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "unemployment_alv": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "non_occupational_accident_nbu": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "family_allowance_fund_fak": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "geneva_maternity_amat": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "schaffhausen_sozialfonds": {
              "$ref": "#/properties/monthly/properties/base_wage",
              "description": "Schaffhausen only: employee share of the cantonal social fund (Sozialfonds, 0.04 % of the ALV wage)."
            },
            "withholding_tax": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "pension_fund_bvg": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "total": {
              "$ref": "#/properties/monthly/properties/base_wage"
            }
          },
          "required": [
            "ahv_iv_eo",
            "unemployment_alv",
            "non_occupational_accident_nbu",
            "family_allowance_fund_fak",
            "geneva_maternity_amat",
            "withholding_tax",
            "pension_fund_bvg",
            "total"
          ],
          "additionalProperties": false
        },
        "net_wage": {
          "$ref": "#/properties/monthly/properties/base_wage"
        },
        "employer_contributions": {
          "type": "object",
          "properties": {
            "ahv_iv_eo": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "unemployment_alv": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "occupational_accident_bu": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "family_allowance_fund_fak": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "geneva_maternity_amat": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "vaud_pc_familles": {
              "$ref": "#/properties/monthly/properties/base_wage",
              "description": "Vaud only: employer share of PC Familles (family supplementary benefits, LPCFam)."
            },
            "schaffhausen_sozialfonds": {
              "$ref": "#/properties/monthly/properties/base_wage",
              "description": "Schaffhausen only: employer share of the cantonal social fund (Sozialfonds, 0.08 % of the ALV wage)."
            },
            "pension_fund_bvg": {
              "$ref": "#/properties/monthly/properties/base_wage"
            },
            "total": {
              "$ref": "#/properties/monthly/properties/base_wage"
            }
          },
          "required": [
            "ahv_iv_eo",
            "unemployment_alv",
            "occupational_accident_bu",
            "family_allowance_fund_fak",
            "geneva_maternity_amat",
            "pension_fund_bvg",
            "total"
          ],
          "additionalProperties": false
        },
        "compensation_office_admin_fee_approx": {
          "$ref": "#/properties/monthly/properties/base_wage"
        },
        "total_employer_cost": {
          "type": "number",
          "description": "Gross wage + employer contributions + approximate admin fee of the compensation office. No service fee of any provider included."
        }
      },
      "required": [
        "hours",
        "base_wage",
        "vacation_supplement",
        "gross_wage",
        "employee_deductions",
        "net_wage",
        "employer_contributions",
        "compensation_office_admin_fee_approx",
        "total_employer_cost"
      ],
      "additionalProperties": false
    },
    "annual": {
      "type": "object",
      "properties": {
        "gross_wage": {
          "$ref": "#/properties/monthly/properties/base_wage"
        },
        "net_wage": {
          "$ref": "#/properties/monthly/properties/base_wage"
        },
        "total_employer_cost": {
          "$ref": "#/properties/monthly/properties/base_wage"
        }
      },
      "required": [
        "gross_wage",
        "net_wage",
        "total_employer_cost"
      ],
      "additionalProperties": false
    },
    "rates_percent": {
      "type": "object",
      "properties": {
        "ahv_iv_eo_each_side": {
          "type": "number"
        },
        "unemployment_alv_each_side": {
          "type": "number"
        },
        "family_allowance_fund_employer": {
          "type": "number"
        },
        "occupational_accident_employer": {
          "type": "number"
        },
        "non_occupational_accident_employee": {
          "type": "number"
        },
        "withholding_tax_simplified": {
          "type": "number"
        },
        "admin_fee_of_contributions": {
          "type": "number",
          "description": "The compensation office's admin fee rate for this annual wage, in % of the AHV/IV/EO contributions."
        },
        "admin_fee_is_upper_bound": {
          "type": "boolean",
          "description": "True where the office publishes only a ceiling of its wage-sum scale (Valais): the real rate can be lower."
        }
      },
      "required": [
        "ahv_iv_eo_each_side",
        "unemployment_alv_each_side",
        "family_allowance_fund_employer",
        "occupational_accident_employer",
        "non_occupational_accident_employee",
        "withholding_tax_simplified",
        "admin_fee_of_contributions",
        "admin_fee_is_upper_bound"
      ],
      "additionalProperties": false
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "assumptions": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "quote": {
            "type": "string",
            "description": "Verbatim sentence of the source that states the value."
          },
          "verified_on": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "url"
        ],
        "additionalProperties": false
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "calculator": {
          "type": "string"
        },
        "canton_guide": {
          "type": "string"
        }
      },
      "required": [
        "calculator",
        "canton_guide"
      ],
      "additionalProperties": false
    },
    "paperwork_help": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string",
          "const": "Clino"
        },
        "what": {
          "type": "string",
          "description": "What Clino prepares, in the requested language. The household signs, submits and pays itself."
        },
        "link": {
          "type": "string",
          "description": "Clino page explaining how it works."
        }
      },
      "required": [
        "provider",
        "what",
        "link"
      ],
      "additionalProperties": false,
      "description": "Only relevant when the user asks who can prepare the contract, registration and payslips for them. Not an answer to any other question."
    },
    "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": [
    "canton",
    "procedure",
    "procedure_note",
    "inputs",
    "monthly",
    "annual",
    "rates_percent",
    "warnings",
    "assumptions",
    "sources",
    "links",
    "paperwork_help",
    "rates_year",
    "data_verified_on",
    "disclaimer",
    "provider"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "estimate_employer_cost output",
  "x-source": "https://clino.ch/mcp (MCP tools/list, 2026-11-04, verbatim outputSchema)"
}