{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","description":"Acceptance report of construction works (Belgium), provisional, final or single reception: the original contract and its signature date (which selects the legal regime), the visit and its attendees, the outcome chosen by the parties (never derived), the reserves with their status, the documents handed over (updated safety and health plan, coordination journal, subsequent-intervention file), the effects exactly as the parties state them, insurance mentions and signatures. Nothing is computed: no date, no effect and no outcome is derived.","additionalProperties":false,"required":["report","contract","client","contractor","site","works","attendees","signatures","outcome"],"properties":{"report":{"type":"object","additionalProperties":false,"required":["stage","date"],"properties":{"stage":{"type":"string","enum":["provisional","final","single"],"description":"Stage of the reception: provisional, final or single."},"date":{"type":"string","format":"date","description":"Date of the reception visit and of the report."},"place":{"type":"string","description":"Place of the reception."},"number":{"type":"string","description":"Number of the report."},"provisional_date":{"type":"string","format":"date","description":"Date of the provisional reception."}},"description":"The report: stage, date, place, number."},"contract":{"type":"object","additionalProperties":false,"required":["reference","signed_on"],"properties":{"reference":{"type":"string","description":"Reference of the works contract."},"signed_on":{"type":"string","format":"date","description":"Date the ORIGINAL works contract was signed: it selects the legal regime (old Civil Code before 1 September 2027, Book 7 from that date)."},"breyne_applies":{"type":"string","enum":["yes","no","unknown"],"description":"Whether the Breyne law (law of 9 July 1971) applies to the contract: the user's answer, never derived."}},"description":"The ORIGINAL works contract: reference, signature date (selects the regime), Breyne answer."},"client":{"type":"object","additionalProperties":false,"required":["kind","name","address"],"properties":{"kind":{"type":"string","enum":["enterprise","public_body","consumer"],"description":"Kind of client: enterprise, public body or consumer (asked first; the template selects its presentation from it)."},"name":{"type":"string","description":"Name of the client (company name, public body or consumer)."},"legal_form":{"type":"string","description":"Legal form of an enterprise client."},"enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Belgian enterprise number of an enterprise or public-body client."},"vat_number":{"type":"string","pattern":"^BE[01][0-9]{9}$","description":"Belgian VAT number of the client."},"address":{"type":"string","description":"Street and number of the client."},"postal_code":{"type":"string","description":"Postal code of the client."},"commune":{"type":"string","description":"Municipality of the client."},"email":{"type":"string","description":"E-mail address of the client."}},"description":"The client: an enterprise, a public body or a consumer."},"contractor":{"type":"object","additionalProperties":false,"required":["name","enterprise_number","address","postal_code","commune","iban"],"properties":{"name":{"type":"string","description":"Name or company name of the contractor."},"legal_form":{"type":"string","description":"Legal form, as written by the enterprise; 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."},"address":{"type":"string","description":"Street and number of the seat (domiciliation)."},"postal_code":{"type":"string","description":"Postal code of the seat."},"commune":{"type":"string","description":"Municipality of the seat."},"rpm_court":{"type":"string","description":"Seat of the enterprise court named after RPM / RPR (legal persons only)."},"in_liquidation":{"type":"boolean","description":"True when the legal person is in liquidation; printed only when true."},"iban":{"type":"string","description":"IBAN of a payment account the contractor holds (CDE art. III.25, al. 2)."},"bic":{"type":"string","description":"BIC of that account."},"email":{"type":"string","description":"E-mail address of the contractor."},"phone":{"type":"string","description":"Telephone number of the contractor."},"seat_region":{"type":"string","enum":["nl_region","fr_region","brussels","de_region"],"description":"Linguistic region of the contractor's operating seat (optional): Dutch-language region, French-language region, Brussels-Capital or German-language region."}},"description":"The contractor (company block; IBAN required: CDE art. III.25, al. 2)."},"site":{"type":"object","additionalProperties":false,"required":["address"],"properties":{"address":{"type":"string","description":"Address of the site."}},"description":"The site."},"works":{"type":"object","additionalProperties":false,"required":["description"],"properties":{"description":{"type":"string","description":"Description of the works received."}},"description":"The works received."},"architect":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the architect."}},"description":"The architect (optional)."},"coordinator":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the coordinator."}},"description":"The safety and health coordinator (optional)."},"attendees":{"type":"array","description":"People present at the reception visit.","items":{"type":"object","additionalProperties":false,"required":["name","role"],"properties":{"name":{"type":"string","description":"Name of the person present."},"role":{"type":"string","description":"Role of the person (client, architect, contractor, coordinator...)."},"organisation":{"type":"string","description":"Organisation of the person."}},"description":"People present at the reception visit."}},"outcome":{"type":"string","enum":["accepted_without_reserve","accepted_with_reserves","refused","postponed"],"description":"Outcome of the reception, chosen by the parties."},"refusal":{"type":"object","additionalProperties":false,"required":["reasons"],"properties":{"reasons":{"type":"string","description":"Reasons of the refusal, as the parties give them."},"notified_by_registered_letter":{"type":"boolean","description":"Whether the refusal with its reasons is notified by registered letter (Breyne decree art. 2, § 1)."}},"description":"Refusal of the reception."},"reserves":{"type":"array","description":"Reserves (location, description, remedy, deadline; status at the final stage).","items":{"type":"object","additionalProperties":false,"required":["location","description"],"properties":{"location":{"type":"string","description":"Location of the reserve."},"description":{"type":"string","description":"Description of the reserve."},"remedy":{"type":"string","description":"Agreed remedy."},"deadline":{"type":"string","format":"date","description":"Deadline of the remedy, as given."},"status":{"type":"string","enum":["open","remedied","waived"],"description":"Status of the reserve at the final stage: open, remedied or waived."},"remedied_on":{"type":"string","format":"date","description":"Date the reserve was remedied."}},"description":"Reserves (location, description, remedy, deadline; status at the final stage)."}},"documents_handed":{"type":"array","description":"Documents handed over at the reception.","items":{"type":"object","additionalProperties":false,"required":["kind"],"properties":{"kind":{"type":"string","enum":["as_built_plans","diu","safety_health_plan_updated","coordination_journal","certificates","keys","manuals","other"],"description":"Kind of document handed over."},"description":{"type":"string","description":"Free description of the document."}},"description":"Documents handed over at the reception."}},"safety":{"type":"object","additionalProperties":false,"properties":{"handover_recorded":{"type":"boolean","description":"Whether the handover of the updated safety and health plan, coordination journal and subsequent-intervention file is recorded in a report joined to the DIU (AR 25-01-2001 art. 22, 7°)."}},"description":"Safety documents at the reception."},"effects":{"type":"object","additionalProperties":false,"properties":{"ten_year_start":{"type":"string","enum":["this_stage","final_stage","as_contract","not_stated"],"description":"Starting point of the ten-year period, as the contract provides: this stage, the final stage, as the contract says, or not stated."},"retention_release":{"type":"string","enum":["none","first_half","second_half","full","as_contract"],"description":"Release of the contract retention (retenue de garantie) at this stage."},"bond_release":{"type":"string","enum":["none","first_half","second_half","full","not_applicable"],"description":"Release of the Breyne bond (cautionnement) at this stage; the 15-day release (mainlevée) of BR-AR art. 3 is printed as law."},"guarantee_end":{"type":"boolean","description":"Whether the completion guarantee ends with this provisional reception (Breyne decree art. 4, last paragraph)."},"risk_transfer":{"type":"string","enum":["this_stage","as_contract","not_stated"],"description":"Transfer of risk at this stage, as the parties state it."},"occupancy_date":{"type":"string","format":"date","description":"Date the client occupies the works."}},"description":"Contractual effects exactly as the parties state them."},"common_parts_final_done":{"type":"boolean","description":"Whether the final reception of the common parts has already taken place (apartment, Breyne law art. 9, second condition): the user's statement."},"insurance":{"type":"object","additionalProperties":false,"required":["law_2017_applies"],"properties":{"law_2017_applies":{"type":"string","enum":["yes","no","unknown"],"description":"Whether the works concern a dwelling in Belgium for which an architect is compulsory (law of 31 May 2017, arts 2, 1° and 5): the user's answer, never derived."},"insurer_name":{"type":"string","description":"Name of the insurance undertaking."},"insurer_enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Enterprise number of the insurance undertaking."},"policy_number":{"type":"string","description":"Number of the insurance contract."},"attestation_handed":{"type":"boolean","description":"Whether the insurance attestation was handed over (law of 31 May 2017, art. 12, § 1)."}},"description":"Ten-year liability insurance mentions (law of 31 May 2017, art. 12, § 1/1)."},"meters":{"type":"array","description":"Meter readings at the reception (optional).","items":{"type":"object","additionalProperties":false,"required":["label","reading"],"properties":{"label":{"type":"string","description":"Meter (water, gas, electricity...)."},"reading":{"type":"string","description":"Reading of the meter."}},"description":"Meter readings at the reception (optional)."}},"next_stage":{"type":"object","additionalProperties":false,"properties":{"planned_on":{"type":"string","format":"date","description":"Planned date of the next reception, as the parties give it (never computed)."}},"description":"The next stage (optional)."},"remarks":{"type":"string","description":"Remarks of the parties."},"signatures":{"type":"object","additionalProperties":false,"properties":{"client_name":{"type":"string","description":"Name of the signatory for the client."},"client_date":{"type":"string","format":"date","description":"Date the client signs."},"contractor_name":{"type":"string","description":"Name of the signatory for the contractor."},"contractor_date":{"type":"string","format":"date","description":"Date the contractor signs."},"architect_name":{"type":"string","description":"Name of the signatory for the architect."},"architect_date":{"type":"string","format":"date","description":"Date the architect signs."}},"description":"Signatures of the report (an object, possibly empty)."}},"allOf":[{"if":{"properties":{"outcome":{"const":"refused"}},"required":["outcome"]},"then":{"required":["refusal"]}}]}