diff --git a/README.md b/README.md index 570053b..ff5762b 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,12 @@ It allows adding details related to cloud object storage access and costs to be This extension does not cover NFS solutions provided by PaaS cloud companies. - Examples: - - [NAIP Item](examples/item-naip.json): Shows the usage of the extension in combination with the alternate asset extension. - - [NSL Item](examples/item-nsl.json): Shows a mixture of storage providers, including custom S3 hosts. + - [NAIP Item](examples/item-naip.json): Shows a mixture of storage providers, including custom S3 hosts. + - [NSL Item](examples/item-nsl.json): Shows the usage of the extension in combination with the + [alternate asset extension](https://github.com/stac-extensions/alternate-assets). - [Catalog with Link](examples/catalog-link.json): Shows the usage of the extension on a link in a STAC Catalog. + - [Collection with Auth](examples/catalog-link.json): Shows the usage of the extension in a STAC Collecion in combination with the + [authentication extension](https://github.com/stac-extensions/authentication). - [JSON Schema](json-schema/schema.json) - [Changelog](./CHANGELOG.md) diff --git a/examples/collection.json b/examples/collection.json new file mode 100644 index 0000000..f804a61 --- /dev/null +++ b/examples/collection.json @@ -0,0 +1,76 @@ +{ + "stac_version": "1.0.0", + "stac_extensions": [ + "https://stac-extensions.github.io/storage/v2.0.0/schema.json", + "https://stac-extensions.github.io/authentication/v1.0.0/schema.json" + ], + "type": "Collection", + "id": "20190822T183518Z_746_POM1_ST2_P", + "title": "Example Collection", + "description": "An example catalog with a link to documentation on object storage.", + "license": "CC-0", + "storage:schemes": { + "aws": { + "platform": "AWS", + "region": "us-west-2", + "requester_pays": true, + "tier": "Standard" + } + }, + "auth:schemes": { + "aws": { + "type": "s3" + } + }, + "assets": { + "stac-items": { + "title": "STAC Items as GeoParquet", + "href": "s3://mybucket/project/items.parquet", + "type": "application/vnd.apache.parquet", + "storage:refs": [ + "aws" + ], + "auth:refs": [ + "aws" + ] + } + }, + "links": [ + { + "href": "https://example.com/examples/catalog-link.json", + "rel": "self" + }, + { + "title": "Documentation", + "href": "s3://mybucket/project/documentation.pdf", + "type": "application/pdf", + "rel": "about", + "storage:refs": [ + "aws" + ], + "auth:refs": [ + "aws" + ] + } + ], + "extent": { + "spatial": { + "bbox": [ + [ + -180, + -56, + 180, + 83 + ] + ] + }, + "temporal": { + "interval": [ + [ + "2015-06-23T00:00:00Z", + null + ] + ] + } + } +} \ No newline at end of file