Argo · JSON Structure

Argo Cd Application Spec Structure

Desired state specification for an Argo CD application.

Type: object Properties: 5 Required: 3
CNCFCI/CDGitOpsKubernetesOpen SourceProgressive DeliveryWorkflow Engine

ApplicationSpec is a JSON Structure definition published by Argo, describing 5 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

source destination project syncPolicy ignoreDifferences

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-structure/argo-cd-application-spec-structure.json",
  "name": "ApplicationSpec",
  "description": "Desired state specification for an Argo CD application.",
  "type": "object",
  "properties": {
    "source": {
      "$ref": "#/components/schemas/ApplicationSource"
    },
    "destination": {
      "$ref": "#/components/schemas/ApplicationDestination"
    },
    "project": {
      "type": "string",
      "description": "Argo CD project this application belongs to."
    },
    "syncPolicy": {
      "$ref": "#/components/schemas/SyncPolicy"
    },
    "ignoreDifferences": {
      "type": "array",
      "description": "Resource fields to ignore when computing sync status.",
      "items": {
        "type": "object",
        "properties": {
          "group": {
            "type": "string",
            "description": "Kubernetes API group."
          },
          "kind": {
            "type": "string",
            "description": "Kubernetes resource kind."
          },
          "jsonPointers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "JSON Pointer paths to ignore."
          }
        }
      }
    }
  },
  "required": [
    "destination",
    "project",
    "source"
  ]
}