How to add and use curve in DataRegistry?

What is the item struct of a curve?
Can I implement my own struct?
Where should I set the Item ID like in datatable? ( Is it the curve name? In datatable it is the row name)