{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "fq_generate",
  "description": "Generate a random FASTQ file pair for testing and simulation purposes.",
  "type": "object",
  "$defs": {
    "output": {
      "title": "Output",
      "type": "object",
      "description": "No description",
      "properties": {
        "r1_dst": {
          "type": "string",
          "format": "path",
          "description": "Read 1 destination",
          "help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.r1_dst.gz\"`, direction: `output`, example: `\"reads_R1.fastq.gz\"`. ",
          "default": "$id.$key.r1_dst.gz"
        },
        "r2_dst": {
          "type": "string",
          "format": "path",
          "description": "Read 2 destination",
          "help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.r2_dst.gz\"`, direction: `output`, example: `\"reads_R2.fastq.gz\"`. ",
          "default": "$id.$key.r2_dst.gz"
        }
      }
    },
    "options": {
      "title": "Options",
      "type": "object",
      "description": "No description",
      "properties": {
        "seed": {
          "type": "integer",
          "description": "Seed to use for the random number generator.",
          "help_text": "Type: `integer`, multiple: `False`, example: `42`. "
        },
        "record_count": {
          "type": "integer",
          "description": "Number of records to generate.",
          "help_text": "Type: `integer`, multiple: `False`, default: `10000`, example: `10000`. ",
          "default": 10000
        },
        "read_length": {
          "type": "integer",
          "description": "Number of bases in the sequence.",
          "help_text": "Type: `integer`, multiple: `False`, default: `101`, example: `101`. ",
          "default": 101
        }
      }
    },
    "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/output"
    },
    {
      "$ref": "#/$defs/options"
    },
    {
      "$ref": "#/$defs/nextflow input-output arguments"
    }
  ]
}
