@Tom Anderson Welcome to Microsoft Q&A forum and thanks for reaching out here.
I'm not sure if the response you have shared is complete JSON payload or just a part of it. But in general, below will be settings. For more information about the end condition, the ADF public document has few examples called out, please review them and let us know if your scenario didn't cover in that.
Hope this info helps. In case if you are still blocked, please help us with a sample free API that can provide a response JSON payload as your so that we can try to reproduce and assist accordingly. Let us know how it goes.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.