{
    "title": "Invocation manifest for DCM2NIIX: dcm2nii DICOM to NIfTI converter",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "config": {
            "type": "object",
            "properties": {
                "decompress_dicoms": {
                    "default": false,
                    "type": "boolean"
                },
                "bids_sidecar": {
                    "type": "string",
                    "default": "n",
                    "id": "-b"
                },
                "merge2d": {
                    "type": "string",
                    "default": "n",
                    "id": "-m"
                },
                "text_notes_private": {
                    "type": "string",
                    "default": "n",
                    "id": "-t"
                },
                "crop": {
                    "type": "string",
                    "default": "n",
                    "id": "-x"
                },
                "compress_nifti": {
                    "type": "string",
                    "default": "y",
                    "id": "-z"
                },
                "filename": {
                    "type": "string",
                    "default": "%f",
                    "id": "-f"
                },
                "anonymize_bids": {
                    "type": "string",
                    "default": "n",
                    "id": "-ba"
                },
                "ignore_derived": {
                    "type": "string",
                    "default": "n",
                    "id": "-i"
                },
                "philips_scaling": {
                    "type": "string",
                    "default": "y",
                    "id": "-p"
                },
                "single_file_mode": {
                    "type": "string",
                    "default": "n",
                    "id": "-s"
                },
                "vol3D": {
                    "type": "boolean",
                    "default": false
                },
                "convert_only_series": {
                    "type": "string",
                    "default": "all",
                    "id": "-n"
                },
                "lossless_scaling": {
                    "type": "string",
                    "default": "n",
                    "id": "-l"
                },
                "ignore_errors": {
                    "type": "boolean",
                    "default": false
                },
                "coil_combine": {
                    "type": "boolean",
                    "default": false
                },
                "remove_incomplete_volumes": {
                    "type": "boolean",
                    "default": false
                }
            },
            "required": [
                "decompress_dicoms",
                "bids_sidecar",
                "merge2d",
                "text_notes_private",
                "crop",
                "compress_nifti",
                "filename",
                "anonymize_bids",
                "ignore_derived",
                "philips_scaling",
                "single_file_mode",
                "vol3D",
                "convert_only_series",
                "lossless_scaling",
                "ignore_errors",
                "coil_combine",
                "remove_incomplete_volumes"
            ]
        },
        "inputs": {
            "type": "object",
            "properties": {
                "dcm2niix_input": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "dicom",
                                "parrec"
                            ]
                        }
                    }
                }
            },
            "required": [
                "dcm2niix_input"
            ]
        }
    },
    "required": [
        "config",
        "inputs"
    ]
}