# {py:mod}`haniwers.v1.schema`

```{py:module} haniwers.v1.schema
```

```{autodoc2-docstring} haniwers.v1.schema
:allowtitles:
```

## Module Contents

### Functions

````{list-table}
:class: autosummary longtable
:align: left

* - {py:obj}`validate_dataframe_schema <haniwers.v1.schema.validate_dataframe_schema>`
  - ```{autodoc2-docstring} haniwers.v1.schema.validate_dataframe_schema
    :summary:
    ```
````

### Data

````{list-table}
:class: autosummary longtable
:align: left

* - {py:obj}`RAW_COLUMNS <haniwers.v1.schema.RAW_COLUMNS>`
  - ```{autodoc2-docstring} haniwers.v1.schema.RAW_COLUMNS
    :summary:
    ```
* - {py:obj}`PROCESSED_COLUMNS <haniwers.v1.schema.PROCESSED_COLUMNS>`
  - ```{autodoc2-docstring} haniwers.v1.schema.PROCESSED_COLUMNS
    :summary:
    ```
* - {py:obj}`RESAMPLED_COLUMNS <haniwers.v1.schema.RESAMPLED_COLUMNS>`
  - ```{autodoc2-docstring} haniwers.v1.schema.RESAMPLED_COLUMNS
    :summary:
    ```
````

### API

````{py:data} RAW_COLUMNS
:canonical: haniwers.v1.schema.RAW_COLUMNS
:value: >
   ['timestamp', 'top', 'mid', 'btm', 'adc', 'tmp', 'atm', 'hmd']

```{autodoc2-docstring} haniwers.v1.schema.RAW_COLUMNS
```

````

````{py:data} PROCESSED_COLUMNS
:canonical: haniwers.v1.schema.PROCESSED_COLUMNS
:value: >
   ['datetime', 'top', 'mid', 'btm', 'adc', 'tmp', 'atm', 'hmd', 'hit_top', 'hit_mid', 'hit_btm', 'hit_...

```{autodoc2-docstring} haniwers.v1.schema.PROCESSED_COLUMNS
```

````

````{py:data} RESAMPLED_COLUMNS
:canonical: haniwers.v1.schema.RESAMPLED_COLUMNS
:value: >
   ['time', 'events', 'hit_top', 'hit_mid', 'hit_btm', 'hit_type', 'adc', 'tmp', 'atm', 'hmd', 'adc_std...

```{autodoc2-docstring} haniwers.v1.schema.RESAMPLED_COLUMNS
```

````

````{py:function} validate_dataframe_schema(df, expected_columns: list) -> bool
:canonical: haniwers.v1.schema.validate_dataframe_schema

```{autodoc2-docstring} haniwers.v1.schema.validate_dataframe_schema
```
````
