An event schema consists of a schema name, key, and its attributes. Every attribute consists of a name, key, data type, and a unit (and if the data type is double a number of decimals). You can picture the schema as a table and the attributes as columns of this table.