{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "config",
        "inputs"
    ],
    "type": "object",
    "properties": {
        "inputs": {
            "required": [
                "nifti"
            ],
            "type": "object",
            "properties": {
                "nifti": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                }
            }
        },
        "config": {
            "required": [
                "nopve",
                "Hyper",
                "bias_field",
                "iterations",
                "image_type",
                "segments",
                "mixel",
                "init",
                "nobias",
                "lowpass",
                "tissue_classes",
                "fixed",
                "fHard",
                "restored_image",
                "channels"
            ],
            "type": "object",
            "properties": {
                "nopve": {
                    "default": false,
                    "type": "boolean",
                    "id": "--nopve"
                },
                "Hyper": {
                    "default": 0.1,
                    "type": "number",
                    "id": "-H"
                },
                "bias_field": {
                    "default": false,
                    "type": "boolean",
                    "id": "-b"
                },
                "lowpass": {
                    "default": 20,
                    "type": "integer",
                    "id": "-I"
                },
                "image_type": {
                    "default": 1,
                    "maximum": 3,
                    "minimum": 1,
                    "type": "integer",
                    "id": "-t"
                },
                "segments": {
                    "default": false,
                    "type": "boolean",
                    "id": "-g"
                },
                "mixel": {
                    "default": 0.3,
                    "type": "number",
                    "id": "-R"
                },
                "init": {
                    "default": 15,
                    "type": "integer",
                    "id": "-W"
                },
                "nobias": {
                    "default": false,
                    "type": "boolean",
                    "id": "-N"
                },
                "iterations": {
                    "default": 4,
                    "type": "integer",
                    "id": "-I"
                },
                "tissue_classes": {
                    "default": 3,
                    "maximum": 4,
                    "minimum": 1,
                    "type": "integer",
                    "id": "-n"
                },
                "fixed": {
                    "default": 4,
                    "type": "integer",
                    "id": "-O"
                },
                "fHard": {
                    "default": 0.02,
                    "type": "number",
                    "id": "-f"
                },
                "restored_image": {
                    "default": false,
                    "type": "boolean",
                    "id": "-B"
                },
                "channels": {
                    "default": 1,
                    "type": "integer",
                    "id": "-S"
                }
            }
        }
    },
    "title": "Invocation manifest for FSL: FMRIB Automated Segmentation Tool (FAST4, v5.0.9)"
}