{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Insurance Policy Cancellation Notice","description":"Policyholder notice of cancellation to an insurer. Enumerated reasons follow common national insurance-contract acts (e.g. BE Loi 04.04.2014 arts. 84–88; NL Wet op het financieel toezicht). Bank details for refund are only captured when a premium refund is requested.","type":"object","additionalProperties":false,"required":["policyholder","insurer","policy_number","policy_type","effective_cancellation_date","reason","request_premium_refund","signatory","notice_date"],"properties":{"notice_date":{"type":"string","format":"date"},"policyholder":{"type":"object","additionalProperties":false,"required":["name","address"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"email":{"type":"string","format":"email"},"phone":{"type":"string"}}},"insurer":{"type":"object","additionalProperties":false,"required":["name","address"],"properties":{"name":{"type":"string"},"address":{"type":"string"},"department":{"type":"string"}}},"policy_number":{"type":"string"},"policy_type":{"type":"string"},"effective_cancellation_date":{"type":"string","format":"date"},"reason":{"type":"object","additionalProperties":false,"required":["code"],"properties":{"code":{"type":"string","enum":["sold_asset","no_longer_required","switching_provider","unsatisfactory_service","other"]},"detail":{"type":"string"}},"allOf":[{"if":{"properties":{"code":{"const":"other"}},"required":["code"]},"then":{"required":["code","detail"]}}]},"request_premium_refund":{"type":"boolean"},"bank_details_for_refund":{"type":"object","additionalProperties":false,"required":["iban","bic"],"properties":{"iban":{"type":"string"},"bic":{"type":"string"},"account_holder":{"type":"string"}}},"signatory":{"type":"object","additionalProperties":false,"required":["name","role","place"],"properties":{"name":{"type":"string"},"role":{"type":"string"},"place":{"type":"string"}}}}}