{
    "title": "Invocation manifest for QuickNAT Pytorch",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "config": {
            "type": "object",
            "properties": {
                "FREESURFER_LICENSE": {
                    "type": "string"
                },
                "device": {
                    "default": "CPU",
                    "type": "string",
                    "enum": [
                        "GPU",
                        "CPU"
                    ]
                },
                "device_num": {
                    "type": "integer",
                    "default": 0,
                    "minimum": 0,
                    "maximum": 7
                },
                "batch_size": {
                    "type": "integer",
                    "default": 32,
                    "maximum": 128,
                    "minimum": 2
                },
                "view_agg": {
                    "type": "boolean",
                    "default": false
                },
                "estimate_uncertainty": {
                    "type": "boolean",
                    "default": false
                },
                "mc_samples": {
                    "type": "integer",
                    "default": 10
                }
            },
            "required": [
                "device",
                "device_num",
                "batch_size",
                "view_agg",
                "estimate_uncertainty",
                "mc_samples"
            ]
        },
        "inputs": {
            "type": "object",
            "properties": {
                "T1W": {
                    "type": "object",
                    "properties": {
                        "type": {
                            "enum": [
                                "nifti"
                            ]
                        }
                    }
                },
                "coronal_model_path": {
                    "type": "object",
                    "properties": {}
                },
                "axial_model_path": {
                    "type": "object",
                    "properties": {}
                },
                "FreeSurferLicense": {
                    "type": "object",
                    "properties": {}
                }
            },
            "required": [
                "T1W"
            ]
        }
    },
    "required": [
        "config",
        "inputs"
    ]
}