{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Rejection letter to a candidate (Belgium)","description":"The letter a Belgian employer writes to a candidate whose application was not retained. It prints a reason only when the employer types one, keeps the candidate in a talent pool only for the number of months and on the basis the employer states, and carries the mentions of art. III.25 of the Code of economic law. Nothing is computed or defaulted.","type":"object","additionalProperties":false,"required":["employer","candidate","letter","position","decision_statement","signatory"],"properties":{"employer":{"type":"object","additionalProperties":false,"required":["name","enterprise_number","registered_office","payment_account"],"properties":{"name":{"type":"string","description":"Name or company name of the employer."},"legal_form":{"type":"string","enum":["sole_trader","srl","sa","sc","asbl","other"],"description":"Legal form of the employer."},"enterprise_number":{"type":"string","description":"Belgian enterprise number (KBO/BCE), written 0123.456.789.","pattern":"^[01][0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$"},"registered_office":{"type":"string","description":"Domiciliation of the enterprise: the registered office address (Code of economic law art. III.25, al. 2)."},"payment_account":{"type":"string","description":"IBAN of a payment account the enterprise holds (Code of economic law art. III.25, al. 2)."},"seat_region":{"type":"string","enum":["nl_region","fr_region","brussels","de_region"],"description":"Linguistic region of the operating seat of the employer (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 yet."}}},"candidate":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","description":"Name of the candidate."},"address":{"type":"string","description":"Postal address of the candidate."},"email":{"type":"string","format":"email","description":"E-mail address of the candidate."}}},"letter":{"type":"object","additionalProperties":false,"required":["date"],"properties":{"date":{"type":"string","format":"date","description":"Date of the letter."}}},"position":{"type":"object","additionalProperties":false,"required":["title"],"properties":{"title":{"type":"string","description":"Title of the position applied for."},"reference":{"type":"string","description":"Reference of the posting, as the employer writes it."}}},"decision_statement":{"type":"string","enum":["not_retained"],"description":"The decision communicated: the application was not retained. The decision sentence is printed for this value."},"reason_statement":{"type":"string","description":"The reason the employer gives, in its own words, printed as typed. Nothing is printed when absent."},"feedback":{"type":"object","additionalProperties":false,"properties":{"enabled":{"type":"boolean","description":"Whether the employer offers the candidate a short exchange on the application."},"contact_name":{"type":"string","description":"Who the candidate may contact."},"contact_email":{"type":"string","format":"email","description":"E-mail address of that contact."}}},"talent_pool":{"type":"object","additionalProperties":false,"allOf":[{"if":{"properties":{"enabled":{"const":true}},"required":["enabled"]},"then":{"required":["retention_months","basis"]}}],"properties":{"enabled":{"type":"boolean","description":"Whether the employer proposes to keep the application in a talent pool."},"retention_months":{"type":"integer","minimum":1,"description":"How many months the application is kept: the employer's own figure, no default."},"basis":{"type":"string","enum":["consent","legitimate_interest","other"],"description":"The basis on which the application is kept, as the employer chooses it."}}},"privacy":{"type":"object","additionalProperties":false,"properties":{"notice_reference":{"type":"string","description":"Where the candidate privacy notice is found, as the employer writes it (printed as typed)."}}},"signatory":{"type":"object","additionalProperties":false,"required":["name","role"],"properties":{"name":{"type":"string","description":"Name of the person signing for the employer."},"role":{"type":"string","description":"Function of that person."}}}}}