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