Skip to content

Commit

Permalink
schema: Update links to point to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jarofgreen committed Nov 10, 2022
1 parent b249d47 commit 9b6bf8d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
22 changes: 11 additions & 11 deletions cove_ofds/templates/cove_ofds/additional_checks_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ <h4>
<p>
{% 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.' %}
For more information, see
<a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/Span,start">`Span.start`</a> and
<a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/Span,end">`Span.end`</a>.
<a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/Span,start">`Span.start`</a> and
<a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/Span,end">`Span.end`</a>.
</p>
<table class="table">
<thead>
Expand Down Expand Up @@ -59,7 +59,7 @@ <h4>
</h4>
<p>
{% trans 'Your data contains nodes with incorrect location types. `/nodes/location/type` must be `Point`.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/Geometry,type">`Geometry.type`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/Geometry,type">`Geometry.type`</a>.
</p>
<table class="table">
<thead>
Expand Down Expand Up @@ -95,7 +95,7 @@ <h4>
</h4>
<p>
{% trans 'Your data contains nodes with incorrectly formatted location coordinates. `/nodes/location/coordinates` must be a single position, i.e. an array of numbers.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/Geometry,coordinates">`Geometry.coordinates`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/Geometry,coordinates">`Geometry.coordinates`</a>.
</p>
<table class="table">
<thead>
Expand Down Expand Up @@ -131,7 +131,7 @@ <h4>
</h4>
<p>
{% trans 'Your data contains spans with incorrect route types. `/spans/route/type` must be `LineString`.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/Geometry,type">`Geometry.type`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/Geometry,type">`Geometry.type`</a>.
</p>
<table class="table">
<thead>
Expand Down Expand Up @@ -167,7 +167,7 @@ <h4>
</h4>
<p>
{% 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.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/Geometry,coordinates">`Geometry.coordinates`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/Geometry,coordinates">`Geometry.coordinates`</a>.
</p>
<table class="table">
<thead>
Expand Down Expand Up @@ -203,7 +203,7 @@ <h4>
</h4>
<p>
{% 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.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/PhaseReference,id">`PhaseReference.id`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/PhaseReference,id">`PhaseReference.id`</a>.
</p>
{% if 'node_phase_reference_id_not_found' in additional_checks %}
<table class="table">
Expand Down Expand Up @@ -295,7 +295,7 @@ <h4>
</h4>
<p>
{% trans 'Your data contains phase references with inconsistent names. The `.name` of each phase reference must match the `.name` of the phase it references.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/PhaseReference,name">`PhaseReference.name`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/PhaseReference,name">`PhaseReference.name`</a>.
</p>
{% if 'node_phase_reference_name_does_not_match' in additional_checks %}
<table class="table">
Expand Down Expand Up @@ -385,7 +385,7 @@ <h4>
</h4>
<p>
{% 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.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/OrganisationReference,id">`OrganisationReference.id`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/OrganisationReference,id">`OrganisationReference.id`</a>.
</p>
{% if 'node_organisation_reference_id_not_found' in additional_checks %}
<table class="table">
Expand Down Expand Up @@ -484,7 +484,7 @@ <h4>
</h4>
<p>
{% trans 'Your data contains organisation references with inconsistent names. The `.name` of each organisation reference must match the `.name` of the organisation it references.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/OrganisationReference,name">`OrganisationReference.name`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/OrganisationReference,name">`OrganisationReference.name`</a>.
</p>
{% if 'node_organisation_reference_name_does_not_match' in additional_checks %}
<table class="table">
Expand Down Expand Up @@ -582,7 +582,7 @@ <h4>
</h4>
<p>
{% 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`.' %}
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,/definitions/Node,internationalConnections">`Node.internationalConnections`</a>.
For more information, see <a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,/definitions/Node,internationalConnections">`Node.internationalConnections`</a>.
</p>
<table class="table">
<thead>
Expand Down
12 changes: 6 additions & 6 deletions cove_ofds/templates/cove_ofds/explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h4 class="panel-title">
</h4>
</div>
<div id="unchecked-data" class="collapse in panel-body">
<p>{% trans 'Your data contains links to API endpoints or bulk files. 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. For more information, see ' %}<a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/schema.html#network-schema.json,,links"><code>/links</code></a>.</p>
<p>{% trans 'Your data contains links to API endpoints or bulk files. 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. For more information, see ' %}<a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/schema.html#network-schema.json,,links"><code>/links</code></a>.</p>
</div>
</div>
</div>
Expand Down Expand Up @@ -187,7 +187,7 @@ <h4 class="panel-title">
</h4>
</div>
<div id="validationTable" class="collapse in panel-body">
<p>{% trans 'The structure and format of your data does not conform to the OFDS schema. You should check your mapping and data pipeline for errors. For more information, see the ' %}<a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference">{% trans 'reference documentation' %}</a>.</p>
<p>{% trans 'The structure and format of your data does not conform to the OFDS schema. You should check your mapping and data pipeline for errors. For more information, see the ' %}<a target="_blank" href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference">{% trans 'reference documentation' %}</a>.</p>
{% include "cove_ofds/jsonschema_validation_panel.html" %}
</div>
</div>
Expand Down Expand Up @@ -224,9 +224,9 @@ <h4 class="panel-title">
<ul>
<li>{% trans 'Check that additional fields are not the result of typos in field names or other errors in your mapping or data pipeline.' %}</li>
<li>{% trans 'Check whether the data in these fields could be provided by using a field in the OFDS schema.' %}</li>
<li>{% trans 'Document the structure, format and meaning of additional fields in your' %}<a href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/guidance/publication.html#how-to-write-a-data-user-guide">{% trans 'data user guide' %}</a>.</li>
<li>{% trans 'Document the structure, format and meaning of additional fields in your' %}<a href="https://open-fibre-data-standard.readthedocs.io/en/latest/guidance/publication.html#how-to-write-a-data-user-guide">{% trans 'data user guide' %}</a>.</li>
</ul>
<p>{% trans 'For more information, see ' %}<a href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/guidance/publication.html#how-to-add-additional-fields">{% trans 'how to add additional fields' %}</a>.</p>
<p>{% trans 'For more information, see ' %}<a href="https://open-fibre-data-standard.readthedocs.io/en/latest/guidance/publication.html#how-to-add-additional-fields">{% trans 'how to add additional fields' %}</a>.</p>
{% include "libcoveweb2/additional_fields_table.html" %}
</div>
</div>
Expand All @@ -238,7 +238,7 @@ <h4 class="panel-title">
</h4>
</div>
<div id="additionalFieldsTable" class="collapse in panel-body">
<p>{% trans 'Your data contains no additional fields. For more information, see ' %}<a href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/guidance/publication.html#how-to-add-additional-fields">{% trans 'how to add additional fields' %}</a>.</p>
<p>{% trans 'Your data contains no additional fields. For more information, see ' %}<a href="https://open-fibre-data-standard.readthedocs.io/en/latest/guidance/publication.html#how-to-add-additional-fields">{% trans 'how to add additional fields' %}</a>.</p>
</div>
</div>
{% endif %}
Expand Down Expand Up @@ -277,7 +277,7 @@ <h4 class="panel-title">
</div>
<div id="mapVisualisation" class="collapse in panel-body">
{% if can_download_geojson %}
<p>{% trans 'The GeoJSON version of your data is visualised on the map below. You should check that nodes and spans appear in the correct location. If not, you may need to ' %}<a href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/guidance/publication.html#how-to-transform-coordinates-to-the-correct-coordinate-reference-system">{% trans 'transform your coordinates to the correct coordinate reference system' %}</a>.</p>
<p>{% trans 'The GeoJSON version of your data is visualised on the map below. You should check that nodes and spans appear in the correct location. If not, you may need to ' %}<a href="https://open-fibre-data-standard.readthedocs.io/en/latest/guidance/publication.html#how-to-transform-coordinates-to-the-correct-coordinate-reference-system">{% trans 'transform your coordinates to the correct coordinate reference system' %}</a>.</p>
<div id="map" class="map" style="width: 100%; height: 600px;"></div>
{% else %}
<div>
Expand Down
6 changes: 3 additions & 3 deletions cove_ofds/templates/cove_ofds/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<div class="tab-pane fade active in" id="json">

<p>
<strong>Accepted formats:</strong> a UTF-8 encoded JSON file that conforms to the <a href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/publication_formats/json.html#small-files-and-api-responses-option" target="_blank">JSON small files and API responses publication format</a>.
<strong>Accepted formats:</strong> a UTF-8 encoded JSON file that conforms to the <a href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/publication_formats/json.html#small-files-and-api-responses-option" target="_blank">JSON small files and API responses publication format</a>.
</p>

<div class="panel panel-default">
Expand Down Expand Up @@ -90,7 +90,7 @@ <h4 class="panel-title">
<div class="tab-pane fade" id="geojson">

<p>
<strong>Accepted formats:</strong> UTF-8 encoded GeoJSON feature collections that conform to the <a href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/publication_formats/geojson.html#small-files-and-api-responses-option" target="_blank">GeoJSON small files and API responses publication format</a>.
<strong>Accepted formats:</strong> UTF-8 encoded GeoJSON feature collections that conform to the <a href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/publication_formats/geojson.html#small-files-and-api-responses-option" target="_blank">GeoJSON small files and API responses publication format</a>.
</p>

<div class="panel panel-default">
Expand Down Expand Up @@ -119,7 +119,7 @@ <h4 class="panel-title">
<div class="tab-pane fade" id="csvs">

<p>
<strong>Accepted formats:</strong> UTF-8 encoded CSV files that conform to the <a href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/reference/publication_formats/csv.html" target="_blank">CSV publication format</a>.
<strong>Accepted formats:</strong> UTF-8 encoded CSV files that conform to the <a href="https://open-fibre-data-standard.readthedocs.io/en/latest/reference/publication_formats/csv.html" target="_blank">CSV publication format</a>.
</p>

<div class="panel panel-default">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ <h4>{% trans 'Incorrectly formatted uri' %}</h4>
<h4>{% trans 'Incorrectly formatted uuid' %}</h4>
<p>
You must ensure that each uuid is formatted according to <a href="https://datatracker.ietf.org/doc/html/rfc4122" target="_blank">RFC4122</a>.
For more information, see <a href="https://open-fibre-data-standard.readthedocs.io/en/0.1-dev/guidance/publication.html#how-to-generate-universally-unique-identifiers" target="_blank">how to generate universally unique identifiers</a>.
For more information, see <a href="https://open-fibre-data-standard.readthedocs.io/en/latest/guidance/publication.html#how-to-generate-universally-unique-identifiers" target="_blank">how to generate universally unique identifiers</a>.
</p>
{% include "cove_ofds/jsonschema_validation_table.html" with validation_errors_for_table=validation_errors.Incorrectlyformatteduuid %}
{% endif %}
Expand Down

0 comments on commit 9b6bf8d

Please sign in to comment.