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] 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" + ] + } + } +}