Appendix D: preferences schema¶
The full preferences options are shown below. If you use an IDE to edit the “preferences.json”, tooltips may be available while you edit it. The following example is with Visual Studio Code.
Preferences¶
carta_preferences_2 |
||
Schema for CARTA Preferences (Version 2) |
||
properties |
||
|
The version of the preferences contained |
|
type |
integer |
|
maximum |
2 |
|
minimum |
1 |
|
|
type |
string |
minLength |
1 |
|
|
type |
string |
enum |
auto, light, dark |
|
|
type |
boolean |
|
type |
string |
pattern |
^([+\-])(date|filename|type|size)$ |
|
|
type |
string |
enum |
fuzzy, unix, regex |
|
|
type |
string |
|
type |
string |
enum |
fixed, tracking |
|
|
type |
string |
enum |
fit, full |
|
|
type |
string |
enum |
cursor, center |
|
|
type |
boolean |
|
type |
string |
enum |
VRAD, VOPT, FREQ, WAVE, AWAV, CHANNEL |
|
|
type |
integer |
maximum |
3 |
|
minimum |
0 |
|
|
type |
boolean |
|
type |
integer |
maximum |
7 |
|
minimum |
0 |
|
|
type |
string |
|
type |
number |
exclusiveMaximum |
100 |
|
exclusiveMinimum |
0 |
|
|
type |
number |
minimum |
1 |
|
|
type |
number |
exclusiveMinimum |
0 |
|
|
TODO: validate color string |
|
type |
string |
|
|
type |
number |
maximum |
1 |
|
minimum |
0 |
|
|
type |
boolean |
|
type |
string |
enum |
start-step-multiplier, min-max-scaling, percentages-ref.value, mean-sigma-list |
|
|
type |
integer |
maximum |
2 |
|
minimum |
0 |
|
|
type |
integer |
minimum |
0 |
|
|
type |
integer |
minimum |
1 |
|
|
type |
number |
minimum |
0 |
|
|
type |
boolean |
|
TODO: validate color string |
|
type |
string |
|
|
type |
string |
|
TODO: validate color string |
|
type |
string |
|
|
type |
boolean |
|
type |
boolean |
|
type |
string |
enum |
automatic, degrees, sexagesimal |
|
|
type |
boolean |
|
type |
boolean |
|
type |
string |
enum |
right, top, bottom |
|
|
type |
integer |
maximum |
100 |
|
minimum |
1 |
|
|
type |
number |
maximum |
20 |
|
minimum |
0.2 |
|
|
type |
boolean |
|
type |
boolean |
|
type |
string |
|
type |
string |
enum |
open, solid |
|
|
type |
number |
minimum |
0 |
|
|
TODO: validate color string |
|
type |
string |
|
|
type |
number |
minimum |
0 |
|
|
type |
integer |
minimum |
0 |
|
|
type |
integer |
maximum |
6 |
|
minimum |
0 |
|
|
type |
string |
enum |
center, corner |
|
|
type |
number |
minimum |
1 |
|
|
type |
integer |
maximum |
32 |
|
minimum |
4 |
|
|
type |
integer |
maximum |
32 |
|
minimum |
4 |
|
|
type |
integer |
multipleOf |
256 |
|
minimum |
1024 |
|
|
type |
integer |
multipleOf |
128 |
|
minimum |
1024 |
|
|
type |
integer |
maximum |
32 |
|
minimum |
1 |
|
|
type |
integer |
maximum |
19 |
|
minimum |
0 |
|
|
type |
integer |
multipleOf |
25000 |
|
maximum |
1000000 |
|
minimum |
25000 |
|
|
type |
integer |
multipleOf |
128 |
|
maximum |
1024 |
|
minimum |
128 |
|
|
type |
boolean |
|
type |
boolean |
|
type |
integer |
maximum |
30 |
|
minimum |
5 |
|
|
type |
boolean |
|
type |
string |
|
type |
boolean |
|
type |
boolean |
default |
True |
|
|
type |
string |
enum |
always, activeImage, hideTiled, never |
|
default |
activeImage |
|
|
type |
boolean |
default |
False |
|
|
type |
string |
default |
||
|
type |
boolean |
default |
False |
|
|
type |
string |
enum |
dynamic, fixed |
|
default |
dynamic |
|
|
type |
number |
minimum |
1 |
|
default |
2 |
|
|
type |
number |
minimum |
1 |
|
default |
2 |
|
|
type |
boolean |
default |
False |
|
|
type |
integer |
minimum |
0 |
|
default |
0 |
|
|
type |
string |
enum |
content, extension, all |
|
default |
content |