build_config_meta#

hydromodpy.schema.build_config_meta()[source]#

Return metadata describing the TOML layout (sections, order, groups).

The returned document is derived from the JSON Schema but flattened for easy consumption by a frontend: :rtype: dict[str, Any]

  • sections lists the root TOML sections in the canonical order produced by hydromodpy.config.schema_export.export_schema().

  • groups aggregates json_schema_extra.group across all annotated fields so a UI can render tabs / accordions.

Return type:

dict[str, Any]