updated schemas.js to conform with the newly designed collection schemas