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