{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "required": [
        "config",
        "inputs"
    ],
    "type": "object",
    "properties": {
        "inputs": {
            "required": [
                "anatomical"
            ],
            "type": "object",
            "properties": {
                "anatomical": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti",
                                "mgh",
                                "dicom"
                            ]
                        }
                    }
                }
            }
        },
        "config": {
            "required": [
                "output_extension"
            ],
            "type": "object",
            "properties": {
                "output_extension": {
                    "default": ".nii.gz",
                    "type": "string"
                }
            }
        }
    },
    "title": "Invocation manifest for FreeSurfer: MBIRN Defacer for structural MRI (mri-deface v1.22)"
}