Skip to content

Commit

Permalink
jsonschema_validation: Show/Hide links, correct duplicate CSS id bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jarofgreen committed Dec 1, 2022
1 parent 3bd7bfc commit 2ae84bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h4>{% trans 'Value does not match constant' %}</h4>
{% if 'prefixItems' in validation_errors %}
<h4>{% trans 'Empty array' %}</h4>
<p>You must omit empty arrays from your data in their entirety (key and value).</p>
{% 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 %}


Expand All @@ -30,7 +30,7 @@ <h4>{% trans 'Field name does not match pattern' %}</h4>
{% if 'Valuedoesnotmatchpattern' in validation_errors %}
<h4>{% trans 'Value does not match pattern' %}</h4>
<p>You must ensure that only the first item in the `links` array has `.rel` set to 'describedBy`.</p>
{% 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 %}


Expand Down

0 comments on commit 2ae84bd

Please sign in to comment.