@classmethod
def from_registry(cls, schema_type, schema_classes, **kwargs):
    """Construct a ComponentSchema from a registry entry.

        Args:
            schema_type (str): Name of component type to build.
            schema_classes (list): List of classes for the component type.
            **kwargs: Additional keyword arguments are passed to the class
                __init__ method.

        Returns:
            ComponentSchema: Schema with information from classes.

        """
    out = cls(schema_type, **kwargs)
    for x in schema_classes:
        out.append(x)
    return out
