{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Formal business letter (Belgium)","description":"A formal business letter of a Belgian enterprise with the statutory letterhead mentions (CSA art. 2:20; Code of economic law art. III.25).","type":"object","additionalProperties":false,"required":["company","recipient","letter","closing"],"properties":{"company":{"type":"object","additionalProperties":false,"description":"The sender: the statutory letterhead (CSA art. 2:20 for a legal person; Code of economic law art. III.25 for every enterprise).","required":["kind","name","address","postal_code","commune","enterprise_number","domiciliation","iban"],"properties":{"kind":{"type":"string","enum":["legal_person","sole_trader"],"description":"Whether the sender is a legal person (company, non-profit...) or a natural person acting in his own name (CSA art. 2:20 applies to a legal person only; Code of economic law art. III.25 to every enterprise subject to registration)."},"name":{"type":"string","description":"Name or company name of the sender (CSA art. 2:20, 1°)."},"legal_form":{"type":"string","enum":["SRL","SA","SC","SComm","SNC","ASBL","AISBL","foundation"],"description":"Legal form of the legal person (CSA art. 2:20, 2°); leave out for a sole trader."},"address":{"type":"string","description":"Street and number of the seat (CSA art. 2:20, 3°) or of the sole trader's address."},"postal_code":{"type":"string","description":"Postal code."},"commune":{"type":"string","description":"Municipality."},"enterprise_number":{"type":"string","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789 (Code of economic law art. III.25, al. 1; CSA art. 2:20, 4°).","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}$"},"rpm_court":{"type":"string","description":"Enterprise court of the seat, after the words 'registre des personnes morales' / RPM (CSA art. 2:20, 5°), as the sender writes it; legal persons only."},"in_liquidation":{"type":"boolean","description":"True if the legal person is in liquidation (CSA art. 2:20, 7°); 'en liquidation' is printed only when true."},"email":{"type":"string","description":"E-mail address of the sender (CSA art. 2:20, 6°, when it exists).","format":"email"},"website":{"type":"string","description":"Website of the sender (CSA art. 2:20, 6°, when it exists)."},"domiciliation":{"type":"string","description":"Domiciliation: the address of the seat (Code of economic law art. III.25, al. 2)."},"iban":{"type":"string","description":"IBAN of a payment account the sender holds (Code of economic law art. III.25, al. 2)."},"phone":{"type":"string","description":"Telephone number (optional)."}},"allOf":[{"if":{"properties":{"kind":{"const":"legal_person"}},"required":["kind"]},"then":{"required":["legal_form","rpm_court"]}}]},"employer":{"type":"object","additionalProperties":false,"description":"Used when the letter is addressed to a worker.","properties":{"seat_region":{"type":"string","enum":["nl_region","fr_region","brussels","de_region"],"description":"Linguistic region of the operating seat (Flemish decree of 19 July 1973, decree of the French Community of 30 June 1982, coordinated laws of 18 July 1966, art. 52). Informational: nothing compares it with the language of the document."}}},"recipient":{"type":"object","additionalProperties":false,"required":["name","address"],"properties":{"name":{"type":"string","description":"Name of the addressee."},"title":{"type":"string","description":"Title or function of the addressee."},"organization":{"type":"string","description":"Organisation of the addressee."},"address":{"type":"string","description":"Address of the addressee."},"kind":{"type":"string","enum":["business","consumer","worker","authority","other"],"description":"Kind of addressee: business, consumer, worker, authority or other. A worker adds the language notice."}}},"letter":{"type":"object","additionalProperties":false,"required":["date","subject","opening","body"],"properties":{"date":{"type":"string","format":"date","description":"Date of the letter."},"place":{"type":"string","description":"Place from which the letter is written."},"reference":{"type":"string","description":"Reference of the sender."},"your_reference":{"type":"string","description":"Reference of the addressee."},"subject":{"type":"string","description":"Subject of the letter."},"kind":{"type":"string","description":"Free label of the kind of letter (request, reply, information). Not printed: it only feeds the review pack."},"opening":{"type":"string","description":"The opening formula of the letter, as the sender writes it. No default formula."},"body":{"type":"array","items":{"type":"string"},"description":"Paragraphs of the letter.","minItems":1}}},"dispatch":{"type":"object","additionalProperties":false,"properties":{"method":{"type":"string","enum":["ordinary_mail","registered_mail","registered_mail_with_receipt","email","hand_delivered","other"],"description":"How the letter is sent. Printed only when given."},"date":{"type":"string","format":"date","description":"Date on which the letter is sent."}}},"closing":{"type":"object","additionalProperties":false,"required":["salutation","sender_name"],"properties":{"salutation":{"type":"string","description":"The closing formula, as the sender writes it. No default formula."},"sender_name":{"type":"string","description":"Name of the signatory."},"sender_title":{"type":"string","description":"Title or function of the signatory."},"sender_contact":{"type":"string","description":"Contact line of the signatory (optional)."}}},"signature":{"type":"object","additionalProperties":false,"properties":{"on_behalf":{"type":"string","description":"Free mention such as 'p.o.' when the signatory signs on behalf of someone else."}}},"cc":{"type":"array","items":{"type":"string"},"description":"Copies to."},"enclosures":{"type":"array","items":{"type":"string"},"description":"Enclosures."}}}