schema for index