Skip to content

Commit

Permalink
Merge pull request #511 from opengeospatial/correct-references-to-Cov…
Browse files Browse the repository at this point in the history
…erageJSON-media-type

Change CoverageJSON media type
  • Loading branch information
chris-little authored Feb 14, 2024
2 parents 90167ed + bf39a35 commit 5065cc6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions core/standard/abstract_tests/covjson/ATS_definition.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ identifier:: /conf/covjson/definition
target:: /req/covjson/definition
test-purpose:: Verify support for CoverageJSON
test-method::
. A resource is requested with response media type of `application/prs.coverage+json`
. A resource is requested with response media type of `application/vnd.cov+json`
. All `200`-responses SHALL support the following media types:
- `application/prs.coverage+json` for resources
====
- `application/vnd.cov+json` for resources
====
2 changes: 1 addition & 1 deletion core/standard/openapi/responses/queries/200.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: Data ranges required to construct valid queries for the choosen data collection
content:
application/prs.coverage+json:
application/vnd.cov+json:
schema:
$ref: ../../schemas/covjson/coverageJSON.yaml
application/geo+json:
Expand Down
2 changes: 1 addition & 1 deletion core/standard/requirements/covjson/REQ_content.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ Every `200`-response with the media type `application/prs.coverage+json` SHALL b
*B:*
The schema of all responses with the media type `application/prs.coverage+json` SHALL conform with the JSON Schema specified for the resource in the <<rc_core,Core>> requirements class.
The schema of all responses with the media type `application/vnd.cov+json` SHALL conform with the JSON Schema specified for the resource in the <<rc_core,Core>> requirements class.
====
2 changes: 1 addition & 1 deletion core/standard/requirements/covjson/REQ_definition.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ identifier:: /req/covjson/definition
* `application/prs.coverage+json` for resources that include data content, and
* `application/vnd.cov+json` for resources that include data content, and
* `application/json` for all other resources.
Expand Down
2 changes: 1 addition & 1 deletion core/standard/sections/clause_5_conventions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ NOTE: The query patterns of the EDR API use the link relation *data*. It is envi

JSON media types that would typically be used in an OGC API that supports JSON are:

* `application/prs.coverage+json` for resources that include coverage content encoded according to CoverageJSON
* `application/vnd.cov+json` for resources that include coverage content encoded according to CoverageJSON
* `application/geo+json` for feature <<collection-definition,collections>> and features
* `application/json` for all other resource representations, as well as coverage content encoded according to the http://docs.opengeospatial.org/is/09-146r8/09-146r8.html[Coverage Implementation Schema (CIS)]

Expand Down
2 changes: 1 addition & 1 deletion ogc-web-api-guidelines-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This document outlines EDR API support of the design principles of the [OGC Web
- provide query types as convenience / shortcuts to common subsetting patterns
- [x] Principle #3 - Use Well-Known Resource Types
- provides a resource agnostic and inclusive API
- CoverageJSON resource type is `application/prs.coverage+json`. Another type may be registered with IANA if appropriate
- CoverageJSON resource type is `application/vnd.cov+json`. Another type may be registered with IANA if appropriate
- [x] Principle #4 – Construct consistent URIs
- adopts collection of resources principle
- `/collections/{collectionId}/items`
Expand Down

0 comments on commit 5065cc6

Please sign in to comment.