{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schema.rtemis.org/decomposition/isomap/v1/schema.json",
  "title": "rtemis IsomapConfig",
  "description": "Isomap. See setup_Isomap.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "k": {
      "type": "integer",
      "minimum": 1,
      "default": 2,
      "description": "Number of components to extract."
    },
    "dist_method": {
      "type": "string",
      "enum": ["euclidean", "manhattan"],
      "default": "euclidean",
      "description": "Distance method."
    },
    "nsd": {
      "type": "integer",
      "minimum": 0,
      "default": 0,
      "description": "Number of shortest dissimilarities retained (0 = all)."
    },
    "path": {
      "type": "string",
      "enum": ["shortest", "extended"],
      "default": "shortest",
      "description": "`path` argument for `vegan::isomap`."
    }
  }
}
