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