Metadata-Version: 2.5
Name: koia-scene-model
Version: 1.0.0
Summary: Pydantic models generated from the Koia scene JSON Schema, for programs that write scenes into CouchDB for Koia
Project-URL: Homepage, https://github.com/centeractive/koia-scene-schema
Author-email: centeractive ag <info@centeractive.com>
License-Expression: MIT
Requires-Python: >=3.10
Requires-Dist: pydantic<3,>=2
Provides-Extra: test
Requires-Dist: jsonschema==4.26.0; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Description-Content-Type: text/markdown

# koia-scene-model

Pydantic models generated from the [Koia scene JSON Schema](https://github.com/centeractive/koia-scene-schema), plus the packaged schemas.

```python
from koia_scene_model import SceneDocument, SceneColumn, schema_path

scene = SceneDocument(creationTime=1767225600000, name='Logs', shortDescription='', database='data_1',
                      columns=[SceneColumn(name='Data', dataType='Text')], schemaVersion='1.0')
print(scene.model_dump_json(by_alias=True, exclude_none=True))
```

See [SPEC.md](https://github.com/centeractive/koia-scene-schema/blob/main/docs/SPEC.md) for the rules beyond the schema.
