{
  "type": "object",
  "properties": {
    "canton": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "name"
      ],
      "additionalProperties": false,
      "description": "The canton where the household lives: its compensation office collects the contributions."
    },
    "role": {
      "type": "string",
      "enum": [
        "cleaner",
        "nanny",
        "carer",
        "other"
      ]
    },
    "summary": {
      "type": "string",
      "description": "The plan, the cost, the wage check and the contract in a few sentences a person can read first."
    },
    "inputs": {
      "type": "object",
      "properties": {
        "hourly_wage_chf": {
          "type": "number"
        },
        "hours_per_week": {
          "type": "number"
        },
        "role": {
          "type": "string",
          "enum": [
            "cleaner",
            "nanny",
            "carer",
            "other"
          ]
        },
        "start_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "worker_age": {
          "type": [
            "number",
            "null"
          ]
        },
        "workplace_postcode": {
          "type": [
            "string",
            "null"
          ]
        },
        "skill_level": {
          "type": "string",
          "enum": [
            "unskilled",
            "experienced",
            "eba",
            "efz"
          ]
        },
        "vacation_weeks": {
          "type": "number",
          "description": "Paid vacation weeks the cost prices: the contract terms' entitlement for this worker."
        }
      },
      "required": [
        "hourly_wage_chf",
        "hours_per_week",
        "role",
        "start_date",
        "worker_age",
        "workplace_postcode",
        "skill_level",
        "vacation_weeks"
      ],
      "additionalProperties": false
    },
    "plan": {
      "type": "object",
      "properties": {
        "before_day_one": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "step": {
                "type": "number"
              },
              "title": {
                "type": "string"
              },
              "detail": {
                "type": "string",
                "description": "What to do, in the requested language (Clino's fact sheet wording)."
              },
              "applies": {
                "type": "boolean",
                "description": "false when this step does not apply to this household, with the reason in why."
              },
              "why": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "due_date": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "ISO date the step is due, when a start date was given and the step has a deadline."
              },
              "link": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "step",
              "title",
              "detail",
              "applies",
              "why",
              "due_date",
              "link"
            ],
            "additionalProperties": false
          },
          "description": "Before the first working day: contract, accident insurance, and the pension fund and sickness insurance where they apply."
        },
        "first_month": {
          "type": "array",
          "items": {
            "$ref": "#/properties/plan/properties/before_day_one/items"
          },
          "description": "In the first month: registration with the compensation office (30 days) and the first payslip."
        },
        "yearly": {
          "type": "array",
          "items": {
            "$ref": "#/properties/plan/properties/before_day_one/items"
          },
          "description": "Every year: the annual wage declaration by 30 January."
        }
      },
      "required": [
        "before_day_one",
        "first_month",
        "yearly"
      ],
      "additionalProperties": false,
      "description": "The steps of get_hiring_checklist, grouped by when they are due. A step with applies false does not apply to this household; why says so."
    },
    "checks": {
      "type": "object",
      "properties": {
        "procedure": {
          "type": "string",
          "enum": [
            "simplified",
            "ordinary"
          ]
        },
        "non_occupational_accident_insurance": {
          "type": "boolean",
          "description": "true from 8 hours a week: the worker is also insured for accidents outside work (premium deducted from her wage)."
        },
        "sickness_insurance_ktg": {
          "type": "object",
          "properties": {
            "outcome": {
              "type": "string",
              "enum": [
                "required",
                "optional",
                "exempt",
                "none",
                "not_audited"
              ]
            },
            "exempt_because": {
              "type": [
                "string",
                "null"
              ]
            },
            "legal_basis": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "outcome",
            "exempt_because",
            "legal_basis"
          ],
          "additionalProperties": false
        },
        "pension_fund_bvg": {
          "type": "boolean",
          "description": "true when the annual wage passes the BVG entry threshold, so the worker must be insured in a pension fund."
        },
        "registration_window": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "deadline": {
                  "type": "string"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "not_started",
                    "open",
                    "closing",
                    "elapsed"
                  ]
                },
                "days_left": {
                  "type": "number"
                }
              },
              "required": [
                "deadline",
                "status",
                "days_left"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ],
          "description": "Only with a start date. 'elapsed' is a fact to raise with the compensation office, which can still accept a late registration."
        }
      },
      "required": [
        "procedure",
        "non_occupational_accident_insurance",
        "sickness_insurance_ktg",
        "pension_fund_bvg",
        "registration_window"
      ],
      "additionalProperties": false
    },
    "cost": {
      "type": "object",
      "properties": {
        "procedure": {
          "type": "string",
          "enum": [
            "simplified",
            "ordinary"
          ]
        },
        "procedure_note": {
          "type": "string"
        },
        "monthly": {
          "type": "object",
          "properties": {
            "hours": {
              "type": "number"
            },
            "base_wage": {
              "type": "number",
              "description": "CHF"
            },
            "vacation_supplement": {
              "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
            },
            "gross_wage": {
              "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
            },
            "employee_deductions": {
              "type": "object",
              "properties": {
                "ahv_iv_eo": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "unemployment_alv": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "non_occupational_accident_nbu": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "family_allowance_fund_fak": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "geneva_maternity_amat": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "schaffhausen_sozialfonds": {
                  "$ref": "#/properties/cost/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/cost/properties/monthly/properties/base_wage"
                },
                "pension_fund_bvg": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "total": {
                  "$ref": "#/properties/cost/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/cost/properties/monthly/properties/base_wage"
            },
            "employer_contributions": {
              "type": "object",
              "properties": {
                "ahv_iv_eo": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "unemployment_alv": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "occupational_accident_bu": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "family_allowance_fund_fak": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "geneva_maternity_amat": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
                },
                "vaud_pc_familles": {
                  "$ref": "#/properties/cost/properties/monthly/properties/base_wage",
                  "description": "Vaud only: employer share of PC Familles (family supplementary benefits, LPCFam)."
                },
                "schaffhausen_sozialfonds": {
                  "$ref": "#/properties/cost/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/cost/properties/monthly/properties/base_wage"
                },
                "total": {
                  "$ref": "#/properties/cost/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/cost/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/cost/properties/monthly/properties/base_wage"
            },
            "net_wage": {
              "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
            },
            "total_employer_cost": {
              "$ref": "#/properties/cost/properties/monthly/properties/base_wage"
            }
          },
          "required": [
            "gross_wage",
            "net_wage",
            "total_employer_cost"
          ],
          "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"
          }
        }
      },
      "required": [
        "procedure",
        "procedure_note",
        "monthly",
        "annual",
        "warnings",
        "assumptions"
      ],
      "additionalProperties": false
    },
    "minimum_wage": {
      "type": "object",
      "properties": {
        "skill_level": {
          "type": "string"
        },
        "binding_floor_chf_per_hour": {
          "type": [
            "number",
            "null"
          ],
          "description": "The gross hourly minimum that binds for the given hours (from 5 h/week if no hours were given). null = no statutory floor binds at these hours."
        },
        "floor_from_5h_per_week_chf": {
          "type": "number"
        },
        "floor_under_5h_per_week_chf": {
          "type": [
            "number",
            "null"
          ]
        },
        "floor_type": {
          "type": "string",
          "enum": [
            "municipal",
            "cantonal",
            "federal_nav"
          ]
        },
        "federal_nav_chf": {
          "type": "number"
        },
        "cantonal_minimum_wage_chf": {
          "type": [
            "number",
            "null"
          ]
        },
        "city_minimum_in_force": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "chf": {
                  "type": "number"
                }
              },
              "required": [
                "name",
                "chf"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "city_minimum_uncertain": {
          "type": "boolean",
          "description": "true when the canton has a city minimum but the workplace postcode was not given or straddles a boundary: the floor may be higher."
        },
        "city_minimum_voted_not_in_force": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "chf": {
                  "type": "number"
                },
                "court_refs": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "name",
                "chf",
                "court_refs"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "explanation": {
          "type": "string"
        },
        "notes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "status": {
          "type": "string",
          "enum": [
            "ok",
            "below_minimum",
            "no_binding_floor"
          ],
          "description": "below_minimum: the gross hourly wage (without the vacation supplement) is below the floor that binds at these hours. The package still answers; the wage has to be raised."
        },
        "gross_hourly_wage_chf": {
          "type": "number"
        }
      },
      "required": [
        "skill_level",
        "binding_floor_chf_per_hour",
        "floor_from_5h_per_week_chf",
        "floor_under_5h_per_week_chf",
        "floor_type",
        "federal_nav_chf",
        "cantonal_minimum_wage_chf",
        "city_minimum_in_force",
        "city_minimum_uncertain",
        "city_minimum_voted_not_in_force",
        "explanation",
        "notes",
        "status",
        "gross_hourly_wage_chf"
      ],
      "additionalProperties": false
    },
    "contract_terms": {
      "type": "object",
      "properties": {
        "canton": {
          "type": "object",
          "properties": {
            "code": {
              "$ref": "#/properties/canton/properties/code"
            },
            "name": {
              "$ref": "#/properties/canton/properties/name"
            }
          },
          "required": [
            "code",
            "name"
          ],
          "additionalProperties": false,
          "description": "The canton whose standard employment contract governs (the workplace)."
        },
        "summary": {
          "type": "string",
          "description": "Two or three sentences a person can read first."
        },
        "governing_rules": {
          "type": "object",
          "properties": {
            "instrument": {
              "type": [
                "string",
                "null"
              ],
              "description": "Official title of the canton's standard employment contract for household work (NAV / CTT / CNL), or null where none governs this relationship and only the Code of Obligations applies."
            },
            "short_name": {
              "type": [
                "string",
                "null"
              ]
            },
            "reference": {
              "type": [
                "string",
                "null"
              ]
            },
            "url": {
              "type": [
                "string",
                "null"
              ]
            },
            "verified_on": {
              "type": [
                "string",
                "null"
              ]
            },
            "binding": {
              "type": "string",
              "enum": [
                "imperative",
                "dispositive",
                "mixed",
                "no_worsening",
                "code_of_obligations"
              ]
            },
            "explanation": {
              "type": "string",
              "description": "What binding means for the contract: which terms a written contract may change."
            }
          },
          "required": [
            "instrument",
            "short_name",
            "reference",
            "url",
            "verified_on",
            "binding",
            "explanation"
          ],
          "additionalProperties": false
        },
        "terms": {
          "type": "object",
          "properties": {
            "probation": {
              "type": "object",
              "properties": {
                "length": {
                  "type": "string",
                  "description": "e.g. '1 month' or '2 weeks'."
                },
                "notice_days": {
                  "type": "number",
                  "description": "Notice during probation, in calendar days."
                },
                "ends_on": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Last day of the probation, when a start date was given."
                },
                "legal_basis": {
                  "type": "string",
                  "description": "Article and instrument the value comes from, or the Code of Obligations article where the canton's contract is silent."
                },
                "quote": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Verbatim sentence of the instrument that states the value; null where the Code of Obligations applies."
                }
              },
              "required": [
                "length",
                "notice_days",
                "ends_on",
                "legal_basis",
                "quote"
              ],
              "additionalProperties": false
            },
            "notice_after_probation": {
              "type": "object",
              "properties": {
                "steps": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "from_service_year": {
                        "type": "number"
                      },
                      "months": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "from_service_year",
                      "months"
                    ],
                    "additionalProperties": false
                  },
                  "description": "Notice in months to the end of a month, by service year (1 = first year)."
                },
                "live_in_months": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "legal_basis": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                },
                "quote": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                }
              },
              "required": [
                "steps",
                "live_in_months",
                "legal_basis",
                "quote"
              ],
              "additionalProperties": false
            },
            "vacation": {
              "type": "object",
              "properties": {
                "weeks": {
                  "type": "number",
                  "description": "Paid vacation weeks a year for this worker (with worker_age; else the adult base)."
                },
                "rules": {
                  "type": "string",
                  "description": "The full scale: base, under 20 and any age or service steps."
                },
                "legal_basis": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                },
                "quote": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                }
              },
              "required": [
                "weeks",
                "rules",
                "legal_basis",
                "quote"
              ],
              "additionalProperties": false
            },
            "full_time_week_hours": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "hours": {
                      "type": "number"
                    },
                    "legal_basis": {
                      "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                    },
                    "quote": {
                      "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                    }
                  },
                  "required": [
                    "hours",
                    "legal_basis",
                    "quote"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ],
              "description": "Normal full-time week under the instrument; null where it sets none."
            },
            "overtime": {
              "type": "object",
              "properties": {
                "supplement_percent": {
                  "type": "number"
                },
                "time_off_instead": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "hourly_cleaners_exempt": {
                  "type": "boolean"
                },
                "no_supplement_exception": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "rule": {
                          "type": "string"
                        },
                        "legal_basis": {
                          "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                        },
                        "quote": {
                          "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                        }
                      },
                      "required": [
                        "rule",
                        "legal_basis",
                        "quote"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Hours on which the instrument itself owes no overtime supplement (ZH/OW part-time staff, UR part-timers, LU 43rd to 45th hour); null where supplement_percent applies to every hour above the contract."
                },
                "legal_basis": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                },
                "quote": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                }
              },
              "required": [
                "supplement_percent",
                "time_off_instead",
                "hourly_cleaners_exempt",
                "no_supplement_exception",
                "legal_basis",
                "quote"
              ],
              "additionalProperties": false
            },
            "night_work": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "from": {
                      "type": "string"
                    },
                    "to": {
                      "type": "string"
                    },
                    "supplement_percent": {
                      "type": "number"
                    },
                    "applies_to": {
                      "type": "string"
                    },
                    "legal_basis": {
                      "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                    },
                    "quote": {
                      "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                    }
                  },
                  "required": [
                    "from",
                    "to",
                    "supplement_percent",
                    "applies_to",
                    "legal_basis",
                    "quote"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "sunday_and_public_holiday_work": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "supplement_percent": {
                      "type": "number"
                    },
                    "legal_basis": {
                      "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                    },
                    "quote": {
                      "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                    }
                  },
                  "required": [
                    "supplement_percent",
                    "legal_basis",
                    "quote"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "paid_public_holidays": {
              "type": "object",
              "properties": {
                "days": {
                  "type": "number"
                },
                "legal_basis": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                },
                "quote": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                }
              },
              "required": [
                "days",
                "legal_basis",
                "quote"
              ],
              "additionalProperties": false
            },
            "thirteenth_month_mandatory": {
              "type": "object",
              "properties": {
                "mandatory": {
                  "type": "boolean"
                },
                "legal_basis": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "quote": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                }
              },
              "required": [
                "mandatory",
                "legal_basis",
                "quote"
              ],
              "additionalProperties": false
            },
            "hours_register": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "employer_duty": {
                      "type": "boolean"
                    },
                    "detail": {
                      "type": "string"
                    },
                    "legal_basis": {
                      "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                    },
                    "quote": {
                      "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                    }
                  },
                  "required": [
                    "employer_duty",
                    "detail",
                    "legal_basis",
                    "quote"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "maternity_leave_weeks": {
              "type": "object",
              "properties": {
                "weeks": {
                  "type": "number"
                },
                "legal_basis": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/legal_basis"
                },
                "quote": {
                  "$ref": "#/properties/contract_terms/properties/terms/properties/probation/properties/quote"
                }
              },
              "required": [
                "weeks",
                "legal_basis",
                "quote"
              ],
              "additionalProperties": false
            },
            "sick_pay": {
              "type": "object",
              "properties": {
                "first_service_year_days": {
                  "type": "number"
                },
                "scale": {
                  "type": "string"
                },
                "legal_basis": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                }
              },
              "required": [
                "first_service_year_days",
                "scale",
                "legal_basis",
                "url"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "probation",
            "notice_after_probation",
            "vacation",
            "full_time_week_hours",
            "overtime",
            "night_work",
            "sunday_and_public_holiday_work",
            "paid_public_holidays",
            "thirteenth_month_mandatory",
            "hours_register",
            "maternity_leave_weeks",
            "sick_pay"
          ],
          "additionalProperties": false
        },
        "written_terms": {
          "type": "object",
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "deadline": {
              "type": "string"
            },
            "legal_basis": {
              "type": "string"
            }
          },
          "required": [
            "items",
            "deadline",
            "legal_basis"
          ],
          "additionalProperties": false,
          "description": "What the employer must confirm in writing even without a signed contract."
        }
      },
      "required": [
        "canton",
        "summary",
        "governing_rules",
        "terms",
        "written_terms"
      ],
      "additionalProperties": false
    },
    "compensation_office": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "website": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "website",
        "phone"
      ],
      "additionalProperties": false
    },
    "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": {
        "contract_generator": {
          "type": "string",
          "description": "Clino's free contract generator for this role, prefilled with the figures (no personal data in the link)."
        },
        "calculator": {
          "type": "string"
        },
        "canton_guide": {
          "type": "string"
        }
      },
      "required": [
        "contract_generator",
        "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."
        },
        "covers_steps": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "The step numbers above that Clino prepares."
        }
      },
      "required": [
        "provider",
        "what",
        "link",
        "covers_steps"
      ],
      "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",
    "role",
    "summary",
    "inputs",
    "plan",
    "checks",
    "cost",
    "minimum_wage",
    "contract_terms",
    "compensation_office",
    "sources",
    "links",
    "paperwork_help",
    "rates_year",
    "data_verified_on",
    "disclaimer",
    "provider"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "get_employment_package output",
  "x-source": "https://clino.ch/mcp (MCP tools/list, 2026-11-04, verbatim outputSchema)"
}