json.status 0
json.message "success"
json.data do
  json.extract! @competition_info, :id, :identifier, :title, :content, :video_url, :is_local, :enroll_date, :upload_date, :guide, :about_us,:banner_url,:enroll_template, :applet_banner_url, :watchers_count,:start_at, :visits, :sort_no
  json.zones @competition_info.competition_zones
  json.sub_competitions @competition_info.sub_competitions.to_s.split(",")
  json.is_manager @competition_info.is_manager?(current_user)
  json.manager_zones @competition_info.manager_zones(current_user)
  json.enroll_fields @competition_info.enroll_fields.keys
  json.watched current_user.watched?(@competition_info)
  json.api_score_times EduSetting.find_by(name: 'daily_api_score_times')&.value || 1
  if current_user.admin?
    json.admin_data @competition_info.admin_data
  end
end