{
    "$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": [
                "merge2d",
                "bids_sidecar",
                "text_notes_private",
                "crop",
                "filename",
                "compress_nifti",
                "decompress_dicoms"
            ],
            "type": "object",
            "properties": {
                "merge2d": {
                    "default": "n",
                    "type": "string",
                    "id": "-m"
                },
                "bids_sidecar": {
                    "default": "n",
                    "type": "string",
                    "id": "-b"
                },
                "text_notes_private": {
                    "default": "n",
                    "type": "string",
                    "id": "-t"
                },
                "crop": {
                    "default": "n",
                    "type": "string",
                    "id": "-x"
                },
                "filename": {
                    "default": "%f",
                    "type": "string",
                    "id": "-f"
                },
                "compress_nifti": {
                    "default": "y",
                    "type": "string",
                    "id": "-z"
                },
                "decompress_dicoms": {
                    "default": false,
                    "type": "boolean"
                }
            }
        }
    },
    "title": "Invocation manifest for DCM2NIIX: v1.0.20170130"
}