Form slots need to be specified as dictionary error

Hello! Im currently owrking on implementing a form for a user to ingress the title of a ticket for customer service. The problem resides on my domain.yml file, which states that the slots are not correctly stated.

i have the slot ticket_content as follows:

slots:
  ticket_content:
    type: text
    influence_conversation: false

And my form is like this:

forms:
  ticket_form:
    required_slots:
      - ticket_content

Although this follows the format specified in rasa forms, its throwing the error

UserWarning: Loading domain from 'domain.yml' failed. Using empty domain. Error: 'The slots for form 'ticket_form' were specified as '<class 'list'>'. They need to be specified as dictionary. Please see https://rasa.com/docs/rasa/forms for more information.'

Does the error reside on how im ingressing the slots or the form? Im using rasa version 2.8.7

@redbeans please do ref again the doc for forms for version 2.x: Forms. I guess you have mistaken the doc, the reference link which you mentioned is for rasa 3.x

forms:
  your_form:
    required_slots:
        slot_name:
        - type: from_text