{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Project risk register - Registre des risques du projet / Projectrisicoregister (BE)","description":"The risk register of a project: company, project, as-of date, the company's own scale (likelihood and impact maxima), risks with category, likelihood, impact, a severity typed by the user, trigger, response, mitigation, contingency, owner, status, residual values and review date, escalations and the register owner. No severity, count, colour band or review cadence is computed or defaulted; it is not the occupational risk analysis. Internal by default; when shared_with_client is true the enterprise number and a payment account of the company are required (CDE art. III.25).","type":"object","additionalProperties":false,"required":["company","project","register","scale","risks","register_owner"],"properties":{"company":{"type":"object","description":"The enterprise that keeps the record. Internal by default; the CDE art. III.25 mentions are required when shared_with_client is true.","additionalProperties":false,"properties":{"name":{"type":"string"},"legal_form":{"type":"string","description":"Legal form (for example SRL, SA, SC), as the enterprise writes it."},"address":{"type":"string","description":"Seat address as the enterprise writes it."},"enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789."},"vat_number":{"type":"string","pattern":"^BE[01][0-9]{9}$","description":"Belgian VAT number, written BE0123456789 (leave out if the enterprise has none)."},"rpm_court":{"type":"string","description":"Court of the seat for the RPM / RPR mention."},"in_liquidation":{"type":"boolean","description":"Prints 'in liquidation' only when true."},"iban":{"type":"string","description":"IBAN of a payment account the enterprise holds (Code of economic law art. III.25, al. 2)."}},"required":["name"]},"shared_with_client":{"type":"boolean","description":"Whether the record is handed to the client. When true the CDE art. III.25 mentions of the enterprise are required."},"project":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"code":{"type":"string"},"manager":{"type":"string"}},"required":["name","code","manager"]},"register":{"type":"object","additionalProperties":false,"properties":{"as_of":{"type":"string","format":"date"}},"required":["as_of"]},"scale":{"type":"object","additionalProperties":false,"properties":{"likelihood_max":{"type":"integer","minimum":1},"impact_max":{"type":"integer","minimum":1},"note":{"type":"string"}},"required":["likelihood_max","impact_max"]},"risks":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"description":{"type":"string"},"category":{"type":"string","enum":["technical","financial","resource","schedule","external","regulatory","other"]},"likelihood":{"type":"integer","minimum":1},"impact":{"type":"integer","minimum":1},"severity":{"type":"number","minimum":0},"trigger":{"type":"string"},"response":{"type":"string","enum":["avoid","reduce","transfer","accept"]},"mitigation":{"type":"string"},"contingency":{"type":"string"},"owner":{"type":"string"},"status":{"type":"string","enum":["open","mitigating","accepted","closed"]},"residual_likelihood":{"type":"integer","minimum":1},"residual_impact":{"type":"integer","minimum":1},"review_date":{"type":"string","format":"date"}},"required":["id","description","category","likelihood","impact","mitigation","owner","status"]},"minItems":1},"escalations":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"risk_id":{"type":"string"},"to":{"type":"string"},"date":{"type":"string","format":"date"},"reason":{"type":"string"}},"required":["risk_id","to","date"]}},"register_owner":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"title":{"type":"string"}},"required":["name","title"]}}}