{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "dependencies": {
        "func_preproc_desc": {
            "properties": {},
            "required": [
                "read_from_derivatives"
            ]
        },
        "func_preproc_dirname": {
            "properties": {},
            "required": [
                "read_from_derivatives"
            ]
        },
        "older_fmriprep": {
            "anyOf": [
                {
                    "properties": {},
                    "required": [
                        "read_from_derivatives"
                    ]
                },
                {
                    "properties": {
                        "older_fmriprep": {
                            "enum": [
                                false
                            ]
                        }
                    }
                }
            ]
        },
        "read_from_derivatives": {
            "properties": {
                "fmriprep_args": {
                    "not": {}
                },
                "fmriprep_workdir": {
                    "not": {}
                },
                "ignore_fieldmaps": {
                    "oneOf": [
                        {
                            "not": {}
                        },
                        {
                            "enum": [
                                false
                            ]
                        }
                    ]
                },
                "no_SDC": {
                    "oneOf": [
                        {
                            "not": {}
                        },
                        {
                            "enum": [
                                false
                            ]
                        }
                    ]
                }
            }
        }
    },
    "description": "Invocation schema for bids app - fmriprep_ciftify.",
    "properties": {
        "analysis_level": {
            "enum": [
                "participant",
                "group"
            ]
        },
        "anat_only": {
            "type": "boolean"
        },
        "bids_dir": {
            "type": "string"
        },
        "ciftify_conf": {
            "type": "string"
        },
        "debug": {
            "type": "boolean"
        },
        "fmriprep_args": {
            "type": "string"
        },
        "fmriprep_workdir": {
            "type": "string"
        },
        "freesurfer_license": {
            "type": "string"
        },
        "func_preproc_desc": {
            "type": "string"
        },
        "func_preproc_dirname": {
            "type": "string"
        },
        "ignore_fieldmaps": {
            "type": "boolean"
        },
        "msm_config": {
            "type": "string"
        },
        "n_cpus": {
            "type": "integer"
        },
        "no_SDC": {
            "type": "boolean"
        },
        "no_symlinks": {
            "type": "string"
        },
        "older_fmriprep": {
            "type": "boolean"
        },
        "output_dir": {
            "type": "string"
        },
        "participant_label": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "read_from_derivatives": {
            "type": "string"
        },
        "rerun_if_complete": {
            "type": "boolean"
        },
        "resameple_to_T1w32k": {
            "type": "boolean"
        },
        "session_label": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "smooth_fwhm": {
            "type": "number"
        },
        "surf_reg": {
            "type": "string"
        },
        "task_label": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "verbose": {
            "type": "boolean"
        }
    },
    "required": [
        "bids_dir",
        "output_dir",
        "analysis_level"
    ],
    "title": "BIDS App - fmriprep_ciftify.invocationSchema",
    "type": "object"
}