Defining the data structure of inventory items