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