gui_schema#
JSON Schema and validation utilities for the GUIModel format.
- baf.core.gui.gui_schema.get_json_schema()[source]#
Return the JSON Schema for a serialized
GUIModel.The schema is designed to be passed to an LLM as a generation constraint. All element types are discriminated by the
"type"field.- Returns:
A
dictcontaining a JSON Schema (draft-07) for the GUIModel format.