@kalisio/kdk 2.6.2 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/css/core.variables.scss +72 -0
- package/client/i18n/core_en.json +744 -0
- package/client/i18n/core_fr.json +744 -0
- package/client/i18n/map_en.json +800 -0
- package/client/i18n/map_fr.json +800 -0
- package/client/kdk.client.css +47 -0
- package/client/kdk.client.js +41097 -0
- package/client/kdk.client.map.css +47 -0
- package/client/kdk.client.map.js +38182 -0
- package/client/kdk.client.map.min.css +1 -0
- package/client/kdk.client.map.min.js +27032 -0
- package/client/kdk.client.min.css +1 -0
- package/client/kdk.client.min.js +29074 -0
- package/client/schemas/capture.create.json +132 -0
- package/client/schemas/catalog.update.json +44 -0
- package/client/schemas/messages.update.json +16 -0
- package/client/schemas/projects.create.json +52 -0
- package/client/schemas/projects.update.json +52 -0
- package/client/schemas/settings.update.json +286 -0
- package/client/schemas/tags.update.json +35 -0
- package/client/schemas/users.update-profile.json +34 -0
- package/core/api/authentication.js +13 -1
- package/core/api/hooks/hooks.query.js +9 -0
- package/core/client/capabilities.js +6 -1
- package/core/client/components/KChip.vue +27 -6
- package/core/client/components/collection/KCard.vue +2 -2
- package/core/client/utils/utils.session.js +5 -1
- package/coverage/core/api/application.js.html +392 -398
- package/coverage/core/api/authentication.js.html +352 -187
- package/coverage/core/api/db.js.html +165 -126
- package/coverage/core/api/hooks/hooks.authentication.js.html +22 -196
- package/coverage/core/api/hooks/hooks.authorisations.js.html +383 -662
- package/coverage/core/api/hooks/hooks.logger.js.html +41 -41
- package/coverage/core/api/hooks/hooks.model.js.html +113 -101
- package/coverage/core/api/hooks/hooks.push.js.html +112 -97
- package/coverage/core/api/hooks/hooks.query.js.html +270 -222
- package/coverage/core/api/hooks/hooks.schemas.js.html +123 -123
- package/coverage/core/api/hooks/hooks.service.js.html +1 -1
- package/coverage/core/api/hooks/hooks.storage.js.html +1 -1
- package/coverage/core/api/hooks/{hooks.groups.js.html → hooks.tags.js.html} +100 -76
- package/coverage/core/api/hooks/hooks.users.js.html +255 -447
- package/coverage/core/api/hooks/index.html +107 -122
- package/coverage/core/api/hooks/index.js.html +4 -10
- package/coverage/core/api/index.html +46 -61
- package/coverage/core/api/index.js.html +9 -9
- package/coverage/core/api/marshall.js.html +9 -9
- package/coverage/core/api/models/{organisations.model.mongodb.js.html → configurations.model.mongodb.js.html} +10 -7
- package/coverage/core/api/models/index.html +35 -50
- package/coverage/core/api/models/messages.model.mongodb.js.html +39 -27
- package/coverage/core/api/models/tags.model.mongodb.js.html +26 -32
- package/coverage/core/api/models/users.model.mongodb.js.html +10 -10
- package/coverage/core/api/services/account/account.hooks.js.html +5 -5
- package/coverage/core/api/services/account/account.service.js.html +127 -127
- package/coverage/core/api/services/account/index.html +22 -22
- package/coverage/core/api/services/authorisations/authorisations.hooks.js.html +1 -1
- package/coverage/core/api/services/authorisations/authorisations.service.js.html +213 -222
- package/coverage/core/api/services/authorisations/index.html +21 -21
- package/coverage/core/api/services/{groups/groups.hooks.js.html → configurations/configurations.hooks.js.html} +16 -10
- package/coverage/{lcov-report/core/api/services/groups → core/api/services/configurations}/index.html +8 -8
- package/coverage/core/api/services/databases/databases.hooks.js.html +1 -1
- package/coverage/core/api/services/databases/databases.service.js.html +1 -1
- package/coverage/core/api/services/databases/index.html +1 -1
- package/coverage/core/api/services/import-export/import-export.hooks.js.html +76 -76
- package/coverage/core/api/services/import-export/import-export.service.js.html +32 -32
- package/coverage/core/api/services/import-export/index.html +32 -32
- package/coverage/core/api/services/index.html +21 -21
- package/coverage/core/api/services/index.js.html +313 -142
- package/coverage/core/api/services/mailer/index.html +32 -32
- package/coverage/core/api/services/mailer/mailer.hooks.js.html +80 -80
- package/coverage/core/api/services/mailer/mailer.service.js.html +32 -32
- package/coverage/core/api/services/messages/index.html +21 -21
- package/coverage/core/api/services/messages/messages.hooks.js.html +112 -76
- package/coverage/core/api/services/push/index.html +32 -32
- package/coverage/core/api/services/push/push.hooks.js.html +80 -80
- package/coverage/core/api/services/push/push.service.js.html +34 -34
- package/coverage/core/api/services/storage/index.html +29 -29
- package/coverage/core/api/services/storage/storage.hooks.js.html +80 -80
- package/coverage/core/api/services/storage/storage.service.js.html +29 -29
- package/coverage/core/api/services/tags/index.html +21 -21
- package/coverage/core/api/services/tags/tags.hooks.js.html +119 -71
- package/coverage/core/api/services/users/index.html +27 -12
- package/coverage/core/api/services/users/users.hooks.js.html +14 -11
- package/coverage/core/api/services/users/users.service.js.html +100 -0
- package/coverage/core/common/errors.js.html +1 -1
- package/coverage/core/common/index.html +42 -27
- package/coverage/core/common/index.js.html +1 -1
- package/coverage/core/common/permissions.js.html +166 -472
- package/coverage/core/common/schema.js.html +4 -4
- package/coverage/core/common/utils.js.html +31 -25
- package/coverage/core/common/utils.offline.js.html +199 -0
- package/coverage/index.html +192 -192
- package/coverage/lcov-report/core/api/application.js.html +392 -398
- package/coverage/lcov-report/core/api/authentication.js.html +352 -187
- package/coverage/lcov-report/core/api/db.js.html +165 -126
- package/coverage/lcov-report/core/api/hooks/hooks.authentication.js.html +22 -196
- package/coverage/lcov-report/core/api/hooks/hooks.authorisations.js.html +383 -662
- package/coverage/lcov-report/core/api/hooks/hooks.logger.js.html +41 -41
- package/coverage/lcov-report/core/api/hooks/hooks.model.js.html +113 -101
- package/coverage/lcov-report/core/api/hooks/hooks.push.js.html +112 -97
- package/coverage/lcov-report/core/api/hooks/hooks.query.js.html +270 -222
- package/coverage/lcov-report/core/api/hooks/hooks.schemas.js.html +123 -123
- package/coverage/lcov-report/core/api/hooks/hooks.service.js.html +1 -1
- package/coverage/lcov-report/core/api/hooks/hooks.storage.js.html +1 -1
- package/coverage/lcov-report/core/api/hooks/{hooks.groups.js.html → hooks.tags.js.html} +100 -76
- package/coverage/lcov-report/core/api/hooks/hooks.users.js.html +255 -447
- package/coverage/lcov-report/core/api/hooks/index.html +107 -122
- package/coverage/lcov-report/core/api/hooks/index.js.html +4 -10
- package/coverage/lcov-report/core/api/index.html +46 -61
- package/coverage/lcov-report/core/api/index.js.html +9 -9
- package/coverage/lcov-report/core/api/marshall.js.html +9 -9
- package/coverage/lcov-report/core/api/models/{organisations.model.mongodb.js.html → configurations.model.mongodb.js.html} +10 -7
- package/coverage/lcov-report/core/api/models/index.html +35 -50
- package/coverage/lcov-report/core/api/models/messages.model.mongodb.js.html +39 -27
- package/coverage/lcov-report/core/api/models/tags.model.mongodb.js.html +26 -32
- package/coverage/lcov-report/core/api/models/users.model.mongodb.js.html +10 -10
- package/coverage/lcov-report/core/api/services/account/account.hooks.js.html +5 -5
- package/coverage/lcov-report/core/api/services/account/account.service.js.html +127 -127
- package/coverage/lcov-report/core/api/services/account/index.html +22 -22
- package/coverage/lcov-report/core/api/services/authorisations/authorisations.hooks.js.html +1 -1
- package/coverage/lcov-report/core/api/services/authorisations/authorisations.service.js.html +213 -222
- package/coverage/lcov-report/core/api/services/authorisations/index.html +21 -21
- package/coverage/lcov-report/core/api/services/{groups/groups.hooks.js.html → configurations/configurations.hooks.js.html} +16 -10
- package/coverage/{core/api/services/groups → lcov-report/core/api/services/configurations}/index.html +8 -8
- package/coverage/lcov-report/core/api/services/databases/databases.hooks.js.html +1 -1
- package/coverage/lcov-report/core/api/services/databases/databases.service.js.html +1 -1
- package/coverage/lcov-report/core/api/services/databases/index.html +1 -1
- package/coverage/lcov-report/core/api/services/import-export/import-export.hooks.js.html +76 -76
- package/coverage/lcov-report/core/api/services/import-export/import-export.service.js.html +32 -32
- package/coverage/lcov-report/core/api/services/import-export/index.html +32 -32
- package/coverage/lcov-report/core/api/services/index.html +21 -21
- package/coverage/lcov-report/core/api/services/index.js.html +313 -142
- package/coverage/lcov-report/core/api/services/mailer/index.html +32 -32
- package/coverage/lcov-report/core/api/services/mailer/mailer.hooks.js.html +80 -80
- package/coverage/lcov-report/core/api/services/mailer/mailer.service.js.html +32 -32
- package/coverage/lcov-report/core/api/services/messages/index.html +21 -21
- package/coverage/lcov-report/core/api/services/messages/messages.hooks.js.html +112 -76
- package/coverage/lcov-report/core/api/services/push/index.html +32 -32
- package/coverage/lcov-report/core/api/services/push/push.hooks.js.html +80 -80
- package/coverage/lcov-report/core/api/services/push/push.service.js.html +34 -34
- package/coverage/lcov-report/core/api/services/storage/index.html +29 -29
- package/coverage/lcov-report/core/api/services/storage/storage.hooks.js.html +80 -80
- package/coverage/lcov-report/core/api/services/storage/storage.service.js.html +29 -29
- package/coverage/lcov-report/core/api/services/tags/index.html +21 -21
- package/coverage/lcov-report/core/api/services/tags/tags.hooks.js.html +119 -71
- package/coverage/lcov-report/core/api/services/users/index.html +27 -12
- package/coverage/lcov-report/core/api/services/users/users.hooks.js.html +14 -11
- package/coverage/lcov-report/core/api/services/users/users.service.js.html +100 -0
- package/coverage/lcov-report/core/common/errors.js.html +1 -1
- package/coverage/lcov-report/core/common/index.html +42 -27
- package/coverage/lcov-report/core/common/index.js.html +1 -1
- package/coverage/lcov-report/core/common/permissions.js.html +166 -472
- package/coverage/lcov-report/core/common/schema.js.html +4 -4
- package/coverage/lcov-report/core/common/utils.js.html +31 -25
- package/coverage/lcov-report/core/common/utils.offline.js.html +199 -0
- package/coverage/lcov-report/index.html +192 -192
- package/coverage/lcov-report/map/api/hooks/hooks.catalog.js.html +169 -31
- package/coverage/lcov-report/map/api/hooks/hooks.features.js.html +1 -1
- package/coverage/lcov-report/map/api/hooks/hooks.query.js.html +32 -32
- package/coverage/lcov-report/map/api/hooks/index.html +5 -5
- package/coverage/lcov-report/map/api/hooks/index.js.html +1 -1
- package/coverage/lcov-report/map/api/index.html +1 -1
- package/coverage/lcov-report/map/api/index.js.html +1 -1
- package/coverage/lcov-report/map/api/marshall.js.html +1 -1
- package/coverage/lcov-report/map/api/models/alerts.model.mongodb.js.html +1 -1
- package/coverage/lcov-report/map/api/models/catalog.model.mongodb.js.html +82 -7
- package/coverage/lcov-report/map/api/models/features.model.mongodb.js.html +1 -1
- package/coverage/lcov-report/map/api/models/index.html +22 -7
- package/coverage/lcov-report/map/api/models/projects.model.mongodb.js.html +1 -1
- package/coverage/lcov-report/{core/api/models/groups.model.mongodb.js.html → map/api/models/styles.model.mongodb.js.html} +10 -7
- package/coverage/lcov-report/map/api/services/alerts/alerts.hooks.js.html +1 -1
- package/coverage/lcov-report/map/api/services/alerts/alerts.service.js.html +1 -1
- package/coverage/lcov-report/map/api/services/alerts/index.html +1 -1
- package/coverage/lcov-report/map/api/services/catalog/catalog.hooks.js.html +39 -12
- package/coverage/lcov-report/map/api/services/catalog/index.html +5 -5
- package/coverage/lcov-report/map/api/services/daptiles/daptiles.service.js.html +1 -1
- package/coverage/lcov-report/map/api/services/daptiles/index.html +1 -1
- package/coverage/lcov-report/map/api/services/features/features.hooks.js.html +86 -11
- package/coverage/lcov-report/map/api/services/features/features.service.js.html +307 -4
- package/coverage/lcov-report/map/api/services/features/index.html +7 -7
- package/coverage/lcov-report/map/api/services/index.html +5 -5
- package/coverage/lcov-report/map/api/services/index.js.html +326 -50
- package/coverage/lcov-report/map/api/services/projects/index.html +1 -1
- package/coverage/lcov-report/map/api/services/projects/projects.hooks.js.html +1 -1
- package/coverage/{core/api/services/organisations → lcov-report/map/api/services/styles}/index.html +10 -25
- package/coverage/{core/api/services/organisations/organisations.hooks.js.html → lcov-report/map/api/services/styles/styles.hooks.js.html} +45 -12
- package/coverage/lcov-report/map/common/dynamic-grid-source.js.html +1 -1
- package/coverage/lcov-report/map/common/errors.js.html +1 -1
- package/coverage/lcov-report/map/common/geotiff-grid-source.js.html +7 -10
- package/coverage/lcov-report/map/common/grid.js.html +1 -1
- package/coverage/lcov-report/map/common/index.html +19 -19
- package/coverage/lcov-report/map/common/index.js.html +1 -1
- package/coverage/lcov-report/map/common/meteo-model-grid-source.js.html +1 -1
- package/coverage/lcov-report/map/common/moment-utils.js.html +1 -1
- package/coverage/lcov-report/map/common/opendap-grid-source.js.html +1 -1
- package/coverage/lcov-report/map/common/opendap-utils.js.html +4 -7
- package/coverage/lcov-report/map/common/permissions.js.html +10 -4
- package/coverage/lcov-report/map/common/time-based-grid-source.js.html +1 -1
- package/coverage/lcov-report/map/common/tms-utils.js.html +9 -12
- package/coverage/lcov-report/map/common/wcs-grid-source.js.html +3 -3
- package/coverage/lcov-report/map/common/wcs-utils.js.html +12 -15
- package/coverage/lcov-report/map/common/weacast-grid-source.js.html +2 -2
- package/coverage/lcov-report/map/common/wfs-utils.js.html +14 -17
- package/coverage/lcov-report/map/common/wms-utils.js.html +30 -12
- package/coverage/lcov-report/map/common/wmts-utils.js.html +10 -13
- package/coverage/lcov.info +4172 -3909
- package/coverage/map/api/hooks/hooks.catalog.js.html +169 -31
- package/coverage/map/api/hooks/hooks.features.js.html +1 -1
- package/coverage/map/api/hooks/hooks.query.js.html +32 -32
- package/coverage/map/api/hooks/index.html +5 -5
- package/coverage/map/api/hooks/index.js.html +1 -1
- package/coverage/map/api/index.html +1 -1
- package/coverage/map/api/index.js.html +1 -1
- package/coverage/map/api/marshall.js.html +1 -1
- package/coverage/map/api/models/alerts.model.mongodb.js.html +1 -1
- package/coverage/map/api/models/catalog.model.mongodb.js.html +82 -7
- package/coverage/map/api/models/features.model.mongodb.js.html +1 -1
- package/coverage/map/api/models/index.html +22 -7
- package/coverage/map/api/models/projects.model.mongodb.js.html +1 -1
- package/coverage/{core/api/models/groups.model.mongodb.js.html → map/api/models/styles.model.mongodb.js.html} +10 -7
- package/coverage/map/api/services/alerts/alerts.hooks.js.html +1 -1
- package/coverage/map/api/services/alerts/alerts.service.js.html +1 -1
- package/coverage/map/api/services/alerts/index.html +1 -1
- package/coverage/map/api/services/catalog/catalog.hooks.js.html +39 -12
- package/coverage/map/api/services/catalog/index.html +5 -5
- package/coverage/map/api/services/daptiles/daptiles.service.js.html +1 -1
- package/coverage/map/api/services/daptiles/index.html +1 -1
- package/coverage/map/api/services/features/features.hooks.js.html +86 -11
- package/coverage/map/api/services/features/features.service.js.html +307 -4
- package/coverage/map/api/services/features/index.html +7 -7
- package/coverage/map/api/services/index.html +5 -5
- package/coverage/map/api/services/index.js.html +326 -50
- package/coverage/map/api/services/projects/index.html +1 -1
- package/coverage/map/api/services/projects/projects.hooks.js.html +1 -1
- package/coverage/{lcov-report/core/api/services/organisations → map/api/services/styles}/index.html +10 -25
- package/coverage/{lcov-report/core/api/services/organisations/organisations.hooks.js.html → map/api/services/styles/styles.hooks.js.html} +45 -12
- package/coverage/map/common/dynamic-grid-source.js.html +1 -1
- package/coverage/map/common/errors.js.html +1 -1
- package/coverage/map/common/geotiff-grid-source.js.html +7 -10
- package/coverage/map/common/grid.js.html +1 -1
- package/coverage/map/common/index.html +19 -19
- package/coverage/map/common/index.js.html +1 -1
- package/coverage/map/common/meteo-model-grid-source.js.html +1 -1
- package/coverage/map/common/moment-utils.js.html +1 -1
- package/coverage/map/common/opendap-grid-source.js.html +1 -1
- package/coverage/map/common/opendap-utils.js.html +4 -7
- package/coverage/map/common/permissions.js.html +10 -4
- package/coverage/map/common/time-based-grid-source.js.html +1 -1
- package/coverage/map/common/tms-utils.js.html +9 -12
- package/coverage/map/common/wcs-grid-source.js.html +3 -3
- package/coverage/map/common/wcs-utils.js.html +12 -15
- package/coverage/map/common/weacast-grid-source.js.html +2 -2
- package/coverage/map/common/wfs-utils.js.html +14 -17
- package/coverage/map/common/wms-utils.js.html +30 -12
- package/coverage/map/common/wmts-utils.js.html +10 -13
- package/coverage/tmp/coverage-222524-1765963609350-0.json +1 -0
- package/coverage/tmp/coverage-222536-1765963609335-0.json +1 -0
- package/coverage/tmp/coverage-222547-1765963609324-0.json +1 -0
- package/coverage/tmp/coverage-222559-1765963609309-0.json +1 -0
- package/coverage/tmp/coverage-222566-1765963609278-0.json +1 -0
- package/map/api/hooks/hooks.query.js +60 -0
- package/map/client/components/stickies/KZoomControl.vue +17 -9
- package/map/client/i18n/map_en.json +6 -0
- package/map/client/i18n/map_fr.json +6 -0
- package/map/client/mixins/map/mixin.base-map.js +19 -1
- package/package.json +2 -2
- package/scripts/kash/CHANGELOG.md +4 -0
- package/scripts/kash/LICENSE +21 -0
- package/scripts/kash/README.md +9 -0
- package/scripts/kash/kash.sh +40 -45
- package/scripts/kash/scripts/run_tests.sh +4 -1
- package/test/api/core/config/default.cjs +1 -0
- package/test/api/core/test-log-2025-07-31.log +15 -0
- package/test/api/core/{test-log-2024-04-23.log → test-log-2025-10-03.log} +4 -9
- package/test/api/core/test-log-2025-11-12.log +117 -0
- package/test/api/core/test-log-2025-11-27.log +0 -0
- package/test/api/core/test-log-2025-11-28.log +17 -0
- package/test/api/core/test-log-2025-12-09.log +148 -0
- package/test/api/core/test-log-2025-12-17.log +58 -0
- package/test/api/core/test-log-2026-01-29.log +17 -0
- package/test/api/map/index.test.js +21 -0
- package/test/api/map/test-log-2025-07-23.log +1 -0
- package/test/api/map/test-log-2025-11-28.log +33 -0
- package/test/api/map/test-log-2025-12-10.log +2 -0
- package/test/api/map/test-log-2026-01-06.log +26 -0
- package/.vscode/settings.json +0 -5
- package/coverage/core/api/hooks/hooks.organisations.js.html +0 -541
- package/coverage/core/api/services/organisations/organisations.service.js.html +0 -343
- package/coverage/core/api/utils.js.html +0 -118
- package/coverage/lcov-report/core/api/hooks/hooks.organisations.js.html +0 -541
- package/coverage/lcov-report/core/api/services/organisations/organisations.service.js.html +0 -343
- package/coverage/lcov-report/core/api/utils.js.html +0 -118
- package/coverage/tmp/coverage-151166-1723543324307-0.json +0 -1
- package/coverage/tmp/coverage-151178-1723543324283-0.json +0 -1
- package/coverage/tmp/coverage-151189-1723543324271-0.json +0 -1
- package/coverage/tmp/coverage-151201-1723543324248-0.json +0 -1
- package/coverage/tmp/coverage-151208-1723543324227-0.json +0 -1
- package/test/api/core/test-log-2024-04-22.log +0 -84
- package/test/api/core/test-log-2024-08-13.log +0 -3
- /package/test/api/{map/test-log-2025-03-08.log → core/test-log-2025-11-10.log} +0 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://www.kalisio.xyz/schemas/capture.create.json#",
|
|
4
|
+
"description": "Capture schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"groups": {
|
|
7
|
+
"group-advanced-settings": {
|
|
8
|
+
"label": "schemas.CAPTURE_ADVANCED_SETTINGS"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"properties": {
|
|
12
|
+
"resolution": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"label": "resolution",
|
|
15
|
+
"field": {
|
|
16
|
+
"component": "form/KResolutionField",
|
|
17
|
+
"label": "schemas.CAPTURE_RESOLUTION_FIELD_LABEL"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"format": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"default": "png",
|
|
23
|
+
"field": {
|
|
24
|
+
"component": "form/KSelectField",
|
|
25
|
+
"label": "schemas.CAPTURE_FORMAT_FIELD_LABEL",
|
|
26
|
+
"options": [
|
|
27
|
+
{ "label": "schemas.CAPTURE_PNG_FORMAT_FIELD_LABEL", "value": "png" },
|
|
28
|
+
{ "label": "schemas.CAPTURE_PDF_FORMAT_FIELD_LABEL", "value": "pdf" }
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"header": {
|
|
33
|
+
"type": ["string", "null"],
|
|
34
|
+
"maxLength": 200,
|
|
35
|
+
"toolbar": {
|
|
36
|
+
"xs": [
|
|
37
|
+
["bold", "italic", "underline", "strike", "align"],
|
|
38
|
+
[{
|
|
39
|
+
"label": "",
|
|
40
|
+
"icon": "format_align_left",
|
|
41
|
+
"list": "only-icons",
|
|
42
|
+
"options": ["left", "center", "right"]
|
|
43
|
+
}],
|
|
44
|
+
["undo", "redo"]
|
|
45
|
+
],
|
|
46
|
+
"gt.xs": [
|
|
47
|
+
["bold", "italic", "underline", "strike", "align"],
|
|
48
|
+
[{
|
|
49
|
+
"label": "",
|
|
50
|
+
"icon": "format_align_left",
|
|
51
|
+
"list": "only-icons",
|
|
52
|
+
"options": ["left", "center", "right"]
|
|
53
|
+
}],
|
|
54
|
+
["undo", "redo"]
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"field": {
|
|
58
|
+
"component": "form/KTextareaField",
|
|
59
|
+
"label": "schemas.CAPTURE_HEADER_FIELD_LABEL"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"footer": {
|
|
63
|
+
"type": ["string", "null"],
|
|
64
|
+
"toolbar": {
|
|
65
|
+
"xs": [
|
|
66
|
+
["bold", "italic", "underline", "strike", "align"],
|
|
67
|
+
[{
|
|
68
|
+
"label": "",
|
|
69
|
+
"icon": "format_align_left",
|
|
70
|
+
"list": "only-icons",
|
|
71
|
+
"options": ["left", "center", "right"]
|
|
72
|
+
}],
|
|
73
|
+
["undo", "redo"]
|
|
74
|
+
],
|
|
75
|
+
"gt.xs": [
|
|
76
|
+
["bold", "italic", "underline", "strike", "align"],
|
|
77
|
+
[{
|
|
78
|
+
"label": "",
|
|
79
|
+
"icon": "format_align_left",
|
|
80
|
+
"list": "only-icons",
|
|
81
|
+
"options": ["left", "center", "right"]
|
|
82
|
+
}],
|
|
83
|
+
["undo", "redo"]
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"field": {
|
|
87
|
+
"component": "form/KTextareaField",
|
|
88
|
+
"label": "schemas.CAPTURE_FOOTER_FIELD_LABEL"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"legend": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"default": "none",
|
|
94
|
+
"field": {
|
|
95
|
+
"component": "form/KSelectField",
|
|
96
|
+
"label": "schemas.CAPTURE_LEGEND_POSITION_FIELD_LABEL",
|
|
97
|
+
"options": [
|
|
98
|
+
{ "label": "schemas.CAPTURE_NOT_DISPLAYED_FIELD_LABEL", "value": "none" },
|
|
99
|
+
{ "label": "schemas.CAPTURE_LEFT_POSITION_FIELD_LABEL", "value": "left" },
|
|
100
|
+
{ "label": "schemas.CAPTURE_RIGHT_POSITION_FIELD_LABEL", "value": "right" }
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"north": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"default": "none",
|
|
107
|
+
"field": {
|
|
108
|
+
"component": "form/KSelectField",
|
|
109
|
+
"label": "schemas.CAPTURE_COMPASS_POSITION_FIELD_LABEL",
|
|
110
|
+
"options": [
|
|
111
|
+
{ "label": "schemas.CAPTURE_NOT_DISPLAYED_FIELD_LABEL", "value": "none" },
|
|
112
|
+
{ "label": "schemas.CAPTURE_TOP_LEFT_POSITION_FIELD_LABEL", "value": "top-left" },
|
|
113
|
+
{ "label": "schemas.CAPTURE_TOP_RIGHT_POSITION_FIELD_LABEL", "value": "top-right" },
|
|
114
|
+
{ "label": "schemas.CAPTURE_BOTTOM_RIGHT_POSITION_FIELD_LABEL", "value": "bottom-right" },
|
|
115
|
+
{ "label": "schemas.CAPTURE_BOTTOM_LEFT_POSITION_FIELD_LABEL", "value": "bottom-left" }
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"dateTime": {
|
|
120
|
+
"type": "object",
|
|
121
|
+
"group": "group-advanced-settings",
|
|
122
|
+
"default": { "start": "2023-11-17T23:00:00.000Z", "end": "2023-12-17T23:00:00.000Z"},
|
|
123
|
+
"field": {
|
|
124
|
+
"component": "form/KDateTimeRangeField",
|
|
125
|
+
"min": "2022-12-31T23:00:00.000Z",
|
|
126
|
+
"max": "2023-12-17T23:00:00.000Z",
|
|
127
|
+
"label": "schemas.CAPTURE_DATETIME_RANGE_FIELD_LABEL"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"required": ["resolution", "north", "legend", "format"]
|
|
132
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://www.kalisio.xyz/schemas/catalog.update.json#",
|
|
4
|
+
"title": "schemas.OBJECT_NAME",
|
|
5
|
+
"description": "Layer edition schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"maxLength": 128,
|
|
11
|
+
"minLength": 3,
|
|
12
|
+
"field": {
|
|
13
|
+
"component": "form/KTextField",
|
|
14
|
+
"label": "schemas.CATALOG_NAME_FIELD_LABEL"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": ["string", "null"],
|
|
19
|
+
"maxLength": 4096,
|
|
20
|
+
"field": {
|
|
21
|
+
"component": "form/KTextField",
|
|
22
|
+
"label": "schemas.CATALOG_DESCRIPTION_FIELD_LABEL"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"featureId": {
|
|
26
|
+
"type": ["string", "null"],
|
|
27
|
+
"maxLength": 256,
|
|
28
|
+
"field": {
|
|
29
|
+
"component": "form/KTextField",
|
|
30
|
+
"label": "schemas.CATALOG_FEATURE_ID_FIELD_LABEL"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"featureLabel": {
|
|
34
|
+
"type": ["string", "null"],
|
|
35
|
+
"maxLength": 256,
|
|
36
|
+
"field": {
|
|
37
|
+
"component": "form/KTextField",
|
|
38
|
+
"label": "schemas.CATALOG_FEATURE_LABEL_FIELD_LABEL"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": ["name"]
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/schemas/messages.edit.json",
|
|
4
|
+
"description": "Messages edition schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"body": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1,
|
|
10
|
+
"field": {
|
|
11
|
+
"component": "form/KTextareaField"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": ["body"]
|
|
16
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://www.kalisio.xyz/schemas/projects.create.json#",
|
|
4
|
+
"title": "schemas.PROJECT_CREATE_TITLE",
|
|
5
|
+
"description": "Project creation schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"maxLength": 128,
|
|
11
|
+
"minLength": 3,
|
|
12
|
+
"field": {
|
|
13
|
+
"component": "form/KTextField",
|
|
14
|
+
"label": "schemas.PROJECT_NAME_FIELD_LABEL"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": ["string", "null"],
|
|
19
|
+
"maxLength": 2048,
|
|
20
|
+
"field": {
|
|
21
|
+
"component": "form/KTextField",
|
|
22
|
+
"label": "schemas.PROJECT_DESCRIPTION_FIELD_LABEL"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"layers": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"field": {
|
|
28
|
+
"component": "form/KSelectLayersField",
|
|
29
|
+
"label": "schemas.PROJECT_LAYERS_FIELD_LABEL"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"views": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"field": {
|
|
35
|
+
"component": "form/KSelectViewsField",
|
|
36
|
+
"label": "schemas.PROJECT_VIEWS_FIELD_LABEL"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"identifier": {
|
|
40
|
+
"type": ["string", "null"],
|
|
41
|
+
"maxLength": 128,
|
|
42
|
+
"minLength": 3,
|
|
43
|
+
"field": {
|
|
44
|
+
"component": "form/KTextField",
|
|
45
|
+
"label": "schemas.PROJECT_INDENTIFIER_FIELD_LABEL"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"name", "layers"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://www.kalisio.xyz/schemas/projects.update.json#",
|
|
4
|
+
"title": "schemas.OBJECT_NAME",
|
|
5
|
+
"description": "Project edition schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"maxLength": 128,
|
|
11
|
+
"minLength": 3,
|
|
12
|
+
"field": {
|
|
13
|
+
"component": "form/KTextField",
|
|
14
|
+
"label": "schemas.PROJECT_NAME_FIELD_LABEL"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": ["string", "null"],
|
|
19
|
+
"maxLength": 2048,
|
|
20
|
+
"field": {
|
|
21
|
+
"component": "form/KTextField",
|
|
22
|
+
"label": "schemas.PROJECT_DESCRIPTION_FIELD_LABEL"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"layers": {
|
|
26
|
+
"type": "array",
|
|
27
|
+
"field": {
|
|
28
|
+
"component": "form/KSelectLayersField",
|
|
29
|
+
"label": "schemas.PROJECT_LAYERS_FIELD_LABEL"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"views": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"field": {
|
|
35
|
+
"component": "form/KSelectViewsField",
|
|
36
|
+
"label": "schemas.PROJECT_VIEWS_FIELD_LABEL"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"identifier": {
|
|
40
|
+
"type": ["string", "null"],
|
|
41
|
+
"maxLength": 128,
|
|
42
|
+
"minLength": 3,
|
|
43
|
+
"field": {
|
|
44
|
+
"component": "form/KTextField",
|
|
45
|
+
"label": "schemas.PROJECT_INDENTIFIER_FIELD_LABEL"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"name", "layers"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://www.kalisio.xyz/schemas/settings.update.json#",
|
|
4
|
+
"title": "schemas.UPDATE_SETTINGS_TITLE",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"groups": {
|
|
7
|
+
"group-time": { "label": "schemas.TIME_FORMAT_SETTINGS" },
|
|
8
|
+
"group-timeline": { "label": "schemas.TIMELINE_SETTINGS" },
|
|
9
|
+
"group-timeseries": { "label": "schemas.TIMESERIES_SETTINGS" },
|
|
10
|
+
"group-map": { "label": "schemas.MAP_SETTINGS" },
|
|
11
|
+
"group-units": { "label": "schemas.UNITS_SETTINGS" },
|
|
12
|
+
"group-notation": { "label": "schemas.NOTATION_SETTINGS" }
|
|
13
|
+
},
|
|
14
|
+
"properties": {
|
|
15
|
+
"shortTime": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"group": "group-time",
|
|
18
|
+
"field": {
|
|
19
|
+
"component": "form/KTextField",
|
|
20
|
+
"label": "schemas.TIME_FORMAT_SHORT_TIME_FIELD_LABEL",
|
|
21
|
+
"helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"longTime": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"group": "group-time",
|
|
27
|
+
"field": {
|
|
28
|
+
"component": "form/KTextField",
|
|
29
|
+
"label": "schemas.TIME_FORMAT_LONG_TIME_FIELD_LABEL",
|
|
30
|
+
"helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"shortDate": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"group": "group-time",
|
|
36
|
+
"field": {
|
|
37
|
+
"component": "form/KTextField",
|
|
38
|
+
"label": "schemas.TIME_FORMAT_SHORT_DATE_FIELD_LABEL",
|
|
39
|
+
"helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"longDate": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"group": "group-time",
|
|
46
|
+
"field": {
|
|
47
|
+
"component": "form/KTextField",
|
|
48
|
+
"label": "schemas.TIME_FORMAT_LONG_DATE_FIELD_LABEL",
|
|
49
|
+
"helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"shortYear": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"group": "group-time",
|
|
55
|
+
"field": {
|
|
56
|
+
"component": "form/KTextField",
|
|
57
|
+
"label": "schemas.TIME_FORMAT_SHORT_YEAR_FIELD_LABEL",
|
|
58
|
+
"helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"longYear": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"group": "group-time",
|
|
64
|
+
"field": {
|
|
65
|
+
"component": "form/KTextField",
|
|
66
|
+
"label": "schemas.TIME_FORMAT_LONG_YEAR_FIELD_LABEL",
|
|
67
|
+
"helper": { "icon": "las la-question-circle", "url": "https://momentjs.com/docs/#/displaying/format/" }
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"timezone": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"group": "group-time",
|
|
73
|
+
"field": {
|
|
74
|
+
"component": "form/KTimezoneField",
|
|
75
|
+
"label": "schemas.TIME_FORMAT_TIMEZONE_FIELD_LABEL"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"timelineStep": {
|
|
79
|
+
"type": "number",
|
|
80
|
+
"group": "group-timeline",
|
|
81
|
+
"field": {
|
|
82
|
+
"component": "form/KSelectField",
|
|
83
|
+
"label": "schemas.TIMELINE_STEP",
|
|
84
|
+
"options": [
|
|
85
|
+
{ "label": "5m", "value": 5 },
|
|
86
|
+
{ "label": "10m", "value": 10 },
|
|
87
|
+
{ "label": "12m", "value": 12 },
|
|
88
|
+
{ "label": "15m", "value": 15 },
|
|
89
|
+
{ "label": "20m", "value": 20 },
|
|
90
|
+
{ "label": "30m", "value": 30 },
|
|
91
|
+
{ "label": "1H", "value": 60, "selected": true },
|
|
92
|
+
{ "label": "3H", "value": 180 },
|
|
93
|
+
{ "label": "6H", "value": 360 },
|
|
94
|
+
{ "label": "12H", "value": 720 },
|
|
95
|
+
{ "label": "24H", "value": 1440 }
|
|
96
|
+
],
|
|
97
|
+
"clearable": false
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"timelineInterval": {
|
|
101
|
+
"type": "number",
|
|
102
|
+
"group": "group-timeline",
|
|
103
|
+
"field": {
|
|
104
|
+
"component": "form/KSelectField",
|
|
105
|
+
"label": "schemas.TIMELINE_INTERVAL",
|
|
106
|
+
"options": [
|
|
107
|
+
{ "label": "10s", "value": 10 },
|
|
108
|
+
{ "label": "30s", "value": 30 },
|
|
109
|
+
{ "label": "1m", "value": 60, "selected": true },
|
|
110
|
+
{ "label": "5m", "value": 300 },
|
|
111
|
+
{ "label": "10m", "value": 600 },
|
|
112
|
+
{ "label": "15m", "value": 900 },
|
|
113
|
+
{ "label": "30m", "value": 1800 }
|
|
114
|
+
],
|
|
115
|
+
"clearable": false
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"timeseriesSpan": {
|
|
119
|
+
"type": "number",
|
|
120
|
+
"group": "group-timeseries",
|
|
121
|
+
"field": {
|
|
122
|
+
"component": "form/KSelectField",
|
|
123
|
+
"label": "schemas.TIMESERIES_SPAN",
|
|
124
|
+
"options": [
|
|
125
|
+
{ "label": "3H", "value": 180 },
|
|
126
|
+
{ "label": "6H", "value": 360 },
|
|
127
|
+
{ "label": "12H", "value": 720 },
|
|
128
|
+
{ "label": "24H", "value": 1440, "selected": true },
|
|
129
|
+
{ "label": "48H", "value": 2880 },
|
|
130
|
+
{ "label": "72H", "value": 4320 },
|
|
131
|
+
{ "label": "96H", "value": 5760 }
|
|
132
|
+
],
|
|
133
|
+
"clearable": false
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"timeseriesGroupBy": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"group": "group-timeseries",
|
|
139
|
+
"field": {
|
|
140
|
+
"component": "form/KSelectField",
|
|
141
|
+
"label": "schemas.TIMESERIES_GROUP_BY",
|
|
142
|
+
"options": [
|
|
143
|
+
{ "label": "schemas.TIMESERIES_GROUP_BY_VARIABLE", "value": "variable" },
|
|
144
|
+
{ "label": "schemas.TIMESERIES_GROUP_BY_FEATURE", "value": "feature", "selected": true }
|
|
145
|
+
],
|
|
146
|
+
"clearable": false
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
"restoreView": {
|
|
150
|
+
"type": "boolean",
|
|
151
|
+
"group": "group-map",
|
|
152
|
+
"field": {
|
|
153
|
+
"component": "form/KToggleField",
|
|
154
|
+
"label": "schemas.RESTORE_VIEW_FIELD_LABEL"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"restoreLayers": {
|
|
158
|
+
"type": "boolean",
|
|
159
|
+
"group": "group-map",
|
|
160
|
+
"field": {
|
|
161
|
+
"component": "form/KToggleField",
|
|
162
|
+
"label": "schemas.RESTORE_LAYERS_FIELD_LABEL"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"location": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"group": "group-map",
|
|
168
|
+
"field": {
|
|
169
|
+
"component": "form/KTextField",
|
|
170
|
+
"label": "schemas.LOCATION_FORMAT_LABEL",
|
|
171
|
+
"helper": { "icon": "las la-question-circle", "url": "https://github.com/nerik/formatcoords#formatting" }
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"navigator": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"group": "group-map",
|
|
177
|
+
"field": {
|
|
178
|
+
"component": "form/KSelectField",
|
|
179
|
+
"label": "schemas.NAVIGATOR_APP_LABEL",
|
|
180
|
+
"options": [
|
|
181
|
+
{ "label": "Waze", "value": "waze" },
|
|
182
|
+
{ "label": "Google Maps", "value": "google-maps" },
|
|
183
|
+
{ "label": "Apple Plan", "value": "apple-plan" }
|
|
184
|
+
],
|
|
185
|
+
"clearable": false
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"defaultLength": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"group": "group-units",
|
|
191
|
+
"field": {
|
|
192
|
+
"component": "form/KUnitField",
|
|
193
|
+
"label": "schemas.LENGTH_FIELD_LABEL",
|
|
194
|
+
"quantity": "length"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"defaultAltitude": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"group": "group-units",
|
|
200
|
+
"field": {
|
|
201
|
+
"component": "form/KUnitField",
|
|
202
|
+
"label": "schemas.ALTITUDE_FIELD_LABEL",
|
|
203
|
+
"quantity": "altitude"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"defaultArea": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"group": "group-units",
|
|
209
|
+
"field": {
|
|
210
|
+
"component": "form/KUnitField",
|
|
211
|
+
"label": "schemas.AREA_FIELD_LABEL",
|
|
212
|
+
"quantity": "area"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"defaultVelocity": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"group": "group-units",
|
|
218
|
+
"field": {
|
|
219
|
+
"component": "form/KUnitField",
|
|
220
|
+
"label": "schemas.VELOCITY_FIELD_LABEL",
|
|
221
|
+
"quantity": "velocity"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
"defaultTemperature": {
|
|
225
|
+
"type": "string",
|
|
226
|
+
"group": "group-units",
|
|
227
|
+
"field": {
|
|
228
|
+
"component": "form/KUnitField",
|
|
229
|
+
"label": "schemas.TEMPERATURE_FIELD_LABEL",
|
|
230
|
+
"quantity": "temperature"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
"defaultAngle": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"group": "group-units",
|
|
236
|
+
"field": {
|
|
237
|
+
"component": "form/KUnitField",
|
|
238
|
+
"label": "schemas.ANGLE_FIELD_LABEL",
|
|
239
|
+
"quantity": "angle"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"defaultEquivalentDoseRate": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"group": "group-units",
|
|
245
|
+
"field": {
|
|
246
|
+
"component": "form/KUnitField",
|
|
247
|
+
"label": "schemas.EQUIVALENT_DOSE_RATE_FIELD_LABEL",
|
|
248
|
+
"quantity": "equivalentDoseRate"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"defaultNotation": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"group": "group-notation",
|
|
254
|
+
"field": {
|
|
255
|
+
"component": "form/KSelectField",
|
|
256
|
+
"label": "schemas.NOTATION_FIELD_LABEL",
|
|
257
|
+
"options": [
|
|
258
|
+
{ "label": "schemas.AUTO_NOTATION_FIELD_LABEL", "value": "auto", "selected": true },
|
|
259
|
+
{ "label": "schemas.FIXED_NOTATION_FIELD_LABEL", "value": "fixed" },
|
|
260
|
+
{ "label": "schemas.EXPONENTIAL_NOTATION_FIELD_LABEL", "value": "exponential" }
|
|
261
|
+
],
|
|
262
|
+
"clearable": false
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"defaultPrecision": {
|
|
266
|
+
"type": "number",
|
|
267
|
+
"group": "group-notation",
|
|
268
|
+
"minimum": 0,
|
|
269
|
+
"maximum": 6,
|
|
270
|
+
"field": {
|
|
271
|
+
"component": "form/KNumberField",
|
|
272
|
+
"label": "schemas.PRECISION_FIELD_LABEL"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"required": [
|
|
277
|
+
"shortTime",
|
|
278
|
+
"longTime",
|
|
279
|
+
"shortDate",
|
|
280
|
+
"longDate",
|
|
281
|
+
"shortYear",
|
|
282
|
+
"longYear",
|
|
283
|
+
"timezone",
|
|
284
|
+
"location"
|
|
285
|
+
]
|
|
286
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://kalisio.xyz/schemas/tags.update.json#",
|
|
4
|
+
"title": "schemas.OBJECT_NAME",
|
|
5
|
+
"description": "Tags update schema",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"maxLength": 128,
|
|
11
|
+
"minLength": 3,
|
|
12
|
+
"field": {
|
|
13
|
+
"component": "form/KTextField",
|
|
14
|
+
"label": "KTagManager.TAG_NAME"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"description": {
|
|
18
|
+
"type": ["string", "null"],
|
|
19
|
+
"field": {
|
|
20
|
+
"component": "form/KTextField",
|
|
21
|
+
"label": "KTagManager.TAG_DESCRIPTION"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"color": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"default": "grey-3",
|
|
27
|
+
"field": {
|
|
28
|
+
"component": "form/KColorField",
|
|
29
|
+
"label": "KTagManager.TAG_COLOR",
|
|
30
|
+
"clearable": false
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": ["name", "color"]
|
|
35
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://kalisio.xyz/schemas/users.update-profile.json#",
|
|
4
|
+
"title": "schemas.OBJECT_NAME",
|
|
5
|
+
"description": "User profile",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"maxLength": 128,
|
|
11
|
+
"minLength": 3,
|
|
12
|
+
"field": {
|
|
13
|
+
"component": "form/KTextField",
|
|
14
|
+
"label": "schemas.NAME_FIELD_LABEL"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"avatar": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"field": {
|
|
20
|
+
"component": "form/KFileField",
|
|
21
|
+
"label": "schemas.AVATAR_FIELD_LABEL",
|
|
22
|
+
"mimeTypes": ".png,.jpg,.jpeg,.webp",
|
|
23
|
+
"maxFileSize": 524288,
|
|
24
|
+
"readContent": false,
|
|
25
|
+
"storage": {
|
|
26
|
+
"path": "avatars/<%= _id %>",
|
|
27
|
+
"context": "global"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": ["name"]
|
|
33
|
+
}
|
|
34
|
+
|