{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-machine-learning/json-schema/microsoft-azure-machine-learning-environment-version-resource-arm-paginated-result-schema.json",
  "title": "EnvironmentVersionResourceArmPaginatedResult",
  "description": "A paginated list of EnvironmentVersion entities.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-machine-learning-environmentversionoperationgroup-api-openapi.yml#/components/schemas/EnvironmentVersionResourceArmPaginatedResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The EnvironmentVersion items on this page",
      "items": {
        "$ref": "#/$defs/EnvironmentVersion"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AssetBase": {
      "type": "object",
      "properties": {
        "isAnonymous": {
          "type": "boolean",
          "description": "If the name version are system generated (anonymous registration).",
          "default": false,
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "isArchived": {
          "type": "boolean",
          "description": "Is the asset archived?",
          "default": false,
          "x-ms-mutability": [
            "read",
            "update",
            "create"
          ]
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ResourceBase"
        }
      ]
    },
    "AssetProvisioningState": {
      "type": "string",
      "description": "Provisioning state of registry asset.",
      "enum": [
        "Succeeded",
        "Failed",
        "Canceled",
        "Creating",
        "Updating",
        "Deleting"
      ],
      "x-ms-enum": {
        "name": "AssetProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Succeeded",
            "value": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed"
          },
          {
            "name": "Canceled",
            "value": "Canceled"
          },
          {
            "name": "Creating",
            "value": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating"
          },
          {
            "name": "Deleting",
            "value": "Deleting"
          }
        ]
      },
      "readOnly": true
    },
    "BuildContext": {
      "type": "object",
      "description": "Configuration settings for Docker build context",
      "properties": {
        "contextUri": {
          "type": "string",
          "description": "[Required] URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.\n<seealso href=\"https://docs.docker.com/engine/reference/commandline/build/#extended-description\" />",
          "minLength": 1,
          "pattern": "[a-zA-Z0-9_]",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "dockerfilePath": {
          "type": "string",
          "description": "Path to the Dockerfile in the build context.\n<seealso href=\"https://docs.docker.com/engine/reference/builder/\" />",
          "default": "Dockerfile",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        }
      },
      "required": [
        "contextUri"
      ]
    },
    "EnvironmentType": {
      "type": "string",
      "description": "Environment type is either user created or curated by Azure ML service",
      "enum": [
        "Curated",
        "UserCreated"
      ],
      "x-ms-enum": {
        "name": "EnvironmentType",
        "modelAsString": true,
        "values": [
          {
            "name": "Curated",
            "value": "Curated"
          },
          {
            "name": "UserCreated",
            "value": "UserCreated"
          }
        ]
      }
    },
    "EnvironmentVersion": {
      "type": "object",
      "description": "Azure Resource Manager resource envelope.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/EnvironmentVersionProperties",
          "description": "[Required] Additional attributes of the entity."
        }
      },
      "required": [
        "properties"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "EnvironmentVersionProperties": {
      "type": "object",
      "description": "Environment version details.",
      "properties": {
        "autoRebuild": {
          "type": "string",
          "description": "AutoRebuild setting for the derived image",
          "default": "Disabled",
          "enum": [
            "Disabled",
            "OnBaseImageUpdate"
          ],
          "x-ms-enum": {
            "name": "AutoRebuildSetting",
            "modelAsString": true,
            "values": [
              {
                "name": "Disabled",
                "value": "Disabled"
              },
              {
                "name": "OnBaseImageUpdate",
                "value": "OnBaseImageUpdate"
              }
            ]
          },
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "build": {
          "$ref": "#/$defs/BuildContext",
          "description": "Configuration settings for Docker build context.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "condaFile": {
          "type": "string",
          "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\n<see href=\"https://repo2docker.readthedocs.io/en/latest/config_files.html#environment-yml-install-a-conda-environment\" />",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "environmentType": {
          "$ref": "#/$defs/EnvironmentType",
          "description": "Environment type is either user managed or curated by the Azure ML service\n<see href=\"https://docs.microsoft.com/en-us/azure/machine-learning/resource-curated-environments\" />",
          "readOnly": true
        },
        "image": {
          "type": "string",
          "description": "Name of the image that will be used for the environment.\n<seealso href=\"https://docs.microsoft.com/en-us/azure/machine-learning/how-to-deploy-custom-docker-image#use-a-custom-base-image\" />",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "inferenceConfig": {
          "$ref": "#/$defs/InferenceContainerProperties",
          "description": "Defines configuration specific to inference.",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "osType": {
          "type": "string",
          "description": "The type of operating system.",
          "default": "Linux",
          "enum": [
            "Linux",
            "Windows"
          ],
          "x-ms-enum": {
            "name": "OperatingSystemType",
            "modelAsString": true,
            "values": [
              {
                "name": "Linux",
                "value": "Linux"
              },
              {
                "name": "Windows",
                "value": "Windows"
              }
            ]
          },
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "provisioningState": {
          "$ref": "#/$defs/AssetProvisioningState",
          "description": "Provisioning state for the environment version.",
          "readOnly": true
        },
        "stage": {
          "type": [
            "string",
            "null"
          ],
          "description": "Stage in the environment lifecycle assigned to this environment"
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/AssetBase"
        }
      ]
    },
    "InferenceContainerProperties": {
      "type": "object",
      "properties": {
        "livenessRoute": {
          "$ref": "#/$defs/Route",
          "description": "The route to check the liveness of the inference server container."
        },
        "readinessRoute": {
          "$ref": "#/$defs/Route",
          "description": "The route to check the readiness of the inference server container."
        },
        "scoringRoute": {
          "$ref": "#/$defs/Route",
          "description": "The port to send the scoring requests to, within the inference server container."
        },
        "startupRoute": {
          "$ref": "#/$defs/Route",
          "description": "The route to check the startup of the application in the container."
        }
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "description": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "type": "object",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "ResourceBase": {
      "type": "object",
      "properties": {
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The asset description text."
        },
        "properties": {
          "type": [
            "object",
            "null"
          ],
          "description": "The asset property dictionary.",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "tags": {
          "type": [
            "object",
            "null"
          ],
          "description": "Tag dictionary. Tags can be added, removed, and updated.",
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "Route": {
      "type": "object",
      "properties": {
        "path": {
          "type": "string",
          "description": "[Required] The path for the route.",
          "minLength": 1,
          "pattern": "[a-zA-Z0-9_]"
        },
        "port": {
          "type": "integer",
          "format": "int32",
          "description": "[Required] The port for the route."
        }
      },
      "required": [
        "path",
        "port"
      ]
    }
  }
}