{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","description":"Letter terminating a non-life insurance policy (Belgium, law of 4 April 2014): the policy, the legal case invoked, the delay stated in the contract (art. 84, § 2), the delivery route (art. 84, § 1 and § 3), the effective date the user chooses, the refund of the premium for the period after termination (art. 73) and, for hand delivery, a blank receipt block. Nothing is defaulted and the letter never says that the notice is timely.","additionalProperties":false,"required":["letter","policyholder","insurer","policy","termination","delivery","refund","signatory"],"properties":{"letter":{"type":"object","additionalProperties":false,"description":"letter","required":["date"],"properties":{"date":{"type":"string","format":"date","description":"Date of the letter."},"place":{"type":"string","description":"Place of the letter."}}},"policyholder":{"type":"object","additionalProperties":false,"description":"policyholder","required":["name","legal_form","address","postal_code","commune","represented_by_name","represented_by_title"],"properties":{"name":{"type":"string","description":"Name or company name of the enterprise."},"legal_form":{"type":"string","description":"Legal form: SRL, SA, SC, SComm, SNC, ASBL, AISBL, foundation, EI (sole trader), foreign or natural_person.","enum":["SRL","SA","SC","SComm","SNC","ASBL","AISBL","foundation","EI","natural_person"]},"enterprise_number":{"type":"string","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789 (Code of economic law art. III.25, al. 1).","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"vat_number":{"type":"string","description":"Belgian VAT number, written BE0123456789 (leave out if none).","pattern":"^BE[01][0-9]{9}$"},"address":{"type":"string","description":"Street and number of the seat or domicile."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"domiciliation":{"type":"string","description":"Domiciliation (Code of economic law art. III.25, al. 2), when it differs from the seat."},"rpm_court":{"type":"string","description":"Court of the seat for the mention 'RPM' (CSA art. 2:20, 5°), as the enterprise writes it."},"in_liquidation":{"type":"boolean","description":"True if the legal person is in liquidation (CSA art. 2:20, 7°)."},"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."},"email":{"type":"string","description":"E-mail address."},"represented_by_name":{"type":"string","description":"Name of the person who represents the enterprise."},"represented_by_title":{"type":"string","description":"Capacity of that person (for example gérant, administrateur délégué)."},"is_consumer":{"type":"boolean","description":"True if the policyholder acts as a consumer for this policy."}},"allOf":[{"if":{"properties":{"legal_form":{"enum":["SRL","SA","SC","SComm","SNC","ASBL","AISBL","foundation"]}},"required":["legal_form"]},"then":{"required":["rpm_court"]}},{"if":{"properties":{"legal_form":{"enum":["SRL","SA","SC","SComm","SNC","ASBL","AISBL","foundation","EI"]}},"required":["legal_form"]},"then":{"required":["enterprise_number"]}},{"if":{"properties":{"legal_form":{"enum":["SRL","SA","SC","SComm","SNC","ASBL","AISBL","foundation","EI"]}},"required":["legal_form"]},"then":{"required":["iban"]}}]},"insurer":{"type":"object","additionalProperties":false,"description":"insurer","required":["name","address"],"properties":{"name":{"type":"string","description":"Name of the insurer."},"address":{"type":"string","description":"Address of the insurer."},"department":{"type":"string","description":"Department of the insurer."},"enterprise_number":{"type":"string","description":"Enterprise number of the insurer.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"}}},"broker":{"type":"object","additionalProperties":false,"description":"broker","required":["name"],"properties":{"name":{"type":"string","description":"Name of the broker."},"address":{"type":"string","description":"Address of the broker."}}},"policy":{"type":"object","additionalProperties":false,"description":"policy","required":["number","type","contract_notice_delay_text"],"properties":{"number":{"type":"string","description":"Policy number."},"type":{"type":"string","description":"Policy type."},"start_date":{"type":"string","format":"date","description":"Start date of the policy."},"term_date":{"type":"string","format":"date","description":"Annual term date of the contract."},"contract_notice_delay_text":{"type":"string","description":"The notice delay stated in the contract, recalled in the letter (art. 84, § 2, al. 2)."}}},"termination":{"type":"object","additionalProperties":false,"description":"termination","required":["case","effective_date"],"properties":{"case":{"type":"string","description":"Legal case of the termination.","enum":["opposition_to_tacit_renewal","after_claim","consumer_after_first_year","cooling_off","contractual_or_other"]},"case_other_text":{"type":"string","description":"Other basis, as the user writes it."},"claim_reference":{"type":"string","description":"Claim reference."},"claim_decision_date":{"type":"string","format":"date","description":"Date of the insurer's payment or refusal."},"effective_date":{"type":"string","format":"date","description":"The effective date the user chooses (never computed)."},"reason_text":{"type":"string","description":"Optional free reason."}},"allOf":[{"if":{"properties":{"case":{"const":"contractual_or_other"}},"required":["case"]},"then":{"required":["case_other_text"]}},{"if":{"properties":{"case":{"const":"after_claim"}},"required":["case"]},"then":{"required":["claim_decision_date"]}}]},"delivery":{"type":"object","additionalProperties":false,"description":"delivery","required":["method"],"properties":{"method":{"type":"string","description":"Delivery route of the letter (art. 84).","enum":["registered_mail","qualified_electronic_registered_mail","bailiff","hand_delivery_against_receipt","insurer_digital_environment_qualified_signature"]}}},"refund":{"type":"object","additionalProperties":false,"description":"refund","required":["requested"],"properties":{"requested":{"type":"boolean","description":"True if the refund of the premium is requested."},"iban":{"type":"string","description":"IBAN for the refund."},"account_holder":{"type":"string","description":"Holder of the refund account."}}},"confirmation_requested":{"type":"boolean","description":"True if a written confirmation is requested."},"signatory":{"type":"object","additionalProperties":false,"description":"signatory","required":["name","role"],"properties":{"name":{"type":"string","description":"Name of the signatory."},"role":{"type":"string","description":"Capacity of the signatory."}}}}}