Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 38 additions & 1 deletion schemas/core.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"$id" : "#spineTypeInOut",
"description": "SPINE Type",
"type": "string",
"enum": ["String","Number","imageFileInOut","imageEntityInOut",
"enum": ["String","Number","3DImageReconstruction","imageFileInOut","imageEntityInOut",
"auxiliaryImageFile","lookUpTable","lookUpTableDescription","roiInOut","annotationInOut",
"roiWithAnnotationsInOut","annotationTableDefinitionInputOutput", "annotationFormDefinitionInputOutput",
"annotationTableDataInOut", "annotationFormDataInOut","polyRoiInOut"]
Expand Down Expand Up @@ -123,6 +123,43 @@
]
},

"3DImageReconstruction_Type" : {
"$id":"#3DImageReconstruction_Type",
"description":"Schema defining a 3D brain segmentation image type",
"type": "string",
"enum":["PNGReconstruction",""]
},

"3DImageReconstruction_FileFormat": {
"$id": "#3DImageReconstruction_FileFormat",
"description":"Format of 3D brain segmentation image",
"type":"string",
"enum":["png",""]
},

"3DImageReconstruction": {
"$id": "#3DImageReconstruction",
"description": "Schema defining a 3D brain segmentation image file as output",
"allOf":[
{"$ref": "#/definitions/inputOutput_spine"},
{
"properties": {
"type":{
"type": "string",
"enum": ["3DImageReconstruction"]
},
"3DImageReconstruction_Type": {
"$ref": "#/definitions/3DImageReconstruction_Type"
},
"3DImageReconstruction_FileFormat":{
"$ref": "#/definitions/imageFileInOut_FileFormat"
}
},
"required": ["type","3DImageReconstruction_Type","3DImageReconstruction_FileFormat"]
}
]
},

"imageFileInOut_Type": {
"$id" : "#imageFileInOut_Type",
"description": "SPINE Image Type for imageFile",
Expand Down