{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/main/json-schema/dynatrace-environment-list-dto-schema.json",
  "title": "EnvironmentListDto",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dynatrace-environment-management-api-openapi.yml#/components/schemas/EnvironmentListDto",
  "type": "object",
  "properties": {
    "data": {
      "description": "Lists all environments in an account",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EnvironmentDto"
      }
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "EnvironmentDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The UUID of the environment."
        },
        "name": {
          "type": "string",
          "description": "Friendly name of the environment"
        },
        "active": {
          "type": "boolean",
          "description": "Property to determine if environment is active"
        },
        "url": {
          "type": "string",
          "description": "The url of the environment"
        }
      },
      "required": [
        "id",
        "active",
        "url"
      ]
    }
  }
}