{
    "title": "Invocation manifest for BIDS fMRIPrep: A Robust Preprocessing Pipeline for fMRI Data",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "config": {
            "type": "object",
            "properties": {
                "skip-bids-validation": {
                    "type": "boolean"
                },
                "task-id": {
                    "type": "string"
                },
                "echo-idx": {
                    "type": "string"
                },
                "nthreads": {
                    "type": "integer"
                },
                "omp-nthreads": {
                    "type": "integer"
                },
                "mem_mb": {
                    "type": "number"
                },
                "anat-only": {
                    "type": "boolean"
                },
                "boilerplate": {
                    "type": "boolean"
                },
                "error-on-aroma-warnings": {
                    "type": "boolean"
                },
                "verbose": {
                    "enum": [
                        "",
                        "v",
                        "vv",
                        "vvv"
                    ],
                    "type": "string"
                },
                "ignore": {
                    "type": "string"
                },
                "longitudinal": {
                    "type": "boolean"
                },
                "t2s-coreg": {
                    "type": "boolean"
                },
                "output-spaces": {
                    "enum": [
                        "",
                        "MNI152Lin",
                        "MNI152NLin2009cAsym",
                        "MNI152NLin6Asym",
                        "MNI152NLin6Sym",
                        "MNIInfant",
                        "MNIPediatricAsym",
                        "NKI",
                        "OASIS30ANTs",
                        "PNC",
                        "fsLR",
                        "fsaverage"
                    ],
                    "type": "string"
                },
                "bold2t1w-dof": {
                    "enum": [
                        "",
                        "6",
                        "9",
                        "12"
                    ],
                    "type": "string"
                },
                "force-bbr": {
                    "type": "boolean"
                },
                "force-no-bbr": {
                    "type": "boolean"
                },
                "medial-surface-nan": {
                    "type": "boolean"
                },
                "dummy-scans": {
                    "type": "integer"
                },
                "use-aroma": {
                    "type": "boolean",
                    "default": false
                },
                "aroma-melodic-dimensionality": {
                    "type": "integer"
                },
                "return-all-components": {
                    "type": "boolean"
                },
                "fd-spike-threshold": {
                    "type": "number"
                },
                "dvars-spike-threshold": {
                    "type": "number"
                },
                "skull-strip-template": {
                    "enum": [
                        "",
                        "OASIS30ANTs",
                        "NKI"
                    ],
                    "type": "string"
                },
                "skull-strip-fixed-seed": {
                    "type": "boolean"
                },
                "fmap-bspline": {
                    "type": "boolean"
                },
                "fmap-no-demean": {
                    "type": "boolean"
                },
                "use-syn-sdc": {
                    "type": "boolean"
                },
                "force-syn": {
                    "type": "boolean"
                },
                "no-submm-recon": {
                    "type": "boolean"
                },
                "cifti-output": {
                    "type": "boolean"
                },
                "fs-no-reconall": {
                    "type": "boolean"
                },
                "resource-monitor": {
                    "type": "boolean"
                },
                "reports-only": {
                    "type": "boolean"
                },
                "run-uuid": {
                    "type": "string"
                },
                "write-graph": {
                    "type": "boolean"
                },
                "stop-on-first-crash": {
                    "type": "boolean"
                },
                "notrack": {
                    "type": "boolean"
                },
                "gear-abort-on-bids-error": {
                    "default": false,
                    "type": "boolean"
                },
                "gear-log-level": {
                    "default": "INFO",
                    "type": "string",
                    "enum": [
                        "ERROR",
                        "WARNING",
                        "INFO",
                        "DEBUG"
                    ]
                },
                "gear-run-bids-validation": {
                    "default": true,
                    "type": "boolean"
                },
                "gear-save-intermediate-output": {
                    "default": false,
                    "type": "boolean"
                },
                "gear-intermediate-files": {
                    "default": "",
                    "type": "string"
                },
                "gear-intermediate-folders": {
                    "default": "",
                    "type": "string"
                },
                "gear-dry-run": {
                    "default": false,
                    "type": "boolean"
                },
                "gear-keep-output": {
                    "default": false,
                    "type": "boolean"
                },
                "gear-FREESURFER_LICENSE": {
                    "type": "string"
                }
            },
            "required": [
                "use-aroma",
                "gear-abort-on-bids-error",
                "gear-log-level",
                "gear-run-bids-validation",
                "gear-save-intermediate-output",
                "gear-intermediate-files",
                "gear-intermediate-folders",
                "gear-dry-run",
                "gear-keep-output"
            ]
        },
        "inputs": {
            "type": "object",
            "properties": {
                "key": {
                    "type": "object"
                },
                "freesurfer_license": {
                    "type": "object",
                    "properties": {}
                }
            },
            "required": [
                "key"
            ]
        }
    },
    "required": [
        "config",
        "inputs"
    ]
}