File size: 2,783 Bytes
eabbd27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
85
86
87
{
  "schema": {
    "properties": {
      "annotationType": {
        "description": "Type of annotation layer",
        "enum": ["FORMULA", "INTERVAL", "EVENT", "TIME_SERIES"],
        "type": "string"
      },
      "color": {
        "description": "Layer color",
        "nullable": true,
        "type": "string"
      },
      "descriptionColumns": {
        "description": "Columns to use as the description. If none are provided, all will be shown.",
        "items": { "type": "string" },
        "type": "array"
      },
      "hideLine": {
        "description": "Should line be hidden. Only applies to line annotations",
        "nullable": true,
        "type": "boolean"
      },
      "intervalEndColumn": {
        "description": "Column containing end of interval. Only applies to interval layers",
        "nullable": true,
        "type": "string"
      },
      "name": { "description": "Name of layer", "type": "string" },
      "opacity": {
        "description": "Opacity of layer",
        "enum": ["", "opacityLow", "opacityMedium", "opacityHigh", null],
        "nullable": true,
        "type": "string"
      },
      "overrides": {
        "additionalProperties": { "nullable": true },
        "description": "which properties should be overridable",
        "nullable": true,
        "type": "object"
      },
      "show": { "description": "Should the layer be shown", "type": "boolean" },
      "showLabel": {
        "description": "Should the label always be shown",
        "nullable": true,
        "type": "boolean"
      },
      "showMarkers": {
        "description": "Should markers be shown. Only applies to line annotations.",
        "type": "boolean"
      },
      "sourceType": {
        "description": "Type of source for annotation data",
        "enum": ["", "line", "NATIVE", "table"],
        "type": "string"
      },
      "style": {
        "description": "Line style. Only applies to time-series annotations",
        "enum": ["dashed", "dotted", "solid", "longDashed"],
        "type": "string"
      },
      "timeColumn": {
        "description": "Column with event date or interval start date",
        "nullable": true,
        "type": "string"
      },
      "titleColumn": {
        "description": "Column with title",
        "nullable": true,
        "type": "string"
      },
      "value": {
        "description": "For formula annotations, this contains the formula. For other types, this is the primary key of the source object."
      },
      "width": {
        "description": "Width of annotation line",
        "minimum": 0,
        "type": "number"
      }
    },
    "required": ["name", "show", "showMarkers", "value"],
    "type": "object",
    "title": "AnnotationLayer"
  },
  "schemaType": "response"
}