Simple customfield question

I though it would be easy to create a customfield with some predefined options, however the docs don’t talk about how to specify options, only values. I don’t want users to populate the values of the field, that’s for our app to do.

How would you go about creating a simple Select field with 3 options for fruit, something like:

<select>
  <option></option>
  <option>Apple</option>
  <option>Orange</option>
  <option>Pear</option>
</select>

The closest I can see is:

jira:customField:
    - key: cf-type-fruit
      name: Fruit
      description: Choose your fruit
      type: string
      collection: list

However this essentially creates the equivalent of an Atlaskit Select component that is single choice, but creatable, and no default options in there.

Surely this should be one of the simplest cases for this API?