{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-structure/account-management-api-environment-structure.json",
  "description": "Represents a Dynatrace environment (tenant) associated with the account.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique environment identifier (tenant ID).",
      "example": "abc123"
    },
    "name": {
      "type": "string",
      "description": "The display name of the environment.",
      "example": "Production Service"
    },
    "status": {
      "type": "string",
      "description": "The current status of the environment.",
      "enum": [
        "ACTIVE",
        "SUSPENDED",
        "TRIAL"
      ],
      "example": "ACTIVE"
    },
    "trial": {
      "type": "boolean",
      "description": "Whether the environment is a trial environment.",
      "example": true
    }
  },
  "name": "Environment"
}