1 /**
2 * @schema AdminCreateViewConfiguration
3 * type: object
4 * description: The details of a view configuration to create.
5 * x-schemaName: AdminCreateViewConfiguration
6 * properties:
7 * is_system_default:
8 * type: boolean
9 * title: is_system_default
10 * description: Whether the view is the system default. If so, it will be used as the default view for all users that don't have a custom active view set.
11 * set_active:
12 * type: boolean
13 * title: set_active
14 * description: Whether the view is set as active.
15 * configuration:
16 * type: object
17 * description: The view's configuration.
18 * required:
19 * - visible_columns
20 * - column_order
21 * properties:
22 * visible_columns:
23 * type: array
24 * description: The configuration's visible columns.
25 * items:
26 * type: string
27 * title: visible_columns
28 * description: The visible column's name.
29 * column_order:
30 * type: array
31 * description: The columns in the order they should be displayed.
32 * items:
33 * type: string
34 * title: column_order
35 * description: The column's name.
36 * search:
37 * type: string
38 * title: search
39 * description: The search query used in the view.
40 * column_widths:
41 * type: object
42 * description: The column widths in the view.
43 * filters:
44 * type: object
45 * description: The filters applied to the view.
46 * sorting:
47 * type: object
48 * description: The sorting applied to the view.
49 * required:
50 * - id
51 * - desc
52 * properties:
53 * id:
54 * type: string
55 * title: id
56 * description: The ID of the sorting column.
57 * desc:
58 * type: boolean
59 * title: desc
60 * description: Whether the sorting is descending.
61 * name:
62 * type: string
63 * title: name
64 * description: The view's name.
65 *
66 */
67