{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-test-labs/json-schema/azure-test-labs-dtl-environment-list-schema.json",
  "title": "DtlEnvironmentList",
  "description": "The response of a list operation.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-test-labs-environments-api-openapi.yml#/components/schemas/DtlEnvironmentList",
  "properties": {
    "nextLink": {
      "description": "Link for next set of results.",
      "type": "string"
    },
    "value": {
      "description": "Results of the list operation.",
      "items": {
        "$ref": "#/$defs/DtlEnvironment"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "ArmTemplateParameterProperties": {
      "description": "Properties of an Azure Resource Manager template parameter.",
      "properties": {
        "name": {
          "description": "The name of the template parameter.",
          "type": "string"
        },
        "value": {
          "description": "The value of the template parameter.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "DtlEnvironment": {
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ],
      "description": "An environment, which is essentially an ARM template deployment.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/EnvironmentProperties",
          "description": "The properties of the resource.",
          "x-ms-client-flatten": true
        }
      },
      "required": [
        "properties"
      ],
      "type": "object"
    },
    "EnvironmentDeploymentProperties": {
      "description": "Properties of an environment deployment.",
      "properties": {
        "armTemplateId": {
          "description": "The Azure Resource Manager template's identifier.",
          "type": "string"
        },
        "parameters": {
          "description": "The parameters of the Azure Resource Manager template.",
          "items": {
            "$ref": "#/$defs/ArmTemplateParameterProperties"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "EnvironmentProperties": {
      "description": "Properties of an environment.",
      "properties": {
        "armTemplateDisplayName": {
          "description": "The display name of the Azure Resource Manager template that produced the environment.",
          "type": "string"
        },
        "createdByUser": {
          "description": "The creator of the environment.",
          "readOnly": true,
          "type": "string"
        },
        "deploymentProperties": {
          "$ref": "#/$defs/EnvironmentDeploymentProperties",
          "description": "The deployment properties of the environment."
        },
        "provisioningState": {
          "description": "The provisioning status of the resource.",
          "readOnly": true,
          "type": "string"
        },
        "resourceGroupId": {
          "description": "The identifier of the resource group containing the environment's resources.",
          "readOnly": true,
          "type": "string"
        },
        "uniqueIdentifier": {
          "description": "The unique immutable identifier of a resource (Guid).",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    },
    "Resource": {
      "description": "An Azure resource.",
      "properties": {
        "id": {
          "description": "The identifier of the resource.",
          "readOnly": true,
          "type": "string"
        },
        "location": {
          "description": "The location of the resource.",
          "type": "string"
        },
        "name": {
          "description": "The name of the resource.",
          "readOnly": true,
          "type": "string"
        },
        "tags": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "The tags of the resource.",
          "type": "object"
        },
        "type": {
          "description": "The type of the resource.",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object",
      "x-ms-azure-resource": true
    }
  }
}