{
  "$defs": {
    "ConvergenceLoop": {
      "description": "Which Elmer iteration loop a convergence sample belongs to: nonlinear or steady state.",
      "enum": [
        "NS",
        "SS"
      ],
      "title": "ConvergenceLoop",
      "type": "string"
    },
    "LoopTarget": {
      "description": "One solver loop's authored iteration cap and tolerance, in the form the bundle persists them.",
      "properties": {
        "solver": {
          "description": "The sif ``Equation`` name Elmer tags this loop's ComputeChange lines with, normalized.",
          "title": "Solver",
          "type": "string"
        },
        "loop": {
          "$ref": "#/$defs/ConvergenceLoop",
          "description": "Which loop the targets apply to: the nonlinear inner loop or the steady-state outer one."
        },
        "max_iterations": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "The loop's iteration cap; None when the sif left Elmer's default.",
          "title": "Max Iterations"
        },
        "tolerance": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "`\u0394_tol` `[-]`: The relative-change tolerance the loop converges to; None when the sif left Elmer's default.",
          "title": "Tolerance"
        }
      },
      "required": [
        "solver",
        "loop"
      ],
      "title": "LoopTarget",
      "type": "object"
    }
  },
  "description": "The iteration caps and tolerances one run's sif authored, written beside its convergence log so the log reads in context.",
  "properties": {
    "loops": {
      "description": "One entry per (solver, loop) the solved stack authored targets for.",
      "items": {
        "$ref": "#/$defs/LoopTarget"
      },
      "title": "Loops",
      "type": "array"
    }
  },
  "title": "ConvergenceTargetsFile",
  "type": "object"
}
