{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","description":"Construction works contract (Belgium): parties, insurance mentions, architect and permit, site and works, price and VAT, payments, schedule, reception, guarantee, liability under the regime the signature date selects (old Civil Code or Book 7 from 1 September 2027), the Breyne-law blocks when the user answers that the law applies, consumer information and withdrawal, signatures. Nothing is derived: the client kind, the Breyne answer, the regime date, the insurer and every figure are the user's.","additionalProperties":false,"required":["contract","contractor","client","insurance","site","works","price","payments","schedule","reception","signatures"],"properties":{"contract":{"type":"object","additionalProperties":false,"required":["reference","signed_on","breyne_applies"],"properties":{"reference":{"type":"string","description":"Reference of the contract."},"signed_on":{"type":"string","format":"date","description":"Date the contract is signed: it selects the legal regime (old Civil Code before 1 September 2027, Book 7 from that date)."},"place":{"type":"string","description":"Place where the contract is concluded."},"language":{"type":"string","enum":["fr","nl","de"],"description":"Language of the contract."},"breyne_applies":{"type":"string","enum":["yes","no","unknown"],"description":"Whether the Breyne law (law of 9 July 1971) applies to this contract: the user's answer, never derived."},"conclusion_context":{"type":"string","enum":["premises","off_premises","distance"],"description":"Where the contract is concluded (consumer): in the premises, off premises or at a distance."},"housing_aids_mentioned":{"type":"boolean","description":"Whether the regional housing aids are mentioned (Breyne law art. 7 ebis)."},"housing_aids_annex":{"type":"string","description":"Title of the annex with the basic conditions of the housing aids."},"fifteen_days_statement":{"type":"boolean","description":"Whether the parties affirm that they have known the data and documents for fifteen days (Breyne law art. 7 h)."},"guarantee_kind":{"type":"string","enum":["bond_5pct","completion_guarantee"],"description":"Kind of guarantee: bond or completion guarantee (Breyne law art. 12)."},"guarantee_provider":{"type":"string","description":"Provider of the guarantee."},"guarantee_attestation_reference":{"type":"string","description":"Reference of the attestation of the guarantee."},"guarantee_attestation_date":{"type":"string","format":"date","description":"Date of the attestation of the guarantee."}},"description":"The contract: reference, signature date (selects the legal regime), place, language, Breyne answer, place of conclusion."},"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."},"registration_class":{"type":"string","description":"Class of the contractor's registration (agréation) as given."},"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."},"signatory":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the person who signs for the contractor."},"title":{"type":"string","description":"Capacity of the signatory."}},"description":"The person who signs for the contractor."}},"description":"The contractor (company block; IBAN required: CDE art. III.25, al. 2)."},"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."},"signatory":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the person who signs for the client."},"title":{"type":"string","description":"Capacity of the signatory."}},"description":"The person who signs for the client."}},"description":"The client: an enterprise, a public body or a consumer."},"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_given_on":{"type":"string","format":"date","description":"Date the insurance attestation was handed over."},"bond_instead":{"type":"boolean","description":"Whether the contractor constitutes a bond instead of insurance (law of 31 May 2017, art. 13)."},"civil_liability_policy_reference":{"type":"string","description":"Reference of the general civil liability policy, if any."}},"description":"Ten-year liability insurance mentions (law of 31 May 2017, art. 12, § 1/1)."},"architect":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the architect."},"enterprise_number":{"type":"string","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$","description":"Enterprise number of the architect."},"registration_number":{"type":"string","description":"Registration number with the Order of Architects, as given."},"mission":{"type":"string","enum":["design","control","design_and_control","none_declared"],"description":"Mission of the architect."}},"description":"The architect (optional)."},"works":{"type":"object","additionalProperties":false,"required":["description"],"properties":{"permit_required":{"type":"string","enum":["yes","no","unknown"],"description":"Whether a building permit is required or was issued for the works (user's answer)."},"permit_reference":{"type":"string","description":"Reference of the permit."},"permit_date":{"type":"string","format":"date","description":"Date the permit was issued."},"permit_conditions":{"type":"string","description":"Conditions of the permit."},"permit_suspensive_condition":{"type":"string","description":"Suspensive condition of obtaining a permit (Breyne law art. 7 b, alternative to the permit date)."},"permit_copy_undertaking":{"type":"boolean","description":"Whether the permit applicant undertakes to hand over a certified copy of the permit within one month of the notification of the decision."},"description":{"type":"string","description":"Description of the works."},"kind":{"type":"string","enum":["new_build","transformation","enlargement","demolition","finishing","installation","civil"],"description":"Kind of works."},"object_type":{"type":"string","enum":["house","apartment","other"],"description":"Whether the object is a house, an apartment or something else (Breyne law art. 7 c and d)."},"private_parts_description":{"type":"string","description":"Precise description of the private parts (houses and apartments; Breyne law art. 7 c)."},"common_parts_description":{"type":"string","description":"Precise description of the common parts (apartment; Breyne law art. 7 c)."},"plans_signed_by_architect":{"type":"boolean","description":"Whether the plans and specifications annexed are signed by an architect (Breyne law art. 7 d)."},"apartment_deed_annexed":{"type":"boolean","description":"Whether the deed of basis and the co-ownership regulations are annexed (apartment; Breyne law art. 7 d)."},"documents":{"type":"array","description":"Contract documents in order of precedence (plans, specifications, bill of quantities, offer, safety and health plan).","items":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","description":"Title of the document."},"date":{"type":"string","format":"date","description":"Date of the document."},"author":{"type":"string","description":"Author of the document."},"precedence_rank":{"type":"integer","minimum":1,"description":"Rank of precedence (1 = prevails)."}},"description":"Contract documents in order of precedence (plans, specifications, bill of quantities, offer, safety and health plan)."}}},"description":"The works."},"site":{"type":"object","additionalProperties":false,"required":["address"],"properties":{"address":{"type":"string","description":"Address of the site."},"region":{"type":"string","enum":["flanders","wallonia","brussels_capital"],"description":"Region of Belgium where the WORKS SITE lies (optional, the user's answer): Flemish Region, Walloon Region (including the German-speaking Community) or Brussels-Capital Region. Permits and regional housing aids are regional matters; nothing is derived from the address and no regional wording is selected by it."},"cadastral_reference":{"type":"string","description":"Cadastral reference of the plot."},"land_owner":{"type":"string","description":"Owner of the land and of the existing buildings."},"existing_buildings_owner":{"type":"string","description":"Owner of the existing buildings, if different."}},"description":"The site of the works."},"general_conditions":{"type":"object","additionalProperties":false,"properties":{"reference":{"type":"string","description":"Reference of the general conditions the contract refers to."}},"description":"General conditions the contract refers to."},"client_obligations":{"type":"array","description":"Obligations of the client (access, utilities, permits).","items":{"type":"object","additionalProperties":false,"required":["title","text"],"properties":{"title":{"type":"string","description":"Title of the obligation."},"text":{"type":"string","description":"Text of the obligation."}},"description":"Obligations of the client (access, utilities, permits)."}},"price":{"type":"object","additionalProperties":false,"required":["method","vat_regime"],"properties":{"method":{"type":"string","enum":["fixed_price","unit_prices","cost_plus","mixed"],"description":"Price method."},"vat_regime":{"type":"string","enum":["standard","reverse_charge_art20","exempt","small_business_franchise","unknown"],"description":"VAT regime of the price (user's answer): standard, reverse charge (AR n° 1 art. 20), exempt, small business franchise, unknown."},"total_excl_vat":{"type":"number","minimum":0,"description":"Total price excluding VAT."},"vat_lines":{"type":"array","description":"VAT lines: base, rate and amount.","items":{"type":"object","additionalProperties":false,"required":["base","rate","amount"],"properties":{"base":{"type":"number","minimum":0,"description":"Taxable base of the line."},"rate":{"type":"number","minimum":0,"description":"VAT rate of the line, in percent."},"amount":{"type":"number","minimum":0,"description":"VAT amount of the line."}},"description":"VAT lines: base, rate and amount."}},"total_incl_vat":{"type":"number","minimum":0,"description":"Total price including VAT (compulsory for a consumer, CDE art. VI.4)."},"land_included":{"type":"string","enum":["included","owned_by_client"],"description":"Whether the price includes the land or the land is owned by the client (BR-AR art. 1, § 1)."},"land_price":{"type":"number","minimum":0,"description":"Part of the total price that corresponds to the cost of the land."},"revision_applies":{"type":"boolean","description":"Whether the price can be revised (not asked for a contract under the Breyne law)."},"revision_formula":{"type":"string","description":"Revision formula (text)."},"revision_max_share_pct":{"type":"number","minimum":0,"description":"Maximum share of the price subject to revision, in percent (BR-AR art. 1)."}},"description":"Price: method, amounts, VAT, land, revision."},"payments":{"type":"object","additionalProperties":false,"properties":{"deposit_amount":{"type":"number","minimum":0,"description":"Amount of the deposit."},"deposit_pct":{"type":"number","minimum":0,"description":"Deposit as a percentage of the price, as agreed."},"schedule":{"type":"array","description":"Payment schedule (instalments by stage or by progress statement).","items":{"type":"object","additionalProperties":false,"required":["stage"],"properties":{"stage":{"type":"string","description":"Stage or event of the instalment."},"pct":{"type":"number","minimum":0,"description":"Percentage of the price of the instalment."},"amount":{"type":"number","minimum":0,"description":"Amount of the instalment."},"due_on_event":{"type":"string","description":"Event that makes the instalment due."}},"description":"Payment schedule (instalments by stage or by progress statement)."}},"by_progress_statement":{"type":"boolean","description":"Whether the instalments are invoiced on progress statements."},"payment_term_days":{"type":"integer","minimum":0,"description":"Payment term in days."},"retention_pct":{"type":"number","minimum":0,"description":"Retention of guarantee, in percent."},"retention_release":{"type":"string","description":"How and when the retention is released."},"interest_rate_text":{"type":"string","description":"Interest on late payment, in the parties' own words."},"indemnity_text":{"type":"string","description":"Fixed indemnity on late payment, in the parties' own words."},"financing_applies":{"type":"boolean","description":"Whether the client subjects the contract to the suspensive condition of obtaining financing."},"financing_minimum_amount":{"type":"number","minimum":0,"description":"Minimum amount of the financing."},"financing_conditions":{"type":"string","description":"Conditions of the financing."}},"description":"Payments: deposit, schedule, term, interest, retention (an object, possibly empty)."},"schedule":{"type":"object","additionalProperties":false,"required":["start_date","duration_value","duration_unit"],"properties":{"start_date":{"type":"string","format":"date","description":"Start date of the works."},"duration_value":{"type":"number","minimum":0,"description":"Execution period (number)."},"duration_unit":{"type":"string","enum":["working_days","calendar_days","weeks","months"],"description":"Unit of the execution period."},"end_date":{"type":"string","format":"date","description":"End date of the works, as the parties give it."},"delay_damages_per_day":{"type":"number","minimum":0,"description":"Delay damages per day of delay."},"extension_causes":{"type":"array","description":"Causes that extend the execution period (weather, extras...).","items":{"type":"string"}}},"description":"Schedule of the works."},"reception":{"type":"object","additionalProperties":false,"required":["mode"],"properties":{"mode":{"type":"string","enum":["single","provisional_and_final"],"description":"Mode of reception: single, or provisional followed by final."},"reserves_procedure":{"type":"string","description":"Procedure for reserves at reception."},"final_after_months":{"type":"number","minimum":0,"description":"Number of months between provisional and final reception, as agreed."}},"description":"Reception of the works."},"subcontracting":{"type":"object","additionalProperties":false,"properties":{"allowed":{"type":"boolean","description":"Whether subcontracting is allowed."},"conditions":{"type":"string","description":"Conditions of subcontracting."}},"description":"Subcontracting."},"safety":{"type":"object","additionalProperties":false,"properties":{"pss_received":{"type":"boolean","description":"Whether the safety and health plan was received."},"coordinator":{"type":"string","description":"Name of the safety coordinator."},"notification_by":{"type":"string","enum":["contractor","other","not_applicable"],"description":"Who makes the prior notification of the site."}},"description":"Safety and health on the site."},"variations":{"type":"object","additionalProperties":false,"properties":{"written_only":{"type":"boolean","description":"Whether no extra work is due without a written amendment (the parties' clause)."}},"description":"Variations (extra work)."},"termination":{"type":"object","additionalProperties":false,"properties":{"client_clause":{"type":"string","description":"Termination clause for the client, in the parties' own words."},"contractor_clause":{"type":"string","description":"Termination clause for the contractor, in the parties' own words."}},"description":"Termination clauses."},"dispute":{"type":"object","additionalProperties":false,"properties":{"court":{"type":"string","description":"Court with jurisdiction, as agreed."},"mediation":{"type":"boolean","description":"Whether the parties try mediation first."}},"description":"Disputes."},"additional_clauses":{"type":"array","description":"Additional clauses.","items":{"type":"object","additionalProperties":false,"required":["title","text"],"properties":{"title":{"type":"string","description":"Title of the clause."},"text":{"type":"string","description":"Text of the clause."}},"description":"Additional clauses."}},"annexes":{"type":"array","description":"List of the annexes.","items":{"type":"string"}},"information_received_before":{"type":"boolean","description":"Whether the consumer received the information of CDE art. VI.64, § 1 before being bound."},"withdrawal_applies":{"type":"boolean","description":"Whether the consumer has a right of withdrawal for this contract (true) or not (false: the case of art. VI.73 is then given in no_withdrawal_reason)."},"no_withdrawal_reason":{"type":"string","enum":["service_fully_performed","financial_market_price","made_to_specification","perishable","sealed_hygiene","mixed_after_delivery","alcoholic_beverages","urgent_repairs","sealed_media","newspapers","public_auction","dated_leisure_services","digital_content_started","new_buildings"],"description":"The case of CDE art. VI.73 without a withdrawal right that applies (printed in the words of the law)."},"withdrawal":{"type":"object","additionalProperties":false,"required":["start"],"properties":{"start":{"type":"string","enum":["service_conclusion","sale_possession","multiple_goods_last","lots_last","regular_delivery_first"],"description":"Event from which the 14-day withdrawal period runs (Annex 1, instruction 1)."},"goods_return":{"type":"string","enum":["seller_collects","consumer_returns"],"description":"For a contract with goods: whether the seller collects the goods or the consumer returns them (Annex 1, instruction 5 a)."},"return_recipient":{"type":"string","description":"Name and geographical address of a person authorised by the seller to receive the returned goods, if any."},"return_costs":{"type":"string","enum":["seller","consumer_direct_costs","consumer_fixed_amount","consumer_estimated_maximum","seller_collects_own_expense"],"description":"Who bears the cost of returning the goods (Annex 1, instruction 5 b); seller_collects_own_expense: in an off-premises contract, goods that by their nature cannot normally be returned by post and were delivered to the consumer's home when the contract was concluded."},"return_cost_eur":{"type":"number","minimum":0,"description":"Amount of the return cost (fixed amount, or estimated maximum)."},"online_interface":{"type":"boolean","description":"For a distance contract: whether it is concluded by means of an online interface (web shop, app); then art. VI.61/2 requires a withdrawal function."},"online_withdrawal_function":{"type":"string","description":"Web address or other reference where the online withdrawal function (art. VI.61/2) is found, if the seller provides one."},"online_form_address":{"type":"string","description":"Web address where the model form or another unambiguous statement can be filled in and sent online, if the seller offers it."},"exceptions":{"type":"array","uniqueItems":true,"items":{"type":"string","enum":["service_fully_performed","financial_market_price","made_to_specification","perishable","sealed_hygiene","mixed_after_delivery","alcoholic_beverages","urgent_repairs","sealed_media","newspapers","public_auction","dated_leisure_services","digital_content_started","betting_lotteries","new_buildings"]},"description":"Cases without a withdrawal right, chosen by the seller as applicable to its offer: art. VI.53 for a distance contract, art. VI.73 for an off-premises contract (new_buildings is art. VI.73, 14° only; betting_lotteries is art. VI.53, 14° only)."}},"allOf":[{"if":{"properties":{"start":{"enum":["sale_possession","multiple_goods_last","lots_last","regular_delivery_first"]}},"required":["start"]},"then":{"required":["goods_return","return_costs"]}},{"if":{"properties":{"return_costs":{"enum":["consumer_fixed_amount","consumer_estimated_maximum"]}},"required":["return_costs"]},"then":{"required":["return_cost_eur"]}},{"if":{"properties":{"online_interface":{"const":true}},"required":["online_interface"]},"then":{"required":["online_withdrawal_function"]}}]},"signatures":{"type":"object","additionalProperties":false,"required":["date"],"properties":{"date":{"type":"string","format":"date","description":"Date of signature."},"place":{"type":"string","description":"Place of signature."}},"description":"Signature of the contract."}},"allOf":[{"if":{"properties":{"withdrawal_applies":{"const":true}},"required":["withdrawal_applies"]},"then":{"required":["withdrawal"]}},{"if":{"properties":{"withdrawal_applies":{"const":false}},"required":["withdrawal_applies"]},"then":{"required":["no_withdrawal_reason"]}}]}