{
    "$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_mgh",
                "output_nifti"
            ],
            "type": "object",
            "properties": {
                "output_mgh": {
                    "default": false,
                    "type": "boolean"
                },
                "output_nifti": {
                    "default": true,
                    "type": "boolean"
                }
            }
        }
    },
    "title": "Invocation manifest for FreeSurfer: MBIRN Defacer for structural MRI (mri-deface v1.22)"
}