json.extract! ec_course_target, :id, :position, :content, :standard_grade, :weight

json.graduation_subitem do
  graduation_subitem = ec_course_target.ec_graduation_subitems.take

  json.partial! 'ecs/shared/ec_graduation_subitem', ec_graduation_subitem: graduation_subitem
  json.graduation_requirement_position graduation_subitem.ec_graduation_requirement.position
end
