The metadata is not validated here like it is in the other writers. See `validate_hazard_metadata`.