Skip to content

feat: resolves #4 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ Some extensions may specify more specific rules for this field.

This field superceedes the `sar:product_type` field.

#### product:acquisition_type

The product acquisition type in this extension is an enumeration text that providers can use to descibe their product types.
As described in the [specifications](https://docs.ogc.org/is/10-157r4/10-157r4.html):

> Used to distinguish at a high level the appropriateness of the acquisition for "general" use, whether the product is a nominal acquisition, special calibration product or other.

Admitted values are:
- `nominal`
- `calibration`
- `other`

#### Timeliness

Below you can find an example that shows how the timeliness fields could be used.
Expand Down
3 changes: 2 additions & 1 deletion examples/collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
],
"product:timeliness_category": [
"NRT"
]
],
"product:acquisition_type": "calibration"
},
"links": [
{
Expand Down
3 changes: 2 additions & 1 deletion examples/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
],
"product:type": "GRD",
"product:timeliness": "PT3H",
"product:timeliness_category": "NRT"
"product:timeliness_category": "NRT",
"product:acquisition_type": "nominal"
},
"geometry": {
"type": "Polygon",
Expand Down
7 changes: 7 additions & 0 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@
},
"product:timeliness_category": {
"$ref": "#/definitions/product:timeliness_category"
},
"product:acquisition_type": {
"$ref": "#/definitions/product:acquisition_type"
}
},
"patternProperties": {
Expand All @@ -137,6 +140,10 @@
"product:timeliness_category": {
"type": "string"
},
"product:acquisition_type": {
"type": "string",
"enum": [ "nominal", "calibration", "other" ]
},
"json_schema": {
"$comment": "JSON Schema",
"type": "object"
Expand Down