schema.web¶
Schema file¶
type |
object |
||
properties |
|||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
|
If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation. |
||
type |
boolean |
||
|
The id of the web module |
||
type |
string |
||
|
The name of the schema for web |
||
type |
string |
||
|
The property used to display and identify an entry in some front-end widgets |
||
type |
string |
||
|
The views that defines column that can show one of the schema properties |
||
type |
array |
||
items |
|||
additionalProperties |
False |
SchemaView¶
type |
object |
|
properties |
||
|
ID for this view |
|
type |
string |
|
|
Name for this view |
|
type |
string |
|
|
Is this view the default view for this schema |
|
type |
boolean |
|
default |
False |
|
|
Whether or not columns are reorderable |
|
type |
boolean |
|
default |
True |
|
|
Whether or not columns can represent potential null values |
|
type |
boolean |
|
default |
False |
|
|
Type of row to show when expanding an row. |
|
type |
string |
|
enum |
none, detail, journal |
|
default |
none |
|
|
Allow multiple rows to be expanded at the same time. If false, when expending a row, every other expanded rows are closed. |
|
type |
boolean |
|
default |
False |
|
|
The column that can show one of the schema properties |
|
type |
array |
|
items |
||
|
The column sort settings |
|
type |
array |
|
default |
||
items |
||
additionalProperties |
False |
WebColumn¶
type |
object |
|
properties |
||
|
The column name |
|
type |
string |
|
|
The field to display on this column |
|
type |
string |
|
|
The column position |
|
type |
integer |
|
|
Whether or not column is displayed by default |
|
type |
boolean |
|
default |
True |
|
|
Whether or not column is sortable |
|
type |
boolean |
|
default |
True |
|
|
Whether or not column is filterable |
|
type |
boolean |
|
default |
True |
|
|
Column width |
|
type |
string |
|
pattern |
^(auto|(\d+)\s(px)|((100|\d{1,2})\s(\%))|\d+|)$ |
|
default |
auto |
|
|
Column minimum width in pixels for the user or the auto fitment. If the Column width is defined as pixels and is lower than that an error will be generated. |
|
type |
integer |
|
minimum |
0 |
|
|
Column maximum width in pixels for the user or the auto fitment. If the Column width is defined as pixels and is greater than that an error will be generated. |
|
type |
integer |
|
minimum |
0 |
|
|
Column summary aggregate function |
|
type |
string |
|
enum |
min, max, count, sum, avg |
|
|
Column render function |
|
type |
string |
|
enum |
STRING, NUMBER, BOOLEAN, COLLECTION, SEVERITY, TAGS, ARRAY_COUNT, JOURNAL, TIMESTAMP, ELAPSED, FORM, URL, ICON, MARKDOWN |
|
default |
STRING |
|
|
Column editor component. Only available for CollectionTable widget. |
|
type |
string |
|
enum |
COLLECTION, SEVERITY, TIMESTAMP |
|
|
Column options |
|
additionalProperties |
False |
WebColumnSort¶
type |
object |
|
properties |
||
|
The column field name |
|
type |
string |
|
|
The column name |
|
type |
string |
|
enum |
asc, desc |
|
additionalProperties |
False |