add events schema