Skip to content

Commit

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

0 comments on commit 1c38315

Please sign in to comment.