{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "config",
        "inputs"
    ],
    "type": "object",
    "properties": {
        "inputs": {
            "required": [
                "dcm2niix_input"
            ],
            "type": "object",
            "properties": {
                "dcm2niix_input": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "dicom",
                                "parrec"
                            ]
                        }
                    }
                }
            }
        },
        "config": {
            "required": [
                "3Dvol",
                "single_file_mode",
                "merge2d",
                "philips_scaling",
                "anonymize_bids",
                "bids_sidecar",
                "text_notes_private",
                "crop",
                "filename",
                "compress_nifti",
                "decompress_dicoms",
                "ignore_derived"
            ],
            "type": "object",
            "properties": {
                "compress_nifti": {
                    "default": "y",
                    "type": "string",
                    "id": "-z"
                },
                "merge2d": {
                    "default": "n",
                    "type": "string",
                    "id": "-m"
                },
                "philips_scaling": {
                    "default": "y",
                    "type": "string",
                    "id": "-p"
                },
                "anonymize_bids": {
                    "default": "n",
                    "type": "string",
                    "id": "-ba"
                },
                "bids_sidecar": {
                    "default": "n",
                    "type": "string",
                    "id": "-b"
                },
                "3Dvol": {
                    "default": false,
                    "type": "boolean"
                },
                "crop": {
                    "default": "n",
                    "type": "string",
                    "id": "-x"
                },
                "text_notes_private": {
                    "default": "n",
                    "type": "string",
                    "id": "-t"
                },
                "single_file_mode": {
                    "default": "n",
                    "type": "string",
                    "id": "-s"
                },
                "decompress_dicoms": {
                    "default": false,
                    "type": "boolean"
                },
                "ignore_derived": {
                    "default": "n",
                    "type": "string",
                    "id": "-i"
                },
                "filename": {
                    "default": "%f",
                    "type": "string",
                    "id": "-f"
                }
            }
        }
    },
    "title": "Invocation manifest for DCM2NIIX: v1.0.20170821"
}