Use schema field for maxShard id