Record validation