diff --git a/cove_ofds/templates/cove_ofds/jsonschema_validation_panel.html b/cove_ofds/templates/cove_ofds/jsonschema_validation_panel.html index f8f7d1e..6997662 100644 --- a/cove_ofds/templates/cove_ofds/jsonschema_validation_panel.html +++ b/cove_ofds/templates/cove_ofds/jsonschema_validation_panel.html @@ -10,7 +10,7 @@

{% trans 'Value does not match constant' %}

{% if 'prefixItems' in validation_errors %}

{% trans 'Empty array' %}

You must omit empty arrays from your data in their entirety (key and value).

- {% include "cove_ofds/jsonschema_validation_table.html" with validation_errors_for_table=validation_errors.Emptyarray col_instance=True error_table_id="Emptyarray" %} + {% include "cove_ofds/jsonschema_validation_table.html" with validation_errors_for_table=validation_errors.Emptyarray col_instance=True error_table_id="prefixItems" %} {% endif %} @@ -30,7 +30,7 @@

{% trans 'Field name does not match pattern' %}

{% if 'Valuedoesnotmatchpattern' in validation_errors %}

{% trans 'Value does not match pattern' %}

You must ensure that only the first item in the `links` array has `.rel` set to 'describedBy`.

- {% include "cove_ofds/jsonschema_validation_table.html" with validation_errors_for_table=validation_errors.Fieldnamedoesnotmatchpattern col_instance=True error_table_id="Fieldnamedoesnotmatchpattern" %} + {% include "cove_ofds/jsonschema_validation_table.html" with validation_errors_for_table=validation_errors.Fieldnamedoesnotmatchpattern col_instance=True error_table_id="Valuedoesnotmatchpattern" %} {% endif %}