{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
        "CreationContextSchema": {
            "properties": {
                "created_at": {
                    "title": "created_at",
                    "type": "string",
                    "format": "date-time"
                },
                "created_by": {
                    "title": "created_by",
                    "type": "string"
                },
                "created_by_type": {
                    "title": "created_by_type",
                    "type": "string"
                },
                "last_modified_at": {
                    "title": "last_modified_at",
                    "type": "string",
                    "format": "date-time"
                },
                "last_modified_by": {
                    "title": "last_modified_by",
                    "type": "string"
                },
                "last_modified_by_type": {
                    "title": "last_modified_by_type",
                    "type": "string"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "BanditPolicySchema": {
            "properties": {
                "delay_evaluation": {
                    "title": "delay_evaluation",
                    "type": [
                        "number",
                        "null"
                    ],
                    "format": "integer"
                },
                "evaluation_interval": {
                    "title": "evaluation_interval",
                    "type": [
                        "number",
                        "null"
                    ],
                    "format": "integer"
                },
                "slack_amount": {
                    "title": "slack_amount",
                    "type": [
                        "number",
                        "null"
                    ],
                    "format": "float"
                },
                "slack_factor": {
                    "title": "slack_factor",
                    "type": [
                        "number",
                        "null"
                    ],
                    "format": "float"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "bandit"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "MedianStoppingPolicySchema": {
            "properties": {
                "delay_evaluation": {
                    "title": "delay_evaluation",
                    "type": [
                        "number",
                        "null"
                    ],
                    "format": "integer"
                },
                "evaluation_interval": {
                    "title": "evaluation_interval",
                    "type": [
                        "number",
                        "null"
                    ],
                    "format": "integer"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "median_stopping"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "TruncationSelectionPolicySchema": {
            "properties": {
                "delay_evaluation": {
                    "title": "delay_evaluation",
                    "type": [
                        "number",
                        "null"
                    ],
                    "format": "integer"
                },
                "evaluation_interval": {
                    "title": "evaluation_interval",
                    "type": [
                        "number",
                        "null"
                    ],
                    "format": "integer"
                },
                "truncation_percentage": {
                    "title": "truncation_percentage",
                    "type": "number",
                    "format": "integer"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "truncation_selection"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "truncation_percentage",
                "type"
            ],
            "additionalProperties": false
        },
        "ManagedIdentitySchema": {
            "properties": {
                "client_id": {
                    "title": "client_id",
                    "type": "string"
                },
                "msi_resource_id": {
                    "title": "msi_resource_id",
                    "type": "string"
                },
                "object_id": {
                    "title": "object_id",
                    "type": "string"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "managed",
                        "managed_identity"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "AMLTokenIdentitySchema": {
            "properties": {
                "type": {
                    "type": "string",
                    "enum": [
                        "aml_token"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "UserIdentitySchema": {
            "properties": {
                "type": {
                    "type": "string",
                    "enum": [
                        "user_identity"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "DataInputSchema": {
            "properties": {
                "datastore": {
                    "title": "datastore",
                    "type": "string",
                    "description": "Name of the datastore to upload local paths to.",
                    "arm_type": "datastores"
                },
                "mode": {
                    "type": "string",
                    "enum": [
                        "download",
                        "ro_mount",
                        "direct"
                    ],
                    "title": "mode"
                },
                "path": {
                    "oneOf": [
                        {
                            "type": "string",
                            "pattern": "^azureml:.+",
                            "arm_type": "data",
                            "title": "path"
                        },
                        {
                            "title": "path",
                            "type": "string",
                            "pattern": "^(http(s)?):.*"
                        },
                        {
                            "title": "path",
                            "type": "string",
                            "pattern": "^(wasb(s)?):.*"
                        },
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path",
                            "pattern": "^file:.*"
                        },
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path",
                            "pattern": "^(?!(azureml|http(s)?|wasb(s)?|file):).*"
                        }
                    ]
                },
                "path_on_compute": {
                    "oneOf": [
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path_on_compute",
                            "pattern": "^file:.*"
                        }
                    ]
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "uri_file",
                        "uri_folder"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "ModelInputSchema": {
            "properties": {
                "datastore": {
                    "title": "datastore",
                    "type": "string",
                    "description": "Name of the datastore to upload local paths to.",
                    "arm_type": "datastores"
                },
                "mode": {
                    "type": "string",
                    "enum": [
                        "download",
                        "ro_mount",
                        "direct"
                    ],
                    "title": "mode"
                },
                "path": {
                    "oneOf": [
                        {
                            "type": "string",
                            "pattern": "^azureml:.+",
                            "arm_type": "models",
                            "title": "path"
                        },
                        {
                            "title": "path",
                            "type": "string",
                            "pattern": "^(http(s)?):.*"
                        },
                        {
                            "title": "path",
                            "type": "string",
                            "pattern": "^(wasb(s)?):.*"
                        },
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path",
                            "pattern": "^file:.*"
                        },
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path",
                            "pattern": "^(?!(azureml|http(s)?|wasb(s)?|file):).*"
                        }
                    ]
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "custom_model",
                        "mlflow_model",
                        "triton_model"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "MLTableInputSchema": {
            "properties": {
                "datastore": {
                    "title": "datastore",
                    "type": "string",
                    "description": "Name of the datastore to upload local paths to.",
                    "arm_type": "datastores"
                },
                "mode": {
                    "type": "string",
                    "enum": [
                        "download",
                        "ro_mount",
                        "eval_mount",
                        "eval_download",
                        "direct"
                    ],
                    "title": "mode"
                },
                "path": {
                    "oneOf": [
                        {
                            "type": "string",
                            "pattern": "^azureml:.+",
                            "arm_type": "data",
                            "title": "path"
                        },
                        {
                            "title": "path",
                            "type": "string",
                            "pattern": "^(http(s)?):.*"
                        },
                        {
                            "title": "path",
                            "type": "string",
                            "pattern": "^(wasb(s)?):.*"
                        },
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path",
                            "pattern": "^file:.*"
                        },
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path",
                            "pattern": "^(?!(azureml|http(s)?|wasb(s)?|file):).*"
                        }
                    ]
                },
                "path_on_compute": {
                    "oneOf": [
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path_on_compute",
                            "pattern": "^file:.*"
                        }
                    ]
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "mltable"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "InputLiteralValueSchema": {
            "properties": {
                "value": {
                    "anyOf": [
                        {
                            "title": "value",
                            "type": "string"
                        },
                        {
                            "title": "value",
                            "type": "boolean"
                        },
                        {
                            "title": "value",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "value",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "SweepJobLimitsSchema": {
            "properties": {
                "max_concurrent_trials": {
                    "title": "max_concurrent_trials",
                    "type": "number",
                    "format": "integer",
                    "description": "Sweep Job max concurrent trials."
                },
                "max_total_trials": {
                    "title": "max_total_trials",
                    "type": "number",
                    "format": "integer",
                    "description": "Sweep Job max total trials."
                },
                "timeout": {
                    "title": "timeout",
                    "type": "number",
                    "format": "integer",
                    "description": "The max run duration in Seconds, after which the job will be cancelled."
                },
                "trial_timeout": {
                    "title": "trial_timeout",
                    "type": "number",
                    "format": "integer",
                    "description": "Sweep Job Trial timeout value."
                }
            },
            "type": "object",
            "required": [
                "max_total_trials"
            ],
            "additionalProperties": false
        },
        "SweepObjectiveSchema": {
            "properties": {
                "goal": {
                    "type": "string",
                    "enum": [
                        "minimize",
                        "maximize"
                    ],
                    "title": "goal"
                },
                "primary_metric": {
                    "title": "primary_metric",
                    "type": "string"
                }
            },
            "type": "object",
            "required": [
                "goal",
                "primary_metric"
            ],
            "additionalProperties": false
        },
        "OutputSchema": {
            "properties": {
                "mode": {
                    "type": "string",
                    "enum": [
                        "mount",
                        "upload",
                        "rw_mount",
                        "direct"
                    ],
                    "title": "mode"
                },
                "name": {
                    "title": "name",
                    "type": "string"
                },
                "path": {
                    "title": "path",
                    "type": "string"
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "uri_file",
                        "uri_folder",
                        "custom_model",
                        "mlflow_model",
                        "mltable",
                        "triton_model"
                    ],
                    "title": "type"
                },
                "version": {
                    "anyOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "integer"
                        }
                    ],
                    "title": "version"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "QueueSettingsSchema": {
            "properties": {
                "job_tier": {
                    "type": "string",
                    "enum": [
                        "spot",
                        "basic",
                        "standard",
                        "premium",
                        "null"
                    ],
                    "title": "job_tier"
                },
                "priority": {
                    "type": "string",
                    "enum": [
                        "low",
                        "medium",
                        "high"
                    ],
                    "title": "priority"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "JobResourceConfigurationSchema": {
            "properties": {
                "docker_args": {
                    "title": "docker_args",
                    "type": "string",
                    "description": "arguments to pass to the Docker run command."
                },
                "instance_count": {
                    "title": "instance_count",
                    "type": "number",
                    "format": "integer"
                },
                "instance_type": {
                    "title": "instance_type",
                    "type": "string",
                    "description": "The instance type to make available to this job."
                },
                "locations": {
                    "title": "locations",
                    "type": "array",
                    "items": {
                        "title": "locations",
                        "type": "string"
                    }
                },
                "max_instance_count": {
                    "title": "max_instance_count",
                    "type": "number",
                    "format": "integer",
                    "description": "The maximum number of instances to make available to this job."
                },
                "properties": {
                    "title": "properties",
                    "type": "object",
                    "additionalProperties": {}
                },
                "shm_size": {
                    "title": "shm_size",
                    "type": "string",
                    "description": "The size of the docker container's shared memory block. This should be in the format of `<number><unit>` where number as to be greater than 0 and the unit can be one of `b` (bytes), `k` (kilobytes), `m` (megabytes), or `g` (gigabytes)."
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "RandomSamplingAlgorithmSchema": {
            "properties": {
                "logbase": {
                    "anyOf": [
                        {
                            "title": "logbase",
                            "type": "number",
                            "format": "decimal"
                        },
                        {
                            "title": "logbase",
                            "type": "string"
                        }
                    ],
                    "title": "logbase"
                },
                "rule": {
                    "type": "string",
                    "enum": [
                        "random",
                        "sobol"
                    ],
                    "title": "rule"
                },
                "seed": {
                    "title": "seed",
                    "type": "number",
                    "format": "integer"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "random"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "GridSamplingAlgorithmSchema": {
            "properties": {
                "type": {
                    "type": "string",
                    "enum": [
                        "grid"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "BayesianSamplingAlgorithmSchema": {
            "properties": {
                "type": {
                    "type": "string",
                    "enum": [
                        "bayesian"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "ChoiceSchema": {
            "properties": {
                "type": {
                    "type": "string",
                    "enum": [
                        "choice"
                    ],
                    "title": "type"
                },
                "values": {
                    "title": "values",
                    "type": "array",
                    "items": {
                        "anyOf": [
                            {
                                "title": "values",
                                "type": "number",
                                "format": "integer"
                            },
                            {
                                "title": "values",
                                "type": "string"
                            },
                            {
                                "title": "values",
                                "type": "number",
                                "format": "float"
                            },
                            {
                                "title": "values",
                                "type": "object",
                                "additionalProperties": {
                                    "anyOf": [
                                        {
                                            "type": "object",
                                            "$ref": "#/definitions/ChoiceSchema"
                                        },
                                        {
                                            "type": "object",
                                            "$ref": "#/definitions/NormalSchema"
                                        },
                                        {
                                            "type": "object",
                                            "$ref": "#/definitions/QNormalSchema"
                                        },
                                        {
                                            "type": "object",
                                            "$ref": "#/definitions/RandintSchema"
                                        },
                                        {
                                            "type": "object",
                                            "$ref": "#/definitions/UniformSchema"
                                        },
                                        {
                                            "type": "object",
                                            "$ref": "#/definitions/QUniformSchema"
                                        },
                                        {
                                            "title": "values",
                                            "type": "number",
                                            "format": "integer"
                                        },
                                        {
                                            "title": "values",
                                            "type": "number",
                                            "format": "float"
                                        },
                                        {
                                            "title": "values",
                                            "type": "string"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "NormalSchema": {
            "properties": {
                "mu": {
                    "anyOf": [
                        {
                            "title": "mu",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "mu",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "sigma": {
                    "anyOf": [
                        {
                            "title": "sigma",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "sigma",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "normal",
                        "lognormal"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "mu",
                "sigma",
                "type"
            ],
            "additionalProperties": false
        },
        "QNormalSchema": {
            "properties": {
                "mu": {
                    "anyOf": [
                        {
                            "title": "mu",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "mu",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "q": {
                    "anyOf": [
                        {
                            "title": "q",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "q",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "sigma": {
                    "anyOf": [
                        {
                            "title": "sigma",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "sigma",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "qnormal",
                        "qlognormal"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "mu",
                "q",
                "sigma",
                "type"
            ],
            "additionalProperties": false
        },
        "RandintSchema": {
            "properties": {
                "type": {
                    "type": "string",
                    "enum": [
                        "randint"
                    ],
                    "title": "type"
                },
                "upper": {
                    "title": "upper",
                    "type": "number",
                    "format": "integer"
                }
            },
            "type": "object",
            "required": [
                "type",
                "upper"
            ],
            "additionalProperties": false
        },
        "UniformSchema": {
            "properties": {
                "max_value": {
                    "anyOf": [
                        {
                            "title": "max_value",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "max_value",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "min_value": {
                    "anyOf": [
                        {
                            "title": "min_value",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "min_value",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "uniform",
                        "loguniform"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "max_value",
                "min_value",
                "type"
            ],
            "additionalProperties": false
        },
        "QUniformSchema": {
            "properties": {
                "max_value": {
                    "anyOf": [
                        {
                            "title": "max_value",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "max_value",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "min_value": {
                    "anyOf": [
                        {
                            "title": "min_value",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "min_value",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "q": {
                    "anyOf": [
                        {
                            "title": "q",
                            "type": "number",
                            "format": "integer"
                        },
                        {
                            "title": "q",
                            "type": "number",
                            "format": "float"
                        }
                    ]
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "quniform",
                        "qloguniform"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "max_value",
                "min_value",
                "q",
                "type"
            ],
            "additionalProperties": false
        },
        "SshJobServiceSchema": {
            "properties": {
                "endpoint": {
                    "title": "endpoint",
                    "type": "string",
                    "readonly": true
                },
                "error_message": {
                    "title": "error_message",
                    "type": "string",
                    "readonly": true
                },
                "nodes": {
                    "title": "nodes",
                    "type": "string"
                },
                "port": {
                    "title": "port",
                    "type": "number",
                    "format": "integer"
                },
                "properties": {
                    "title": "properties",
                    "type": "object",
                    "additionalProperties": {}
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "ssh_public_keys": {
                    "title": "ssh_public_keys",
                    "type": "string"
                },
                "status": {
                    "title": "status",
                    "type": "string",
                    "readonly": true
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "ssh"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "TensorBoardJobServiceSchema": {
            "properties": {
                "endpoint": {
                    "title": "endpoint",
                    "type": "string",
                    "readonly": true
                },
                "error_message": {
                    "title": "error_message",
                    "type": "string",
                    "readonly": true
                },
                "log_dir": {
                    "title": "log_dir",
                    "type": "string"
                },
                "nodes": {
                    "title": "nodes",
                    "type": "string"
                },
                "port": {
                    "title": "port",
                    "type": "number",
                    "format": "integer"
                },
                "properties": {
                    "title": "properties",
                    "type": "object",
                    "additionalProperties": {}
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "status": {
                    "title": "status",
                    "type": "string",
                    "readonly": true
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "tensor_board"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "VsCodeJobServiceSchema": {
            "properties": {
                "endpoint": {
                    "title": "endpoint",
                    "type": "string",
                    "readonly": true
                },
                "error_message": {
                    "title": "error_message",
                    "type": "string",
                    "readonly": true
                },
                "nodes": {
                    "title": "nodes",
                    "type": "string"
                },
                "port": {
                    "title": "port",
                    "type": "number",
                    "format": "integer"
                },
                "properties": {
                    "title": "properties",
                    "type": "object",
                    "additionalProperties": {}
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "status": {
                    "title": "status",
                    "type": "string",
                    "readonly": true
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "vs_code"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "JupyterLabJobServiceSchema": {
            "properties": {
                "endpoint": {
                    "title": "endpoint",
                    "type": "string",
                    "readonly": true
                },
                "error_message": {
                    "title": "error_message",
                    "type": "string",
                    "readonly": true
                },
                "nodes": {
                    "title": "nodes",
                    "type": "string"
                },
                "port": {
                    "title": "port",
                    "type": "number",
                    "format": "integer"
                },
                "properties": {
                    "title": "properties",
                    "type": "object",
                    "additionalProperties": {}
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "status": {
                    "title": "status",
                    "type": "string",
                    "readonly": true
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "jupyter_lab"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "JobServiceSchema": {
            "properties": {
                "endpoint": {
                    "title": "endpoint",
                    "type": "string",
                    "readonly": true
                },
                "error_message": {
                    "title": "error_message",
                    "type": "string",
                    "readonly": true
                },
                "nodes": {
                    "title": "nodes",
                    "type": "string"
                },
                "port": {
                    "title": "port",
                    "type": "number",
                    "format": "integer"
                },
                "properties": {
                    "title": "properties",
                    "type": "object",
                    "additionalProperties": {}
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "status": {
                    "title": "status",
                    "type": "string",
                    "readonly": true
                },
                "type": {
                    "anyOf": [
                        {
                            "type": "string",
                            "enum": [
                                "jupyter_lab",
                                "ssh",
                                "tensor_board",
                                "vs_code"
                            ],
                            "title": "type"
                        },
                        {
                            "title": "type",
                            "type": "string"
                        }
                    ]
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "ParameterizedCommandSchema": {
            "properties": {
                "code": {
                    "anyOf": [
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "code"
                        },
                        {
                            "title": "code",
                            "type": "string"
                        },
                        {
                            "type": "string",
                            "pattern": "^git+",
                            "title": "code"
                        },
                        {
                            "type": "string",
                            "pattern": "^azureml://registries/.*",
                            "arm_type": "codes",
                            "title": "code"
                        },
                        {
                            "type": "string",
                            "pattern": "^azureml://feeds/.*",
                            "arm_type": "codes",
                            "title": "code"
                        },
                        {
                            "type": "string",
                            "pattern": "^azureml:.+",
                            "arm_type": "codes",
                            "title": "code"
                        }
                    ]
                },
                "command": {
                    "title": "command",
                    "type": "string",
                    "description": "The command run and the parameters passed. This string may contain place holders of inputs in {}. "
                },
                "distribution": {
                    "anyOf": [
                        {
                            "type": "object",
                            "$ref": "#/definitions/PyTorchDistributionSchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/TensorFlowDistributionSchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/MPIDistributionSchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/RayDistributionSchema"
                        }
                    ]
                },
                "environment": {
                    "anyOf": [
                        {
                            "type": "object",
                            "$ref": "#/definitions/AnonymousEnvironmentSchema"
                        },
                        {
                            "type": "string",
                            "pattern": "^azureml://registries/.*",
                            "arm_type": "environments",
                            "title": "environment"
                        },
                        {
                            "type": "string",
                            "pattern": "^azureml:.+",
                            "arm_type": "environments",
                            "title": "environment"
                        },
                        {
                            "type": "string",
                            "pattern": "^file:.*"
                        }
                    ]
                },
                "environment_variables": {
                    "anyOf": [
                        {
                            "title": "environment_variables",
                            "type": "object",
                            "additionalProperties": {
                                "title": "environment_variables",
                                "type": "string"
                            }
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/InputLiteralValueSchema"
                        }
                    ]
                },
                "queue_settings": {
                    "type": "object",
                    "$ref": "#/definitions/QueueSettingsSchema"
                },
                "resources": {
                    "type": "object",
                    "$ref": "#/definitions/JobResourceConfigurationSchema"
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                }
            },
            "type": "object",
            "required": [
                "command",
                "environment"
            ],
            "additionalProperties": false
        },
        "PyTorchDistributionSchema": {
            "properties": {
                "process_count_per_instance": {
                    "title": "process_count_per_instance",
                    "type": "number",
                    "format": "integer"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "pytorch"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "TensorFlowDistributionSchema": {
            "properties": {
                "parameter_server_count": {
                    "title": "parameter_server_count",
                    "type": "number",
                    "format": "integer"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "tensorflow"
                    ],
                    "title": "type"
                },
                "worker_count": {
                    "title": "worker_count",
                    "type": "number",
                    "format": "integer"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "MPIDistributionSchema": {
            "properties": {
                "process_count_per_instance": {
                    "title": "process_count_per_instance",
                    "type": "number",
                    "format": "integer"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "mpi"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "RayDistributionSchema": {
            "properties": {
                "address": {
                    "title": "address",
                    "type": "string"
                },
                "dashboard_port": {
                    "title": "dashboard_port",
                    "type": "number",
                    "format": "integer"
                },
                "head_node_additional_args": {
                    "title": "head_node_additional_args",
                    "type": "string"
                },
                "include_dashboard": {
                    "title": "include_dashboard",
                    "type": "boolean"
                },
                "port": {
                    "title": "port",
                    "type": "number",
                    "format": "integer"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "ray"
                    ],
                    "title": "type"
                },
                "worker_node_additional_args": {
                    "title": "worker_node_additional_args",
                    "type": "string"
                }
            },
            "type": "object",
            "required": [
                "type"
            ],
            "additionalProperties": false
        },
        "AnonymousEnvironmentSchema": {
            "properties": {
                "auto_delete_setting": {
                    "type": "object",
                    "$ref": "#/definitions/AutoDeleteSettingSchema"
                },
                "build": {
                    "type": "object",
                    "$ref": "#/definitions/BuildContextSchema",
                    "description": "Docker build context to create the environment. Mutually exclusive with image"
                },
                "conda_file": {
                    "anyOf": [
                        {
                            "title": "conda_file",
                            "type": "string"
                        },
                        {
                            "title": "conda_file",
                            "type": "string"
                        }
                    ]
                },
                "creation_context": {
                    "type": "object",
                    "$ref": "#/definitions/CreationContextSchema"
                },
                "datastore": {
                    "title": "datastore",
                    "type": "string",
                    "description": "Name of the datastore to upload to.",
                    "arm_type": "datastores"
                },
                "description": {
                    "title": "description",
                    "type": "string"
                },
                "id": {
                    "anyOf": [
                        {
                            "type": "string",
                            "pattern": "^azureml://registries/.*",
                            "arm_type": null,
                            "title": "id",
                            "readonly": true
                        },
                        {
                            "type": "string",
                            "pattern": "^azureml:.+",
                            "arm_type": "environments",
                            "title": "id",
                            "readonly": true
                        }
                    ]
                },
                "image": {
                    "title": "image",
                    "type": "string"
                },
                "inference_config": {
                    "type": "object",
                    "$ref": "#/definitions/InferenceConfigSchema"
                },
                "intellectual_property": {
                    "type": "object",
                    "$ref": "#/definitions/IntellectualPropertySchema"
                },
                "latest_version": {
                    "title": "latest_version",
                    "type": "string",
                    "readonly": true
                },
                "name": {
                    "title": "name",
                    "type": "string"
                },
                "os_type": {
                    "type": "string",
                    "enum": [
                        "linux",
                        "windows"
                    ],
                    "title": "os_type"
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "tags": {
                    "title": "tags",
                    "type": "object",
                    "additionalProperties": {}
                },
                "version": {
                    "anyOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "integer"
                        }
                    ],
                    "title": "version"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "AutoDeleteSettingSchema": {
            "properties": {
                "condition": {
                    "type": "string",
                    "enum": [
                        "created_greater_than",
                        "last_accessed_greater_than"
                    ],
                    "title": "condition"
                },
                "value": {
                    "title": "value",
                    "type": "string"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "BuildContextSchema": {
            "properties": {
                "dockerfile_path": {
                    "title": "dockerfile_path",
                    "type": "string"
                },
                "path": {
                    "anyOf": [
                        {
                            "type": "string",
                            "arm_type": "local_path",
                            "title": "path"
                        },
                        {
                            "title": "path",
                            "type": "string"
                        }
                    ]
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "InferenceConfigSchema": {
            "properties": {
                "liveness_route": {
                    "type": "object",
                    "$ref": "#/definitions/RouteSchema"
                },
                "readiness_route": {
                    "type": "object",
                    "$ref": "#/definitions/RouteSchema"
                },
                "scoring_route": {
                    "type": "object",
                    "$ref": "#/definitions/RouteSchema"
                }
            },
            "type": "object",
            "required": [
                "liveness_route",
                "readiness_route",
                "scoring_route"
            ],
            "additionalProperties": false
        },
        "RouteSchema": {
            "properties": {
                "path": {
                    "title": "path",
                    "type": "string"
                },
                "port": {
                    "title": "port",
                    "type": "number",
                    "format": "integer"
                }
            },
            "type": "object",
            "required": [
                "path",
                "port"
            ],
            "additionalProperties": false
        },
        "IntellectualPropertySchema": {
            "properties": {
                "protection_level": {
                    "type": "string",
                    "enum": [
                        "all",
                        "none"
                    ],
                    "title": "protection_level"
                },
                "publisher": {
                    "title": "publisher",
                    "type": "string"
                }
            },
            "type": "object",
            "additionalProperties": false
        },
        "SweepJobSchema": {
            "properties": {
                "compute": {
                    "anyOf": [
                        {
                            "type": "string",
                            "enum": [
                                "local"
                            ],
                            "title": "compute"
                        },
                        {
                            "type": "string",
                            "pattern": "^azureml:.+",
                            "arm_type": "computes",
                            "title": "compute"
                        },
                        {
                            "title": "compute",
                            "type": "string"
                        }
                    ]
                },
                "creation_context": {
                    "type": "object",
                    "$ref": "#/definitions/CreationContextSchema"
                },
                "description": {
                    "title": "description",
                    "type": "string"
                },
                "display_name": {
                    "title": "display_name",
                    "type": "string"
                },
                "early_termination": {
                    "anyOf": [
                        {
                            "type": "object",
                            "$ref": "#/definitions/BanditPolicySchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/MedianStoppingPolicySchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/TruncationSelectionPolicySchema"
                        }
                    ]
                },
                "experiment_name": {
                    "title": "experiment_name",
                    "type": "string"
                },
                "id": {
                    "type": "string",
                    "pattern": "^azureml:.+",
                    "arm_type": "jobs",
                    "title": "id",
                    "readonly": true
                },
                "identity": {
                    "anyOf": [
                        {
                            "type": "object",
                            "$ref": "#/definitions/ManagedIdentitySchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/AMLTokenIdentitySchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/UserIdentitySchema"
                        }
                    ]
                },
                "inputs": {
                    "title": "inputs",
                    "type": "object",
                    "additionalProperties": {
                        "oneOf": [
                            {
                                "type": "object",
                                "$ref": "#/definitions/DataInputSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/ModelInputSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/MLTableInputSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/InputLiteralValueSchema"
                            },
                            {
                                "anyOf": [
                                    {
                                        "title": "inputs",
                                        "type": "number",
                                        "format": "integer"
                                    },
                                    {
                                        "title": "inputs",
                                        "type": "number",
                                        "format": "float"
                                    },
                                    {
                                        "title": "inputs",
                                        "type": "string"
                                    },
                                    {
                                        "title": "inputs",
                                        "type": "boolean"
                                    }
                                ]
                            }
                        ]
                    }
                },
                "limits": {
                    "type": "object",
                    "$ref": "#/definitions/SweepJobLimitsSchema"
                },
                "log_files": {
                    "title": "log_files",
                    "type": "object",
                    "additionalProperties": {
                        "title": "log_files",
                        "type": "string"
                    }
                },
                "name": {
                    "title": "name",
                    "type": "string"
                },
                "objective": {
                    "type": "object",
                    "$ref": "#/definitions/SweepObjectiveSchema",
                    "description": "The name and optimization goal of the primary metric."
                },
                "outputs": {
                    "title": "outputs",
                    "type": "object",
                    "additionalProperties": {
                        "type": "object",
                        "$ref": "#/definitions/OutputSchema"
                    }
                },
                "properties": {
                    "title": "properties",
                    "type": "object",
                    "additionalProperties": {
                        "title": "properties",
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "queue_settings": {
                    "type": "object",
                    "$ref": "#/definitions/QueueSettingsSchema"
                },
                "resources": {
                    "type": "object",
                    "$ref": "#/definitions/JobResourceConfigurationSchema"
                },
                "sampling_algorithm": {
                    "anyOf": [
                        {
                            "type": "string",
                            "enum": [
                                "bayesian",
                                "grid",
                                "random"
                            ],
                            "title": "sampling_algorithm"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/RandomSamplingAlgorithmSchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/GridSamplingAlgorithmSchema"
                        },
                        {
                            "type": "object",
                            "$ref": "#/definitions/BayesianSamplingAlgorithmSchema"
                        }
                    ]
                },
                "$schema": {
                    "title": "$schema",
                    "type": "string",
                    "readonly": true
                },
                "search_space": {
                    "title": "search_space",
                    "type": "object",
                    "additionalProperties": {
                        "anyOf": [
                            {
                                "type": "object",
                                "$ref": "#/definitions/ChoiceSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/UniformSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/QUniformSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/NormalSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/QNormalSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/RandintSchema"
                            }
                        ]
                    }
                },
                "services": {
                    "title": "services",
                    "type": "object",
                    "additionalProperties": {
                        "oneOf": [
                            {
                                "type": "object",
                                "$ref": "#/definitions/SshJobServiceSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/TensorBoardJobServiceSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/VsCodeJobServiceSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/JupyterLabJobServiceSchema"
                            },
                            {
                                "type": "object",
                                "$ref": "#/definitions/JobServiceSchema"
                            }
                        ]
                    }
                },
                "status": {
                    "title": "status",
                    "type": "string",
                    "readonly": true
                },
                "tags": {
                    "title": "tags",
                    "type": "object",
                    "additionalProperties": {
                        "title": "tags",
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "trial": {
                    "type": "object",
                    "$ref": "#/definitions/ParameterizedCommandSchema"
                },
                "type": {
                    "type": "string",
                    "enum": [
                        "sweep"
                    ],
                    "title": "type"
                }
            },
            "type": "object",
            "required": [
                "limits",
                "objective",
                "trial",
                "type"
            ],
            "additionalProperties": false
        }
    },
    "$ref": "#/definitions/SweepJobSchema"
}