Metadata-Version: 2.4
Name: ctao-datamodel
Version: 1.0.1
Summary: CTAO Data Model in pydantic and utilities for exporting it to latex and plantuml.
Author-email: Karl Kosack <karl.kosack@cta-observatory.org>
License-Expression: BSD-3-Clause
Project-URL: repository, https://gitlab.cta-observatory.org/cta-computing/documentation/ctao-datamodel
Project-URL: documentation, http://cta-computing.gitlab-pages.cta-observatory.org/documentation/ctao-datamodel
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: pydantic
Requires-Dist: email-validator
Requires-Dist: pyyaml
Requires-Dist: astropy>=7.1
Requires-Dist: astropydantic
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Provides-Extra: doc
Requires-Dist: sphinx~=8.2; extra == "doc"
Requires-Dist: numpydoc; extra == "doc"
Requires-Dist: ctao-sphinx-theme~=0.1.2; extra == "doc"
Requires-Dist: sphinx-changelog; extra == "doc"
Requires-Dist: myst-nb; extra == "doc"
Requires-Dist: autodoc_pydantic; extra == "doc"
Provides-Extra: dev
Requires-Dist: setuptools_scm; extra == "dev"
Requires-Dist: towncrier; extra == "dev"
Provides-Extra: all
Requires-Dist: ctao-datamodel[dev,doc,test]; extra == "all"
Dynamic: license-file

# ctao-datamodel

Implementations of a subset of the CTAO data model as [pydantic](https://docs.pydantic.dev/latest/) schemas.

* [Documentation](http://cta-computing.gitlab-pages.cta-observatory.org/common/ctao-datamodel/latest/)
* [Repository](https://gitlab.cta-observatory.org/cta-computing/common/ctao-datamodel)

## Scope

The intention is to cover at least the metadata-aspects of the CTAO data model, i.e. the DataProducts model, and other models that will be serialized as JSON-like documents.  It does not cover the Science data models (DL3, etc), which are more complex.

## Purpose

This module can be used in other projects to help with validation of data against a machine-readable schema. The intention is to also auto-generate [JSONSchema](https://json-schema.org/) from the pydantic models in the CI, and export that as a separate package, to be used with projects that do not want to depend on pydantic, or python in general.
