From a19bd4fbab02a6ad0ee88b63c9edb40dedd4a854 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:12:38 +0100 Subject: [PATCH 01/27] Create image.schema.tpl.json --- schemas/dataType/image.schema.tpl.json | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 schemas/dataType/image.schema.tpl.json diff --git a/schemas/dataType/image.schema.tpl.json b/schemas/dataType/image.schema.tpl.json new file mode 100644 index 00000000..42b321f8 --- /dev/null +++ b/schemas/dataType/image.schema.tpl.json @@ -0,0 +1,37 @@ +{ + "_categories": [ + "image" + ], + "required": [ + "coordinateSpace" + ], + "properties": { + "additionalRemarks": { + "type": "string", + "_instruction": "Enter any additional remarks concerning this image." + }, + "compressionType": { + "_instruction": "Add the method that was used to compress this image.", + "_linkedTypes": [ + "controlledTerms:ImageCompressionType" + ] + }, + "compressionRatio": { + "_instruction": "Enter the percentage that was used to reduce the size of this image compared to the original file size.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + }, + "coordinateSpace": { + "_instruction": "Add the coordinate space in which this image exists in.", + "_linkedTypes": [ + "sands:CommonCoordinateSpaceVersion", + "sands:CustomCoordinateSpace" + ] + }, + "lookupLabel": { + "type": "string", + "_instruction": "Enter a lookup label for this image that may help you to find this instance more easily." + } + } +} From 1c38315d9049d1b9326c9c30f61d9f92e003adc7 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:34:59 +0100 Subject: [PATCH 02/27] Create rasterBasedImage.schema.tpl.json --- .../dataType/rasterBasedImage.schema.tpl.json | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 schemas/dataType/rasterBasedImage.schema.tpl.json diff --git a/schemas/dataType/rasterBasedImage.schema.tpl.json b/schemas/dataType/rasterBasedImage.schema.tpl.json new file mode 100644 index 00000000..3f37866f --- /dev/null +++ b/schemas/dataType/rasterBasedImage.schema.tpl.json @@ -0,0 +1,45 @@ +{ + "required": [ + "dataLocation", + "dimension", + "resolution" + ], + "properties": { + "device": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add all devices used to capture this raster-based image.", + "_linkedCategories": [ + "deviceUsage" + ] + }, + "colorDepth": { + "_instruction": "Enter the number of bits used to represent the color of a single pixel or voxel in this image.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + }, + "dataLocation": { + "_instruction": "Add the location of the file in which this raster-based image is stored.", + "_linkedTypes": [ + "core:File" + ] + }, + "dimension": { + "type": "integer", + "maximum": 3, + "minimum": 2, + "_instruction": "Enter the dimensions of this raster-based image for two-dimensional spaces as [x, y] or for three-dimensional space as [x, y, z]." + }, + "resolution": { + "type": "array", + "maxItems": 3, + "minItems": 2, + "_instruction": "Enter the size of a single pixel as [x, y] or voxel as [x, y, z] of this image.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + } + } +} From 3157fcd9f36eab414232d2fc88982c80b4602582 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:38:25 +0100 Subject: [PATCH 03/27] Create vectorBasedImage.schema.tpl.json --- .../dataType/vectorBasedImage.schema.tpl.json | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 schemas/dataType/vectorBasedImage.schema.tpl.json diff --git a/schemas/dataType/vectorBasedImage.schema.tpl.json b/schemas/dataType/vectorBasedImage.schema.tpl.json new file mode 100644 index 00000000..fbd11e99 --- /dev/null +++ b/schemas/dataType/vectorBasedImage.schema.tpl.json @@ -0,0 +1,26 @@ +{ + "required": [ + "dataLocation", + "dimension" + ], + "properties": { + "dataLocation": { + "_instruction": "Add the location of the file in which this vector-based image is stored.", + "_linkedTypes": [ + "core:File" + ] + }, + "dimension": { + "type": "integer", + "maximum": 3, + "minimum": 2, + "_instruction": "Enter the dimensions of this vector-based image for two-dimensional spaces as [x, y] or for three-dimensional space as [x, y, z]." + }, + "software": { + "_instruction": "Add the software version that was used to create this vector-based image.", + "_embeddedTypes": [ + "core:SoftwareVersion" + ] + } + } +} From 1d6f84a3587bca5dfdc022f5a1fe812456a858a1 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:42:06 +0100 Subject: [PATCH 04/27] Update rasterBasedImage.schema.tpl.json --- schemas/dataType/rasterBasedImage.schema.tpl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/dataType/rasterBasedImage.schema.tpl.json b/schemas/dataType/rasterBasedImage.schema.tpl.json index 3f37866f..e1bccea1 100644 --- a/schemas/dataType/rasterBasedImage.schema.tpl.json +++ b/schemas/dataType/rasterBasedImage.schema.tpl.json @@ -36,7 +36,7 @@ "type": "array", "maxItems": 3, "minItems": 2, - "_instruction": "Enter the size of a single pixel as [x, y] or voxel as [x, y, z] of this image.", + "_instruction": "Enter the size of a single pixel as [x, y] or voxel as [x, y, z] of this raster-based image.", "_embeddedTypes": [ "core:QuantitativeValue" ] From 9c77ac8a164594b3d7d71f5ae247831806db1905 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:53:44 +0100 Subject: [PATCH 05/27] Create rasterGraphic.schema.tpl.json --- .../dataType/rasterGraphic.schema.tpl.json | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 schemas/dataType/rasterGraphic.schema.tpl.json diff --git a/schemas/dataType/rasterGraphic.schema.tpl.json b/schemas/dataType/rasterGraphic.schema.tpl.json new file mode 100644 index 00000000..2fc330ff --- /dev/null +++ b/schemas/dataType/rasterGraphic.schema.tpl.json @@ -0,0 +1,30 @@ +{ + "_type": "core:RasterGraphic", + "properties": { + "dimension": { + "type": "integer", + "maximum": 2, + "minimum": 2, + "_instruction": "Enter the dimensions of this raster graphic as [x, y]." + }, + "isPartOf": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add all images in which this image is used or shown in a greater context.", + "_linkedTypes": [ + "core:RasterGraphic", + "core:Volume" + ] + }, + "resolution": { + "type": "array", + "maxItems": 2, + "minItems": 2, + "_instruction": "Enter the size of a single pixel as [x, y] of this raster graphic.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + } + } +} From 5beb0f3eec4f41a2496b31e659a71f97efdf3a2d Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:55:14 +0100 Subject: [PATCH 06/27] Update rasterBasedImage.schema.tpl.json --- schemas/dataType/rasterBasedImage.schema.tpl.json | 1 + 1 file changed, 1 insertion(+) diff --git a/schemas/dataType/rasterBasedImage.schema.tpl.json b/schemas/dataType/rasterBasedImage.schema.tpl.json index e1bccea1..c682f0d7 100644 --- a/schemas/dataType/rasterBasedImage.schema.tpl.json +++ b/schemas/dataType/rasterBasedImage.schema.tpl.json @@ -1,4 +1,5 @@ { + "_extends": "dataType/image.schema.tpl.json", "required": [ "dataLocation", "dimension", From 1544c3e6df692611c3316f8d601b9f4cc13165d7 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:55:49 +0100 Subject: [PATCH 07/27] Update rasterGraphic.schema.tpl.json --- schemas/dataType/rasterGraphic.schema.tpl.json | 1 + 1 file changed, 1 insertion(+) diff --git a/schemas/dataType/rasterGraphic.schema.tpl.json b/schemas/dataType/rasterGraphic.schema.tpl.json index 2fc330ff..b0ddb071 100644 --- a/schemas/dataType/rasterGraphic.schema.tpl.json +++ b/schemas/dataType/rasterGraphic.schema.tpl.json @@ -1,4 +1,5 @@ { + "_extends": "dataTypes/rasterBasedImage.schema.tpl.json", "_type": "core:RasterGraphic", "properties": { "dimension": { From 9155aee6eab5776429ddc2f476123099968c8a0d Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:56:02 +0100 Subject: [PATCH 08/27] Update rasterBasedImage.schema.tpl.json --- schemas/dataType/rasterBasedImage.schema.tpl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/dataType/rasterBasedImage.schema.tpl.json b/schemas/dataType/rasterBasedImage.schema.tpl.json index c682f0d7..c476ce50 100644 --- a/schemas/dataType/rasterBasedImage.schema.tpl.json +++ b/schemas/dataType/rasterBasedImage.schema.tpl.json @@ -1,5 +1,5 @@ { - "_extends": "dataType/image.schema.tpl.json", + "_extends": "dataTypes/image.schema.tpl.json", "required": [ "dataLocation", "dimension", From 8c72c2e14555ffddecc36e2bf51e20634b44c275 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:56:18 +0100 Subject: [PATCH 09/27] Rename image.schema.tpl.json to image.schema.tpl.json --- schemas/{dataType => dataTypes}/image.schema.tpl.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename schemas/{dataType => dataTypes}/image.schema.tpl.json (100%) diff --git a/schemas/dataType/image.schema.tpl.json b/schemas/dataTypes/image.schema.tpl.json similarity index 100% rename from schemas/dataType/image.schema.tpl.json rename to schemas/dataTypes/image.schema.tpl.json From 0b5e069af0c68de2eec47e229074a272d213a1a7 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:56:31 +0100 Subject: [PATCH 10/27] Rename rasterBasedImage.schema.tpl.json to rasterBasedImage.schema.tpl.json --- schemas/{dataType => dataTypes}/rasterBasedImage.schema.tpl.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename schemas/{dataType => dataTypes}/rasterBasedImage.schema.tpl.json (100%) diff --git a/schemas/dataType/rasterBasedImage.schema.tpl.json b/schemas/dataTypes/rasterBasedImage.schema.tpl.json similarity index 100% rename from schemas/dataType/rasterBasedImage.schema.tpl.json rename to schemas/dataTypes/rasterBasedImage.schema.tpl.json From 2050a488147705d6426c0aabc0673aaed9c26633 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:56:43 +0100 Subject: [PATCH 11/27] Rename rasterGraphic.schema.tpl.json to rasterGraphic.schema.tpl.json --- schemas/{dataType => dataTypes}/rasterGraphic.schema.tpl.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename schemas/{dataType => dataTypes}/rasterGraphic.schema.tpl.json (100%) diff --git a/schemas/dataType/rasterGraphic.schema.tpl.json b/schemas/dataTypes/rasterGraphic.schema.tpl.json similarity index 100% rename from schemas/dataType/rasterGraphic.schema.tpl.json rename to schemas/dataTypes/rasterGraphic.schema.tpl.json From 3fd14cb042d00a84b26e3637b0fd4a4b4cd2be30 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:56:56 +0100 Subject: [PATCH 12/27] Rename vectorBasedImage.schema.tpl.json to vectorBasedImage.schema.tpl.json --- schemas/{dataType => dataTypes}/vectorBasedImage.schema.tpl.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename schemas/{dataType => dataTypes}/vectorBasedImage.schema.tpl.json (100%) diff --git a/schemas/dataType/vectorBasedImage.schema.tpl.json b/schemas/dataTypes/vectorBasedImage.schema.tpl.json similarity index 100% rename from schemas/dataType/vectorBasedImage.schema.tpl.json rename to schemas/dataTypes/vectorBasedImage.schema.tpl.json From 812779ce095d23c26765db27af272425efd391fc Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:57:39 +0100 Subject: [PATCH 13/27] Update vectorBasedImage.schema.tpl.json --- schemas/dataTypes/vectorBasedImage.schema.tpl.json | 1 + 1 file changed, 1 insertion(+) diff --git a/schemas/dataTypes/vectorBasedImage.schema.tpl.json b/schemas/dataTypes/vectorBasedImage.schema.tpl.json index fbd11e99..35bbdc09 100644 --- a/schemas/dataTypes/vectorBasedImage.schema.tpl.json +++ b/schemas/dataTypes/vectorBasedImage.schema.tpl.json @@ -1,4 +1,5 @@ { + "_extends": "dataTypes/image.schema.tpl.json", "required": [ "dataLocation", "dimension" From 0ce01ffe3a6b50c66c296ede1a4f03251ca00c34 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:59:31 +0100 Subject: [PATCH 14/27] Update rasterGraphic.schema.tpl.json --- schemas/dataTypes/rasterGraphic.schema.tpl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/dataTypes/rasterGraphic.schema.tpl.json b/schemas/dataTypes/rasterGraphic.schema.tpl.json index b0ddb071..fe09829d 100644 --- a/schemas/dataTypes/rasterGraphic.schema.tpl.json +++ b/schemas/dataTypes/rasterGraphic.schema.tpl.json @@ -1,6 +1,6 @@ { - "_extends": "dataTypes/rasterBasedImage.schema.tpl.json", "_type": "core:RasterGraphic", + "_extends": "dataTypes/rasterBasedImage.schema.tpl.json", "properties": { "dimension": { "type": "integer", From 9b340f2c5a7a1c43eb14ee3fe6a0b4f5c6557e23 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:00:30 +0100 Subject: [PATCH 15/27] Create VectorGraphic.schema.tpl.json --- schemas/dataTypes/VectorGraphic.schema.tpl.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 schemas/dataTypes/VectorGraphic.schema.tpl.json diff --git a/schemas/dataTypes/VectorGraphic.schema.tpl.json b/schemas/dataTypes/VectorGraphic.schema.tpl.json new file mode 100644 index 00000000..4e71548e --- /dev/null +++ b/schemas/dataTypes/VectorGraphic.schema.tpl.json @@ -0,0 +1,12 @@ +{ + "_type": "core:VectorGraphic", + "_extends": "dataTypes/vectorBasedImage.schema.tpl.json", + "properties": { + "dimension": { + "type": "integer", + "maximum": 2, + "minimum": 2, + "_instruction": "Enter the dimensions of this vector-based image as [x, y]." + } + } +} From e2acce2a3108d0b2596a96a07a223fed530817ec Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:02:06 +0100 Subject: [PATCH 16/27] Create volume.schema.tpl.json --- schemas/dataTypes/volume.schema.tpl.json | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 schemas/dataTypes/volume.schema.tpl.json diff --git a/schemas/dataTypes/volume.schema.tpl.json b/schemas/dataTypes/volume.schema.tpl.json new file mode 100644 index 00000000..1e3f738e --- /dev/null +++ b/schemas/dataTypes/volume.schema.tpl.json @@ -0,0 +1,30 @@ +{ + "_type": "core:Volume", + "_extends": "dataTypes/rasterBasedImage.schema.tpl.json", + "properties": { + "dimension": { + "type": "integer", + "maximum": 3, + "minimum": 3, + "_instruction": "Enter the dimensions of this raster graphic as [x, y, z]." + }, + "isPartOf": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add all volumes in which this volume is used or shown in a greater context.", + "_linkedTypes": [ + "core:Volume" + ] + }, + "resolution": { + "type": "array", + "maxItems": 3, + "minItems": 3, + "_instruction": "Enter the size of a single voxel as [x, y, z] of this raster graphic.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + } + } +} From e64591397a8ec02650d9d241896d484cd177296a Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:08:05 +0100 Subject: [PATCH 17/27] Update rasterGraphic.schema.tpl.json --- schemas/dataTypes/rasterGraphic.schema.tpl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/dataTypes/rasterGraphic.schema.tpl.json b/schemas/dataTypes/rasterGraphic.schema.tpl.json index fe09829d..9c58b4c5 100644 --- a/schemas/dataTypes/rasterGraphic.schema.tpl.json +++ b/schemas/dataTypes/rasterGraphic.schema.tpl.json @@ -12,7 +12,7 @@ "type": "array", "minItems": 1, "uniqueItems": true, - "_instruction": "Add all images in which this image is used or shown in a greater context.", + "_instruction": "Add all raster-based images in which this image is used or shown in a greater context.", "_linkedTypes": [ "core:RasterGraphic", "core:Volume" From 18b63c1cfa435e44197de6bd609877abffe452e8 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:14:34 +0100 Subject: [PATCH 18/27] Create imageStack.schema.tpl.json --- schemas/dataTypes/imageStack.schema.tpl.json | 52 ++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 schemas/dataTypes/imageStack.schema.tpl.json diff --git a/schemas/dataTypes/imageStack.schema.tpl.json b/schemas/dataTypes/imageStack.schema.tpl.json new file mode 100644 index 00000000..bbd2b2ec --- /dev/null +++ b/schemas/dataTypes/imageStack.schema.tpl.json @@ -0,0 +1,52 @@ +{ + "_type": "core:ImageStack", + "_extends": "dataTypes/rasterBasedImage.schema.tpl.json", + "properties": { + "dataLocation": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add the location of the file in which this image stack is stored or add the location of all raster-based images that this image stack is composed of.", + "_linkedTypes": [ + "core:File", + "core:Image", + "core:Volume" + ] + }, + "dimension": { + "type": "integer", + "maximum": 3, + "minimum": 3, + "_instruction": "Enter the dimensions of this raster graphic as [x, y, z]." + }, + "imageSpacing": { + "_instruction": "Enter the distance between the images along a shared axis with negative values indicating an overlap of images.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + }, + "isPartOf": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add all volumes in which this image stack is used or shown in a greater context.", + "_linkedTypes": [ + "core:Volume" + ] + }, + "numberOfImages": { + "type": "integer", + "minimum": 2, + "_instruction": "Enter the number of images that this image stack is composed of." + }, + "resolution": { + "type": "array", + "maxItems": 3, + "minItems": 3, + "_instruction": "Enter the size of a single voxel as [x, y, z] of this image stack.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + } + } +} From a2fcf3a1e6e7edf84c19206e37512c47aef2b60c Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:15:16 +0100 Subject: [PATCH 19/27] Rename VectorGraphic.schema.tpl.json to vectorGraphic.schema.tpl.json --- ...ectorGraphic.schema.tpl.json => vectorGraphic.schema.tpl.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename schemas/dataTypes/{VectorGraphic.schema.tpl.json => vectorGraphic.schema.tpl.json} (100%) diff --git a/schemas/dataTypes/VectorGraphic.schema.tpl.json b/schemas/dataTypes/vectorGraphic.schema.tpl.json similarity index 100% rename from schemas/dataTypes/VectorGraphic.schema.tpl.json rename to schemas/dataTypes/vectorGraphic.schema.tpl.json From fef35b3128905efac81b4c436a45ed0ac60f45a0 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:19:46 +0100 Subject: [PATCH 20/27] Update imageStack.schema.tpl.json --- schemas/dataTypes/imageStack.schema.tpl.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/schemas/dataTypes/imageStack.schema.tpl.json b/schemas/dataTypes/imageStack.schema.tpl.json index bbd2b2ec..8ae2fe99 100644 --- a/schemas/dataTypes/imageStack.schema.tpl.json +++ b/schemas/dataTypes/imageStack.schema.tpl.json @@ -1,6 +1,9 @@ { "_type": "core:ImageStack", "_extends": "dataTypes/rasterBasedImage.schema.tpl.json", + "required": [ + "numberOfImages" + ], "properties": { "dataLocation": { "type": "array", From afcd0c183dfd025d9ad12ce219102e0494818fa1 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:33:19 +0100 Subject: [PATCH 21/27] Create polygonalMesh.schema.tpl.json --- .../dataTypes/polygonalMesh.schema.tpl.json | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 schemas/dataTypes/polygonalMesh.schema.tpl.json diff --git a/schemas/dataTypes/polygonalMesh.schema.tpl.json b/schemas/dataTypes/polygonalMesh.schema.tpl.json new file mode 100644 index 00000000..2fb89616 --- /dev/null +++ b/schemas/dataTypes/polygonalMesh.schema.tpl.json @@ -0,0 +1,54 @@ +{ + "_type": "core:polygonalMesh", + "_extends": "dataTypes/vectorBasedImage.schema.tpl.json", + "required": [ + "resolution", + "vertexCount", + "faceCount", + "faceDimension" + ], + "properties": { + "dimension": { + "type": "array", + "maxItems": 3, + "minItems": 3, + "_instruction": "Enter the dimensions of this polygonal mesh as [x, y, z].", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + }, + "isPartOf": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Add all vector-based images in which this polygonal mesh is used or shown in a greater context.", + "_linkedTypes": [ + "core:PolygonalMesh", + "core:Volume" + ] + }, + "resolution": { + "_instruction": "Enter the density of vertices of this polygonal mesh.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + }, + "vertexCount": { + "type": "integer", + "_instruction": "Enter the number of vertices of this polygonal mesh." + }, + "faceCount": { + "type": "integer", + "_instruction": "Enter the number of faces of this polygonal mesh." + }, + "faceDimension": { + "type": "array", + "minItems": 1, + "uniqueItems": true, + "_instruction": "Enter all possible face dimensions of this polygonal mesh based on the number vertices forming each face.", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] + }, + } +} From 4d3014565db84c44c81c8351844d10c75c9fb5c5 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:35:14 +0100 Subject: [PATCH 22/27] Update polygonalMesh.schema.tpl.json --- schemas/dataTypes/polygonalMesh.schema.tpl.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schemas/dataTypes/polygonalMesh.schema.tpl.json b/schemas/dataTypes/polygonalMesh.schema.tpl.json index 2fb89616..08908d54 100644 --- a/schemas/dataTypes/polygonalMesh.schema.tpl.json +++ b/schemas/dataTypes/polygonalMesh.schema.tpl.json @@ -35,10 +35,12 @@ }, "vertexCount": { "type": "integer", + "minimum": 3, "_instruction": "Enter the number of vertices of this polygonal mesh." }, "faceCount": { "type": "integer", + "minimum": 1, "_instruction": "Enter the number of faces of this polygonal mesh." }, "faceDimension": { From 5d73578228b3589cc8767b3f19f32c7d764af7c9 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:37:48 +0100 Subject: [PATCH 23/27] Update imageStack.schema.tpl.json --- schemas/dataTypes/imageStack.schema.tpl.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/schemas/dataTypes/imageStack.schema.tpl.json b/schemas/dataTypes/imageStack.schema.tpl.json index 8ae2fe99..89e880fa 100644 --- a/schemas/dataTypes/imageStack.schema.tpl.json +++ b/schemas/dataTypes/imageStack.schema.tpl.json @@ -17,10 +17,13 @@ ] }, "dimension": { - "type": "integer", - "maximum": 3, - "minimum": 3, - "_instruction": "Enter the dimensions of this raster graphic as [x, y, z]." + "type": "array", + "maxItems": 3, + "minItems": 3, + "_instruction": "Enter the dimensions of this raster graphic as [x, y, z].", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] }, "imageSpacing": { "_instruction": "Enter the distance between the images along a shared axis with negative values indicating an overlap of images.", From bfb03dedc206168f95c1bb5c0b71f171f4695327 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:38:48 +0100 Subject: [PATCH 24/27] Update rasterBasedImage.schema.tpl.json --- schemas/dataTypes/rasterBasedImage.schema.tpl.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/schemas/dataTypes/rasterBasedImage.schema.tpl.json b/schemas/dataTypes/rasterBasedImage.schema.tpl.json index c476ce50..df2fcff9 100644 --- a/schemas/dataTypes/rasterBasedImage.schema.tpl.json +++ b/schemas/dataTypes/rasterBasedImage.schema.tpl.json @@ -28,10 +28,13 @@ ] }, "dimension": { - "type": "integer", - "maximum": 3, - "minimum": 2, - "_instruction": "Enter the dimensions of this raster-based image for two-dimensional spaces as [x, y] or for three-dimensional space as [x, y, z]." + "type": "array", + "maxItems": 3, + "minItems": 2, + "_instruction": "Enter the dimensions of this raster-based image for two-dimensional spaces as [x, y] or for three-dimensional space as [x, y, z].", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] }, "resolution": { "type": "array", From cf1dcc547a714d099421191e32934c76f486b38f Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:39:33 +0100 Subject: [PATCH 25/27] Update rasterGraphic.schema.tpl.json --- schemas/dataTypes/rasterGraphic.schema.tpl.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/schemas/dataTypes/rasterGraphic.schema.tpl.json b/schemas/dataTypes/rasterGraphic.schema.tpl.json index 9c58b4c5..25d52249 100644 --- a/schemas/dataTypes/rasterGraphic.schema.tpl.json +++ b/schemas/dataTypes/rasterGraphic.schema.tpl.json @@ -3,10 +3,13 @@ "_extends": "dataTypes/rasterBasedImage.schema.tpl.json", "properties": { "dimension": { - "type": "integer", - "maximum": 2, - "minimum": 2, - "_instruction": "Enter the dimensions of this raster graphic as [x, y]." + "type": "array", + "maxItems": 2, + "minItems": 2, + "_instruction": "Enter the dimensions of this raster graphic as [x, y].", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] }, "isPartOf": { "type": "array", From 781f4c8372782603c142c140fef735744bce8bca Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:40:52 +0100 Subject: [PATCH 26/27] Update vectorBasedImage.schema.tpl.json --- schemas/dataTypes/vectorBasedImage.schema.tpl.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/schemas/dataTypes/vectorBasedImage.schema.tpl.json b/schemas/dataTypes/vectorBasedImage.schema.tpl.json index 35bbdc09..4042b009 100644 --- a/schemas/dataTypes/vectorBasedImage.schema.tpl.json +++ b/schemas/dataTypes/vectorBasedImage.schema.tpl.json @@ -12,10 +12,13 @@ ] }, "dimension": { - "type": "integer", - "maximum": 3, - "minimum": 2, - "_instruction": "Enter the dimensions of this vector-based image for two-dimensional spaces as [x, y] or for three-dimensional space as [x, y, z]." + "type": "array", + "maxItems": 3, + "minItems": 2, + "_instruction": "Enter the dimensions of this vector-based image for two-dimensional spaces as [x, y] or for three-dimensional space as [x, y, z].", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] }, "software": { "_instruction": "Add the software version that was used to create this vector-based image.", From 93b1f139d1ce003a4b4d7f577690690130c8b2f1 Mon Sep 17 00:00:00 2001 From: Ulrike Schlegel <54898984+UlrikeS91@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:41:53 +0100 Subject: [PATCH 27/27] Update vectorGraphic.schema.tpl.json --- schemas/dataTypes/vectorGraphic.schema.tpl.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/schemas/dataTypes/vectorGraphic.schema.tpl.json b/schemas/dataTypes/vectorGraphic.schema.tpl.json index 4e71548e..81de4f72 100644 --- a/schemas/dataTypes/vectorGraphic.schema.tpl.json +++ b/schemas/dataTypes/vectorGraphic.schema.tpl.json @@ -3,10 +3,13 @@ "_extends": "dataTypes/vectorBasedImage.schema.tpl.json", "properties": { "dimension": { - "type": "integer", - "maximum": 2, - "minimum": 2, - "_instruction": "Enter the dimensions of this vector-based image as [x, y]." + "type": "array", + "maxItems": 2, + "minItems": 2, + "_instruction": "Enter the dimensions of this vector-based image as [x, y].", + "_embeddedTypes": [ + "core:QuantitativeValue" + ] } } }