Create schema and reference to multiple collections