{
    "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": {
                "ants-float": {
                    "default": false,
                    "type": "boolean"
                },
                "ants-nthreads": {
                    "default": 1,
                    "type": "integer"
                },
                "ants-settings": {
                    "type": "string"
                },
                "correct-slice-timing": {
                    "default": false,
                    "type": "boolean"
                },
                "deoblique": {
                    "default": false,
                    "type": "boolean"
                },
                "despike": {
                    "default": false,
                    "type": "boolean"
                },
                "dry-run": {
                    "default": false,
                    "type": "boolean"
                },
                "email": {
                    "type": "string"
                },
                "fd_thres": {
                    "default": 0.2,
                    "type": "number"
                },
                "fft-spikes-detector": {
                    "default": false,
                    "type": "boolean"
                },
                "float32": {
                    "default": false,
                    "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-work": {
                    "default": false,
                    "type": "boolean"
                },
                "gear-zip-html": {
                    "default": false,
                    "type": "boolean"
                },
                "hmc-afni": {
                    "default": true,
                    "type": "boolean"
                },
                "hmc-fsl": {
                    "default": false,
                    "type": "boolean"
                },
                "ica": {
                    "default": false,
                    "type": "boolean"
                },
                "mem_gb": {
                    "default": 0,
                    "type": "integer"
                },
                "modalities": {
                    "enum": [
                        "",
                        "T1w",
                        "bold",
                        "T2w",
                        "T1w bold",
                        "T1w T2w",
                        "bold T2w"
                    ],
                    "type": "string"
                },
                "n_procs": {
                    "default": 1,
                    "type": "integer"
                },
                "no-sub": {
                    "type": "boolean"
                },
                "profile": {
                    "default": false,
                    "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": {
                    "default": true,
                    "type": "boolean"
                },
                "webapi-port": {
                    "type": "string"
                },
                "webapi-url": {
                    "type": "string"
                },
                "write-graph": {
                    "default": false,
                    "type": "boolean"
                }
            },
            "required": [
                "ants-float",
                "ants-nthreads",
                "correct-slice-timing",
                "deoblique",
                "despike",
                "dry-run",
                "fd_thres",
                "fft-spikes-detector",
                "float32",
                "gear-abort-on-bids-error",
                "gear-log-level",
                "gear-run-bids-validation",
                "gear-save-intermediate-work",
                "gear-zip-html",
                "hmc-afni",
                "hmc-fsl",
                "ica",
                "mem_gb",
                "n_procs",
                "profile",
                "verbose",
                "verbose-reports",
                "write-graph"
            ]
        },
        "inputs": {
            "type": "object",
            "properties": {
                "key": {
                    "type": "object"
                }
            },
            "required": [
                "key"
            ]
        }
    },
    "required": [
        "config",
        "inputs"
    ]
}