{
    "$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",
                                "dicom"
                            ]
                        }
                    }
                }
            }
        },
        "config": {
            "required": [
                "brainstem_structures",
                "license_reference",
                "register_surfaces",
                "convert_surfaces",
                "license_email",
                "subject_id",
                "convert_volumes",
                "reconall_options",
                "license_number",
                "license_key",
                "convert_stats",
                "hippocampal_subfields"
            ],
            "type": "object",
            "properties": {
                "brainstem_structures": {
                    "default": true,
                    "type": "boolean"
                },
                "license_reference": {
                    "default": "",
                    "type": "string"
                },
                "register_surfaces": {
                    "default": false,
                    "type": "boolean"
                },
                "convert_surfaces": {
                    "default": true,
                    "type": "boolean"
                },
                "license_email": {
                    "default": "",
                    "type": "string"
                },
                "subject_id": {
                    "default": "s000",
                    "type": "string"
                },
                "convert_volumes": {
                    "default": true,
                    "type": "boolean"
                },
                "reconall_options": {
                    "default": "-all -qcache",
                    "type": "string"
                },
                "license_number": {
                    "default": "",
                    "type": "string"
                },
                "license_key": {
                    "default": "",
                    "type": "string"
                },
                "convert_stats": {
                    "default": true,
                    "type": "boolean"
                },
                "hippocampal_subfields": {
                    "default": true,
                    "type": "boolean"
                }
            }
        }
    },
    "title": "Invocation manifest for FreeSurfer (v6.0.0): Recon-All"
}