Files
toolbox/target/nextflow/yq/nextflow_schema.json
CI 8a00096b19 Build branch gunzip with version gunzip (add30ba)
Build pipeline: viash-hub.toolbox.gunzip-zjfds

Source commit: add30ba0f3

Source message: add gitignore
2025-06-12 09:21:15 +00:00

142 lines
4.0 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "yq",
"description": "A portable YAML, JSON, XML, CSV, TOML and properties processor",
"type": "object",
"$defs": {
"inputs": {
"title": "Inputs",
"type": "object",
"description": "No description",
"properties": {
"input": {
"type": "string",
"format": "path",
"exists": true,
"description": "files to be processed",
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`, example: `\"input.yaml\"`. "
}
}
},
"outputs": {
"title": "Outputs",
"type": "object",
"description": "No description",
"properties": {
"output": {
"type": "string",
"format": "path",
"description": "output file",
"help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.output.yaml\"`, direction: `output`, example: `\"output.yaml\"`. ",
"default": "$id.$key.output.yaml"
}
}
},
"arguments": {
"title": "Arguments",
"type": "object",
"description": "No description",
"properties": {
"eval": {
"type": "string",
"description": "expression to evaluate",
"help_text": "Type: `string`, multiple: `False`, required, example: `\".name = \"foo\"\"`. "
},
"indent": {
"type": "integer",
"description": "sets indent level for output (default 2)",
"help_text": "Type: `integer`, multiple: `False`. "
},
"input_format": {
"type": "string",
"description": "parse format for input",
"help_text": "Type: `string`, multiple: `False`, choices: ``auto`, `a`, `yaml`, `y`, `json`, `j`, `props`, `p`, `csv`, `c`, `tsv`, `t`, `xml`, `x`, `base64`, `uri`, `toml`, `shell`, `s`, `lua`, `l``. ",
"enum": [
"auto",
"a",
"yaml",
"y",
"json",
"j",
"props",
"p",
"csv",
"c",
"tsv",
"t",
"xml",
"x",
"base64",
"uri",
"toml",
"shell",
"s",
"lua",
"l"
]
},
"output_format": {
"type": "string",
"description": "output format type",
"help_text": "Type: `string`, multiple: `False`, choices: ``auto`, `a`, `yaml`, `y`, `json`, `j`, `props`, `p`, `csv`, `c`, `tsv`, `t`, `xml`, `x`, `base64`, `uri`, `toml`, `shell`, `s`, `lua`, `l``. ",
"enum": [
"auto",
"a",
"yaml",
"y",
"json",
"j",
"props",
"p",
"csv",
"c",
"tsv",
"t",
"xml",
"x",
"base64",
"uri",
"toml",
"shell",
"s",
"lua",
"l"
]
},
"pretty_print": {
"type": "boolean",
"description": "pretty print, shorthand for '..",
"help_text": "Type: `boolean_true`, multiple: `False`, default: `false`. ",
"default": false
}
}
},
"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/inputs"
},
{
"$ref": "#/$defs/outputs"
},
{
"$ref": "#/$defs/arguments"
},
{
"$ref": "#/$defs/nextflow input-output arguments"
}
]
}