Structured data/ schema mark-up example for repeating group

I have a FAQ page I would like to add structured data to the page HTML header. I am able to do this easily for a page with one question. However, I would like to add schema mark-up for the page that lists all of the questions, not just one. Does anyone have an example of a script to do this?


How did you solve it?

You can use “format as text” on a list.