{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Reference Request","description":"Formal written request to a prior employer seeking a professional reference about a job candidate. Includes explicit candidate-consent statement and GDPR-aligned processing note.","type":"object","required":["requesting_employer","prior_employer","addressee","candidate","role_being_filled","consent","letter_date","questions","response_deadline","requester"],"additionalProperties":false,"properties":{"requesting_employer":{"type":"object","required":["name","address"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"address":{"type":"string","minLength":1},"reference":{"type":"string"}}},"prior_employer":{"type":"object","required":["name","address"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"address":{"type":"string","minLength":1}}},"addressee":{"type":"object","required":["name"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"role":{"type":"string"}}},"candidate":{"type":"object","required":["name","date_of_birth","role_at_prior","employment_start","employment_end"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"date_of_birth":{"type":"string","format":"date"},"employee_id_at_prior":{"type":"string"},"role_at_prior":{"type":"string","minLength":1},"employment_start":{"type":"string","format":"date"},"employment_end":{"type":"string","format":"date"}}},"role_being_filled":{"type":"object","required":["title"],"additionalProperties":false,"properties":{"title":{"type":"string","minLength":1},"department":{"type":"string"}}},"consent":{"type":"object","required":["signed_on"],"additionalProperties":false,"properties":{"signed_on":{"type":"string","format":"date"}}},"letter_date":{"type":"string","format":"date"},"questions":{"type":"array","minItems":3,"items":{"type":"string","minLength":1}},"response_deadline":{"type":"string","format":"date"},"requester":{"type":"object","required":["name","role","email"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1},"role":{"type":"string","minLength":1},"email":{"type":"string","format":"email"},"phone":{"type":"string"}}}}}