{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Progress report - Rapport d'avancement / Voortgangsrapport (BE)","description":"The progress report of a project at the cadence the user chooses: company and optional client, project, report period, the manager's own status, summary, milestones with planned and forecast or actual dates, accomplishments, upcoming work, three budget amounts, optional metrics typed as strings, risks, blockers, decisions needed, change requests and the next report date. No variance, colour or cadence is computed or defaulted. 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","report","status","summary","accomplishments","upcoming"],"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"]},"client":{"type":"object","description":"The client, when the record concerns a contract.","additionalProperties":false,"properties":{"name":{"type":"string"},"enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Belgian enterprise number of the client, written 0123.456.789."},"address":{"type":"string"}},"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","manager"]},"report":{"type":"object","additionalProperties":false,"properties":{"date":{"type":"string","format":"date"},"period_start":{"type":"string","format":"date"},"period_end":{"type":"string","format":"date"},"cadence":{"type":"string"}},"required":["date","period_start","period_end"]},"status":{"type":"string","enum":["on_track","at_risk","delayed","completed"]},"summary":{"type":"string"},"milestones":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"planned_date":{"type":"string","format":"date"},"forecast_or_actual_date":{"type":"string","format":"date"},"status":{"type":"string","enum":["planned","done","late","at_risk"]}},"required":["name","status"]}},"accomplishments":{"type":"array","items":{"type":"string"},"minItems":1},"upcoming":{"type":"array","items":{"type":"string"},"minItems":1},"metrics":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string"},"value":{"type":"string"},"target":{"type":"string"}},"required":["name","value"]}},"budget":{"type":"object","additionalProperties":false,"properties":{"planned":{"type":["string","number"]},"spent":{"type":["string","number"]},"forecast":{"type":["string","number"]}}},"risks":{"type":"array","items":{"type":"object","additionalProperties":false,"properties":{"description":{"type":"string"},"severity":{"type":"string","enum":["low","medium","high"]},"mitigation":{"type":"string"}},"required":["description","severity"]}},"blockers":{"type":"array","items":{"type":"string"}},"decisions_needed":{"type":"array","items":{"type":"string"}},"change_requests":{"type":"array","items":{"type":"string"}},"next_report_date":{"type":"string","format":"date"},"notes":{"type":"string"}}}