{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo/refs/heads/main/json-structure/argo-workflows-node-status-structure.json",
  "name": "NodeStatus",
  "description": "Status of a workflow node",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "Pod",
        "Steps",
        "StepGroup",
        "DAG",
        "TaskGroup",
        "Retry",
        "Skipped",
        "Suspend"
      ]
    },
    "templateName": {
      "type": "string"
    },
    "phase": {
      "type": "string"
    },
    "startedAt": {
      "type": "datetime"
    },
    "finishedAt": {
      "type": "datetime"
    },
    "message": {
      "type": "string"
    },
    "children": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "inputs": {
      "$ref": "#/components/schemas/Inputs"
    },
    "outputs": {
      "$ref": "#/components/schemas/Outputs"
    }
  }
}