new schema for events