{% for file in yaml_templates %}
{% for key, value in file.items() %}

"{{ key }}":
  uow_active_days_limit: {{ value.uow_active_days_limit }}
  {% if value.concurrency_limit %}
  concurrency_limit: {{ value.concurrency_limit }}
  {% endif %}
  {% if value.default_priority_hrs %}
  default_priority_hrs: {{ value.default_priority_hrs }}
  {% endif %}
  implementations: {% if not value.implementations %}[]{% else %}
  {% for implementation in value.implementations %}
    - rule: "{{ implementation.rule }}"
      label: "{{ implementation.label }}"
    {% if implementation.flow %}
      flow: "{{ implementation.flow }}"
    {% endif %}
  {% endfor %}
  {% endif %}
  days_offset: {{ value.days_offset }}
  validation_thresholds:
    low: {{ value.validation_thresholds.low }}
    high: {{ value.validation_thresholds.high }}
{% endfor %}
{% endfor %}
