dump_schema#

lsst.images.serialization.dump_schema(tree_cls)#

Return the JSON Schema for tree_cls.

Parameters:

tree_cls (type[ArchiveTree]) – Serialization model class to dump.

Return type:

dict[str, Any]

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.

This page was last modified on .