-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefinitions.js
36 lines (31 loc) · 934 Bytes
/
definitions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
const EXTENSION_SCHEMES = {
themes: 'https://stac-extensions.github.io/themes/v1.0.0/schema.json',
contacts: 'https://stac-extensions.github.io/contacts/v0.1.1/schema.json',
// TODO add "Scientific Citation Extension Specification" for DOIs
osc: 'https://stac-extensions.github.io/osc/v1.0.0/schema.json'
};
const ROOT_CHILDREN = [
'./eo-missions/catalog.json',
'./products/catalog.json',
'./projects/catalog.json',
'./themes/catalog.json',
'./variables/catalog.json',
'./workflows/catalog.json',
'./experiments/catalog.json'
];
const RELATED_TITLE_PREFIX = {
projects: 'Project',
products: 'Product',
experiments: 'Experiment',
workflows: 'Workflow',
themes: 'Theme',
variables: 'Variable',
'eo-missions': 'EO Mission'
};
const THEMES_SCHEME = 'https://github.com/stac-extensions/osc#theme';
module.exports = {
EXTENSION_SCHEMES,
ROOT_CHILDREN,
RELATED_TITLE_PREFIX,
THEMES_SCHEME
};