Skip to content

Commit

Permalink
Move specialized sampling features to part 4 (resolves #82) (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
autermann authored Dec 13, 2024
1 parent 7132570 commit 191212a
Show file tree
Hide file tree
Showing 21 changed files with 7 additions and 20 deletions.
2 changes: 1 addition & 1 deletion api/part1/openapi/requests/samplingFeature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ required: true
content:
application/geo+json:
schema:
$ref: ../schemas/geojson/anySamplingFeature.json
$ref: ../schemas/geojson/samplingFeature.json
examples:
sf-point:
summary: Sampling Point
Expand Down
2 changes: 1 addition & 1 deletion api/part1/openapi/requests/samplingFeatureOrArray.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ content:
schema:
oneOf:
- title: Single Feature
$ref: ../schemas/geojson/anySamplingFeature.json
$ref: ../schemas/geojson/samplingFeature.json
- title: List of Features
$ref: ../schemas/geojson/samplingFeatureArray.json
2 changes: 1 addition & 1 deletion api/part1/openapi/responses/samplingFeature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ description: OK. Successful request
content:
application/geo+json:
schema:
$ref: ../schemas/geojson/anySamplingFeature.json
$ref: ../schemas/geojson/samplingFeature.json
examples:
sf-point:
summary: Sampling Point
Expand Down
17 changes: 2 additions & 15 deletions api/part1/openapi/responses/samplingFeatureCollection.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
description: OK. Successful request
content:
application/geo+json:
schema:
type: object
required: features
properties:
type:
type: string
const: FeatureCollection
features:
type: array
items:
$ref: ../schemas/geojson/anySamplingFeature.json
links:
type: array
items:
$ref: ../schemas/common/commonDefs.json#/definitions/Link
schema:
$ref: ../schemas/geojson/samplingFeatureCollection.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"type": "array",
"items": {
"title": "Sampling Feature",
"$ref": "./anySamplingFeature.json"
"$ref": "./samplingFeature.json"
}
}
2 changes: 1 addition & 1 deletion api/part1/standard/23-001r0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
:geojson-deployment-collection-schema: link:{geojson-schema-root}/deploymentCollection.json[deploymentCollection.json]
:geojson-deployed-system-schema: link:{geojson-schema-root}/deployedSystem.json[deployedSystem.json]
:geojson-deployed-system-collection-schema: link:{geojson-schema-root}/deployedSystemCollection.json[deployedSystemCollection.json]
:geojson-samplingFeature-schema: link:{geojson-schema-root}/anySamplingFeature.json[anySamplingFeature.json]
:geojson-samplingFeature-schema: link:{geojson-schema-root}/samplingFeature.json[samplingFeature.json]
:geojson-samplingFeature-collection-schema: link:{geojson-schema-root}/samplingFeatureCollection.json[samplingFeatureCollection.json]
//
:sensorml-schema-root: {jsonschema-root}/sensorml
Expand Down
File renamed without changes.

0 comments on commit 191212a

Please sign in to comment.