Currently there is an error at format time when Groups are nested incorrectly here.
It would be good to check this during validation and enable schema linting. It is probably not possible with the current structure, but if we add some concept of a top-level Group (which is allowed layout=Grid) and a nested Group (which is not). Then it could be checked by pydantic.
Currently there is an error at format time when Groups are nested incorrectly here.
It would be good to check this during validation and enable schema linting. It is probably not possible with the current structure, but if we add some concept of a top-level Group (which is allowed layout=Grid) and a nested Group (which is not). Then it could be checked by pydantic.