data model for kvdiagram