def METHOD_NAME(self) -> ModelToDict:
    """Return metadata for all schemata and properties, in a serializable form."""
    return {
        "schemata": {s.name: s.METHOD_NAME() for s in self.schemata.values()},
        "types": {t.name: t.METHOD_NAME() for t in registry.types},
    }