Adding Taxonomy to a List of Images

I’m trying to add taxonomy to each image in a list so that I can allow the client to filter based on the taxonomy. The problem is whenever I save, it just clears the fields. I can’t seem to figure out the reason why, or if it is even possible.

Here is the code I have for the blueprint of the page.

header.gallery:
  name: favorites
    type: list
    style: vertical
    label: Gallery Images
    fields:
      .tags:
        type: taxonomy
        label: PLUGIN_ADMIN.TAXONOMY
        multiple: true
        validate:
          type: array

I know that I would be able to use the selectize field type, but I would prefer to use the taxonomy list so that the client can pick from a list of already used tags.

Hopefully someone has had this problem and it is a simple error on my end.

‘taxonomy’ field is a special type that is for Pages only. You can’t arbitrarily use it for custom stuff. I would simply use a commalist type:

header.gallery:
  name: favorites
    type: list
    style: vertical
    label: Gallery Images
    fields:
      .tags:
        type: selectize
        size: large
        label: Tags
        classes: fancy
        validate:
            type: commalist

Okay, that clears it up. I figured I’d have to go that route. Thanks!