{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/portainer/main/json-schema/portainer-edgegroups-decorated-edge-group-schema.json",
  "title": "edgegroups.decoratedEdgeGroup",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/portainer-edge-groups-api-openapi.yml#/components/schemas/edgegroups.decoratedEdgeGroup",
  "properties": {
    "Dynamic": {
      "type": "boolean"
    },
    "EndpointIds": {
      "description": "Shadow to avoid exposing in the API",
      "type": "integer"
    },
    "EndpointTypes": {
      "items": {
        "$ref": "#/$defs/portainer.EndpointType"
      },
      "type": "array"
    },
    "Endpoints": {
      "description": "Deprecated: only used for API responses",
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "HasEdgeJob": {
      "type": "boolean"
    },
    "HasEdgeStack": {
      "type": "boolean"
    },
    "Id": {
      "description": "EdgeGroup Identifier",
      "type": "integer"
    },
    "Name": {
      "type": "string"
    },
    "PartialMatch": {
      "type": "boolean"
    },
    "TagIds": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "TrustedEndpoints": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "portainer.EndpointType": {
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7
      ],
      "type": "integer",
      "x-enum-varnames": [
        "_",
        "DockerEnvironment",
        "AgentOnDockerEnvironment",
        "AzureEnvironment",
        "EdgeAgentOnDockerEnvironment",
        "KubernetesLocalEnvironment",
        "AgentOnKubernetesEnvironment",
        "EdgeAgentOnKubernetesEnvironment"
      ]
    }
  }
}