- name: id
  type: string
  required: false
  description: The id of the radio group.
- name: groupname
  type: string
  required: true
  description: The radio group name. Will be used as 'name' for each radio button.
- name: radiogroupLegend
  type: string
  required: false
  description: The legend (same styling as label) for the entire radio group.
- name: collapsedItems
  type: boolean
  required: false
  description: Set to 'true' if any radio button in the group shows additional content when checked.
- name: classes
  type: string
  required: false
  description: Classes for the radio group (formgroup element).
- name: attributes
  type: string
  required: false
  description: Attributes for the radio group (formgroup element).
- name: helptext
  type: string
  required: false
  description: Helptext for the entire radio group.
- name: errorMessage
  type: string
  required: false
  description: Error message for the radio group.
- name: tooltip
  type: string
  required: false
  description: Additional text to show in a tooltip next to the legend
- name: items
  type: object
  required: true
  description: The radio buttons in the group.
  - name: value
    type: string
    required: true
    description: Value sent to the server on submit.
  - name: label
    type: string
    required: true
    description: Label for the radio button (the text written next to the radio button)
  - name: classes
    type: object
    required: false
    description: Classes for the radio button elements.
    - name: formgroupradio
      type: string
      required: false
      description: Additional classes to add to the div with the form-group-radio class.
    - name: input
      type: string
      required: false
      description: Classes to add to the input.
    - name: label
      type: string
      required: false
      description: Classes to add to the label.
  - name: disabled
    type: boolean
    required: false
    description: Set to true to disable the radio button.
  - name: checked
    type: boolean
    required: false
    description: Set to true to mark the radio button as selected.
  - name: helptext
    type: string
    required: false
    description: Helptext displayed under the radio button label.
  - name: srOnly
    type: string
    required: false
    description: Additional text only accessible for screenreaders. The text is appended to the label text.
  - name: attributes
    type: object
    required: false
    description: Attributes for the radio button elements.
    - name: formgroupradio
      type: string
      required: false
      description: Attributes to add to the div with the form-group-radio class.
    - name: input
      type: string
      required: false
      description: Attributes to add to the input.
    - name: label
      type: string
      required: false
      description: Attributes to add to the label.
  - name: hiddenContent
    type: string
    required: false
    description: Content to be displayed when the radio button is checked. Can contain HTML.