diff --git a/cove_ofds/templates/cove_ofds/additional_checks_table.html b/cove_ofds/templates/cove_ofds/additional_checks_table.html index 18dac9a..7f791f3 100644 --- a/cove_ofds/templates/cove_ofds/additional_checks_table.html +++ b/cove_ofds/templates/cove_ofds/additional_checks_table.html @@ -4,6 +4,12 @@ {% if 'span_start_node_not_found' in additional_checks or 'span_end_node_not_found' in additional_checks %}

{% trans 'Node references' %}

{% trans 'Your data contains spans with node references that cannot be resolved. `Span.start` and `Span.end` must match the `.id` of exactly one node in the `/nodes` array.' %}

+ {% if 'span_start_node_not_found' in additional_checks %} +

{% trans 'Schema Documentation' %}

+ {% endif %} + {% if 'span_end_node_not_found' in additional_checks %} +

{% trans 'Schema Documentation' %}

+ {% endif %} @@ -47,6 +53,7 @@

{% trans 'Node references' %}

{% if 'node_location_type_incorrect' in additional_checks %}

{% trans 'Node location type' %}

{% trans 'Your data contains nodes with incorrect location types. `/nodes/location/type` must be `Point`.' %}

+

{% trans 'Schema Documentation' %}

@@ -73,6 +80,7 @@

{% trans 'Node location type' %}

{% if 'node_location_coordinates_incorrect' in additional_checks %}

{% trans 'Node location coordinates' %}

{% trans 'Your data contains nodes with incorrectly formatted location coordinates. `/nodes/location/coordinates` must be a single position, i.e. an array of numbers.' %}

+

{% trans 'Schema Documentation' %}

@@ -99,6 +107,7 @@

{% trans 'Node location coordinates' %}

{% if 'span_route_type_incorrect' in additional_checks %}

{% trans 'Span route geometry' %}

{% trans 'Your data contains spans with incorrect route types. `/spans/route/type` must be `LineString`.' %}

+

{% trans 'Schema Documentation' %}

@@ -125,6 +134,7 @@

{% trans 'Span route geometry' %}

{% if 'span_route_coordinates_incorrect' in additional_checks %}

{% trans 'Span route coordinates' %}

{% trans 'Your data contains spans with incorrectly formatted route coordinates. `/spans/route/coordinates` must be an array of positions, i.e. an array of arrays of numbers.' %}

+

{% trans 'Schema Documentation' %}

@@ -151,6 +161,7 @@

{% trans 'Span route coordinates' %}

{% if 'node_phase_reference_id_not_found' in additional_checks or 'span_phase_reference_id_not_found' in additional_checks or 'contract_related_phase_reference_id_not_found' in additional_checks %}

{% trans 'Phase references' %}

{% trans 'Your data contains phase references that cannot be resolved. The `.id` of each phase reference must match the `.id` of exactly one phase in the `/phases` array.' %}

+

{% trans 'Schema Documentation' %}

{% if 'node_phase_reference_id_not_found' in additional_checks %}
@@ -225,6 +236,7 @@

{% trans 'Phase references' %}

{% if 'node_phase_reference_name_does_not_match' in additional_checks or 'span_phase_reference_name_does_not_match' in additional_checks or 'contract_related_phase_reference_name_does_not_match' in additional_checks %}

{% trans 'Phase names' %}

{% trans 'Your data contains phase references with inconsistent names. The `.name` of each phase reference must match the `.name` of the phase it references.' %}

+

{% trans 'Schema Documentation' %}

{% if 'node_phase_reference_name_does_not_match' in additional_checks %}
@@ -297,6 +309,7 @@

{% trans 'Phase names' %}

{% if 'node_organisation_reference_id_not_found' in additional_checks or 'node_organisation_reference_id_not_found' in additional_checks or 'phase_organisation_reference_id_not_found' in additional_checks %}

{% trans 'Organisation references' %}

{% trans 'Your data contains organisation references that cannot be resolved. The `.id` of each organisation reference must match the `.id` of exactly one organisation in the `/organisations` array.' %}

+

{% trans 'Schema Documentation' %}

{% if 'node_organisation_reference_id_not_found' in additional_checks %}
@@ -378,6 +391,7 @@

{% trans 'Organisation references' %}

{% if 'node_organisation_reference_name_does_not_match' in additional_checks %}

{% trans 'Organisation names' %}

{% trans 'Your data contains organisation references with inconsistent names. The `.name` of each organisation reference must match the `.name` of the organisation it references.' %}

+

{% trans 'Schema Documentation' %}

{% if 'node_organisation_reference_name_does_not_match' in additional_checks %}
@@ -458,6 +472,7 @@

{% trans 'Organisation names' %}

{% if 'node_international_connections_country_not_set' in additional_checks %}

{% trans 'International connection countries' %}

{% trans 'Your data contains nodes with international connections that do not specify a country. `.country` must be set for each international connection in `/nodes/internationalConnections`.' %}

+

{% trans 'Schema Documentation' %}

@@ -484,12 +499,14 @@

{% trans 'International connection countries' %}

{% if 'has_links_with_external_node_data' in additional_checks %}

{% trans 'Links to nodes data' %}

{% trans 'Your data contains links to API endpoints or bulk files for nodes. The additional data available from the links has not been checked. You can check the data by embedding it in network package and submitting it to CoVE.' %}

+

{% trans 'Schema Documentation' %}

{% endif %} {% if 'has_links_with_external_span_data' in additional_checks %}

{% trans 'Links to spans data' %}

{% trans 'Your data contains links to API endpoints or bulk files for nodes. The additional data available from the links has not been checked. You can check the data by embedding it in network package and submitting it to CoVE.' %}

+

{% trans 'Schema Documentation' %}

{% endif %}