@classmethod
def find_from_schema_id(cls, schema_id):
    """Find registry from a schema id."""
    for r in cls.list():
        for schema in r.entity_schemas:
            if schema['id'] == schema_id:
                return r
