{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Offer Letter","description":"Formal offer of employment with position, start date, contract type, compensation, benefits, conditions precedent, and acceptance deadline. Signed by both parties constitutes a binding agreement subject to the applicable employment law at the place of work.","type":"object","required":["employer","candidate","letter_date","position","compensation","acceptance_deadline","signatory"],"additionalProperties":false,"properties":{"employer":{"type":"object","required":["name","address"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"address":{"type":"string","minLength":1},"reference":{"type":"string"}}},"candidate":{"type":"object","required":["name","address"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"address":{"type":"string","minLength":1}}},"letter_date":{"type":"string","format":"date"},"position":{"type":"object","required":["title","department","location","reports_to","start_date","contract_type","hours_per_week"],"additionalProperties":false,"properties":{"title":{"type":"string","minLength":1},"department":{"type":"string","minLength":1},"location":{"type":"string","minLength":1},"reports_to":{"type":"string","minLength":1},"start_date":{"type":"string","format":"date"},"contract_type":{"type":"string","enum":["permanent","fixed-term","interim","apprenticeship","internship"]},"contract_duration":{"type":"string"},"hours_per_week":{"type":"number","minimum":1,"maximum":60},"probation_months":{"type":"number","minimum":0,"maximum":12}}},"compensation":{"type":"object","required":["gross_salary","salary_period"],"additionalProperties":false,"properties":{"gross_salary":{"type":"number","minimum":0},"salary_period":{"type":"string","enum":["per month","per year","par mois","par an","per maand","per jaar"]},"thirteenth_month":{"type":"boolean"},"bonus_scheme":{"type":"string"},"benefits":{"type":"array","items":{"type":"string"}},"leave_days":{"type":"number","minimum":0,"maximum":60}}},"conditions_precedent":{"type":"array","items":{"type":"string","minLength":1}},"acceptance_deadline":{"type":"string","format":"date"},"signatory":{"type":"object","required":["name","role"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"role":{"type":"string","minLength":1}}}}}