-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add new providers, lifecycle and lineage fields to linz ext (#69)
* feat: Add new providers, lifecycle and lineage fields to linz and quality extensions * feat: update examples and non-examples with new fields * feat: update the description of nonconformant examples * fix: alphabetize required list
- Loading branch information
1 parent
4a83d42
commit 29529b1
Showing
19 changed files
with
264 additions
and
10 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
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
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
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
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,43 @@ | ||
{ | ||
"stac_version": "1.0.0", | ||
"stac_extensions": [ | ||
"https://linz.github.io/stac/_STAC_VERSION_/linz/schema.json", | ||
"https://stac-extensions.github.io/version/v1.0.0/schema.json" | ||
], | ||
"type": "Collection", | ||
"id": "collection", | ||
"title": "A title", | ||
"description": "This is a non-conformant example. It has a linz:providers object with no name field.", | ||
"license": "Apache-2.0", | ||
"linz:created": "2015-06-23T00:00:00Z", | ||
"linz:lifecycle": "Under Development", | ||
"linz:providers": [ | ||
{ | ||
"description": "Example description.", | ||
"roles": ["custodian"], | ||
"url": "https://www.exampleurl.com" | ||
} | ||
], | ||
"linz:security_classification": "Unclassified", | ||
"linz:updated": "2015-06-23T00:00:00Z", | ||
"extent": { | ||
"spatial": { | ||
"bbox": [[172.9, 1.3, 173, 1.4]] | ||
}, | ||
"temporal": { | ||
"interval": [["2015-06-23T00:00:00Z", null]] | ||
} | ||
}, | ||
"summaries": { | ||
"datetime": { | ||
"minimum": "2015-06-23T00:00:00Z", | ||
"maximum": "2019-07-10T13:44:56Z" | ||
} | ||
}, | ||
"links": [], | ||
"quality:description": "Example quality description", | ||
"quality:horizontal_accuracy": 1, | ||
"quality:horizontal_accuracy_type": "Nominal", | ||
"quality:lineage": "This is an example dataset lineage description.", | ||
"version": "2.0.0" | ||
} |
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,43 @@ | ||
{ | ||
"stac_version": "1.0.0", | ||
"stac_extensions": [ | ||
"https://linz.github.io/stac/_STAC_VERSION_/linz/schema.json", | ||
"https://stac-extensions.github.io/version/v1.0.0/schema.json" | ||
], | ||
"type": "Collection", | ||
"id": "collection", | ||
"title": "This is a non-conformant example. It has no linz:lifecycle field.", | ||
"description": "A description", | ||
"license": "Apache-2.0", | ||
"linz:created": "2015-06-23T00:00:00Z", | ||
"linz:providers": [ | ||
{ | ||
"name": "Example", | ||
"description": "Example description.", | ||
"roles": ["custodian"], | ||
"url": "https://www.exampleurl.com" | ||
} | ||
], | ||
"linz:security_classification": "Unclassified", | ||
"linz:updated": "2015-06-23T00:00:00Z", | ||
"extent": { | ||
"spatial": { | ||
"bbox": [[172.9, 1.3, 173, 1.4]] | ||
}, | ||
"temporal": { | ||
"interval": [["2015-06-23T00:00:00Z", null]] | ||
} | ||
}, | ||
"summaries": { | ||
"datetime": { | ||
"minimum": "2015-06-23T00:00:00Z", | ||
"maximum": "2019-07-10T13:44:56Z" | ||
} | ||
}, | ||
"links": [], | ||
"quality:description": "Example quality description", | ||
"quality:horizontal_accuracy": 1, | ||
"quality:horizontal_accuracy_type": "Nominal", | ||
"quality:lineage": "This is an example dataset lineage description.", | ||
"version": "2.0.0" | ||
} |
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
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
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
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 @@ | ||
{ | ||
"stac_version": "1.0.0", | ||
"stac_extensions": [ | ||
"https://linz.github.io/stac/_STAC_VERSION_/linz/schema.json", | ||
"https://stac-extensions.github.io/version/v1.0.0/schema.json" | ||
], | ||
"type": "Collection", | ||
"id": "collection", | ||
"title": "This is a non-conformant example. It has no linz:providers object.", | ||
"description": "A description", | ||
"license": "Apache-2.0", | ||
"linz:created": "2015-06-23T00:00:00Z", | ||
"linz:lifecycle": "Under Development", | ||
"linz:security_classification": "Unclassified", | ||
"linz:updated": "2015-06-23T00:00:00Z", | ||
"extent": { | ||
"spatial": { | ||
"bbox": [[172.9, 1.3, 173, 1.4]] | ||
}, | ||
"temporal": { | ||
"interval": [["2015-06-23T00:00:00Z", null]] | ||
} | ||
}, | ||
"summaries": { | ||
"datetime": { | ||
"minimum": "2015-06-23T00:00:00Z", | ||
"maximum": "2019-07-10T13:44:56Z" | ||
} | ||
}, | ||
"links": [], | ||
"quality:description": "Example quality description", | ||
"quality:horizontal_accuracy": 1, | ||
"quality:horizontal_accuracy_type": "Nominal", | ||
"quality:lineage": "This is an example dataset lineage description.", | ||
"version": "2.0.0" | ||
} |
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
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
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
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
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
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
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
48 changes: 48 additions & 0 deletions
48
extensions/quality/non-examples/missing_lineage_description.json
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,48 @@ | ||
{ | ||
"stac_version": "1.0.0", | ||
"stac_extensions": [ | ||
"https://stac-extensions.github.io/item-assets/v1.0.0/schema.json", | ||
"https://linz.github.io/stac/_STAC_VERSION_/quality/schema.json" | ||
], | ||
"description": "This is a non-conformant STAC example using the quality extension. quality:lineage is missing.", | ||
"type": "Collection", | ||
"id": "collection", | ||
"title": "A title", | ||
"license": "Apache-2.0", | ||
"extent": { | ||
"spatial": { | ||
"bbox": [[172.9, 1.3, 173, 1.4]] | ||
}, | ||
"temporal": { | ||
"interval": [["2015-06-23T00:00:00Z", null]] | ||
} | ||
}, | ||
"quality:description": "This is an example dataset description.", | ||
"quality:horizontal_accuracy": 0.4, | ||
"assets": { | ||
"example": { | ||
"href": "https://example.com/examples/file.xyz" | ||
} | ||
}, | ||
"item_assets": { | ||
"data": { | ||
"roles": ["data"] | ||
} | ||
}, | ||
"summaries": { | ||
"datetime": { | ||
"minimum": "2015-06-23T00:00:00Z", | ||
"maximum": "2019-07-10T13:44:56Z" | ||
} | ||
}, | ||
"links": [ | ||
{ | ||
"href": "https://example.com/examples/collection.json", | ||
"rel": "self" | ||
}, | ||
{ | ||
"href": "https://example.com/examples/item.json", | ||
"rel": "item" | ||
} | ||
] | ||
} |
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