Select from a list of values

Can someone point me to an example of how you would code a preference input of a numeric value using a list of valid entries? For example, to get a preference dialog to select from 5 values: 20, 40, 60, 80, and 100. Preferably by presenting the list of values with check boxes.

I think I’ve got this to work:

section ("Set Dimmed Level") {
		input "DimLevel", "enum", title: "Dimmed Level", required: true, options: [20,30,40,50,75]

I think this is letting me set DimLevel to a number that us 20, 30, 40, 50, or 75. There is a time element of my SmartApp that makes it difficult to test in the IDE but this did, at least, generate a selection list when it ran.