{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "config",
        "inputs"
    ],
    "type": "object",
    "properties": {
        "inputs": {
            "required": [
                "api_key",
                "freesurfer_license"
            ],
            "type": "object",
            "properties": {
                "t1w_anatomy": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "api_key": {
                    "type": "object",
                    "properties": {}
                },
                "t2w_anatomy": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "freesurfer_license": {
                    "type": "object",
                    "properties": {}
                }
            }
        },
        "config": {
            "required": [
                "save_outputs",
                "intermediate_folders",
                "longitudinal",
                "bold2t1w_dof",
                "intermediate_files",
                "freesurfer",
                "ignore",
                "save_intermediate_work",
                "template",
                "medial_surface_nan",
                "force_bbr",
                "output_space",
                "template_resampling_grid",
                "force_no_bbr",
                "t2s_coreg"
            ],
            "type": "object",
            "properties": {
                "save_outputs": {
                    "default": false,
                    "type": "boolean"
                },
                "intermediate_folders": {
                    "default": "",
                    "type": "string"
                },
                "longitudinal": {
                    "default": false,
                    "type": "boolean"
                },
                "bold2t1w_dof": {
                    "default": 9,
                    "enum": [
                        6,
                        9,
                        12
                    ],
                    "type": "integer"
                },
                "intermediate_files": {
                    "default": "ref_image_corrected_brain.nii.gz",
                    "type": "string"
                },
                "freesurfer": {
                    "default": true,
                    "type": "boolean"
                },
                "ignore": {
                    "default": "",
                    "enum": [
                        "",
                        "fieldmaps",
                        "slicetiming"
                    ],
                    "type": "string"
                },
                "save_intermediate_work": {
                    "default": false,
                    "type": "boolean"
                },
                "template": {
                    "default": "MNI152NLin2009cAsym",
                    "enum": [
                        "MNI152NLin2009cAsym"
                    ],
                    "type": "string"
                },
                "medial_surface_nan": {
                    "default": false,
                    "type": "boolean"
                },
                "force_bbr": {
                    "default": false,
                    "type": "boolean"
                },
                "output_space": {
                    "default": "template fsaverage5",
                    "type": "string"
                },
                "template_resampling_grid": {
                    "default": "native",
                    "enum": [
                        "native",
                        "1mm",
                        "2mm"
                    ],
                    "type": "string"
                },
                "force_no_bbr": {
                    "default": false,
                    "type": "boolean"
                },
                "t2s_coreg": {
                    "default": false,
                    "type": "boolean"
                }
            }
        }
    },
    "title": "Invocation manifest for fMRIPREP: A Robust Preprocessing Pipeline for fMRI Data"
}