{
  "$id": "https://schema.rtemis.org/decompose/v1/schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "rtemis DecomposeConfig",
  "description": "Language-independent config for an rtemis decomposition pipeline: a data reference, a `DecompositionConfig`, and an output directory.",
  "type": "object",
  "properties": {
    "$schema": {
      "description": "JSON Schema URI for this config instance.",
      "type": "string",
      "const": "https://schema.rtemis.org/decompose/v1/schema.json"
    },
    "dat_path": {
      "description": "Path to the input data.",
      "type": ["string", "null"],
      "x-rtemis": {
        "type": "string"
      }
    },
    "algorithm": {
      "description": "Decomposition algorithm name.",
      "type": ["string", "null"],
      "x-rtemis": {
        "type": "string"
      }
    },
    "decomposition_config": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "https://schema.rtemis.org/decomposition/v1/schema.json"
        }
      ]
    },
    "outdir": {
      "description": "Output directory for results.",
      "type": "string",
      "x-rtemis": {
        "type": "string"
      }
    },
    "verbosity": {
      "description": "Verbosity level.",
      "type": "integer",
      "minimum": 0,
      "x-rtemis": {
        "type": "integer"
      }
    }
  },
  "additionalProperties": false
}
