As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DURING FLIGHT, THE PARK BRAKE ON LIGHT ILLUMINATED INTERMITTENTLY AND THEN RECEIVED A PARKING BRAKE NOT RELEASED CAUTION MESSAGE.. DECLARED EMERGENCY. LANDED WITHOUT INCIDENT. REMOVED AND REPLACED THE PARKING BRAKE SWITCH NR 2 IAW AMM. OPS AND LEAK CHECKED GOOD.