-
Notifications
You must be signed in to change notification settings - Fork 11
/
schema.json
75 lines (75 loc) · 2.73 KB
/
schema.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
{
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "Schema for PP Yaml",
"type": "object",
"properties": {
"name": {"type": "string"},
"platform": {"type": "string"},
"target": {"type": "string"},
"directories": {
"description": "FRE shared directories",
"type": "object",
"items":{"$ref": "#/$defs/dirs" }
},
"postprocess": {
"description": "FRE post-processing information",
"type": "object",
"items":{"$ref": "#/$defs/pp" }
}
},
"$defs": {
"dirs": {
"history_dir": {"type":"string"},
"pp_dir": {"type":"string"},
"ptmp_dir": {"type":"string"},
"refinediag_scripts":{"type":["string","null"]},
"preanalysis_script":{"type":["string","null"]},
"history_refined":{"type":["string","null"]},
"analysis_dir":{"type":["string","null"]},
"pp_grid_spec": {"type":"string"},
"fre_analysis_home": {"type":["string","null"]}
},
"pp": {
"type": "object",
"properties": {
"settings": {
"type:": "object",
"properties": {
"history_segment": {"type":"string"},
"site": {"type":"string"},
"pp_chunk_a": {"type":"string"},
"pp_chunk_b": {"type":"string"},
"pp_start": {"type":"string"},
"pp_stop": {"type":"string"},
"pp_components": {"type":"string"}
}
},
"switches": {
"type": "object",
"properties": {
"clean_work": {"type":"boolean"},
"do_mdtf": {"type":"boolean"},
"do_statics": {"type":"boolean"},
"do_timeavgs": {"type":"boolean"},
"do_refinediag": {"type":"boolean"},
"do_atmos_plevel_masking": {"type":"boolean"},
"do_preanalysis": {"type":"boolean"},
"do_analysis": {"type":"boolean"},
"do_analysis_only": {"type":"boolean"}
}
},
"components": {
"type": "array",
"properties": {
"type": {"type":"string"},
"sources": {"type":"string"},
"sourceGrid": {"type":"string"},
"xyInterp": {"type":"string"},
"interpMethod": {"type":"string"},
"inputRealm": {"type":"string"}
}
}
}
}
}
}