From e939ef820f314953f825d442ec7964d9ad7b7b2a Mon Sep 17 00:00:00 2001 From: SamiulSourav Date: Mon, 21 Oct 2024 14:45:46 +0600 Subject: [PATCH] use hasgroup: with function for rancher namespaces Signed-off-by: SamiulSourav --- .../ui/create-ui.yaml | 2 +- .../ui/create-ui.yaml | 25 +- .../ui/functions.js | 5 - .../ui/edit-ui.yaml | 40 +- .../ui/functions.js | 5 - .../ui/create-ui.yaml | 30 +- .../kubedbcom-mariadb-editor/ui/edit-ui.yaml | 40 +- .../kubedbcom-mariadb-editor/ui/functions.js | 5 - .../ui/create-ui.yaml | 30 +- .../kubedbcom-mongodb-editor/ui/edit-ui.yaml | 80 +- .../kubedbcom-mongodb-editor/ui/functions.js | 5 - .../ui/create-ui.yaml | 30 +- .../ui/edit-ui.yaml | 8 +- .../ui/functions.js | 5 - .../ui/create-ui.yaml | 30 +- charts/kubedbcom-mysql-editor/ui/edit-ui.yaml | 40 +- charts/kubedbcom-mysql-editor/ui/functions.js | 5 - .../ui/create-ui.yaml | 30 +- .../kubedbcom-postgres-editor/ui/edit-ui.yaml | 40 +- .../kubedbcom-postgres-editor/ui/functions.js | 5 - charts/kubedbcom-redis-editor/ui/edit-ui.yaml | 40 +- charts/kubedbcom-redis-editor/ui/functions.js | 5 - .../ui/edit-ui.yaml | 50 +- .../ui/functions.js | 5 - .../ui/create-ui.yaml | 24 +- .../ui/functions.js | 4 - schemas/ui-schema.json | 9438 +++++++++-------- 27 files changed, 4803 insertions(+), 5223 deletions(-) diff --git a/charts/corekubestashcom-backupconfiguration-editor-options/ui/create-ui.yaml b/charts/corekubestashcom-backupconfiguration-editor-options/ui/create-ui.yaml index 9fc96c9ac..c6efb34bf 100644 --- a/charts/corekubestashcom-backupconfiguration-editor-options/ui/create-ui.yaml +++ b/charts/corekubestashcom-backupconfiguration-editor-options/ui/create-ui.yaml @@ -168,7 +168,7 @@ steps: $ref: schema#/properties/spec/properties/sessions/items/properties/encryptionSecret/properties/name type: input label: - text: encryptionSecret + text: Encryption Secret schema: $ref: schema#/properties/spec/properties/sessions/items/properties/encryptionSecret show_label: true diff --git a/charts/corekubestashcom-restoresession-editor-options/ui/create-ui.yaml b/charts/corekubestashcom-restoresession-editor-options/ui/create-ui.yaml index 82c981724..486b920d3 100644 --- a/charts/corekubestashcom-restoresession-editor-options/ui/create-ui.yaml +++ b/charts/corekubestashcom-restoresession-editor-options/ui/create-ui.yaml @@ -64,18 +64,7 @@ steps: - computed: setNamespace disableUnselect: true fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: labels.namespace - refresh: true - schema: - $ref: schema#/properties/spec/properties/dataSource/properties/repository/properties/namespace - type: select - - computed: setNamespace - disableUnselect: true - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: labels.namespace refresh: true @@ -107,17 +96,7 @@ steps: - elements: - disableUnselect: true fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: labels.namespace - refresh: true - schema: - $ref: schema#/properties/spec/properties/dataSource/properties/encryptionSecret/properties/namespace - type: select - - disableUnselect: true - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: labels.namespace refresh: true diff --git a/charts/corekubestashcom-restoresession-editor-options/ui/functions.js b/charts/corekubestashcom-restoresession-editor-options/ui/functions.js index c3f30ee3e..779e2f784 100644 --- a/charts/corekubestashcom-restoresession-editor-options/ui/functions.js +++ b/charts/corekubestashcom-restoresession-editor-options/ui/functions.js @@ -42,10 +42,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespacesApi({ axios, storeGet }) { const params = storeGet('/route/params') const { user, cluster, group, version, resource } = params @@ -388,7 +384,6 @@ return { isConsole, initMetadata, isRancherManaged, - isNotRancherManaged, fetchNamespacesApi, setNamespace, getDbs, diff --git a/charts/kubedbcom-elasticsearch-editor/ui/edit-ui.yaml b/charts/kubedbcom-elasticsearch-editor/ui/edit-ui.yaml index 4f7a8240e..22615a3dc 100644 --- a/charts/kubedbcom-elasticsearch-editor/ui/edit-ui.yaml +++ b/charts/kubedbcom-elasticsearch-editor/ui/edit-ui.yaml @@ -932,17 +932,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace - schema: - $ref: discriminator#/storageRefNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace @@ -969,17 +959,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace - schema: - $ref: discriminator#/retentionPolicyNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -995,7 +975,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -1006,17 +986,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace - schema: - $ref: discriminator#/encryptionSecretNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -1032,7 +1002,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form if: showInvokerForm|backupConfiguration diff --git a/charts/kubedbcom-elasticsearch-editor/ui/functions.js b/charts/kubedbcom-elasticsearch-editor/ui/functions.js index 3d89eff7c..66d38784a 100644 --- a/charts/kubedbcom-elasticsearch-editor/ui/functions.js +++ b/charts/kubedbcom-elasticsearch-editor/ui/functions.js @@ -2623,10 +2623,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespaces({ axios, storeGet }) { const username = storeGet('/route/params/user') const clusterName = storeGet('/route/params/cluster') @@ -2783,7 +2779,6 @@ return { fetchNames, fetchNamespaces, isRancherManaged, - isNotRancherManaged, onInputChangeSchedule, getDefaultSchedule, getBlueprints, diff --git a/charts/kubedbcom-mariadb-editor-options/ui/create-ui.yaml b/charts/kubedbcom-mariadb-editor-options/ui/create-ui.yaml index 42601981a..8180fb729 100644 --- a/charts/kubedbcom-mariadb-editor-options/ui/create-ui.yaml +++ b/charts/kubedbcom-mariadb-editor-options/ui/create-ui.yaml @@ -189,15 +189,7 @@ steps: type: input - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/encryptionSecret/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -217,15 +209,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/fullDBRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -245,15 +229,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/manifestRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: diff --git a/charts/kubedbcom-mariadb-editor/ui/edit-ui.yaml b/charts/kubedbcom-mariadb-editor/ui/edit-ui.yaml index 33b3c578d..b1226577b 100644 --- a/charts/kubedbcom-mariadb-editor/ui/edit-ui.yaml +++ b/charts/kubedbcom-mariadb-editor/ui/edit-ui.yaml @@ -498,17 +498,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace - schema: - $ref: discriminator#/storageRefNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace @@ -535,17 +525,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace - schema: - $ref: discriminator#/retentionPolicyNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -561,7 +541,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -572,17 +552,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace - schema: - $ref: discriminator#/encryptionSecretNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -598,7 +568,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form if: showInvokerForm|backupConfiguration diff --git a/charts/kubedbcom-mariadb-editor/ui/functions.js b/charts/kubedbcom-mariadb-editor/ui/functions.js index 75afd21ec..4c576ec98 100644 --- a/charts/kubedbcom-mariadb-editor/ui/functions.js +++ b/charts/kubedbcom-mariadb-editor/ui/functions.js @@ -1828,10 +1828,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespaces({ axios, storeGet }) { const username = storeGet('/route/params/user') const clusterName = storeGet('/route/params/cluster') @@ -1987,7 +1983,6 @@ return { setInitSchedule, fetchNames, isRancherManaged, - isNotRancherManaged, fetchNamespaces, onInputChangeSchedule, getDefaultSchedule, diff --git a/charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml b/charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml index 3517b5a12..00f0b71ce 100644 --- a/charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml +++ b/charts/kubedbcom-mongodb-editor-options/ui/create-ui.yaml @@ -426,15 +426,7 @@ steps: type: input - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/encryptionSecret/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -454,15 +446,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/fullDBRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -482,15 +466,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/manifestRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: diff --git a/charts/kubedbcom-mongodb-editor/ui/edit-ui.yaml b/charts/kubedbcom-mongodb-editor/ui/edit-ui.yaml index ad88cb3ba..2f391c881 100644 --- a/charts/kubedbcom-mongodb-editor/ui/edit-ui.yaml +++ b/charts/kubedbcom-mongodb-editor/ui/edit-ui.yaml @@ -614,17 +614,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace - schema: - $ref: discriminator#/storageRefNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace @@ -651,17 +641,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace - schema: - $ref: discriminator#/retentionPolicyNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -677,7 +657,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -688,17 +668,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace - schema: - $ref: discriminator#/encryptionSecretNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -714,7 +684,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form if: showInvokerForm|backupConfiguration @@ -763,17 +733,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|storageRef|namespace fetch: fetchNamespaces|storageRefNamespace - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|storageRef|namespace|storageRefNamespace - schema: - $ref: discriminator#/storageRefNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|storageRef|namespace - fetch: fetchNamespaces|storageRefNamespace - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|storageRef|namespace|storageRefNamespace @@ -800,17 +760,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|retentionPolicy|namespace fetch: fetchNamespaces|retentionPolicyNamespace - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|retentionPolicy|namespace|retentionPolicyNamespace - schema: - $ref: discriminator#/retentionPolicyNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|retentionPolicy|namespace - fetch: fetchNamespaces|retentionPolicyNamespace - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -826,7 +776,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -837,17 +787,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/sessions|encryptionSecret|namespace fetch: fetchNamespaces|encryptionSecretNamespace - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/sessions|encryptionSecret|namespace|encryptionSecretNamespace - schema: - $ref: discriminator#/encryptionSecretNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/sessions|encryptionSecret|namespace - fetch: fetchNamespaces|encryptionSecretNamespace - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -863,7 +803,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form - elements: diff --git a/charts/kubedbcom-mongodb-editor/ui/functions.js b/charts/kubedbcom-mongodb-editor/ui/functions.js index 30a8da2ed..f702ffd9f 100644 --- a/charts/kubedbcom-mongodb-editor/ui/functions.js +++ b/charts/kubedbcom-mongodb-editor/ui/functions.js @@ -1153,10 +1153,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespaces({ axios, storeGet }) { const username = storeGet('/route/params/user') const clusterName = storeGet('/route/params/cluster') @@ -2441,7 +2437,6 @@ return { setInitSchedule, fetchNames, isRancherManaged, - isNotRancherManaged, fetchNamespaces, onInputChangeSchedule, getDefaultSchedule, diff --git a/charts/kubedbcom-mssqlserver-editor-options/ui/create-ui.yaml b/charts/kubedbcom-mssqlserver-editor-options/ui/create-ui.yaml index 770b27d92..22dc1e3bf 100644 --- a/charts/kubedbcom-mssqlserver-editor-options/ui/create-ui.yaml +++ b/charts/kubedbcom-mssqlserver-editor-options/ui/create-ui.yaml @@ -202,15 +202,7 @@ steps: type: input - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/encryptionSecret/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -230,15 +222,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/fullDBRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -258,15 +242,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/manifestRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: diff --git a/charts/kubedbcom-mssqlserver-editor/ui/edit-ui.yaml b/charts/kubedbcom-mssqlserver-editor/ui/edit-ui.yaml index 61d776549..f57d1889e 100644 --- a/charts/kubedbcom-mssqlserver-editor/ui/edit-ui.yaml +++ b/charts/kubedbcom-mssqlserver-editor/ui/edit-ui.yaml @@ -677,7 +677,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -714,7 +714,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form if: showInvokerForm|backupConfiguration @@ -825,7 +825,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -851,7 +851,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form - elements: diff --git a/charts/kubedbcom-mssqlserver-editor/ui/functions.js b/charts/kubedbcom-mssqlserver-editor/ui/functions.js index b24dc7ced..6d2310760 100644 --- a/charts/kubedbcom-mssqlserver-editor/ui/functions.js +++ b/charts/kubedbcom-mssqlserver-editor/ui/functions.js @@ -1164,10 +1164,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespaces({ axios, storeGet }) { const username = storeGet('/route/params/user') const clusterName = storeGet('/route/params/cluster') @@ -2454,7 +2450,6 @@ return { fetchNames, fetchNamespaces, isRancherManaged, - isNotRancherManaged, onInputChangeSchedule, getDefaultSchedule, getBlueprints, diff --git a/charts/kubedbcom-mysql-editor-options/ui/create-ui.yaml b/charts/kubedbcom-mysql-editor-options/ui/create-ui.yaml index 52ae7dd7d..3e84cd3f5 100644 --- a/charts/kubedbcom-mysql-editor-options/ui/create-ui.yaml +++ b/charts/kubedbcom-mysql-editor-options/ui/create-ui.yaml @@ -207,15 +207,7 @@ steps: type: input - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/encryptionSecret/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -235,15 +227,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/fullDBRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -263,15 +247,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/manifestRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: diff --git a/charts/kubedbcom-mysql-editor/ui/edit-ui.yaml b/charts/kubedbcom-mysql-editor/ui/edit-ui.yaml index 7915e1440..2fbc2e7d9 100644 --- a/charts/kubedbcom-mysql-editor/ui/edit-ui.yaml +++ b/charts/kubedbcom-mysql-editor/ui/edit-ui.yaml @@ -523,17 +523,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace - schema: - $ref: discriminator#/storageRefNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace @@ -560,17 +550,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace - schema: - $ref: discriminator#/retentionPolicyNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -586,7 +566,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -597,17 +577,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace - schema: - $ref: discriminator#/encryptionSecretNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -623,7 +593,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form if: showInvokerForm|backupConfiguration diff --git a/charts/kubedbcom-mysql-editor/ui/functions.js b/charts/kubedbcom-mysql-editor/ui/functions.js index f2aeb5ed9..31c2e1515 100644 --- a/charts/kubedbcom-mysql-editor/ui/functions.js +++ b/charts/kubedbcom-mysql-editor/ui/functions.js @@ -1824,10 +1824,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespaces({ axios, storeGet }) { const username = storeGet('/route/params/user') const clusterName = storeGet('/route/params/cluster') @@ -1981,7 +1977,6 @@ return { fetchNames, fetchNamespaces, isRancherManaged, - isNotRancherManaged, onInputChangeSchedule, getDefaultSchedule, getBlueprints, diff --git a/charts/kubedbcom-postgres-editor-options/ui/create-ui.yaml b/charts/kubedbcom-postgres-editor-options/ui/create-ui.yaml index 212dcb287..a9c171e66 100644 --- a/charts/kubedbcom-postgres-editor-options/ui/create-ui.yaml +++ b/charts/kubedbcom-postgres-editor-options/ui/create-ui.yaml @@ -193,15 +193,7 @@ steps: type: input - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/encryptionSecret/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -221,15 +213,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/fullDBRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: @@ -249,15 +233,7 @@ steps: type: single-step-form - elements: - fetch: fetchNamespaces - hasGroup: true - if: isClusterRancherManaged|rancher - label: - text: Namespace - schema: - $ref: schema#/properties/spec/properties/init/properties/archiver/properties/manifestRepository/properties/namespace - type: select - - fetch: fetchNamespaces - if: isClusterRancherManaged|notRancher + hasGroup: isClusterRancherManaged|rancher label: text: Namespace schema: diff --git a/charts/kubedbcom-postgres-editor/ui/edit-ui.yaml b/charts/kubedbcom-postgres-editor/ui/edit-ui.yaml index 7353f9221..4e9c68a52 100644 --- a/charts/kubedbcom-postgres-editor/ui/edit-ui.yaml +++ b/charts/kubedbcom-postgres-editor/ui/edit-ui.yaml @@ -559,17 +559,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace - schema: - $ref: discriminator#/storageRefNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace @@ -596,17 +586,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace - schema: - $ref: discriminator#/retentionPolicyNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -622,7 +602,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -633,17 +613,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace - schema: - $ref: discriminator#/encryptionSecretNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -659,7 +629,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form if: showInvokerForm|backupConfiguration diff --git a/charts/kubedbcom-postgres-editor/ui/functions.js b/charts/kubedbcom-postgres-editor/ui/functions.js index 0bd4a0091..d00320505 100644 --- a/charts/kubedbcom-postgres-editor/ui/functions.js +++ b/charts/kubedbcom-postgres-editor/ui/functions.js @@ -1862,10 +1862,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespaces({ axios, storeGet }) { const username = storeGet('/route/params/user') const clusterName = storeGet('/route/params/cluster') @@ -2014,7 +2010,6 @@ return { fetchNames, fetchNamespaces, isRancherManaged, - isNotRancherManaged, onInputChangeSchedule, getDefaultSchedule, getBlueprints, diff --git a/charts/kubedbcom-redis-editor/ui/edit-ui.yaml b/charts/kubedbcom-redis-editor/ui/edit-ui.yaml index 7b8cb83b2..7341bca12 100644 --- a/charts/kubedbcom-redis-editor/ui/edit-ui.yaml +++ b/charts/kubedbcom-redis-editor/ui/edit-ui.yaml @@ -547,17 +547,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace - schema: - $ref: discriminator#/storageRefNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace @@ -584,17 +574,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace - schema: - $ref: discriminator#/retentionPolicyNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -610,7 +590,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -621,17 +601,7 @@ steps: elements: - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: Namespace - onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace - schema: - $ref: discriminator#/encryptionSecretNamespace - type: select - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace - fetch: fetchNamespaces - if: isnotra + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -647,7 +617,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form if: showInvokerForm|backupConfiguration diff --git a/charts/kubedbcom-redis-editor/ui/functions.js b/charts/kubedbcom-redis-editor/ui/functions.js index 3304f1248..1854fcc07 100644 --- a/charts/kubedbcom-redis-editor/ui/functions.js +++ b/charts/kubedbcom-redis-editor/ui/functions.js @@ -1938,10 +1938,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespaces({ axios, storeGet }) { const username = storeGet('/route/params/user') const clusterName = storeGet('/route/params/cluster') @@ -2099,7 +2095,6 @@ return { fetchNames, fetchNamespaces, isRancherManaged, - isNotRancherManaged, onInputChangeSchedule, getDefaultSchedule, getBlueprints, diff --git a/charts/kubedbcom-singlestore-editor/ui/edit-ui.yaml b/charts/kubedbcom-singlestore-editor/ui/edit-ui.yaml index 8fa80a8c1..db1bd689f 100644 --- a/charts/kubedbcom-singlestore-editor/ui/edit-ui.yaml +++ b/charts/kubedbcom-singlestore-editor/ui/edit-ui.yaml @@ -612,10 +612,9 @@ steps: storageRefNamespace: type: string elements: - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace - fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged + - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace + fetch: fetchNamespaces|storageRefNamespace + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|storageRef|namespace|storageRefNamespace @@ -649,10 +648,9 @@ steps: retentionPolicyNamespace: type: string elements: - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace - fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged + - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace + fetch: fetchNamespaces|retentionPolicyNamespace + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupConfiguration/spec/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -677,7 +675,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -686,10 +684,9 @@ steps: encryptionSecretNamespace: type: string elements: - - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace - fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged + - computed: getDefault|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace + fetch: fetchNamespaces|encryptionSecretNamespace + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupConfiguration/spec/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -714,7 +711,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form if: showInvokerForm|backupConfiguration @@ -761,10 +758,9 @@ steps: storageRefNamespace: type: string elements: - - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|storageRef|namespace - fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged + - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|storageRef|namespace|storageRefNamespace + fetch: fetchNamespaces|storageRefNamespace + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|storageRef|namespace|storageRefNamespace @@ -798,10 +794,9 @@ steps: retentionPolicyNamespace: type: string elements: - - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|retentionPolicy|namespace - fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged + - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|retentionPolicy|namespace|retentionPolicyNamespace + fetch: fetchNamespaces|retentionPolicyNamespace + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/backends|retentionPolicy|namespace|retentionPolicyNamespace @@ -826,7 +821,7 @@ steps: $ref: discriminator#/retentionPolicyName type: select label: - text: retentionPolicy + text: Retention Policy show_label: true type: single-step-form - discriminator: @@ -835,10 +830,9 @@ steps: encryptionSecretNamespace: type: string elements: - - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/sessions|encryptionSecret|namespace - fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged + - computed: getDefault|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/sessions|encryptionSecret|namespace|encryptionSecretNamespace + fetch: fetchNamespaces|encryptionSecretNamespace + hasGroup: isRancherManaged label: text: Namespace onChange: onInputChange|/resources/coreKubestashComBackupBlueprint/spec/backupConfigurationTemplate/sessions|encryptionSecret|namespace|encryptionSecretNamespace @@ -863,7 +857,7 @@ steps: $ref: discriminator#/encryptionSecretName type: select label: - text: encryptionSecret + text: Encryption Secret show_label: true type: single-step-form - elements: diff --git a/charts/kubedbcom-singlestore-editor/ui/functions.js b/charts/kubedbcom-singlestore-editor/ui/functions.js index eadbb9524..b6f743fb4 100644 --- a/charts/kubedbcom-singlestore-editor/ui/functions.js +++ b/charts/kubedbcom-singlestore-editor/ui/functions.js @@ -1164,10 +1164,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} - async function fetchNamespaces({ axios, storeGet }) { const username = storeGet('/route/params/user') const clusterName = storeGet('/route/params/cluster') @@ -2453,7 +2449,6 @@ return { fetchNames, fetchNamespaces, isRancherManaged, - isNotRancherManaged, onInputChangeSchedule, getDefaultSchedule, getBlueprints, diff --git a/charts/storagekubestashcom-repository-editor-options/ui/create-ui.yaml b/charts/storagekubestashcom-repository-editor-options/ui/create-ui.yaml index eaa8da4d6..40065f95c 100644 --- a/charts/storagekubestashcom-repository-editor-options/ui/create-ui.yaml +++ b/charts/storagekubestashcom-repository-editor-options/ui/create-ui.yaml @@ -75,17 +75,7 @@ steps: - elements: - disableUnselect: true fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: labels.namespace - refresh: true - schema: - $ref: schema#/properties/spec/properties/storageRef/properties/namespace - type: select - - disableUnselect: true - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: labels.namespace refresh: true @@ -109,17 +99,7 @@ steps: - elements: - disableUnselect: true fetch: fetchNamespaces - hasGroup: true - if: isRancherManaged - label: - text: labels.namespace - refresh: true - schema: - $ref: schema#/properties/spec/properties/encryptionSecret/properties/namespace - type: select - - disableUnselect: true - fetch: fetchNamespaces - if: isNotRancherManaged + hasGroup: isRancherManaged label: text: labels.namespace refresh: true diff --git a/charts/storagekubestashcom-repository-editor-options/ui/functions.js b/charts/storagekubestashcom-repository-editor-options/ui/functions.js index 014425b87..a19ab032b 100644 --- a/charts/storagekubestashcom-repository-editor-options/ui/functions.js +++ b/charts/storagekubestashcom-repository-editor-options/ui/functions.js @@ -79,9 +79,6 @@ function isRancherManaged({ storeGet }) { return !!found } -function isNotRancherManaged({ storeGet }) { - return !isRancherManaged({ storeGet }) -} function fetchNamespaces({ watchDependency }) { watchDependency('discriminator#/nameSpaceApi') console.log(namespaces) @@ -223,7 +220,6 @@ return { init, getCreateNameSpaceUrl, isRancherManaged, - isNotRancherManaged, fetchNamespaces, fetchNames, getApiGroup, diff --git a/schemas/ui-schema.json b/schemas/ui-schema.json index 035b56370..83518016e 100644 --- a/schemas/ui-schema.json +++ b/schemas/ui-schema.json @@ -1,4718 +1,4724 @@ { - "$schema": "http://json-schema.org/draft-07/schema#", - "$ref": "#/definitions/UiInterface", - "definitions": { - "UiInterface": { - "anyOf": [ - { - "$ref": "#/definitions/MultiStepFormInterface" - }, - { - "$ref": "#/definitions/SingleStepFormInterface" - }, - { - "$ref": "#/definitions/FormElementType" - } - ] - }, - "MultiStepFormInterface": { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "multi-step-form" - }, - "steps": { - "type": "array", - "items": { - "type": "object", - "properties": { - "title": { - "type": "string" - }, - "id": { - "type": "string" - }, - "if": { - "type": "string" - }, - "form": { - "anyOf": [ - { - "$ref": "#/definitions/MultiStepFormInterface" - }, - { - "$ref": "#/definitions/SingleStepFormInterface" - } - ] - } - }, - "required": [ - "title", - "id", - "form" - ], - "additionalProperties": false - } - } - }, - "required": [ - "type", - "steps" - ], - "additionalProperties": false - }, - "SingleStepFormInterface": { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "single-step-form" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "identifier": { - "type": "string" - }, - "show_label": { - "type": "boolean" - }, - "hideForm": { - "type": "boolean" - }, - "accordion": { - "type": "boolean" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/definitions/FormElementType" - } - }, - "discriminator": { - "type": "object", - "additionalProperties": {} - }, - "style": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "toggleOption": { - "$ref": "#/definitions/ToggleOption" - } - }, - "required": [ - "elements", - "type" - ], - "additionalProperties": false - }, - "FormElementType": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "label-element" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "alertInfo": { - "type": "object", - "properties": { - "show": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "success", - "info", - "error" - ] - }, - "hideIcon": { - "type": "boolean" - }, - "actionButton": { - "type": "object", - "properties": { - "show": { - "type": "boolean" - }, - "title": { - "type": "string" - }, - "iconClass": { - "type": "string" - }, - "action": {} - }, - "required": [ - "show", - "title", - "iconClass", - "action" - ], - "additionalProperties": false - } - }, - "required": [ - "type" - ], - "additionalProperties": false - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "tabs" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "tabs": { - "type": "array", - "items": { - "type": "object", - "properties": { - "value": { - "type": [ - "string", - "number", - "boolean" - ] - }, - "title": { - "type": "string" - } - }, - "required": [ - "value", - "title" - ], - "additionalProperties": false - } - } - }, - "required": [ - "tabs", - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "anchor" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "target": { - "type": "string" - }, - "url": { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "type", - "url" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "input" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "hideValue": { - "type": "boolean" - }, - "inputType": { - "type": "string" - }, - "showPasswordStrength": { - "type": "boolean" - }, - "minValue": { - "type": "number" - }, - "maxValue": { - "type": "number" - }, - "validationRuleObject": { - "type": "object", - "additionalProperties": {} - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - }, - { - "$ref": "#/definitions/TimeInputInterface" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "textarea" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "editor" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "language": { - "type": "string", - "enum": [ - "json", - "yaml" - ] - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "select" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "add_new_button": { - "type": "object", - "properties": { - "url": { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - }, - "target": { - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "url" - ], - "additionalProperties": false - }, - "allowUserDefinedOption": { - "type": "boolean" - }, - "options": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/definitions/Option" - }, - { - "$ref": "#/definitions/Project" - } - ] - } - }, - "refresh": { - "type": "boolean" - }, - "sortable": { - "type": "boolean" - }, - "disableUnselect": { - "type": "boolean" - }, - "hasGroup": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "multiselect" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "add_new_button": { - "type": "object", - "properties": { - "url": { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - }, - "target": { - "type": "string" - }, - "label": { - "type": "string" - } - }, - "required": [ - "url" - ], - "additionalProperties": false - }, - "allowUserDefinedOption": { - "type": "boolean" - }, - "options": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "$ref": "#/definitions/Option" - }, - { - "$ref": "#/definitions/Project" - } - ] - } - }, - "refresh": { - "type": "boolean" - }, - "sortable": { - "type": "boolean" - }, - "disableUnselect": { - "type": "boolean" - }, - "hasGroup": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "checkbox" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "options": { - "type": "array", - "items": { - "$ref": "#/definitions/Option" - } - }, - "hasDescription": { - "type": "boolean" - }, - "isHorizontal": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "radio" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "options": { - "type": "array", - "items": { - "$ref": "#/definitions/Option" - } - }, - "hasDescription": { - "type": "boolean" - }, - "isHorizontal": { - "type": "boolean" - } - }, - "additionalProperties": false, - "required": [ - "type" - ] - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "switch" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "key-value-input-form" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "isArray": { - "type": "boolean" - }, - "newItemValidator": { - "type": "string" - }, - "keys": { - "type": "object", - "properties": { - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": [ - "label" - ], - "additionalProperties": false - }, - "values": { - "$ref": "#/definitions/FormElementType" - } - }, - "required": [ - "keys", - "type", - "values" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "key-text-area-input-form" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "isArray": { - "type": "boolean" - }, - "newItemValidator": { - "type": "string" - }, - "keys": { - "type": "object", - "properties": { - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": [ - "label" - ], - "additionalProperties": false - }, - "values": { - "$ref": "#/definitions/FormElementType" - } - }, - "required": [ - "keys", - "type", - "values" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "list-input-form" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "element": { - "$ref": "#/definitions/FormElementType" - } - }, - "required": [ - "element", - "type" - ], - "additionalProperties": false - }, - { - "$ref": "#/definitions/SingleStepFormArrayInterface" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "reusable-element" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "identifier": { - "type": "string" - }, - "show_label": { - "type": "boolean" - }, - "hideForm": { - "type": "boolean" - }, - "accordion": { - "type": "boolean" - }, - "elements": { - "type": "array", - "items": { - "$ref": "#/definitions/FormElementType" - } - }, - "discriminator": { - "type": "object", - "additionalProperties": {} - }, - "style": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "toggleOption": { - "$ref": "#/definitions/ToggleOption" - }, - "alias": { - "type": "string" - }, - "chart": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "name", - "version" - ], - "additionalProperties": false - }, - "moduleResolver": { - "type": "string" - }, - "dataContext": { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - }, - "functionCallbacks": { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - } - }, - "required": [ - "alias", - "chart", - "moduleResolver", - "type" - ], - "additionalProperties": false - }, - { - "$ref": "#/definitions/SingleStepFormInterface" - }, - { - "$ref": "#/definitions/ConfigureOptionsInterface" - }, - { - "$ref": "#/definitions/ArrayInputFormElementInterface" - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "resource-input-form" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "type" - ], - "additionalProperties": false - } - ] - }, - "TimeInputInterface": { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "time-input" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - "Option": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "value": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "additionalProperties": {} - }, - { - "type": "array", - "items": {} - } - ] - }, - "description": { - "type": "string" - } - }, - "required": [ - "text", - "value" - ], - "additionalProperties": false - }, - "Project": { - "type": "object", - "properties": { - "project": { - "type": "string" - }, - "namespaces": { - "type": "array", - "items": { - "$ref": "#/definitions/Namespace" - } - } - }, - "required": [ - "project", - "namespaces" - ], - "additionalProperties": false - }, - "Namespace": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "text", - "value" - ], - "additionalProperties": false - }, - "SingleStepFormArrayInterface": { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "single-step-form-array" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "addFormLabel": { - "type": "string" - }, - "hideForm": { - "type": "boolean" - }, - "isCreateDisabled": { - "type": "boolean" - }, - "element": { - "$ref": "#/definitions/SingleStepFormInterface" - }, - "newItemValidator": { - "type": "string" - }, - "tableContents": { - "type": "array", - "items": { - "$ref": "#/definitions/TableContent" - } - } - }, - "required": [ - "element", - "tableContents", - "type" - ], - "additionalProperties": false - }, - "TableContent": { - "anyOf": [ - { - "$ref": "#/definitions/TableContentValueInterface" - }, - { - "type": "object", - "properties": { - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "type": { - "type": "string", - "const": "label" - } - }, - "required": [ - "label", - "type" - ], - "additionalProperties": false - } - ] - }, - "TableContentValueInterface": { - "type": "object", - "properties": { - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "type": { - "type": "string", - "const": "value" - }, - "computed": { - "type": "string" - }, - "inTableColumn": { - "type": "boolean" - }, - "path": { - "type": "string" - }, - "typeOfValue": { - "type": "string", - "enum": [ - "string", - "array", - "object-array", - "key-operator-values-array", - "key-value", - "code", - "datetime" - ] - }, - "tableContents": { - "type": "array", - "items": { - "$ref": "#/definitions/TableContent" - } - } - }, - "required": [ - "label", - "path", - "type", - "typeOfValue" - ], - "additionalProperties": false - }, - "ToggleOption": { - "type": "object", - "properties": { - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "id": { - "type": "string" - }, - "onStatusFalse": { - "type": "string" - }, - "onStatusTrue": { - "type": "string" - }, - "setInitialStatusFalse": { - "type": [ - "boolean", - "string" - ] - }, - "show": { - "type": "boolean" - }, - "ignoreInitialStatusFunction": { - "type": "boolean" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - }, - "required": [ - "id" - ], - "additionalProperties": false - }, - "ConfigureOptionsInterface": { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "configure-options" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "options": { - "type": "array", - "items": { - "$ref": "#/definitions/ConfigureOption" - } - }, - "hasDescription": { - "type": "boolean" - }, - "isHorizontal": { - "type": "boolean" - }, - "hasDependencies": { - "type": "boolean" - }, - "owner": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - }, - "cluster": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "required": [ - "cluster", - "options", - "owner", - "type" - ], - "additionalProperties": false - }, - "ConfigureOption": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "value": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "type": "object", - "additionalProperties": {} - }, - { - "type": "array", - "items": {} - } - ] - }, - "description": { - "type": "string" - }, - "dependencies": { - "type": "array", - "items": { - "type": "object", - "properties": { - "group": { - "type": "string" - }, - "version": { - "type": "string" - }, - "name": { - "type": "string" - }, - "resource": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "group", - "version", - "name", - "resource", - "url" - ], - "additionalProperties": false - } - }, - "dependingSteps": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "additionalProperties": false, - "required": [ - "text", - "value" - ] - }, - "ArrayInputFormElementInterface": { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "array-input-form" - }, - "label": { - "type": "object", - "properties": { - "isSubsection": { - "type": "boolean" - }, - "text": { - "type": "string" - } - }, - "additionalProperties": false - }, - "customClass": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - }, - "disabled": { - "type": [ - "boolean", - "string" - ] - }, - "required": { - "type": [ - "boolean", - "string" - ] - }, - "if": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - }, - "expression": { - "type": "string" - } - }, - "required": [ - "params", - "expression" - ], - "additionalProperties": false - } - ] - }, - "fetch": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "path": { - "type": "string" - }, - "function": { - "type": "string" - }, - "params": { - "type": "object", - "additionalProperties": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object", - "properties": { - "$ref": { - "type": "string" - } - }, - "required": [ - "$ref" - ], - "additionalProperties": false - } - ] - } - } - }, - "additionalProperties": false - } - ] - }, - "computed": { - "type": "string" - }, - "individualItemDisabilityCheck": { - "type": "string" - }, - "onChange": { - "type": "string" - }, - "encoder": { - "type": "string" - }, - "decoder": { - "type": "string" - }, - "keepEmpty": { - "type": "boolean" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "object", - "properties": { - "text": { - "type": "string" - } - }, - "required": [ - "text" - ], - "additionalProperties": false - } - ] - }, - "identifier": { - "type": "string" - }, - "element": { - "$ref": "#/definitions/FormElementType" - }, - "show_label": { - "type": "boolean" - }, - "hideForm": { - "type": "boolean" - }, - "style": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "individualItemVisibilityCheck": { - "type": "string" - } - }, - "required": [ - "element", - "type" - ], - "additionalProperties": false - } - } + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/UiInterface", + "definitions": { + "UiInterface": { + "anyOf": [ + { + "$ref": "#/definitions/MultiStepFormInterface" + }, + { + "$ref": "#/definitions/SingleStepFormInterface" + }, + { + "$ref": "#/definitions/FormElementType" + } + ] + }, + "MultiStepFormInterface": { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "multi-step-form" + }, + "steps": { + "type": "array", + "items": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "id": { + "type": "string" + }, + "if": { + "type": "string" + }, + "form": { + "anyOf": [ + { + "$ref": "#/definitions/MultiStepFormInterface" + }, + { + "$ref": "#/definitions/SingleStepFormInterface" + } + ] + } + }, + "required": [ + "title", + "id", + "form" + ], + "additionalProperties": false + } + } + }, + "required": [ + "type", + "steps" + ], + "additionalProperties": false + }, + "SingleStepFormInterface": { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "single-step-form" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "identifier": { + "type": "string" + }, + "show_label": { + "type": "boolean" + }, + "hideForm": { + "type": "boolean" + }, + "accordion": { + "type": "boolean" + }, + "elements": { + "type": "array", + "items": { + "$ref": "#/definitions/FormElementType" + } + }, + "discriminator": { + "type": "object", + "additionalProperties": {} + }, + "style": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "toggleOption": { + "$ref": "#/definitions/ToggleOption" + } + }, + "required": [ + "elements", + "type" + ], + "additionalProperties": false + }, + "FormElementType": { + "anyOf": [ + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "label-element" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "alertInfo": { + "type": "object", + "properties": { + "show": { + "type": "boolean" + }, + "type": { + "type": "string", + "enum": [ + "success", + "info", + "error" + ] + }, + "hideIcon": { + "type": "boolean" + }, + "actionButton": { + "type": "object", + "properties": { + "show": { + "type": "boolean" + }, + "title": { + "type": "string" + }, + "iconClass": { + "type": "string" + }, + "action": {} + }, + "required": [ + "show", + "title", + "iconClass", + "action" + ], + "additionalProperties": false + } + }, + "required": [ + "type" + ], + "additionalProperties": false + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "tabs" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "tabs": { + "type": "array", + "items": { + "type": "object", + "properties": { + "value": { + "type": [ + "string", + "number", + "boolean" + ] + }, + "title": { + "type": "string" + } + }, + "required": [ + "value", + "title" + ], + "additionalProperties": false + } + } + }, + "required": [ + "tabs", + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "anchor" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "target": { + "type": "string" + }, + "url": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + }, + "required": [ + "type", + "url" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "input" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "hideValue": { + "type": "boolean" + }, + "inputType": { + "type": "string" + }, + "showPasswordStrength": { + "type": "boolean" + }, + "minValue": { + "type": "number" + }, + "maxValue": { + "type": "number" + }, + "validationRuleObject": { + "type": "object", + "additionalProperties": {} + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + { + "$ref": "#/definitions/TimeInputInterface" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "textarea" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "editor" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "language": { + "type": "string", + "enum": [ + "json", + "yaml" + ] + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "select" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "add_new_button": { + "type": "object", + "properties": { + "url": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + }, + "target": { + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "url" + ], + "additionalProperties": false + }, + "allowUserDefinedOption": { + "type": "boolean" + }, + "options": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/Option" + }, + { + "$ref": "#/definitions/Project" + } + ] + } + }, + "refresh": { + "type": "boolean" + }, + "sortable": { + "type": "boolean" + }, + "disableUnselect": { + "type": "boolean" + }, + "hasGroup": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "multiselect" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "add_new_button": { + "type": "object", + "properties": { + "url": { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + }, + "target": { + "type": "string" + }, + "label": { + "type": "string" + } + }, + "required": [ + "url" + ], + "additionalProperties": false + }, + "allowUserDefinedOption": { + "type": "boolean" + }, + "options": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/Option" + }, + { + "$ref": "#/definitions/Project" + } + ] + } + }, + "refresh": { + "type": "boolean" + }, + "sortable": { + "type": "boolean" + }, + "disableUnselect": { + "type": "boolean" + }, + "hasGroup": { + "type": [ + "boolean", + "string" + ] + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "checkbox" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/Option" + } + }, + "hasDescription": { + "type": "boolean" + }, + "isHorizontal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "radio" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/Option" + } + }, + "hasDescription": { + "type": "boolean" + }, + "isHorizontal": { + "type": "boolean" + } + }, + "additionalProperties": false, + "required": [ + "type" + ] + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "switch" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "key-value-input-form" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "isArray": { + "type": "boolean" + }, + "newItemValidator": { + "type": "string" + }, + "keys": { + "type": "object", + "properties": { + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "required": [ + "label" + ], + "additionalProperties": false + }, + "values": { + "$ref": "#/definitions/FormElementType" + } + }, + "required": [ + "keys", + "type", + "values" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "key-text-area-input-form" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "isArray": { + "type": "boolean" + }, + "newItemValidator": { + "type": "string" + }, + "keys": { + "type": "object", + "properties": { + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "required": [ + "label" + ], + "additionalProperties": false + }, + "values": { + "$ref": "#/definitions/FormElementType" + } + }, + "required": [ + "keys", + "type", + "values" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "list-input-form" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "element": { + "$ref": "#/definitions/FormElementType" + } + }, + "required": [ + "element", + "type" + ], + "additionalProperties": false + }, + { + "$ref": "#/definitions/SingleStepFormArrayInterface" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "reusable-element" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "identifier": { + "type": "string" + }, + "show_label": { + "type": "boolean" + }, + "hideForm": { + "type": "boolean" + }, + "accordion": { + "type": "boolean" + }, + "elements": { + "type": "array", + "items": { + "$ref": "#/definitions/FormElementType" + } + }, + "discriminator": { + "type": "object", + "additionalProperties": {} + }, + "style": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "toggleOption": { + "$ref": "#/definitions/ToggleOption" + }, + "alias": { + "type": "string" + }, + "chart": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "name", + "version" + ], + "additionalProperties": false + }, + "moduleResolver": { + "type": "string" + }, + "dataContext": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + }, + "functionCallbacks": { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + } + }, + "required": [ + "alias", + "chart", + "moduleResolver", + "type" + ], + "additionalProperties": false + }, + { + "$ref": "#/definitions/SingleStepFormInterface" + }, + { + "$ref": "#/definitions/ConfigureOptionsInterface" + }, + { + "$ref": "#/definitions/ArrayInputFormElementInterface" + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "resource-input-form" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "type" + ], + "additionalProperties": false + } + ] + }, + "TimeInputInterface": { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "time-input" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + "Option": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "additionalProperties": {} + }, + { + "type": "array", + "items": {} + } + ] + }, + "description": { + "type": "string" + } + }, + "required": [ + "text", + "value" + ], + "additionalProperties": false + }, + "Project": { + "type": "object", + "properties": { + "project": { + "type": "string" + }, + "namespaces": { + "type": "array", + "items": { + "$ref": "#/definitions/Namespace" + } + } + }, + "required": [ + "project", + "namespaces" + ], + "additionalProperties": false + }, + "Namespace": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "text", + "value" + ], + "additionalProperties": false + }, + "SingleStepFormArrayInterface": { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "single-step-form-array" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "addFormLabel": { + "type": "string" + }, + "hideForm": { + "type": "boolean" + }, + "isCreateDisabled": { + "type": "boolean" + }, + "element": { + "$ref": "#/definitions/SingleStepFormInterface" + }, + "newItemValidator": { + "type": "string" + }, + "tableContents": { + "type": "array", + "items": { + "$ref": "#/definitions/TableContent" + } + } + }, + "required": [ + "element", + "tableContents", + "type" + ], + "additionalProperties": false + }, + "TableContent": { + "anyOf": [ + { + "$ref": "#/definitions/TableContentValueInterface" + }, + { + "type": "object", + "properties": { + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "type": { + "type": "string", + "const": "label" + } + }, + "required": [ + "label", + "type" + ], + "additionalProperties": false + } + ] + }, + "TableContentValueInterface": { + "type": "object", + "properties": { + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "type": { + "type": "string", + "const": "value" + }, + "computed": { + "type": "string" + }, + "inTableColumn": { + "type": "boolean" + }, + "path": { + "type": "string" + }, + "typeOfValue": { + "type": "string", + "enum": [ + "string", + "array", + "object-array", + "key-operator-values-array", + "key-value", + "code", + "datetime" + ] + }, + "tableContents": { + "type": "array", + "items": { + "$ref": "#/definitions/TableContent" + } + } + }, + "required": [ + "label", + "path", + "type", + "typeOfValue" + ], + "additionalProperties": false + }, + "ToggleOption": { + "type": "object", + "properties": { + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "id": { + "type": "string" + }, + "onStatusFalse": { + "type": "string" + }, + "onStatusTrue": { + "type": "string" + }, + "setInitialStatusFalse": { + "type": [ + "boolean", + "string" + ] + }, + "show": { + "type": "boolean" + }, + "ignoreInitialStatusFunction": { + "type": "boolean" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + }, + "required": [ + "id" + ], + "additionalProperties": false + }, + "ConfigureOptionsInterface": { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "configure-options" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "options": { + "type": "array", + "items": { + "$ref": "#/definitions/ConfigureOption" + } + }, + "hasDescription": { + "type": "boolean" + }, + "isHorizontal": { + "type": "boolean" + }, + "hasDependencies": { + "type": "boolean" + }, + "owner": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + }, + "cluster": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "required": [ + "cluster", + "options", + "owner", + "type" + ], + "additionalProperties": false + }, + "ConfigureOption": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "object", + "additionalProperties": {} + }, + { + "type": "array", + "items": {} + } + ] + }, + "description": { + "type": "string" + }, + "dependencies": { + "type": "array", + "items": { + "type": "object", + "properties": { + "group": { + "type": "string" + }, + "version": { + "type": "string" + }, + "name": { + "type": "string" + }, + "resource": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "required": [ + "group", + "version", + "name", + "resource", + "url" + ], + "additionalProperties": false + } + }, + "dependingSteps": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false, + "required": [ + "text", + "value" + ] + }, + "ArrayInputFormElementInterface": { + "type": "object", + "properties": { + "type": { + "type": "string", + "const": "array-input-form" + }, + "label": { + "type": "object", + "properties": { + "isSubsection": { + "type": "boolean" + }, + "text": { + "type": "string" + } + }, + "additionalProperties": false + }, + "customClass": { + "type": "string" + }, + "schema": { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + }, + "disabled": { + "type": [ + "boolean", + "string" + ] + }, + "required": { + "type": [ + "boolean", + "string" + ] + }, + "if": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + }, + "expression": { + "type": "string" + } + }, + "required": [ + "params", + "expression" + ], + "additionalProperties": false + } + ] + }, + "fetch": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "path": { + "type": "string" + }, + "function": { + "type": "string" + }, + "params": { + "type": "object", + "additionalProperties": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "properties": { + "$ref": { + "type": "string" + } + }, + "required": [ + "$ref" + ], + "additionalProperties": false + } + ] + } + } + }, + "additionalProperties": false + } + ] + }, + "computed": { + "type": "string" + }, + "individualItemDisabilityCheck": { + "type": "string" + }, + "onChange": { + "type": "string" + }, + "encoder": { + "type": "string" + }, + "decoder": { + "type": "string" + }, + "keepEmpty": { + "type": "boolean" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + } + }, + "required": [ + "text" + ], + "additionalProperties": false + } + ] + }, + "identifier": { + "type": "string" + }, + "element": { + "$ref": "#/definitions/FormElementType" + }, + "show_label": { + "type": "boolean" + }, + "hideForm": { + "type": "boolean" + }, + "style": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "individualItemVisibilityCheck": { + "type": "string" + } + }, + "required": [ + "element", + "type" + ], + "additionalProperties": false + } + } } \ No newline at end of file