Validation for ship