{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","title":"Internal report of an accident, incident or near miss","description":"The employer's internal record of any accident, incident or near miss, with or without incapacity for work. Not the work accident sheet of art. I.6-12 and not the insurer's declaration. Nothing is computed, qualified or defaulted.","additionalProperties":false,"required":["document","report_id","employer","event","immediate_actions","reported_by","reported_on"],"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)."}}},"report_id":{"type":"string","minLength":1,"description":"Identifier of the report."},"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."}}},"event":{"type":"object","additionalProperties":false,"required":["date","location","type","description","circumstances"],"properties":{"date":{"type":"string","format":"date","description":"Date of the event."},"time":{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$","description":"Time of the event, HH:MM (optional)."},"location":{"type":"string","minLength":1,"description":"Place where the event happened."},"type":{"type":"string","enum":["accident_with_incapacity","accident_without_incapacity","first_aid_only","near_miss","dangerous_situation","material_damage","other"],"description":"Kind of event as stated by the user."},"description":{"type":"string","minLength":1,"description":"Description of the event."},"circumstances":{"type":"string","minLength":1,"description":"Detailed circumstances of the event."},"deviation":{"type":"string","description":"What departed from the normal course of the work (optional)."},"material_agent":{"type":"string","description":"The material agent involved (optional)."}}},"persons":{"type":"array","description":"Persons involved (optional).","items":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1,"description":"Name of the person involved."},"status":{"type":"string","enum":["worker","temporary_worker","contractor","trainee","third_party"],"description":"Capacity of the person (optional)."},"function":{"type":"string","description":"Function of the person (optional)."},"injured":{"type":"boolean","description":"Whether the person was injured (optional)."},"injury_description":{"type":"string","description":"Description of the injury (optional)."}}}},"witnesses":{"type":"array","description":"Witnesses (optional).","items":{"type":"string","minLength":1,"description":"Name of a witness."}},"first_aid":{"type":"object","additionalProperties":false,"properties":{"given":{"type":"boolean","description":"Whether first aid was given (optional)."},"register_reference":{"type":"string","description":"Reference of the entry in the first-aid register (optional)."},"by":{"type":"string","description":"Who gave first aid (optional)."}}},"consequences":{"type":"object","additionalProperties":false,"properties":{"incapacity_expected":{"type":"string","enum":["none","yes","unknown"],"description":"Whether an incapacity for work is expected, as stated by the user (optional)."},"incapacity_days_stated":{"type":"integer","minimum":0,"description":"Number of days of incapacity, as stated by the user (optional)."},"serious_accident_stated":{"type":"string","enum":["yes","no","unknown"],"description":"The user's own qualification of the accident as serious (art. I.6-2) (optional)."},"insurer_declared":{"type":"string","enum":["yes","no","not_applicable"],"description":"Whether the accident was declared to the insurer (optional)."},"insurer_declared_on":{"type":"string","format":"date","description":"Date of the declaration to the insurer (optional)."}}},"causes":{"type":"object","additionalProperties":false,"properties":{"primary":{"type":"string","description":"Primary causes found (optional)."},"secondary":{"type":"string","description":"Secondary causes found (optional)."},"tertiary":{"type":"string","description":"Tertiary causes found (optional)."},"psychosocial":{"type":"string","description":"Other causes found, including psychosocial causes (optional)."}}},"immediate_actions":{"type":"string","minLength":1,"description":"Immediate actions taken."},"measures":{"type":"array","description":"Corrective or preventive measures (optional).","items":{"type":"object","additionalProperties":false,"required":["description"],"properties":{"description":{"type":"string","minLength":1,"description":"The measure."},"owner":{"type":"string","description":"Person or function in charge of the measure (optional)."},"deadline":{"type":"string","format":"date","description":"Date by which the measure is planned (optional)."},"status":{"type":"string","enum":["planned","done"],"description":"Status of the measure as stated by the user (optional)."}}}},"prevention_adviser":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"Name of the prevention adviser (optional)."},"opinion":{"type":"string","description":"Opinion of the prevention adviser (optional)."}}},"report_copies_sent_to":{"type":"array","description":"Persons to whom a copy of the report was sent (optional).","items":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1,"description":"Name of the person sent a copy of the report."},"role":{"type":"string","description":"Role of that person (optional)."}}}},"reported_by":{"type":"object","additionalProperties":false,"required":["name","title"],"properties":{"name":{"type":"string","minLength":1,"description":"Name of the person who reports."},"title":{"type":"string","minLength":1,"description":"Function of that person."}}},"reported_on":{"type":"string","format":"date","description":"Date of the report."},"closed_on":{"type":"string","format":"date","description":"Date on which the file was closed (optional)."},"notes":{"type":"string","description":"Free remarks (optional)."}}}