{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/portainer/main/json-schema/portainer-edgestacks-update-edge-stack-payload-schema.json",
  "title": "edgestacks.updateEdgeStackPayload",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/portainer-edge-stacks-api-openapi.yml#/components/schemas/edgestacks.updateEdgeStackPayload",
  "properties": {
    "DeploymentType": {
      "$ref": "#/$defs/portainer.EdgeStackDeploymentType"
    },
    "EdgeGroups": {
      "items": {
        "type": "integer"
      },
      "type": "array"
    },
    "StackFileContent": {
      "type": "string"
    },
    "UpdateVersion": {
      "type": "boolean"
    },
    "UseManifestNamespaces": {
      "description": "Uses the manifest's namespaces instead of the default one",
      "type": "boolean"
    }
  },
  "type": "object",
  "$defs": {
    "portainer.EdgeStackDeploymentType": {
      "enum": [
        0,
        1
      ],
      "type": "integer",
      "x-enum-varnames": [
        "EdgeStackDeploymentCompose",
        "EdgeStackDeploymentKubernetes"
      ]
    }
  }
}