As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
SHIP 1813 - ATB - RETURNED TO JFKI DUE TO GEAR DISAGREE AND GEAR DOOR EICAS MESSAGES APPEARED AFTER TAKEOFF. COMPLIED WITH CHECKLIST, PUT THE GEAR DOWN AND ALL INDICATORS NORMAL CORRECTIVE ACTION- REPLACED RT MLG RESTRICTOR VALVE AND RT MLG DOOR SAFETY VALVE. PERFORMED GEAR SWING.