function toSchemaPath(repetitionPath) {
    return repetitionPath.map(repetition_type => ({
      element: {
        name: 'name',
        repetition_type,
      },
      count: 1,
      children: [],
      path: [],
    }))
  }
@import {FieldRepetitionType, SchemaTree} from '../src/types.js'
@param {(FieldRepetitionType | undefined)[]} repetitionPath
@returns {SchemaTree[]}