{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "config",
        "inputs"
    ],
    "type": "object",
    "properties": {
        "inputs": {
            "required": [
                "T2",
                "T1",
                "FreeSurferLicense"
            ],
            "type": "object",
            "properties": {
                "GradientCoeff": {
                    "type": "object",
                    "properties": {}
                },
                "SpinEchoNegative": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "T2": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "T1": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "SiemensGREPhase": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "FreeSurferLicense": {
                    "type": "object",
                    "properties": {}
                },
                "SiemensGREMagnitude": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "SpinEchoPositive": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                }
            }
        },
        "config": {
            "required": [
                "StructuralUnwarpDirection",
                "RegName",
                "TemplateSize",
                "BrainSize",
                "Subject"
            ],
            "type": "object",
            "properties": {
                "StructuralUnwarpDirection": {
                    "default": "z",
                    "type": "string"
                },
                "RegName": {
                    "default": "MSMSulc",
                    "type": "string"
                },
                "TemplateSize": {
                    "default": "0.8mm",
                    "type": "string"
                },
                "BrainSize": {
                    "default": 150,
                    "type": "integer"
                },
                "Subject": {
                    "default": "000000",
                    "type": "string"
                }
            }
        }
    },
    "title": "Invocation manifest for HCP: Structural Preprocessing Pipeline"
}