> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hotglue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Singer Utils

> hotglue CLI utils for developing Singer tap and targets

Develop Singer taps and targets.

## `hotglue singer validate`

Validate a Singer file. It ensures that the data conforms to the expected schema and checks for any discrepancies or errors in the data records.

### Sample

```bash theme={null}
hotglue singer validate --dataFilePath data.txt

        
🎉🎉🎉 Singer validation passed 🎉🎉🎉
--------------------------------------

2 streams validated

Record count by stream:

  contacts: 2500
  companies: 513

```

### Options

* `--dataFilePath`: The path to the data file that needs to be validated. Defaults to **data.singer**
* `--allowDuplicateRecords`: A boolean flag to allow duplicate records in the data. Defaults to `false`. The `key_properties` field on SCHEMA messages is used to determine uniqueness for a stream.
* `--allowFuzzyTypes`: A boolean flag to allow fields to allow multiple types for a field. Defaults to `false`.
* `--json`: Outputs the validation result in JSON format.
