-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #475 from opengeospatial/Refactor-DataQuery-defini…
…tions Refactor DataQuery definitions
- Loading branch information
Showing
8 changed files
with
63 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
description: Property to contain any extra metadata information that is specific | ||
to an individual data query | ||
type: object | ||
required: | ||
- title | ||
- description | ||
- output_formats | ||
- default_output_format | ||
- crs_details | ||
properties: | ||
title: | ||
description: title of the query | ||
type: string | ||
example: Position query | ||
description: | ||
description: description of the query | ||
type: string | ||
example: Query to return data for a defined well known text point | ||
output_formats: | ||
description: list of output formats supported by the Position query | ||
type: array | ||
items: | ||
type: string | ||
example: | ||
- CoverageJSON | ||
- GeoJSON | ||
- IWXXM | ||
- GRIB | ||
default_output_format: | ||
description: default output format for the Position query | ||
type: string | ||
crs_details: | ||
description: List of key/value definitions for the CRS's supported by the Position query. The key is the query parameter and the value is the Well Known Text description | ||
type: array | ||
items: | ||
$ref: crsObject.yaml |
33 changes: 4 additions & 29 deletions
33
core/standard/openapi/schemas/collections/areaDataQuery.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,11 @@ | ||
description: Property to contain any extra metadata information that is specific | ||
to an individual data queries | ||
type: object | ||
allOf: | ||
- $ref: DataQuery.yaml | ||
required: | ||
- query_type | ||
properties: | ||
title: | ||
description: title of the query | ||
type: string | ||
example: Area query | ||
description: | ||
description: description of the query | ||
type: string | ||
example: Query to return data for a defined area | ||
query_type: | ||
description: Type of EDR query | ||
type: string | ||
enum: | ||
- area | ||
example: area | ||
output_formats: | ||
description: list of output formats supported by the Area query | ||
type: array | ||
items: | ||
type: string | ||
example: | ||
- CoverageJSON | ||
- GeoJSON | ||
- IWXXM | ||
- GRIB | ||
default_output_format: | ||
description: default output format for the Area query | ||
type: string | ||
crs_details: | ||
description: List of key/value definitions for the CRS's supported by the Area query. The key is the query parameter and the value is the Well Known Text description | ||
type: array | ||
items: | ||
$ref: crsObject.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 7 additions & 32 deletions
39
core/standard/openapi/schemas/collections/cubeDataQuery.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,19 @@ | ||
description: Property to contain any extra metadata information that is specific | ||
to an individual data queries | ||
type: object | ||
allOf: | ||
- $ref: DataQuery.yaml | ||
required: | ||
- query_type | ||
properties: | ||
title: | ||
description: title of the query | ||
type: string | ||
example: Cube query | ||
description: | ||
description: description of the query | ||
type: string | ||
example: Query to return data for a defined well known text point | ||
query_type: | ||
description: Type of EDR query | ||
type: string | ||
enum: | ||
- cube | ||
example: cube | ||
example: cube | ||
height_units: | ||
description: list of height distance units distance values can be specified in | ||
description: list of z distance units vertical values can be specified in | ||
type: array | ||
items: | ||
type: string | ||
example: | ||
- m | ||
- hPa | ||
output_formats: | ||
description: list of output formats supported by the Cube query | ||
type: array | ||
items: | ||
type: string | ||
example: | ||
- CoverageJSON | ||
- GeoJSON | ||
- IWXXM | ||
- GRIB | ||
default_output_format: | ||
description: default output format of the Cube query | ||
type: string | ||
crs_details: | ||
description: List of key/value definitions for the CRS's supported by the Cube query. The key is the query parameter and the value is the Well Known Text description | ||
type: array | ||
items: | ||
$ref: crsObject.yaml | ||
- hPa |
33 changes: 4 additions & 29 deletions
33
core/standard/openapi/schemas/collections/locationsDataQuery.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,11 @@ | ||
description: Property to contain any extra metadata information that is specific | ||
to an individual data queries | ||
type: object | ||
allOf: | ||
- $ref: DataQuery.yaml | ||
required: | ||
- query_type | ||
properties: | ||
title: | ||
description: title of the query | ||
type: string | ||
example: Locations query | ||
description: | ||
description: description of the query | ||
type: string | ||
example: Query to return data for a defined well known text point | ||
query_type: | ||
description: Type of EDR query | ||
type: string | ||
enum: | ||
- locations | ||
example: locations | ||
output_formats: | ||
description: list of output formats supported by the Locations query | ||
type: array | ||
items: | ||
type: string | ||
example: | ||
- CoverageJSON | ||
- GeoJSON | ||
- IWXXM | ||
- GRIB | ||
default_output_format: | ||
description: default output format of the Locations query | ||
type: string | ||
crs_details: | ||
description: List of key/value definitions for the CRS's supported by the Locations query. The key is the query parameter and the value is the Well Known Text description | ||
type: array | ||
items: | ||
$ref: crsObject.yaml |
33 changes: 4 additions & 29 deletions
33
core/standard/openapi/schemas/collections/positionDataQuery.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,11 @@ | ||
description: Property to contain any extra metadata information that is specific | ||
to an individual data queries | ||
type: object | ||
allOf: | ||
- $ref: DataQuery.yaml | ||
required: | ||
- query_type | ||
properties: | ||
title: | ||
description: title of the query | ||
type: string | ||
example: Position query | ||
description: | ||
description: description of the query | ||
type: string | ||
example: Query to return data for a defined well known text point | ||
query_type: | ||
description: Type of EDR query | ||
type: string | ||
enum: | ||
- position | ||
example: position | ||
output_formats: | ||
description: list of output formats supported by the Position query | ||
type: array | ||
items: | ||
type: string | ||
example: | ||
- CoverageJSON | ||
- GeoJSON | ||
- IWXXM | ||
- GRIB | ||
default_output_format: | ||
description: default output format for the Position query | ||
type: string | ||
crs_details: | ||
description: List of key/value definitions for the CRS's supported by the Position query. The key is the query parameter and the value is the Well Known Text description | ||
type: array | ||
items: | ||
$ref: crsObject.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 2 additions & 29 deletions
31
core/standard/openapi/schemas/collections/trajectoryDataQuery.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,9 @@ | ||
description: Property to contain any extra metadata information that is specific | ||
to an individual data queries | ||
type: object | ||
allOf: | ||
- $ref: DataQuery.yaml | ||
properties: | ||
title: | ||
description: title of the query | ||
type: string | ||
example: Trajectory query | ||
description: | ||
description: description of the query | ||
type: string | ||
example: Query to return data for a defined well known text point | ||
query_type: | ||
description: Type of EDR query | ||
type: string | ||
enum: | ||
- trajectory | ||
example: trajectory | ||
output_formats: | ||
description: list of ouputformats supported by the Trajectory query | ||
type: array | ||
items: | ||
type: string | ||
example: | ||
- CoverageJSON | ||
- GeoJSON | ||
- IWXXM | ||
- GRIB | ||
default_output_format: | ||
description: default outputformat for the Trajectory query | ||
type: string | ||
crs_details: | ||
description: List of key/value definitions for the CRS's supported by a Trajectory query. The key is the query parameter and the value is the Well Known Text description | ||
type: array | ||
items: | ||
$ref: crsObject.yaml |