dump_schema#

lsst.images.serialization.dump_schema(tree_cls: type[ArchiveTree]) dict[str, Any]#

Return the JSON Schema for tree_cls.

Parameters#

tree_cls

Serialization model class to dump.

Notes#

Generic trees are parameterized over ArrayReferenceModel, matching the convention used by lsst-images-admin diagram. Model descriptions derived from class docstrings are trimmed to their summary so the numpydoc sections that follow it do not leak into the published schema.