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:


The closest I can see is:

    - 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?