{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Goal",
  "type": "object",
  "properties": {
    "id": { "type": "string" },
    "scope": { "type": "string" },
    "type": { "type": "string" },
    "description": { "type": "string" },
    "target_value": { "type": "number" },
    "can_exceed_target_value": { "type": "boolean" },
    "current_value": { "type": "number" },
    "is_active": { "type": "boolean" },
    "is_completed": { "type": "boolean" },
    "is_archived": { "type": "boolean" },
    "assigned_at": { "type": "string", "format": "date-time" },
    "due_at": { "type": "string", "format": "date-time" },
    "employee": { "$ref": "hr-partner-employee-ref-schema.json" }
  }
}
