{
    "title": "Invocation manifest for HCP: Diffusion Preprocessing Pipeline",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "config": {
            "type": "object",
            "properties": {
                "DWIName": {
                    "type": "string",
                    "default": "Diffusion"
                },
                "FREESURFER_LICENSE": {
                    "type": "string"
                },
                "AnatomyRegDOF": {
                    "type": "integer",
                    "default": 6,
                    "enum": [
                        6,
                        12
                    ]
                },
                "dry-run": {
                    "type": "boolean",
                    "default": false
                },
                "save-on-error": {
                    "type": "boolean",
                    "default": false
                }
            },
            "required": [
                "DWIName",
                "AnatomyRegDOF",
                "dry-run",
                "save-on-error"
            ]
        },
        "inputs": {
            "type": "object",
            "properties": {
                "StructZip": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "archive"
                            ]
                        }
                    }
                },
                "FreeSurferLicense": {
                    "type": "object",
                    "properties": {}
                },
                "DWIPositiveData": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "DWIPositiveBvec": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bvec"
                            ]
                        }
                    }
                },
                "DWIPositiveBval": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bval"
                            ]
                        }
                    }
                },
                "DWINegativeData": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "DWINegativeBvec": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bvec"
                            ]
                        }
                    }
                },
                "DWINegativeBval": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bval"
                            ]
                        }
                    }
                },
                "DWIPositiveData2": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "DWIPositiveBvec2": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bvec"
                            ]
                        }
                    }
                },
                "DWIPositiveBval2": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bval"
                            ]
                        }
                    }
                },
                "DWINegativeData2": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "DWINegativeBvec2": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bvec"
                            ]
                        }
                    }
                },
                "DWINegativeBval2": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bval"
                            ]
                        }
                    }
                },
                "DWIPositiveData3": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "DWIPositiveBvec3": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bvec"
                            ]
                        }
                    }
                },
                "DWIPositiveBval3": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bval"
                            ]
                        }
                    }
                },
                "DWINegativeData3": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "DWINegativeBvec3": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bvec"
                            ]
                        }
                    }
                },
                "DWINegativeBval3": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bval"
                            ]
                        }
                    }
                },
                "DWIPositiveData4": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "DWIPositiveBvec4": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bvec"
                            ]
                        }
                    }
                },
                "DWIPositiveBval4": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bval"
                            ]
                        }
                    }
                },
                "DWINegativeData4": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "DWINegativeBvec4": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bvec"
                            ]
                        }
                    }
                },
                "DWINegativeBval4": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "bval"
                            ]
                        }
                    }
                },
                "GradientCoeff": {
                    "type": "object",
                    "properties": {}
                }
            },
            "required": [
                "StructZip",
                "DWIPositiveData",
                "DWIPositiveBvec",
                "DWIPositiveBval",
                "DWINegativeData",
                "DWINegativeBvec",
                "DWINegativeBval"
            ]
        }
    },
    "required": [
        "config",
        "inputs"
    ]
}