Skip to content

Instantly share code, notes, and snippets.

@schwehr
Last active April 18, 2022 20:07
Show Gist options
  • Select an option

  • Save schwehr/d5530caee0e3de952419916a7e7202e9 to your computer and use it in GitHub Desktop.

Select an option

Save schwehr/d5530caee0e3de952419916a7e7202e9 to your computer and use it in GitHub Desktop.
Example constant definition for STAC Jsonnet as of Apr 2022
// Copyright 2022 Google LLC.
// SPDX-License-Identifier: Apache-2.0
{
stac_version: '1.0.0',
stac_type: {
catalog: 'Catalog',
collection: 'Collection',
item: 'Item',
},
media_type: {
html: 'text/html',
png: 'image/png',
stac: 'application/json',
terms: 'text/html',
},
rel: {
child: 'child',
license: 'license',
parent: 'parent',
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment