{
    "title": "Invocation manifest for MRIQC: Automatic prediction of quality and visual reporting of MRI scans in BIDS format",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "config": {
            "type": "object",
            "properties": {
                "participant_label": {
                    "type": "string"
                },
                "session-id": {
                    "type": "string"
                },
                "ants-float": {
                    "type": "boolean"
                },
                "ants-nthreads": {
                    "type": "integer"
                },
                "ants-settings": {
                    "type": "string"
                },
                "correct-slice-timing": {
                    "type": "boolean"
                },
                "deoblique": {
                    "type": "boolean"
                },
                "despike": {
                    "type": "boolean"
                },
                "dry-run": {
                    "type": "boolean"
                },
                "email": {
                    "type": "string"
                },
                "fd_thres": {
                    "type": "number"
                },
                "fft-spikes-detector": {
                    "type": "boolean"
                },
                "float32": {
                    "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"
                },
                "hmc-afni": {
                    "type": "boolean"
                },
                "hmc-fsl": {
                    "type": "boolean"
                },
                "ica": {
                    "type": "boolean"
                },
                "mem_gb": {
                    "type": "integer"
                },
                "modalities": {
                    "enum": [
                        "",
                        "T1w",
                        "bold",
                        "T2w",
                        "T1w bold",
                        "T1w T2w",
                        "bold T2w"
                    ],
                    "type": "string"
                },
                "n_procs": {
                    "type": "integer"
                },
                "no-sub": {
                    "type": "boolean"
                },
                "profile": {
                    "type": "boolean"
                },
                "run-id": {
                    "type": "string"
                },
                "start-idx": {
                    "type": "integer"
                },
                "stop-idx": {
                    "type": "integer"
                },
                "task-id": {
                    "type": "string"
                },
                "verbose": {
                    "default": "v",
                    "enum": [
                        "",
                        "v",
                        "vv",
                        "vvv"
                    ],
                    "type": "string"
                },
                "verbose-reports": {
                    "type": "boolean"
                },
                "webapi-port": {
                    "type": "string"
                },
                "webapi-url": {
                    "type": "string"
                },
                "write-graph": {
                    "type": "boolean"
                }
            },
            "required": [
                "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",
                "verbose"
            ]
        },
        "inputs": {
            "type": "object",
            "properties": {
                "key": {
                    "type": "object"
                }
            },
            "required": [
                "key"
            ]
        }
    },
    "required": [
        "config",
        "inputs"
    ]
}