{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","title":"Performance review","description":"Periodic review of a worker's performance. The rating scale is the employer's own (minimum, maximum and optional labels); every score is typed; no overall score is computed; the employee's response block is always present.","additionalProperties":false,"required":["employer","employee","review","scale","ratings"],"properties":{"employer":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1,"description":"Name of the employer."},"address":{"type":"string","description":"Address of the employer (optional)."},"enterprise_number":{"type":"string","description":"Belgian enterprise number (BCE / KBO) of the employer (optional)."},"seat_region":{"type":"string","enum":["nl_region","fr_region","brussels","de_region"],"description":"Linguistic region of the employer's operating seat (optional): Dutch-language region, French-language region, Brussels-Capital or German-language region. Nothing is compared with it."}}},"employee":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"type":"string","minLength":1,"description":"Name of the reviewed worker."},"function":{"type":"string","description":"Function or job (optional)."},"department":{"type":"string","description":"Department or site (optional)."},"start_date":{"type":"string","format":"date","description":"Date on which the worker started (optional)."}}},"review":{"type":"object","additionalProperties":false,"required":["date","period_start","period_end","reviewer_name"],"properties":{"date":{"type":"string","format":"date","description":"Date of the review interview."},"period_start":{"type":"string","format":"date","description":"First day of the reviewed period."},"period_end":{"type":"string","format":"date","description":"Last day of the reviewed period."},"reviewer_name":{"type":"string","minLength":1,"description":"Name of the reviewer."},"reviewer_position":{"type":"string","description":"Position of the reviewer (optional)."}}},"scale":{"type":"object","additionalProperties":false,"required":["min","max"],"description":"The rating scale, chosen by the employer: no scale is assumed.","properties":{"min":{"type":"integer","description":"Lowest score of the employer's scale."},"max":{"type":"integer","description":"Highest score of the employer's scale."},"labels":{"type":"array","minItems":1,"description":"The employer's own label for a score (optional).","items":{"type":"object","additionalProperties":false,"required":["score","label"],"properties":{"score":{"type":"integer","description":"The score the label belongs to."},"label":{"type":"string","minLength":1,"description":"The employer's label for this score."}}}}}},"ratings":{"type":"array","minItems":1,"description":"The criteria and their scores.","items":{"type":"object","additionalProperties":false,"required":["category","score"],"properties":{"category":{"type":"string","minLength":1,"description":"The criterion."},"score":{"type":"number","description":"The score on the employer's scale, typed by the reviewer."},"comments":{"type":"string","description":"Comments on the criterion (optional)."}}}},"overall":{"type":"object","additionalProperties":false,"properties":{"score":{"type":"number","description":"Overall score, typed by the reviewer (optional); it is never computed."},"comment":{"type":"string","description":"Overall comment (optional)."}}},"strengths":{"type":"array","minItems":1,"items":{"type":"string","minLength":1},"description":"Strengths (optional)."},"improvements":{"type":"array","minItems":1,"items":{"type":"string","minLength":1},"description":"Points to improve (optional)."},"goals":{"type":"array","minItems":1,"description":"Development goals with the employer's own deadlines (optional).","items":{"type":"object","additionalProperties":false,"required":["goal"],"properties":{"goal":{"type":"string","minLength":1,"description":"The goal."},"deadline":{"type":"string","format":"date","description":"The employer's own deadline (optional)."},"support":{"type":"string","description":"Support provided (optional)."}}}},"training_wishes":{"type":"array","minItems":1,"items":{"type":"string","minLength":1},"description":"Training wishes (optional)."},"employee_comments":{"type":"string","description":"The employee's own comments (optional)."},"signature_clause":{"type":"string","enum":["acknowledgement","agreement","none"],"description":"Which sentence, if any, is printed under the signatures (optional)."},"confidential":{"type":"boolean","description":"Whether the review is marked confidential (optional); the mark prints only when true."}}}