Skip to content

Commit

Permalink
Create volume.schema.tpl.json
Browse files Browse the repository at this point in the history
  • Loading branch information
UlrikeS91 authored Dec 3, 2024
1 parent 9b340f2 commit e2acce2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions schemas/dataTypes/volume.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}
}

0 comments on commit e2acce2

Please sign in to comment.