{"$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: no end date known at signature (duration of the 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."}}},"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"},"seat_region":{"type":"string","enum":["nl_region","fr_region","brussels","de_region"],"description":"Linguistic region of the operating seat of the employer (Flemish decree of 19 July 1973, decree of the French Community of 30 June 1982, coordinated laws of 18 July 1966, art. 52). Optional; when given it is compared with the language of the document and a warning is shown on a mismatch."},"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."},"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 (cause of the suspension of the contract)."},"absence_reason_other":{"type":"string","description":"Description if absence_reason = other."},"expected_return_date":{"type":"string","format":"date","description":"Expected return date, if known."}}},"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."},"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."}}},"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"}}}}}