{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "config",
        "inputs"
    ],
    "type": "object",
    "properties": {
        "inputs": {
            "required": [
                "input_image"
            ],
            "type": "object",
            "properties": {
                "input_image": {
                    "type": "object",
                    "properties": {}
                },
                "weight_image": {
                    "type": "object",
                    "properties": {}
                },
                "bias_image": {
                    "type": "object",
                    "properties": {}
                },
                "mask_image": {
                    "type": "object",
                    "properties": {}
                }
            }
        },
        "config": {
            "required": [
                "num_threads",
                "copy_header",
                "dimension"
            ],
            "type": "object",
            "properties": {
                "num_threads": {
                    "default": 1,
                    "type": "integer"
                },
                "shrink_factor": {
                    "type": "integer"
                },
                "output_image": {
                    "type": "string"
                },
                "bspline_fitting_distance": {
                    "type": "number"
                },
                "convergence_threshold": {
                    "type": "number"
                },
                "args": {
                    "type": "string"
                },
                "save_bias": {
                    "type": "boolean"
                },
                "n_iterations": {
                    "type": "array",
                    "items": {
                        "type": "integer"
                    }
                },
                "bspline_order": {
                    "type": "integer"
                },
                "copy_header": {
                    "type": "boolean"
                },
                "dimension": {
                    "default": 3,
                    "enum": [
                        3,
                        2,
                        4
                    ],
                    "type": "integer"
                }
            }
        }
    },
    "title": "Invocation manifest for N4BiasFieldCorrection"
}