{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-schema/account-management-api-environment-schema.json",
  "title": "Environment",
  "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
    }
  }
}