{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "config",
        "inputs"
    ],
    "type": "object",
    "properties": {
        "inputs": {
            "required": [
                "api_key"
            ],
            "type": "object",
            "properties": {
                "t1w_anatomy": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "api_key": {
                    "type": "object"
                },
                "t2w_anatomy": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "freesurfer_license": {
                    "type": "object",
                    "properties": {}
                }
            }
        },
        "config": {
            "required": [
                "force_syn",
                "bold2t1w_dof",
                "intermediate_folders",
                "skull_strip_fixed_seed",
                "use_syn_sdc",
                "save_intermediate_work",
                "no_submm_recon",
                "FREESURFER_LICENSE_PROVIDED",
                "longitudinal",
                "fs_no_reconall",
                "template",
                "force_bbr",
                "output_space",
                "template_resampling_grid",
                "intermediate_files",
                "aroma_melodic_dimensionality",
                "medial_surface_nan",
                "save_outputs",
                "fmap_no_demean",
                "ignore",
                "skull_strip_template",
                "cifti_output",
                "use_aroma",
                "fmap_bspline",
                "force_no_bbr",
                "t2s_coreg"
            ],
            "type": "object",
            "properties": {
                "save_outputs": {
                    "default": false,
                    "type": "boolean"
                },
                "force_syn": {
                    "default": false,
                    "type": "boolean"
                },
                "bold2t1w_dof": {
                    "default": 9,
                    "enum": [
                        6,
                        9,
                        12
                    ],
                    "type": "integer"
                },
                "intermediate_files": {
                    "default": "",
                    "type": "string"
                },
                "skull_strip_fixed_seed": {
                    "default": false,
                    "type": "boolean"
                },
                "use_syn_sdc": {
                    "default": false,
                    "type": "boolean"
                },
                "save_intermediate_work": {
                    "default": false,
                    "type": "boolean"
                },
                "no_submm_recon": {
                    "default": false,
                    "type": "boolean"
                },
                "FREESURFER_LICENSE_PROVIDED": {
                    "type": "boolean"
                },
                "longitudinal": {
                    "default": false,
                    "type": "boolean"
                },
                "fs_no_reconall": {
                    "default": false,
                    "type": "boolean"
                },
                "template": {
                    "default": "MNI152NLin2009cAsym",
                    "enum": [
                        "MNI152NLin2009cAsym"
                    ],
                    "type": "string"
                },
                "force_bbr": {
                    "default": false,
                    "type": "boolean"
                },
                "output_space": {
                    "default": "template fsaverage5",
                    "type": "string"
                },
                "intermediate_folders": {
                    "default": "",
                    "type": "string"
                },
                "aroma_melodic_dimensionality": {
                    "default": "None",
                    "type": "string"
                },
                "medial_surface_nan": {
                    "default": false,
                    "type": "boolean"
                },
                "FREESURFER_LICENSE": {
                    "type": "string"
                },
                "template_resampling_grid": {
                    "default": "native",
                    "enum": [
                        "native",
                        "1mm",
                        "2mm"
                    ],
                    "type": "string"
                },
                "fmap_no_demean": {
                    "default": false,
                    "type": "boolean"
                },
                "ignore": {
                    "default": "",
                    "enum": [
                        "",
                        "fieldmaps",
                        "slicetiming"
                    ],
                    "type": "string"
                },
                "skull_strip_template": {
                    "default": "OASIS",
                    "enum": [
                        "NKI",
                        "OASIS"
                    ],
                    "type": "string"
                },
                "cifti_output": {
                    "default": false,
                    "type": "boolean"
                },
                "use_aroma": {
                    "default": false,
                    "type": "boolean"
                },
                "fmap_bspline": {
                    "default": false,
                    "type": "boolean"
                },
                "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"
}