events attribute in schema