Skip to content

Commit e4e5a0e

Browse files
committed
Improve examples
1 parent 3ed3c6e commit e4e5a0e

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ It allows adding details related to cloud object storage access and costs to be
1212
This extension does not cover NFS solutions provided by PaaS cloud companies.
1313

1414
- Examples:
15-
- [NAIP Item](examples/item-naip.json): Shows the usage of the extension in combination with the alternate asset extension.
16-
- [NSL Item](examples/item-nsl.json): Shows a mixture of storage providers, including custom S3 hosts.
17-
- [Catalog with Link](examples/catalog-link.json): Shows the usage of the extension on a link in a STAC Catalog.
15+
- [NAIP Item](examples/item-naip.json): Shows a mixture of storage providers, including custom S3 hosts.
16+
- [NSL Item](examples/item-nsl.json): Shows the usage of the extension in combination with the alternate asset extension.
17+
- [Catalog with Link](examples/catalog-link.json): Shows the usage of the extension on a link in a STAC Catalog and in combination with the authentication extension.
1818
- [JSON Schema](json-schema/schema.json)
1919
- [Changelog](./CHANGELOG.md)
2020

examples/catalog-link.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"stac_version": "1.0.0",
33
"stac_extensions": [
4-
"https://stac-extensions.github.io/storage/v2.0.0/schema.json"
4+
"https://stac-extensions.github.io/storage/v2.0.0/schema.json",
5+
"https://stac-extensions.github.io/authentication/v1.0.0/schema.json"
56
],
67
"type": "Catalog",
78
"id": "20190822T183518Z_746_POM1_ST2_P",
@@ -15,6 +16,11 @@
1516
"tier": "Standard"
1617
}
1718
},
19+
"auth:schemes": {
20+
"aws": {
21+
"type": "s3"
22+
}
23+
},
1824
"links": [
1925
{
2026
"href": "https://example.com/examples/catalog-link.json",
@@ -27,6 +33,9 @@
2733
"rel": "about",
2834
"storage:refs": [
2935
"aws"
36+
],
37+
"auth:refs": [
38+
"aws"
3039
]
3140
}
3241
]

0 commit comments

Comments
 (0)