schemas_create_registry function

Creates a registry