{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","title":"Register of third-party facts","description":"The register of third-party facts of art. I.3-3 par. 1 of the Code on well-being at work: one entry per declaration of a worker. The worker's identity is printed only when he consented and it was given. Nothing is computed or defaulted.","additionalProperties":false,"required":["document","employer","keeper","declarations"],"properties":{"document":{"type":"object","additionalProperties":false,"required":["place","date"],"properties":{"place":{"type":"string","minLength":1,"description":"Place where the document is drawn up."},"date":{"type":"string","format":"date","description":"Date of the document."},"reference":{"type":"string","description":"Internal reference of the document (optional)."}}},"employer":{"type":"object","additionalProperties":false,"required":["name","address"],"properties":{"name":{"type":"string","minLength":1,"description":"Name of the employer."},"address":{"type":"string","minLength":1,"description":"Address of the employer."},"enterprise_number":{"type":"string","description":"Belgian enterprise number (BCE / KBO) of the employer (optional)."},"seat_region":{"type":"string","enum":["nl_region","fr_region","brussels","de_region"],"description":"Linguistic region of the employer's operating seat (optional): Dutch-language region, French-language region, Brussels-Capital or German-language region. Nothing is compared with it."}}},"keeper":{"type":"object","additionalProperties":false,"required":["role","name"],"properties":{"role":{"type":"string","enum":["confidential_person","psychosocial_prevention_adviser","internal_service_prevention_adviser"],"description":"Who keeps the register."},"name":{"type":"string","minLength":1,"description":"Name of the keeper."}}},"declarations":{"type":"array","minItems":1,"description":"One entry per declaration of a worker.","items":{"type":"object","additionalProperties":false,"required":["recorded_on","facts_dates","facts_types","description","worker_identity_disclosed"],"properties":{"recorded_on":{"type":"string","format":"date","description":"Date on which the worker's declaration was recorded."},"facts_dates":{"type":"string","minLength":1,"description":"Date or dates of the facts, as the worker states them (text, for example a day or a period)."},"facts_date_first":{"type":"string","format":"date","description":"First date of the facts (optional), used only for the date-order warning."},"facts_types":{"type":"array","minItems":1,"description":"Kind of facts declared: violence, moral harassment, sexual harassment.","items":{"type":"string","enum":["violence","moral_harassment","sexual_harassment"],"description":"Kind of facts."}},"description":{"type":"string","minLength":1,"description":"Description of the facts of violence, moral or sexual harassment caused by another person."},"third_party_category":{"type":"string","description":"Category of the third party: client, supplier, patient, pupil, member of the public... (optional)."},"third_party_description":{"type":"string","description":"Description of the third party (optional, personal data)."},"location":{"type":"string","description":"Place of the facts (optional)."},"worker_identity_disclosed":{"type":"boolean","description":"Whether the worker accepts that his identity is stated in the register."},"worker_name":{"type":"string","minLength":1,"description":"Name of the worker, only if he accepted (optional)."},"measures":{"type":"string","description":"Measures taken or proposed (optional)."},"recorded_by":{"type":"string","description":"Who recorded the declaration: the keeper or the worker himself (optional)."}}}},"notes":{"type":"string","description":"Free remarks (optional)."}}}