{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","description":"Acceptance report of a service, software or installation (Belgium): the deliverables examined, the tests, the parties' decision, the reservations and the signatures. Not for construction works (a separate template). The outcome is the parties' choice and is never derived from the tests; the template prints no effect of the acceptance.","additionalProperties":false,"required":["provider","client","report","contract","deliverables","outcome","signatures"],"properties":{"provider":{"type":"object","additionalProperties":false,"description":"The provider (company block; IBAN required: art. III.25, al. 2).","required":["name","enterprise_number","address","postal_code","commune","iban"],"properties":{"name":{"type":"string","description":"Name or company name of the enterprise."},"legal_form":{"type":"string","description":"Legal form (for example SRL, SA, BV), as the enterprise writes it; a sole trader leaves it blank."},"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)."},"address":{"type":"string","description":"Street and number of the registered office or domicile (Code of economic law art. III.25, al. 2)."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"rpm_court":{"type":"string","description":"Seat of the enterprise court named after the words RPM / RPR (legal persons only; CSA art. 2:20, 5°)."},"email":{"type":"string","description":"E-mail address."},"website":{"type":"string","description":"Website."},"phone":{"type":"string","description":"Telephone number."},"iban":{"type":"string","description":"IBAN of a payment account the enterprise holds (Code of economic law art. III.25, al. 2)."},"bic":{"type":"string","description":"BIC of that account."},"in_liquidation":{"type":"boolean","description":"true when the legal person is in liquidation (CSA art. 2:20, 7°); printed only when true."}}},"client":{"type":"object","additionalProperties":false,"description":"The client (company block; IBAN optional) and its representative.","required":["name","enterprise_number","address","postal_code","commune","representative_name"],"properties":{"name":{"type":"string","description":"Name or company name of the enterprise."},"legal_form":{"type":"string","description":"Legal form (for example SRL, SA, BV), as the enterprise writes it; a sole trader leaves it blank."},"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)."},"address":{"type":"string","description":"Street and number of the registered office or domicile (Code of economic law art. III.25, al. 2)."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"rpm_court":{"type":"string","description":"Seat of the enterprise court named after the words RPM / RPR (legal persons only; CSA art. 2:20, 5°)."},"email":{"type":"string","description":"E-mail address."},"website":{"type":"string","description":"Website."},"phone":{"type":"string","description":"Telephone number."},"iban":{"type":"string","description":"IBAN of a payment account the enterprise holds (Code of economic law art. III.25, al. 2)."},"bic":{"type":"string","description":"BIC of that account."},"in_liquidation":{"type":"boolean","description":"true when the legal person is in liquidation (CSA art. 2:20, 7°); printed only when true."},"representative_name":{"type":"string","description":"Name of the client's representative at the acceptance."},"representative_title":{"type":"string","description":"Capacity of that representative."}}},"report":{"type":"object","additionalProperties":false,"required":["number","date"],"properties":{"number":{"type":"string","description":"Number of the report."},"date":{"type":"string","format":"date","description":"Date of the report."},"place":{"type":"string","description":"Place of the acceptance."}}},"contract":{"type":"object","additionalProperties":false,"required":["reference"],"properties":{"reference":{"type":"string","description":"Reference of the contract or statement of work."},"date":{"type":"string","format":"date","description":"Date of signature of the contract or statement of work."}}},"deliverables":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["description"],"properties":{"id":{"type":"string","description":"Identifier of the deliverable."},"description":{"type":"string","description":"Description of the deliverable."},"criteria_reference":{"type":"string","description":"Reference to the acceptance criteria."}}},"minItems":1,"description":"The deliverables examined, one per item."},"tests":{"type":"array","items":{"type":"object","additionalProperties":false,"required":[],"properties":{"description":{"type":"string","description":"Test performed."},"result":{"type":"string","enum":["conforming","non_conforming","not_tested"],"description":"Result as the parties record it."},"remark":{"type":"string","description":"Remark."}}},"description":"The tests performed, one per item."},"outcome":{"type":"string","enum":["accepted","accepted_with_reservations","refused","partially_accepted"],"description":"The parties' decision (never derived from the tests)."},"reservations":{"type":"array","items":{"type":"object","additionalProperties":false,"required":["description","remedy","deadline"],"properties":{"description":{"type":"string","description":"Reservation."},"remedy":{"type":"string","description":"Remedy expected."},"deadline":{"type":"string","format":"date","description":"Deadline of the remedy."}}},"minItems":1,"description":"The reservations, one per item."},"partial":{"type":"object","additionalProperties":false,"required":["accepted_items"],"properties":{"accepted_items":{"type":"array","items":{"type":"string"},"minItems":1,"description":"The items accepted, one per item."}}},"handover":{"type":"object","additionalProperties":false,"required":[],"properties":{"documents":{"type":"array","items":{"type":"string"},"description":"Documents handed over, one per item."}}},"next_steps":{"type":"string","description":"Next steps, as the parties word them."},"signatures":{"type":"object","additionalProperties":false,"required":["provider_name","client_name","date"],"properties":{"originals":{"type":"integer","minimum":1,"description":"Number of originals signed (Civil Code art. 8.20)."},"provider_name":{"type":"string","description":"Name of the provider's signatory."},"provider_title":{"type":"string","description":"Capacity of the provider's signatory."},"client_name":{"type":"string","description":"Name of the client's signatory."},"client_title":{"type":"string","description":"Capacity of the client's signatory."},"date":{"type":"string","format":"date","description":"Date of signature."}}}},"allOf":[{"if":{"properties":{"outcome":{"enum":["accepted_with_reservations","refused"]}},"required":["outcome"]},"then":{"required":["reservations"]}},{"if":{"properties":{"outcome":{"const":"partially_accepted"}},"required":["outcome"]},"then":{"required":["partial"]}}]}