-
Notifications
You must be signed in to change notification settings - Fork 2
/
static.json
84 lines (84 loc) · 2.15 KB
/
static.json
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"_static": {
"generator": {
"name": "@globus/static-search-portal"
}
},
"data": {
"version": "1.0.0",
"attributes": {
"metadata": {
"title": "Serverless Search Portal",
"description": "This is an example of a basis Globus Search interface generated from a static.json file."
},
"theme": {
"colors": {
"brand": {
"50": "#e8f3ff",
"100": "#cfd8e3",
"200": "#b5bdcc",
"300": "#97a3b4",
"400": "#7b899d",
"500": "#626f84",
"600": "#4b5768",
"700": "#343e4b",
"800": "#1e2530",
"900": "#070c18"
}
}
},
"content": {
"logo": {
"src": "https://www.usgs.gov/themes/custom/usgs_tantalum/usgs_logo.png",
"alt": "USGS – science for a changing world"
},
"headline": "ScienceBase Data Releases"
},
"components": {
"Result": {
"heading": "entries[0].content.title",
"summary": "entries[0].content.summary",
"fields": [
{
"label": "Purpose",
"property": "entries[0].content.purpose"
},
{
"label": "Material Request Instructions",
"property": "entries[0].content.materialRequestInstructions"
},
{
"label": "Tags",
"property": "entries[0].content.tags"
}
]
}
},
"globus": {
"search": {
"index": "6d222eba-980f-410c-9a58-52a785d660ea",
"facets": [
{
"name": "Tags",
"field_name": "tags.name",
"type": "terms",
"size": 10
},
{
"name": "Categories",
"field_name": "browseCategories",
"type": "terms",
"size": 10
},
{
"name": "System Types",
"field_name": "systemTypes",
"type": "terms",
"size": 10
}
]
}
}
}
}
}