{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "tiledb_healthcheck",
  "description": "Checks if a provided location can be queried as a TileDB-SOMA database.\n",
  "type": "object",
  "$defs": {
    "input database": {
      "title": "Input database",
      "type": "object",
      "description": "Open a TileDB SOMA database by URI.",
      "properties": {
        "input_uri": {
          "type": "string",
          "description": "If specified, a URI containing the TileDB-SOMA objects.",
          "help_text": "Type: `string`, multiple: `False`, required, example: `\"s3://bucket/path\"`. "
        },
        "s3_region": {
          "type": "string",
          "description": "Region where the TileDB-SOMA database is hosted.\n",
          "help_text": "Type: `string`, multiple: `False`, required. "
        }
      }
    },
    "nextflow input-output arguments": {
      "title": "Nextflow input-output arguments",
      "type": "object",
      "description": "Input/output parameters for Nextflow itself. Please note that both publishDir and publish_dir are supported but at least one has to be configured.",
      "properties": {
        "publish_dir": {
          "type": "string",
          "description": "Path to an output directory.",
          "help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
        }
      }
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/input database"
    },
    {
      "$ref": "#/$defs/nextflow input-output arguments"
    }
  ]
}
