{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","additionalProperties":false,"required":["contract","employer","employee","joint_committee","work","schedule","compensation","applicable_law","signature"],"properties":{"contract":{"type":"object","additionalProperties":false,"required":["start_date","drafting_date","drafting_place"],"properties":{"reference":{"type":"string"},"start_date":{"type":"string","format":"date","description":"Date of commencement of employment."},"drafting_date":{"type":"string","format":"date"},"drafting_place":{"type":"string"},"type":{"type":"string","enum":["cdi","cdd"],"description":"Contract type: indefinite (CDI) or fixed-term (CDD)."},"end_date":{"type":"string","format":"date","description":"End date if CDD."},"schedule_published_date":{"type":"string","format":"date","description":"Date on which the written schedule was published or communicated."}}},"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"}}},"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"],"properties":{"function_title":{"type":"string"},"function_description":{"type":"string"},"place_of_work":{"type":"string"},"department":{"type":"string"}}},"schedule":{"type":"object","additionalProperties":false,"required":["hours_per_week","full_time_reference_hours","schedule_type","weekly_schedule"],"properties":{"hours_per_week":{"type":"number","exclusiveMinimum":0,"description":"Contractual weekly hours."},"full_time_reference_hours":{"type":"number","description":"Full-time reference hours per week in the company. Used to determine the part-time fraction."},"schedule_type":{"type":"string","enum":["fixed","variable"],"description":"Fixed schedule (horaire fixe): specific days and hours stated. Variable schedule (horaire variable): minimum/maximum hours per day/week with reference period."},"weekly_schedule":{"type":"array","description":"Weekly working schedule: each working day with start and end times.","items":{"type":"object","additionalProperties":false,"required":["day","start_time","end_time"],"properties":{"day":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"start_time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$"},"end_time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$"},"break_minutes":{"type":"integer","minimum":0,"description":"Break duration in minutes."}}}},"variable_min_hours_per_day":{"type":"number","minimum":0,"description":"Minimum daily hours for variable schedules."},"variable_max_hours_per_week":{"type":"number","minimum":0,"description":"Maximum weekly hours for variable schedules."}}},"compensation":{"type":"object","additionalProperties":false,"required":["gross_monthly_salary_eur","payment_frequency"],"properties":{"gross_monthly_salary_eur":{"type":"number","exclusiveMinimum":0,"description":"Gross monthly salary in EUR."},"full_time_equivalent_salary_eur":{"type":"number","exclusiveMinimum":0,"description":"Full-time equivalent gross monthly salary for reference."},"payment_frequency":{"type":"string","enum":["monthly","biweekly","weekly"]},"meal_vouchers":{"type":"boolean","description":"Whether the employee receives meal vouchers."}}},"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"}}}}}