jupytergis-core 0.10.0__py3-none-any.whl → 0.11.1__py3-none-any.whl
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.
- jupytergis_core/_version.py +1 -1
- jupytergis_core/jgis_ydoc.py +9 -0
- jupytergis_core/schema/__init__.py +1 -0
- jupytergis_core/schema/interfaces/__init__.py +1 -1
- jupytergis_core/schema/interfaces/export/__init__.py +1 -1
- jupytergis_core/schema/interfaces/export/exportGeoJson.py +1 -1
- jupytergis_core/schema/interfaces/export/exportGeoTiff.py +1 -1
- jupytergis_core/schema/interfaces/geojson.py +145 -134
- jupytergis_core/schema/interfaces/processing/__init__.py +1 -1
- jupytergis_core/schema/interfaces/processing/boundingBoxes.py +1 -1
- jupytergis_core/schema/interfaces/processing/buffer.py +1 -1
- jupytergis_core/schema/interfaces/processing/centroids.py +1 -1
- jupytergis_core/schema/interfaces/processing/concaveHull.py +1 -1
- jupytergis_core/schema/interfaces/processing/convexHull.py +1 -1
- jupytergis_core/schema/interfaces/processing/dissolve.py +1 -1
- jupytergis_core/schema/interfaces/project/__init__.py +1 -1
- jupytergis_core/schema/interfaces/project/jgis.py +21 -1
- jupytergis_core/schema/interfaces/project/layers/__init__.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/heatmapLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/hillshadeLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/imageLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/rasterLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/stacLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/storySegmentLayer.py +44 -0
- jupytergis_core/schema/interfaces/project/layers/vectorLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/vectorTileLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/layers/webGlLayer.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/__init__.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/geoJsonSource.py +470 -5
- jupytergis_core/schema/interfaces/project/sources/geoParquetSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/geoTiffSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/imageSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/markerSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/rasterDemSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/rasterSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/shapefileSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/vectorTileSource.py +1 -1
- jupytergis_core/schema/interfaces/project/sources/videoSource.py +1 -1
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/package.json +5 -5
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/schemas/@jupytergis/jupytergis-core/jupytergis-settings.json +5 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/schemas/@jupytergis/jupytergis-core/package.json.orig +4 -4
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.81bef68e01fc6079be77.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/211.dda210219d9ad86e1e84.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/234.ea90a64ba283577248b6.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.1f6ad99534ea85406d43.js +2 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/294.5fc61ad02851426049c0.js +8 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/376.28855d079a25782d0411.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.abbc95102c4ad7922738.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.4ba21c44d69bd7bb9b58.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.a64789520e563e648e15.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.01890bd351511c4a49a8.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.a4ebd32e9302cb6c9dce.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.f67c28bf17db0a6ce7f9.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.f39bbf3c06f1a62a664a.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.2b7be4ca03f1b0985a34.js +8 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/99.43df5aa4900a464c8c36.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/990.1fe67e669bf8d31bc0ac.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.ce3807f873148de479ba.js +1 -0
- jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.1181005e666f657a70d5.js +1 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/third-party-licenses.json +312 -6
- {jupytergis_core-0.10.0.dist-info → jupytergis_core-0.11.1.dist-info}/METADATA +4 -3
- jupytergis_core-0.11.1.dist-info/RECORD +121 -0
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.234a33e9fcda783cc84b.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/211.083574a3909f85924cc7.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/234.2f0fc49f516ad354aa18.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/250.a749c8a61c81e7156744.js +0 -8
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.6ee794baeb00791424c2.js +0 -2
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/376.1dc881bb3edbaa917d71.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/397.075ccafc191603fcad13.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.e9ba4ebc707a690bc548.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.b81aa01fd224321ff376.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.5e2408d0777222e455cc.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.9766a06057be72a32b09.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.0936beb209d3ea5a1229.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.1cd3070a2aa23b05356b.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.f4d7698f69b3ad75e162.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.5f3759c98814aa602705.js +0 -8
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/875.3862770905b6ec887529.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.9dbbbf18ad1725320b95.js +0 -1
- jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.2bb7bef2a307eb614492.js +0 -1
- jupytergis_core-0.10.0.dist-info/RECORD +0 -120
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/etc/jupyter/jupyter_server_config.d/jupytergis_core.json +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/026680ab0cd1523edc87.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/02ff7d503bbd90b21fc4.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/062a9554f6b4caac9713.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/064f37cecb8130ad66e8.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/08da2741746ddab81d04.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0c6a0352b82839119f95.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/13c485bb93f5567f02fd.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1474207a6b3ca1001e78.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/14b98240613d5256c621.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1b97ea0f2b3af717cffa.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1d440270da19a2f22fee.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1ed164e010f3c0306d15.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2218dfba22fc2b08e948.png +0 -0
- /jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.6ee794baeb00791424c2.js.LICENSE.txt → /jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.1f6ad99534ea85406d43.js.LICENSE.txt +0 -0
- /jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/250.a749c8a61c81e7156744.js.LICENSE.txt → /jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/294.5fc61ad02851426049c0.js.LICENSE.txt +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2ab791b60c4058e664f8.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2b24b6a745c11511f055.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2d676bc0a01c2cd2fccb.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2f02309ea499725612ea.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/32c7a73662cceb5bb1d7.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/350eec4ce9ae4bc10bca.wasm +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/363ca7c5f78deb6fd033.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3ae0bf244442de7efc35.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3d48be10ffea86eb15de.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/415edc3fa381260cf31e.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/42cbddf5e883673bc4e2.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/527ef171d5df15dc7da5.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5bb02252f243f8c7494f.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5d181edc3c046e1454a1.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5f32ad48aefe00e51312.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6e4f6b4d0dfca3bd4450.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/71d436fb44627b6bfbd7.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/7b225dc2d37cd3582156.png +0 -0
- /jupytergis_core-0.10.0.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.5f3759c98814aa602705.js.LICENSE.txt → /jupytergis_core-0.11.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.2b7be4ca03f1b0985a34.js.LICENSE.txt +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/843ab141e62516b9df5c.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/8814e17f6b110e8f3e42.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/88b2ae0d29edb684eae5.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/971a42d174dd17b9451a.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a3c609f5bff95a7a53be.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a86d626c9ed2e222d190.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a9e286b0c0264a9fc737.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ab309078b494f850430a.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b15e3989b7b90b5a8d9d.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b36717fbb06f21d53b01.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ba4b6e82fe5a816c40a5.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/bb2b310570da7a3587e9.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/be92bcf7bb99753b4b3d.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/c2ffa011d7f52a0ddf45.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d83457b1b925c1718f6d.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e473e1e9f20af114bbb4.data +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/f2617180c6907263a7ff.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/fe99a6dbf5a71d308989.png +0 -0
- {jupytergis_core-0.10.0.data → jupytergis_core-0.11.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/style.js +0 -0
- {jupytergis_core-0.10.0.dist-info → jupytergis_core-0.11.1.dist-info}/WHEEL +0 -0
- {jupytergis_core-0.10.0.dist-info → jupytergis_core-0.11.1.dist-info}/entry_points.txt +0 -0
- {jupytergis_core-0.10.0.dist-info → jupytergis_core-0.11.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: project/jgis.json
|
|
3
|
-
# timestamp: 2025-12-
|
|
3
|
+
# timestamp: 2025-12-18T13:58:26+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -19,6 +19,7 @@ class LayerType(Enum):
|
|
|
19
19
|
ImageLayer = 'ImageLayer'
|
|
20
20
|
HeatmapLayer = 'HeatmapLayer'
|
|
21
21
|
StacLayer = 'StacLayer'
|
|
22
|
+
StorySegmentLayer = 'StorySegmentLayer'
|
|
22
23
|
|
|
23
24
|
|
|
24
25
|
class SourceType(Enum):
|
|
@@ -43,6 +44,22 @@ class JGISSource(BaseModel):
|
|
|
43
44
|
parameters: Optional[Dict[str, Any]] = None
|
|
44
45
|
|
|
45
46
|
|
|
47
|
+
class StoryType(Enum):
|
|
48
|
+
guided = 'guided'
|
|
49
|
+
unguided = 'unguided'
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class JGISStoryMap(BaseModel):
|
|
53
|
+
model_config = ConfigDict(
|
|
54
|
+
extra='forbid',
|
|
55
|
+
)
|
|
56
|
+
title: Optional[str] = Field(None, description='The title of the story map')
|
|
57
|
+
storyType: Optional[StoryType] = Field(None, description='The type of story map')
|
|
58
|
+
storySegments: Optional[List[str]] = Field(
|
|
59
|
+
[], description='Array of story segments for the story map'
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
|
|
46
63
|
class JGISSources(RootModel[Dict[str, JGISSource]]):
|
|
47
64
|
root: Dict[str, JGISSource]
|
|
48
65
|
|
|
@@ -59,6 +76,9 @@ class JGISOptions(BaseModel):
|
|
|
59
76
|
extent: Optional[List[float]] = None
|
|
60
77
|
projection: Optional[str] = 'EPSG:3857'
|
|
61
78
|
useExtent: Optional[bool] = False
|
|
79
|
+
storyMapPresentationMode: Optional[bool] = Field(
|
|
80
|
+
False, title='Whether presentation mode is active'
|
|
81
|
+
)
|
|
62
82
|
|
|
63
83
|
|
|
64
84
|
class Operator(Enum):
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: project/layers/storySegmentLayer.json
|
|
3
|
+
# timestamp: 2025-12-18T13:58:26+00:00
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from enum import Enum
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
|
|
10
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Content(BaseModel):
|
|
14
|
+
model_config = ConfigDict(
|
|
15
|
+
extra='forbid',
|
|
16
|
+
)
|
|
17
|
+
title: Optional[str] = None
|
|
18
|
+
image: Optional[str] = Field(None, description='Link to image for the story')
|
|
19
|
+
markdown: Optional[str] = Field(
|
|
20
|
+
None, description='Markdown string representing the content of the story stop'
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class Type(Enum):
|
|
25
|
+
linear = 'linear'
|
|
26
|
+
immediate = 'immediate'
|
|
27
|
+
smooth = 'smooth'
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class Transition(BaseModel):
|
|
31
|
+
type: Type = Field(..., description='Transition animation style')
|
|
32
|
+
time: float = Field(..., description='The time in seconds for the transition')
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class IStorySegmentLayer(BaseModel):
|
|
36
|
+
model_config = ConfigDict(
|
|
37
|
+
extra='forbid',
|
|
38
|
+
)
|
|
39
|
+
zoom: float
|
|
40
|
+
extent: List[float]
|
|
41
|
+
content: Optional[Content] = None
|
|
42
|
+
transition: Transition = Field(
|
|
43
|
+
..., description='Transition configuration between to this story segment'
|
|
44
|
+
)
|