Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

# data files
[*.{yml,yaml,json,xml}]
charset = utf-8
indent_size = 2
indent_style = space

# code files
[*.{sh}]
charset = utf-8
indent_size = 2
indent_style = space
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* text=auto eol=lf

# Ensures that GitHub detects non-programming files as content of the repository since code is not the main content
# https://github.com/github-linguist/linguist/blob/main/docs/overrides.md#detectable
*.adoc linguist-detectable
openapi/**/*.json linguist-detectable
openapi/**/*.yaml linguist-detectable
openapi/**/*.yml linguist-detectable
**/examples/*.json linguist-detectable
**/examples/*.yaml linguist-detectable
**/examples/*.yml linguist-detectable
6 changes: 3 additions & 3 deletions openapi/paths/processes-core/operations/oJobResults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ description: |
For more information, see [Section 7.11](https://docs.ogc.org/is/18-062r2/18-062r2.html#sc_retrieve_job_results).
operationId: getResult
tags:
- Jobs
- Jobs
parameters:
- $ref: "../../../parameters/processes-core/jobID.yaml"
- $ref: "../../../parameters/processes-core/prefer-header-return.yaml"
- $ref: "../../../parameters/processes-core/jobID.yaml"
- $ref: "../../../parameters/processes-core/prefer-header-return.yaml"
responses:
200:
$ref: "../../../responses/processes-core/rResults.yaml"
Expand Down
4 changes: 2 additions & 2 deletions openapi/paths/processes-core/operations/oProcessList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description: |
For more information, see [Section 7.7]https://docs.ogc.org/is/18-062r2/18-062r2.html#sc_process_list).
operationId: getProcesses
tags:
- Processes
- Core
- Processes
- Core
responses:
200:
$ref: "../../../responses/processes-core/rProcessList.yaml"
8 changes: 4 additions & 4 deletions openapi/responses/processes-core/rExecuteSync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ content:
application/geo+json:
schema:
allOf:
- format: geojson-feature-collection
# JSON Schema not supported in OpenAPI 3.0
# - $ref: https://geojson.org/schema/FeatureCollection.json
- $ref: '../../schemas/geojson/FeatureCollection.yaml'
- format: geojson-feature-collection
# JSON Schema not supported in OpenAPI 3.0
# - $ref: https://geojson.org/schema/FeatureCollection.json
- $ref: '../../schemas/geojson/FeatureCollection.yaml'
16 changes: 8 additions & 8 deletions openapi/schemas/common-geodata/additionalDimensionExtent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ title: Extent of any additional dimensions
description: The domain intervals for any additional dimensions of the extent (envelope) beyond those described in temporal and spatial.
type: object
oneOf:
- required: [ interval, definition ]
- required: [ interval, trs ]
- required: [ interval, vrs ]
- required: [ interval, definition ]
- required: [ interval, trs ]
- required: [ interval, vrs ]
properties:
interval:
title: Interval of the extent of this dimension
Expand All @@ -26,11 +26,11 @@ properties:
maxItems: 2
items:
oneOf:
- type: string
nullable: true
example: '2011-11-11T12:22:11Z' #, '2011-11-11T08:22:11-04:00', null
- type: number
example: 32.7
- type: string
nullable: true
example: '2011-11-11T12:22:11Z' #, '2011-11-11T08:22:11-04:00', null
- type: number
example: 32.7
trs:
title: Temporal Coordinate Reference System
description: Temporal Coordinate Reference System (e.g. as defined by Features for 'temporal'). This should be a URI to a registered TRS if one is available, or a full description of the TRS otherwise using e.g., a WKT2CRS string, or a PROJJSON, or CRS JSON object.
Expand Down
12 changes: 6 additions & 6 deletions openapi/schemas/common-geodata/dataType.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This list may be extended (e.g. point clouds, meshes)
anyOf:
- type: string
- type: string
enum:
- map
- vector
- coverage
- type: string
- type: string
enum:
- map
- vector
- coverage
24 changes: 12 additions & 12 deletions openapi/schemas/common-geodata/extent-UAD.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
title: Extent conforming to Uniform Additional Dimensions Schema
description: |-
The extent of the data in the collection.
This extent schema requires that if any dimension beyond spatial and temporal are specified, they conform to the Uniform Additional Dimensions schema.
In addition to the spatial and temporal extents defined in the "Collections" requirements class of OGC API - Common - Part 2,
the "Uniform Additional Dimensions" requirements class specifies a generic schema for describing any additional dimension, such as thermal or pressure ranges.
The extent of the data in the collection.
This extent schema requires that if any dimension beyond spatial and temporal are specified, they conform to the Uniform Additional Dimensions schema.
In addition to the spatial and temporal extents defined in the "Collections" requirements class of OGC API - Common - Part 2,
the "Uniform Additional Dimensions" requirements class specifies a generic schema for describing any additional dimension, such as thermal or pressure ranges.
allOf:
- type: object
properties:
spatial:
$ref: 'spatialExtent.yaml'
temporal:
$ref: 'temporalExtent.yaml'
additionalProperties:
$ref: 'additionalDimensionExtent.yaml'
- type: object
properties:
spatial:
$ref: 'spatialExtent.yaml'
temporal:
$ref: 'temporalExtent.yaml'
additionalProperties:
$ref: 'additionalDimensionExtent.yaml'
30 changes: 15 additions & 15 deletions openapi/schemas/common-geodata/extent.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
title: Extent with (optional) Uniform Additional Dimensions Schema
description: |-
The extent of the data in the collection.
This extent schema includes optional additional dimensions, but will still validate for objects not conforming to UAD.
OGC API - Common - Part 2 "Collections" requirements class specifies only the definition of the spatial and temporal extents.
The "Uniform Additional Dimensions" requirements class specifies a generic schema for describing any additional dimension, such as thermal or pressure ranges.
The extent of the data in the collection.
This extent schema includes optional additional dimensions, but will still validate for objects not conforming to UAD.
OGC API - Common - Part 2 "Collections" requirements class specifies only the definition of the spatial and temporal extents.
The "Uniform Additional Dimensions" requirements class specifies a generic schema for describing any additional dimension, such as thermal or pressure ranges.
allOf:
- type: object
properties:
spatial:
$ref: 'spatialExtent.yaml'
temporal:
$ref: 'temporalExtent.yaml'
- anyOf:
- type: object
description: General object extension point
- type: object
additionalProperties:
- type: object
properties:
spatial:
$ref: 'spatialExtent.yaml'
temporal:
$ref: 'temporalExtent.yaml'
- anyOf:
- type: object
description: General object extension point
- type: object
additionalProperties:
$ref: 'additionalDimensionExtent.yaml'
8 changes: 4 additions & 4 deletions openapi/schemas/cql2/cql2-definitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ definitions:
# - $ref: '#/definitions/patternExpression'
items:
oneOf:
- $ref: '#/definitions/characterExpression'
- $ref: '#/definitions/propertyRef'
- $ref: '#/definitions/functionRef'
- $ref: '#/definitions/patternExpression'
- $ref: '#/definitions/characterExpression'
- $ref: '#/definitions/propertyRef'
- $ref: '#/definitions/functionRef'
- $ref: '#/definitions/patternExpression'
patternExpression:
oneOf:
- type: object
Expand Down
4 changes: 2 additions & 2 deletions openapi/schemas/crs/crs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ oneOf:
properties:
wkt:
allOf:
- description: An object defining the CRS using the JSON encoding for Well-known text representation of coordinate reference systems 2.0
- type: object # - $ref: 'projJSON.yaml'
- description: An object defining the CRS using the JSON encoding for Well-known text representation of coordinate reference systems 2.0
- type: object # - $ref: 'projJSON.yaml'
- required:
- referenceSystem
properties:
Expand Down
12 changes: 6 additions & 6 deletions openapi/schemas/crs/projJSON.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -815,12 +815,12 @@ definitions:
- datum
- datum_ensemble
- oneOf:
- type: object
required:
- datum
- type: object
required:
- datum_ensemble
- type: object
required:
- datum
- type: object
required:
- datum_ensemble
object_usage:
anyOf:
- type: object
Expand Down
Loading