|
42 | 42 | "$id" : "#spineTypeInOut", |
43 | 43 | "description": "SPINE Type", |
44 | 44 | "type": "string", |
45 | | - "enum": ["String","Number","imageFileInOut","imageEntityInOut", |
| 45 | + "enum": ["String","Number","Boolean","imageFileInOut","imageEntityInOut", |
46 | 46 | "auxiliaryImageFile","lookUpTable","lookUpTableDescription","roiInOut","annotationInOut", |
47 | 47 | "roiWithAnnotationsInOut","annotationTableDefinitionInputOutput", "annotationFormDefinitionInputOutput", |
48 | 48 | "annotationTableDataInOut", "annotationFormDataInOut","polyRoiInOut"] |
|
123 | 123 | ] |
124 | 124 | }, |
125 | 125 |
|
| 126 | + "Boolean": { |
| 127 | + "$id": "#Boolean", |
| 128 | + "description": "Schema defining Boolean as input or output", |
| 129 | + "allOf":[ |
| 130 | + {"$ref": "#/definitions/inputOutput_spine"}, |
| 131 | + { |
| 132 | + "properties": { |
| 133 | + "type":{ |
| 134 | + "type": "boolean", |
| 135 | + "enum": ["Boolean"] |
| 136 | + } |
| 137 | + }, |
| 138 | + "required": ["type"] |
| 139 | + } |
| 140 | + ] |
| 141 | + }, |
| 142 | + |
126 | 143 | "imageFileInOut_Type": { |
127 | 144 | "$id" : "#imageFileInOut_Type", |
128 | 145 | "description": "SPINE Image Type for imageFile", |
|
541 | 558 | {"$ref": "#/definitions/roiWithAnnotationsInOut"}, |
542 | 559 | {"$ref": "#/definitions/String"}, |
543 | 560 | {"$ref": "#/definitions/Number"}, |
| 561 | + {"$ref": "#/definitions/Boolean"}, |
544 | 562 | {"$ref": "#/definitions/imageFileInOut"}, |
545 | 563 | {"$ref": "#/definitions/lookupTableInOut"}, |
546 | 564 | {"$ref": "#/definitions/lookUpTableDescriptionInOut"}, |
|
0 commit comments