|
1
|
type: object |
|
2
|
description: The details of a column in a view configuration. |
|
3
|
x-schemaName: AdminColumn |
|
4
|
required: |
|
5
|
- id |
|
6
|
- name |
|
7
|
- field |
|
8
|
- sortable |
|
9
|
- hideable |
|
10
|
- default_visible |
|
11
|
- data_type |
|
12
|
properties: |
|
13
|
id: |
|
14
|
type: string |
|
15
|
title: id |
|
16
|
description: The column's ID. |
|
17
|
name: |
|
18
|
type: string |
|
19
|
title: name |
|
20
|
description: The column's name. This is displayed in the view header. |
|
21
|
description: |
|
22
|
type: string |
|
23
|
title: description |
|
24
|
description: The column's description. |
|
25
|
field: |
|
26
|
type: string |
|
27
|
title: field |
|
28
|
description: The column's field in the entity. |
|
29
|
sortable: |
|
30
|
type: boolean |
|
31
|
title: sortable |
|
32
|
description: Whether the column is sortable. |
|
33
|
hideable: |
|
34
|
type: boolean |
|
35
|
title: hideable |
|
36
|
description: Whether the column is hideable. |
|
37
|
default_visible: |
|
38
|
type: boolean |
|
39
|
title: default_visible |
|
40
|
description: Whether the column is visible by default. |
|
41
|
data_type: |
|
42
|
type: string |
|
43
|
description: The data type of the column's value. |
|
44
|
enum: |
|
45
|
- string |
|
46
|
- number |
|
47
|
- boolean |
|
48
|
- object |
|
49
|
- date |
|
50
|
- currency |
|
51
|
- enum |
|
52
|
semantic_type: |
|
53
|
type: string |
|
54
|
title: semantic_type |
|
55
|
description: >- |
|
56
|
The column's semantic type. It can be `computed`, or other primitive |
|
57
|
types. |
|
58
|
context: |
|
59
|
type: string |
|
60
|
title: context |
|
61
|
description: The column's context. It can be `display` or `generic`. |
|
62
|
computed: |
|
63
|
type: object |
|
64
|
description: >- |
|
65
|
A computed column's details. Only available if the column's |
|
66
|
`semantic_type` is `computed`. |
|
67
|
required: |
|
68
|
- type |
|
69
|
- required_fields |
|
70
|
- optional_fields |
|
71
|
properties: |
|
72
|
type: |
|
73
|
type: string |
|
74
|
title: type |
|
75
|
description: The computed's type for rendering. |
|
76
|
required_fields: |
|
77
|
type: array |
|
78
|
description: The required fields in the computed column. |
|
79
|
items: |
|
80
|
type: string |
|
81
|
title: required_fields |
|
82
|
description: A required field in the computed column. |
|
83
|
optional_fields: |
|
84
|
type: array |
|
85
|
description: The optional fields in the computed column. |
|
86
|
items: |
|
87
|
type: string |
|
88
|
title: optional_fields |
|
89
|
description: An optional field in the computed column. |
|
90
|
relationship: |
|
91
|
type: object |
|
92
|
description: The relationship details. Only available for relationship columns. |
|
93
|
required: |
|
94
|
- entity |
|
95
|
- field |
|
96
|
properties: |
|
97
|
entity: |
|
98
|
type: string |
|
99
|
title: entity |
|
100
|
description: The related entity. |
|
101
|
field: |
|
102
|
type: string |
|
103
|
title: field |
|
104
|
description: The field in the related entity. |
|
105
|
default_order: |
|
106
|
type: number |
|
107
|
title: default_order |
|
108
|
description: The column's sort order in the default view configuration. |
|
109
|
category: |
|
110
|
type: string |
|
111
|
description: The column's category. |
|
112
|
enum: |
|
113
|
- status |
|
114
|
- metadata |
|
115
|
- identifier |
|
116
|
- timestamp |
|
117
|
- metric |
|
118
|
- relationship |
|
119
|
render_mode: |
|
120
|
type: string |
|
121
|
title: render_mode |
|
122
|
description: The column's render mode. |
|
123
|
filter: |
|
124
|
type: object |
|
125
|
description: The column's filter. |
|
126
|
required: |
|
127
|
- enabled |
|
128
|
properties: |
|
129
|
enabled: |
|
130
|
type: boolean |
|
131
|
title: enabled |
|
132
|
description: Whether the column's filter is enabled. |
|
133
|
operators: |
|
134
|
type: array |
|
135
|
description: The filter's operators. |
|
136
|
items: |
|
137
|
type: string |
|
138
|
title: operators |
|
139
|
description: An operator for the column's filter. |
|
140
|
enumValues: |
|
141
|
type: array |
|
142
|
description: The filter's enum values, if the filter supports enums. |
|
143
|
items: |
|
144
|
type: string |
|
145
|
title: enumValues |
|
146
|
description: An enum value for the column's filter. |
|
147
|
relationship: |
|
148
|
$ref: ./RelationshipFilterConfig.yaml |
|
149
|
source: |
|
150
|
type: object |
|
151
|
description: >- |
|
152
|
The column's source details. Only available if the column is from a |
|
153
|
source. |
|
154
|
required: |
|
155
|
- module |
|
156
|
- entity |
|
157
|
properties: |
|
158
|
module: |
|
159
|
type: string |
|
160
|
title: module |
|
161
|
description: The source's module. |
|
162
|
entity: |
|
163
|
type: string |
|
164
|
title: entity |
|
165
|
description: The source's entity. |
|
166
|
custom_label: |
|
167
|
type: boolean |
|
168
|
title: custom_label |
|
169
|
description: Whether the column has a custom label. |
|
170
|
label_id: |
|
171
|
type: string |
|
172
|
title: label_id |
|
173
|
description: The ID of the column's label, if it has a custom label. |
|
174
|
metadata: |
|
175
|
type: object |
|
176
|
description: The column's metadata. |