{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/mlos-config-mlos-jsonc-mlos-json5-mlos-json/_shared/latest--network-env-subschema.json",
  "title": "mlos_bench NetworkEnv config",
  "description": "Config instance for a mlos_bench NetworkEnv",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/microsoft/MLOS/main/mlos_bench/mlos_bench/config/schemas/environments/remote/network-env-subschema.json",
    "sourceSha256": "4ab8ec7617f697d691e969340cf20ceb0f8301c3e5587badd3a2ed2fcae13606"
  },
  "type": "object",
  "properties": {
    "class": {
      "enum": [
        "mlos_bench.environments.remote.NetworkEnv",
        "mlos_bench.environments.remote.network_env.NetworkEnv"
      ]
    },
    "config": {
      "type": "object",
      "allOf": [
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/mlos-config-mlos-jsonc-mlos-json5-mlos-json/_shared/latest--common-environment-subschemas.json#/$defs/common_environment_config"
        },
        {
          "properties": {
            "deprovision_on_teardown": {
              "description": "Whether to deprovision a (virtual) network environment during the teardown phase. Since virtual networks may be used for multiple experiments, this typically defaults to false.",
              "type": "boolean",
              "examples": [
                false
              ]
            }
          }
        }
      ],
      "unevaluatedProperties": false
    }
  },
  "$comment": "NOTE: We only list unique properties here. Others are inherited from the leaf-environment-subschema.json. Additionally, unevaluatedProperties handling is dealt with elsewhere.",
  "required": [
    "class"
  ]
}
