{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "config",
        "inputs"
    ],
    "type": "object",
    "properties": {
        "inputs": {
            "required": [
                "brain_template",
                "brain_probability_mask",
                "anatomical_image"
            ],
            "type": "object",
            "properties": {
                "extraction_registration_mask": {
                    "type": "object",
                    "properties": {}
                },
                "brain_template": {
                    "type": "object",
                    "properties": {}
                },
                "brain_probability_mask": {
                    "type": "object",
                    "properties": {}
                },
                "anatomical_image": {
                    "type": "object",
                    "properties": {}
                }
            }
        },
        "config": {
            "required": [
                "num_threads",
                "out_prefix",
                "image_suffix",
                "dimension"
            ],
            "type": "object",
            "properties": {
                "num_threads": {
                    "default": 1,
                    "type": "integer"
                },
                "use_floatingpoint_precision": {
                    "type": "integer",
                    "enum": [
                        0,
                        1
                    ]
                },
                "args": {
                    "type": "string"
                },
                "keep_temporary_files": {
                    "type": "integer"
                },
                "out_prefix": {
                    "default": "highres001_",
                    "type": "string"
                },
                "image_suffix": {
                    "default": "nii.gz",
                    "type": "string"
                },
                "debug": {
                    "type": "boolean"
                },
                "dimension": {
                    "default": 3,
                    "enum": [
                        3,
                        2
                    ],
                    "type": "integer"
                },
                "use_random_seeding": {
                    "type": "integer",
                    "enum": [
                        0,
                        1
                    ]
                }
            }
        }
    },
    "title": "Invocation manifest for BrainExtraction"
}