Skip to content

Commit

Permalink
stac-extensions-disaster
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed Feb 6, 2023
1 parent ce66976 commit f5f7c0a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Disasters Charter Extension Specification

- **Title:** Disasters Charter
- **Identifier:** <https://terradue.github.io/disaster/v1.0.0/schema.json>
- **Identifier:** <https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.json>
- **Field Name Prefix:** disaster
- **Scope:** Item, Collection
- **Extension [Maturity Classification](https://github.com/radiantearth/stac-spec/tree/master/extensions/README.md#extension-maturity):** Proposal
Expand Down
2 changes: 1 addition & 1 deletion examples/acquisition.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",
"https://stac-extensions.github.io/version/v1.0.0/schema.json",
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
"https://terradue.github.io/disaster/v1.0.0/schema.json"
"https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.json"
],
"type": "Feature",
"id": "PT01S19_668124W174_3455752022011600000000MS00_GG003002001-calibrated",
Expand Down
2 changes: 1 addition & 1 deletion examples/activation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/version/v1.0.0/schema.json",
"https://terradue.github.io/disaster/v1.0.0/schema.json"
"https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.json"
],
"type": "Feature",
"id": "act-744",
Expand Down
2 changes: 1 addition & 1 deletion examples/area.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/version/v1.0.0/schema.json",
"https://terradue.github.io/disaster/v1.0.0/schema.json"
"https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.json"
],
"type": "Feature",
"id": "AOI1",
Expand Down
2 changes: 1 addition & 1 deletion examples/call-collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"https://stac-extensions.github.io/sar/v1.0.0/schema.json",
"https://stac-extensions.github.io/sat/v1.0.0/schema.json",
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
"https://terradue.github.io/disaster/v1.0.0/schema.json"
"https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.json"
],
"links": [],
"type": "Collection",
Expand Down
4 changes: 2 additions & 2 deletions json-schema/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://terradue.github.io/disaster/v1.0.0/schema.json#",
"$id": "https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.json#",
"title": "Disaster Charter Extension",
"description": "STAC Disaster Charter Extension for STAC Items and STAC Collections.",
"oneOf": [
Expand Down Expand Up @@ -94,7 +94,7 @@
"stac_extensions": {
"type": "array",
"contains": {
"const": "https://terradue.github.io/disaster/v1.0.0/schema.json"
"const": "https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.json"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"scripts": {
"test": "npm run check-markdown && npm run check-examples",
"check-markdown": "remark . -f -r .github/remark.yaml",
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://terradue.github.io/disaster/v1.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://terradue.github.io/disaster/v1.0.0/schema.jsonn=./json-schema/schema.json"
"check-examples": "stac-node-validator . --lint --verbose --schemaMap https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.json=./json-schema/schema.json",
"format-examples": "stac-node-validator . --format --schemaMap https://terradue.github.io/stac-extensions-disaster/v1.0.0/schema.jsonn=./json-schema/schema.json"
},
"dependencies": {
"remark-cli": "^8.0.0",
Expand Down

0 comments on commit f5f7c0a

Please sign in to comment.