extract jpaw-util / enums from bonaparte-core
dedup validation error codes