diff --git a/_build/stac.hbs b/_build/stac.hbs index 371b70f2..0b952bbb 100644 --- a/_build/stac.hbs +++ b/_build/stac.hbs @@ -33,7 +33,13 @@ "links": [ { "href": "{{rootUrl}}stac/{{Slug}}.json", - "rel": "self" + "rel": "self", + "type": "application/json" + }, + { + "href": "{{rootUrl}}stac/index.json", + "rel": "parent", + "type": "application/json" }, { "href": "{{rootUrl}}{{Slug}}", diff --git a/_build/stacIndex.hbs b/_build/stacIndex.hbs index c260e972..03caa297 100644 --- a/_build/stacIndex.hbs +++ b/_build/stacIndex.hbs @@ -1,5 +1,23 @@ [ -{{#each datasets}} - {"id": "{{OpenEOPID}}", "link": "{{rootUrl}}stac/{{Slug}}.json"}{{#unless @last}},{{/unless}} -{{/each}} +{ + "type": "Catalog", + "stac_version": "1.0.0", + "id": "eurodatacube-collections-catalog", + "description": "A STAC catalog that contains all collections available on the EuroDataCube Browser and within the Sentinel Hub openEO backend.", + "links": [ + { + "href": "{{rootUrl}}stac/index.json", + "rel": "self", + "type": "application/json" + }, + { + "href": "{{rootUrl}}stac/index.json", + "rel": "root", + "type": "application/json" + }, + {{#each datasets}} + {"id": "{{OpenEOPID}}", "rel": "child", "type": "application/json", "href": "{{rootUrl}}stac/{{Slug}}.json"}{{#unless @last}},{{/unless}} + {{/each}} + ] +} ] \ No newline at end of file