# Python API

This reference is generated from module docstrings and public exports.

## Inspection

```{eval-rst}
.. autofunction:: rsm_schema.validate_document
```

```{eval-rst}
.. automodule:: rsm_schema.inspector
   :members:
```

## Generated models

`datamodel-code-generator` produces these classes from the bundled schema. The
public exports include the document root and reusable entities from `$defs`;
generator-internal wrappers remain in `rsm_schema.generated.models`.

```{eval-rst}
.. automodule:: rsm_schema.generated
   :members:
   :imported-members:
```
