Added the schema requirement to the events.js