How to add custom list property?

How to add a list with items user can add and rename?
Something similar the the render layer list? can we script it in python?

  1. Click in the first blank cell under Property Name, then type a name or choose one from the list.
    Select a Type from the list.

  2. Under Value / Text Expression, enter a value for the custom property that is compatible with the selection in the Type cell.
    For Value / Text Expression, you can type values, or you can select values from the list, which contains:
    SolidWorks parameters (Mass, Density, and so on)
    -Global variables
    -Press Tab or Enter.

3.The value of the property displays under Evaluated Value.