{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","additionalProperties":false,"required":["contract","employer","employee","replaced_worker","joint_committee","work","compensation","applicable_law","signature"],"properties":{"contract":{"type":"object","additionalProperties":false,"required":["drafting_date","drafting_place","start_date","duration_type"],"properties":{"reference":{"type":"string"},"drafting_date":{"type":"string","format":"date"},"drafting_place":{"type":"string"},"start_date":{"type":"string","format":"date"},"duration_type":{"type":"string","enum":["fixed_term","open_ended"],"description":"fixed_term: end date known; open_ended: ends automatically when replaced worker returns (duration of absence uncertain)."},"end_date":{"type":"string","format":"date","description":"End date if duration_type = fixed_term."},"cumulative_replacement_months":{"type":"number","minimum":0,"maximum":24,"description":"Total cumulative months of replacement contracts for the same function with the same employer. Maximum 2 years (Art. 11ter §4)."}}},"employer":{"type":"object","additionalProperties":false,"required":["name","legal_form","registered_office","bce_number","vat_number","onss_number","represented_by"],"properties":{"name":{"type":"string"},"legal_form":{"type":"string"},"registered_office":{"type":"string"},"bce_number":{"type":"string","pattern":"^0[0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"vat_number":{"type":"string","pattern":"^BE0[0-9]{9}$"},"onss_number":{"type":"string"},"represented_by":{"type":"object","additionalProperties":false,"required":["name","title"],"properties":{"name":{"type":"string"},"title":{"type":"string"}}}}},"employee":{"type":"object","additionalProperties":false,"required":["surname","given_name","national_register_number","address"],"properties":{"surname":{"type":"string"},"given_name":{"type":"string"},"national_register_number":{"type":"string","pattern":"^[0-9]{2}\\.[0-9]{2}\\.[0-9]{2}-[0-9]{3}\\.[0-9]{2}$"},"address":{"type":"string"}}},"replaced_worker":{"type":"object","additionalProperties":false,"required":["surname","given_name","absence_reason"],"properties":{"surname":{"type":"string","description":"Surname of the replaced worker — mandatory per Art. 11ter §1."},"given_name":{"type":"string","description":"Given name of the replaced worker."},"absence_reason":{"type":"string","enum":["illness","maternity_leave","paternity_birth_leave","parental_leave","credit_temps","educational_leave","trade_union_leave","other"],"description":"Reason for the replaced worker's absence (Art. 11ter §1 — must be a legitimate cause of contract suspension)."},"absence_reason_other":{"type":"string","description":"Description if absence_reason = other."},"expected_return_date":{"type":"string","format":"date","description":"Expected return date if known. Contract ends automatically on actual return date regardless."}}},"joint_committee":{"type":"object","additionalProperties":false,"required":["number","name"],"properties":{"number":{"type":"string"},"name":{"type":"string"}}},"work":{"type":"object","additionalProperties":false,"required":["function_title","place_of_work","hours_per_week"],"properties":{"function_title":{"type":"string"},"function_description":{"type":"string"},"place_of_work":{"type":"string"},"hours_per_week":{"type":"number","exclusiveMinimum":0,"description":"Weekly working hours (same as replaced worker's contract)."},"schedule":{"type":"string"}}},"compensation":{"type":"object","additionalProperties":false,"required":["gross_monthly_salary_eur","payment_frequency"],"properties":{"gross_monthly_salary_eur":{"type":"number","exclusiveMinimum":0},"payment_frequency":{"type":"string","enum":["monthly","biweekly","weekly"]},"benefits":{"type":"array","items":{"type":"string"},"description":"List of benefits applicable to the replacement worker (same as replaced worker, pro-rata if applicable)."}}},"applicable_law":{"type":"object","additionalProperties":false,"required":["governing_law","competent_court"],"properties":{"governing_law":{"type":"string"},"competent_court":{"type":"string"}}},"signature":{"type":"object","additionalProperties":false,"required":["copies","mention_lu_et_approuve"],"properties":{"copies":{"type":"integer","minimum":2},"mention_lu_et_approuve":{"type":"boolean"}}}}}