{
    "title": "Invocation manifest for FSL: Brain Extraction Tool (BET2)",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "config": {
            "type": "object",
            "properties": {
                "fractional_intensity_threshold": {
                    "default": 0.5,
                    "minimum": 0,
                    "maximum": 1,
                    "type": "number",
                    "id": "-f"
                },
                "brain_surf_outline": {
                    "default": false,
                    "type": "boolean",
                    "id": "-o"
                },
                "binary_brain_mask": {
                    "default": false,
                    "type": "boolean",
                    "id": "-m"
                },
                "skull_image": {
                    "default": false,
                    "type": "boolean",
                    "id": "-s"
                },
                "vertical_gradient_intensity_threshold": {
                    "default": 0,
                    "minimum": -1,
                    "maximum": 1,
                    "type": "number",
                    "id": "-g"
                },
                "apply_mask_thresholding": {
                    "default": false,
                    "type": "boolean",
                    "id": "-t"
                },
                "vtk_surface_mesh": {
                    "default": false,
                    "type": "boolean",
                    "id": "-e"
                },
                "function_option": {
                    "default": "",
                    "type": "string",
                    "enum": [
                        "",
                        "-R",
                        "-S",
                        "-B",
                        "-Z",
                        "-F",
                        "-A",
                        "-A2"
                    ]
                }
            },
            "required": [
                "fractional_intensity_threshold",
                "brain_surf_outline",
                "binary_brain_mask",
                "skull_image",
                "vertical_gradient_intensity_threshold",
                "apply_mask_thresholding",
                "vtk_surface_mesh",
                "function_option"
            ]
        },
        "inputs": {
            "type": "object",
            "properties": {
                "nifti": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                }
            },
            "required": [
                "nifti"
            ]
        }
    },
    "required": [
        "config",
        "inputs"
    ]
}