json.teachers do
  json.array! @teachers.each do |teacher|
    json.id teacher.id
    json.name teacher.full_name
    json.identity teacher.identity
    json.school_name teacher.school_name
    json.enrollable !current_competition.teacher_multiple_limited? || !@enrolled_map.key?(teacher.id)
  end
end