Validation for Records data. API routes.