Whip validator report

Date: {{ report.executed_at }}

Summary

Total rows: {{ report.results.total_rows }}

{% if report.results.unknown_fields %}

Unknown fields

These fields are described in the whip specifications, but are missing in the data:

{% for field in report.results.unknown_fields|sort %} {{ field }} {% endfor %}
{% endif %} {% if report.results.unspecified_fields %}

Unspecified fields

These fields exist in data, but have no whip specification:

{% for field in report.results.unspecified_fields|sort %} {{ field }} {% endfor %}
{% endif %} {% if report.results.unspecified_fields %}

General warnings

{% for warning in report.results.warnings|sort %}

{{ warning }}

{% endfor %}
{% endif %}

Specifications

{% for field, rules in report.results.specified_fields.items()|sort %}

{{ field }}

{% for rule, info in rules.items()|sort %}
{{ rule }}
{{ info.constraint }}
{% if not info.failed_rows %}
{{ info.passed_rows }}
{% else %}
{{ info.passed_rows }}
{% endif %}
{% if info.failed_rows %} {% endif %}
{% if info.failed_rows %}
{% for value, details in info.samples.items()|sort(attribute='1.failed_rows', reverse=True) %} {% endfor %}
# Data value Message Failed rows First row
{{ loop.index }} {{ value }} {{ details.message}} {{ details.failed_rows}} {{ details.first_row}}
{% endif %} {% endfor %}
{% endfor %}