renamed to schema to be more generic