feat: can document part by part with reloading structure

This commit is contained in:
egarette@silique.fr 2025-10-30 21:14:34 +01:00
parent c754f5c654
commit 8afb61c5ad
10220 changed files with 155623 additions and 1406 deletions

View file

@ -28,20 +28,27 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
def gen_doc_changelog(self):
"""Return changelog"""
self.level = self.rougailconfig["doc.title_level"]
self.previous_json_file = self.rougailconfig["doc.previous_json_file"]
with Path(self.previous_json_file).open() as outfh:
previous_doc = loads(outfh.read())
self.load()
self._added_variables = []
self._modified_variables = []
self._removed_variables = []
if self.root:
for family in self.root.split('.'):
if family in previous_doc:
root = self.rougailconfig["doc.root"]
if root:
informations = self.informations
for family in root.split('.'):
informations = informations[family]["children"]
if previous_doc and family in previous_doc:
previous_doc = previous_doc[family]['children']
else:
previous_doc = {}
break
self.parser(previous_doc, self.informations)
else:
informations = self.informations
self.formatter.options()
self.parser(previous_doc, informations)
return self.display()
def parser(self, previous_families, new_families):
@ -107,8 +114,10 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
local_prop_previous = prop_previous = [
prop_previous
]
else:
elif isinstance(prop_previous, list):
local_prop_previous = prop_previous
else:
local_prop_previous = [prop_previous]
if isinstance(prop_new, dict) and "values" in prop_new:
name = prop_new["name"]
prop_new = prop_new["values"]
@ -144,7 +153,7 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
title = _("New variable")
else:
title = _("New variables")
msg += self.formatter.run(
msg += self.formatter._run(
[
self.formatter.title(title, self.level),
self.formatter.table(self._added_variables),
@ -158,7 +167,7 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
title = _("Modified variable")
else:
title = _("Modified variables")
msg += self.formatter.run(
msg += self.formatter._run(
[
self.formatter.title(title, self.level),
self.formatter.table(self._modified_variables),
@ -172,7 +181,7 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
title = _("Deleted variable")
else:
title = _("Deleted variables")
msg += self.formatter.run(
msg += self.formatter._run(
[
self.formatter.title(title, self.level),
self.formatter.list(self._removed_variables, inside_table=False),

View file

@ -106,7 +106,7 @@ doc:
default: false
disabled:
jinja: |-
{{{{ "variables" not in _.contents and _.output_format != "json" }}}}
{{{{ "variables" not in _.contents and "changelog" not in _.contents and _.output_format != "json" }}}}
return_type: boolean
description: variables is not selected

View file

@ -64,12 +64,7 @@ class RougailOutputDoc(Examples, Changelog):
rougailconfig["step.output"] = "doc"
if rougailconfig["step.output"] != "doc":
raise Exception("doc is not set as step.output")
outputs = OutPuts().get()
output_format = rougailconfig["doc.output_format"]
if output_format not in outputs:
raise Exception(
f'cannot find output "{output_format}", available outputs: {list(outputs)}'
)
self.outputs = OutPuts().get()
self.conf = config
self.modes_level = rougailconfig["modes_level"]
if self.modes_level:
@ -82,33 +77,7 @@ class RougailOutputDoc(Examples, Changelog):
self.disabled_modes = []
self.conf.property.read_write()
# self.conf.property.remove("cache")
self.output_format = output_format
self.level = rougailconfig["doc.title_level"]
self.contents = rougailconfig["doc.contents"]
self.root = rougailconfig["doc.root"]
if self.root:
try:
self.other_root_filenames = rougailconfig["doc.other_root_filenames"]
except PropertiesOptionError:
self.other_root_filenames = None
else:
self.other_root_filenames = None
self.example = "example" in self.contents
if self.example:
self.comment_examples = rougailconfig["doc.comment_examples"]
if self.comment_examples:
self.comment_examples_column = rougailconfig["doc.comment_examples_column"]
if "variables" in self.contents:
self.with_family = not rougailconfig["doc.without_family"]
else:
self.with_family = True
if "changelog" in self.contents:
self.previous_json_file = rougailconfig["doc.previous_json_file"]
if output_format == 'console':
self.force_true_color_terminal = rougailconfig["doc.force_true_color_terminal"]
else:
self.force_true_color_terminal = None
self.formatter = outputs[output_format](self)
self.rougailconfig = rougailconfig
self.informations = None
try:
groups.namespace
@ -122,11 +91,15 @@ class RougailOutputDoc(Examples, Changelog):
"""Print documentation in stdout"""
self.load()
return_string = ""
if "variables" in self.contents:
return_string += self.formatter.run(self.informations, self.level)
if "example" in self.contents:
contents = self.rougailconfig["doc.contents"]
output_format = self.rougailconfig["doc.output_format"]
self.formatter = self.outputs[output_format](self.rougailconfig)
if "variables" in contents:
# print(self.informations)
return_string += self.formatter.run(self.informations)
if "example" in contents:
return_string += self.gen_doc_examples()
if "changelog" in self.contents:
if "changelog" in contents:
return_string += self.gen_doc_changelog()
return True, return_string
@ -138,8 +111,6 @@ class RougailOutputDoc(Examples, Changelog):
def load(self):
self.dynamic_paths = {}
config = self.conf.unrestraint
if self.root:
config = config.option(self.root)
self.populate_dynamics(config=config)
informations = self.parse_families(config)
if informations is None:
@ -300,8 +271,7 @@ class RougailOutputDoc(Examples, Changelog):
sub_informations,
):
return None
if self.example:
self._add_examples(variable, sub_informations, leader)
self._add_examples(variable, sub_informations, leader)
informations[name] = sub_informations
if variable.isleader():
return sub_informations
@ -310,9 +280,9 @@ class RougailOutputDoc(Examples, Changelog):
def _parse_variable_follower_with_index(
self, variable, leader: dict, name: str, informations: dict
) -> None:
if not self.example or (variable.index() + 1) > len(leader["example"][-1]):
if (variable.index() + 1) > len(leader["gen_examples"][-1]):
return
informations[name]["example"][-1][variable.index()] = self._get_example(
informations[name]["gen_examples"][-1][variable.index()] = self._get_example(
variable, informations[name], None
)
@ -323,10 +293,9 @@ class RougailOutputDoc(Examples, Changelog):
# self.populate_dynamic(variable, path)
dynamic_variable = self.dynamic_paths[path]
if (not only_one or path in informations) and "type" in dynamic_variable:
if self.example:
dynamic_variable["example"].append(
self._get_example(variable, dynamic_variable, leader)
)
dynamic_variable["gen_examples"].append(
self._get_example(variable, dynamic_variable, leader)
)
if variable.isleader():
return dynamic_variable
if not only_one:
@ -486,7 +455,7 @@ class RougailOutputDoc(Examples, Changelog):
def _add_examples(self, variable, informations: dict, leader) -> None:
if not variable.index():
example = self._get_example(variable, informations, leader)
informations["example"] = [example]
informations["gen_examples"] = [example]
informations["mandatory_without_value"] = "mandatory" in variable.property.get(
uncalculated=True
) and (
@ -525,7 +494,7 @@ class RougailOutputDoc(Examples, Changelog):
variable, informations["properties"]
)
if leader is not None and variable.isfollower():
example = [example] + [undefined] * (len(leader["example"][-1]) - 1)
example = [example] + [undefined] * (len(leader["gen_examples"][-1]) - 1)
return example
def get_type_default_value(self, variable, properties):
@ -815,7 +784,10 @@ class RougailOutputDoc(Examples, Changelog):
if isinstance(true_msg, dict):
values = true_msg
else:
description = self._convert_description(self.conf.option(calculation["ori_path"]).description(uncalculated=True), "description", its_a_path=False)
try:
description = self._convert_description(self.conf.option(calculation["ori_path"]).description(uncalculated=True), "description", its_a_path=False)
except AttributeError:
description = calculation["ori_path"]
values = {
"message": true_msg,
"path": {
@ -862,8 +834,8 @@ class RougailOutputDoc(Examples, Changelog):
values.append(_("depends on an undocumented variable"))
continue
except AttributeError as err:
if err.code != "option-not-found" or not calculation.get("optional", False):
raise err from err
# if err.code != "option-not-found" or not calculation.get("optional", False):
# raise err from err
return calculation.get("default", False)
if (
condition == "when"

View file

@ -31,29 +31,53 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
def gen_doc_examples(self):
"""Return examples"""
self._build_examples()
root = self.rougailconfig["doc.root"]
self.comment_examples = self.rougailconfig["doc.comment_examples"]
self.level = self.rougailconfig["doc.title_level"]
if self.comment_examples:
self.comment_examples_column = self.rougailconfig["doc.comment_examples_column"]
self._build_examples(root)
return_string = ""
datas = []
if self.examples_mandatories:
return_string += self.formatter.title(
_("Example with mandatory variables not filled in"), self.level
)
return_string += self.formatter.yaml(self.examples_mandatories)
datas.extend([
self.formatter.title(
_("Example with mandatory variables not filled in"), self.level
),
self.formatter.yaml(self.examples_mandatories),
self.formatter.end_family(self.level),
])
if self.examples:
return_string += self.formatter.title(
_("Example with all variables modifiable"), self.level
)
return_string += self.formatter.yaml(self.examples)
return return_string
datas.extend([self.formatter.title(
_("Example with all variables modifiable"), self.level
),
self.formatter.yaml(self.examples),
self.formatter.end_family(self.level),
])
return self.formatter.compute(datas)
def _build_examples(self):
def _build_examples(self, root):
examples, examples_mandatories = self._parse_examples(
self.informations
)
if self.root and examples:
for sub in self.root.split('.'):
examples = {sub: examples}
if examples_mandatories:
examples_mandatories = {sub: examples_mandatories}
if root and examples:
sub_examples = examples
sub_examples_mandatories = examples_mandatories
new_examples_mandatories = examples_mandatories = {}
new_examples = examples = {}
for sub in root.split('.'):
new_examples[sub] = {}
new_examples = new_examples[sub]
sub_examples = sub_examples[sub]
if examples_mandatories and sub in sub_examples_mandatories:
new_examples_mandatories[sub] = {}
new_examples_mandatories = new_examples_mandatories[sub]
sub_examples_mandatories = sub_examples_mandatories[sub]
else:
new_examples_mandatories = {}
sub_examples_mandatories = {}
new_examples.update(sub_examples)
new_examples_mandatories.update(sub_examples_mandatories)
self.examples = examples
self.examples_mandatories = examples_mandatories
@ -96,7 +120,7 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
name = variable["names"][0]
else:
name = variable["names"][idx]
value = variable["example"][idx]
value = variable["gen_examples"][idx]
examples[name] = value
if self.comment_examples and "description" in variable:
description = variable["description"]
@ -174,7 +198,7 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
path = calc_path(path)
if dyn_parent is not None and not path.startswith(dyn_parent):
continue
for leader_idx in range(len(leader["example"][path_idx])):
for leader_idx in range(len(leader["gen_examples"][path_idx])):
if self.comment_examples:
followers = CommentedMap()
else:
@ -184,7 +208,7 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
name = follower["names"][0]
else:
name = follower["names"][path_idx]
followers[name] = follower["example"][path_idx][leader_idx]
followers[name] = follower["gen_examples"][path_idx][leader_idx]
if self.comment_examples and "description" in follower:
description = follower["description"]
if description.endswith('.'):
@ -203,7 +227,7 @@ class Examples: # pylint: disable=no-member,too-few-public-methods
name = follower["names"][0]
else:
name = follower["names"][path_idx]
followers[name] = follower["example"][path_idx][leader_idx]
followers[name] = follower["gen_examples"][path_idx][leader_idx]
if self.comment_examples and "description" in follower:
description = follower["description"]
if description.endswith('.'):

View file

@ -36,25 +36,30 @@ class Formatter(CommonFormatter):
"title5": "dark_green underline bold",
}
def __init__(self, doc) -> None:
def __init__(self, rougailconfig) -> None:
from rich.table import Table
from rich.theme import Theme
from rich.console import Console
from rich.syntax import Syntax
self.rich_table = Table
self.rich_console = Console
if doc.force_true_color_terminal:
self.force_terminal = 'xterm-256color'
else:
self.force_terminal = None
self.rich_syntaxt = Syntax
self.custom_theme = Theme(self.titles_color)
self.max_line = 0
super().__init__(doc)
super().__init__(rougailconfig)
def run(self, dico: dict, level: int, *, dico_is_already_treated=False) -> str:
def _run(self, dico: dict, level: int, dico_is_already_treated=False) -> str:
if not dico_is_already_treated:
dico = self.dict_to_dict(dico, level)
console = self.rich_console(theme=self.custom_theme, force_terminal=self.force_terminal)
return self.compute(dico)
def compute(self, dico):
if self.rougailconfig["doc.force_true_color_terminal"]:
force_terminal = 'xterm-256color'
else:
force_terminal = None
console = self.rich_console(theme=self.custom_theme, force_terminal=force_terminal)
with console.capture() as capture:
for data in dico:
console.print(data)
@ -138,7 +143,7 @@ class Formatter(CommonFormatter):
def yaml(self, _dump):
"""Dump yaml part of documentation"""
return f"```yaml\n---\n{dump(_dump)}\n```\n"
return self.rich_syntaxt(f'---\n{dump(_dump)}', 'yaml')
def link(
self,

View file

@ -30,10 +30,10 @@ class Formatter(CommonFormatter):
level = 50
enter_table = "<br/>"
def __init__(self, doc, **kwarg) -> None:
def __init__(self, rougailconfig, **kwarg) -> None:
self.max_line_variable = 0
self.max_line_description = 0
super().__init__(doc)
super().__init__(rougailconfig)
def title(
self,

View file

@ -26,9 +26,15 @@ class Formatter:
name = "json"
level = 90
def __init__(self, doc):
pass
def __init__(self, rougailconfig):
self.rougailconfig = rougailconfig
def run(self, dico: dict, *args) -> str: # pylint: disable=unused-argument
def run(self, informations: dict, *args) -> str: # pylint: disable=unused-argument
"""Transform to string"""
return dumps(dico, ensure_ascii=False, indent=2)
root = self.rougailconfig["doc.root"]
if root:
current = informations
for path in root.split('.'):
current = current[path]["children"]
informations = current
return dumps(informations, ensure_ascii=False, indent=2)

View file

@ -26,6 +26,7 @@ from tabulate import tabulate
from rougail.tiramisu import normalize_family
from tiramisu import undefined
from tiramisu.error import PropertiesOptionError
from .i18n import _
@ -152,13 +153,41 @@ class CommonFormatter:
# tabulate module name
name = None
def __init__(self, doc, **kwarg):
def __init__(self, rougailconfig, **kwarg):
tabulate_module.PRESERVE_WHITESPACE = True
self.header_setted = False
self.with_family = doc.with_family
self.other_root_filenames = doc.other_root_filenames
if doc.other_root_filenames:
self.other_root_filenames = dict(zip(doc.other_root_filenames["root_path"], self.other_root_filenames["filename"]))
self.rougailconfig = rougailconfig
def run(
self, informations: dict, *, dico_is_already_treated=False
) -> str:
"""Transform to string"""
if informations:
level = self.rougailconfig["doc.title_level"]
self.options()
if self.root:
current = informations
for path in self.root.split('.'):
current = current[path]["children"]
informations = current
return self._run(informations, level, dico_is_already_treated)
return ""
def options(self):
self.with_family = not self.rougailconfig["doc.without_family"]
self.root = self.rougailconfig["doc.root"]
self.other_root_filenames = None
if self.root:
try:
other_root_filenames = self.rougailconfig["doc.other_root_filenames"]
except PropertiesOptionError:
pass
else:
if other_root_filenames:
self.other_root_filenames = dict(zip(other_root_filenames["root_path"], other_root_filenames["filename"]))
def compute(self, data):
return "".join([d for d in data if d])
# Class you needs implement to your Formatter
def title(
@ -291,14 +320,6 @@ class CommonFormatter:
"""Manage the header of a table"""
return lst
def run(
self, informations: dict, level: int, *, dico_is_already_treated=False
) -> str:
"""Transform to string"""
if informations:
return self._run(informations, level, dico_is_already_treated)
return ""
def _run(self, dico: dict, level: int, dico_is_already_treated: bool) -> str:
"""Parse the dict to transform to dict"""
if dico_is_already_treated:

View file

@ -6,19 +6,19 @@
**var1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
My var1. +
**Default**: the value of the variable "a.unknown.variable".
**Default**: the value of the variable "a.unknown.variable"
|
**var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
My var2. +
**Default**: var calculated.
**Default**: var calculated
|
**var3** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` `__hidden__` |
My var3. +
**Hidden**: var could be hidden.
**Hidden**: var could be hidden
|
**var4** +
@ -29,13 +29,13 @@ My var4.
**var5** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `mandatory` |
My var5. +
**Default**: the value of the information "info" of the variable "a.unknown.variable".
**Default**: the value of the information "info" of the variable "a.unknown.variable"
|
**var6** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `mandatory` |
My var6. +
**Choices**: the value of the variable "a.unknown.variable".
**Choices**: the value of the variable "a.unknown.variable"
|
**var7** +
@ -50,19 +50,19 @@ My var7. +
**var8** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `mandatory` |
My var8. +
**Choices**: the a.unknown.variable values.
**Choices**: the a.unknown.variable values
|====
== My var9
This family builds families dynamically.
This family builds families dynamically
**var___example__**
**Identifiers**: the value of the variable "a.unknown.variable".
**Identifiers**: the value of the variable "a.unknown.variable"
[cols="1a,1a"]
|====

View file

@ -19,6 +19,10 @@
"names": [
"version"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -18,6 +18,10 @@
"path": "empty",
"names": [
"empty"
]
],
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -57,6 +61,12 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
[
"no"
]
],
"mandatory_without_value": false
}
}

View file

@ -35,7 +35,15 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
[
"no",
"yes",
"maybe"
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -69,6 +77,14 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
[
"no",
"yes",
"maybe"
]
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"a_value"
],
"mandatory_without_value": false
}
}

View file

@ -31,7 +31,13 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
[
"example.net"
]
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -71,6 +77,12 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
[
"example.net"
]
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -45,6 +49,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -45,7 +49,11 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -67,6 +75,10 @@
"names": [
"var3"
],
"description": "A new variable."
"description": "A new variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -31,7 +31,13 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
[
"example.net"
]
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -75,6 +81,12 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
[
"example.net"
]
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var1"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -41,6 +45,10 @@
"names": [
"var2"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,6 +23,10 @@
"names": [
"without_type"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"non"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
true
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -49,7 +53,11 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
true
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -75,7 +83,11 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
true
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -101,7 +113,11 @@
"names": [
"var4"
],
"description": "The forth variable."
"description": "The forth variable.",
"gen_examples": [
false
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -127,7 +143,11 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
false
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -153,6 +173,10 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
false
],
"mandatory_without_value": false
}
}

View file

@ -19,6 +19,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
true
],
"mandatory_without_value": false
}
}

View file

@ -27,7 +27,11 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
"a_choice"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -57,7 +61,11 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
"a_choice"
],
"mandatory_without_value": true
},
"var3": {
"type": "variable",
@ -84,7 +92,11 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
"a_choice"
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -110,7 +122,11 @@
"names": [
"var4"
],
"description": "The forth variable."
"description": "The forth variable.",
"gen_examples": [
"a_choice"
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -144,7 +160,11 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
"a"
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -178,6 +198,10 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
1
],
"mandatory_without_value": false
}
}

View file

@ -27,6 +27,10 @@
"names": [
"var"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
9
],
"mandatory_without_value": false
}
}

View file

@ -27,7 +27,11 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
"a_choice"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -67,6 +71,10 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
"a_choice"
],
"mandatory_without_value": false
}
}

View file

@ -35,7 +35,15 @@
"names": [
"var1"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
[
"a",
"b",
"c"
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -71,6 +79,10 @@
"names": [
"var2"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"a"
],
"mandatory_without_value": false
}
}

View file

@ -35,7 +35,15 @@
"names": [
"var1"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
[
"a",
"b",
"c"
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -71,7 +79,11 @@
"names": [
"var2"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"a"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -113,6 +125,10 @@
"names": [
"var3"
],
"description": "A third variable."
"description": "A third variable.",
"gen_examples": [
"a"
],
"mandatory_without_value": false
}
}

View file

@ -35,7 +35,15 @@
"names": [
"var1"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
[
"a",
"b",
"c"
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -71,7 +79,11 @@
"names": [
"var2"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"a"
],
"mandatory_without_value": false
},
"family": {
"type": "family",
@ -129,7 +141,11 @@
"names": [
"var3"
],
"description": "A third variable."
"description": "A third variable.",
"gen_examples": [
"a"
],
"mandatory_without_value": false
}
}
}

View file

@ -19,7 +19,11 @@
"names": [
"custom1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
"xxx"
],
"mandatory_without_value": true
},
"custom2": {
"type": "variable",
@ -45,6 +49,10 @@
"names": [
"custom2"
],
"description": "The seconf variable."
"description": "The seconf variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"variable"
],
"description": "A domain name variable."
"description": "A domain name variable.",
"gen_examples": [
"my.domain.name"
],
"mandatory_without_value": false
}
}

View file

@ -27,6 +27,10 @@
"names": [
"variable"
],
"description": "A domain name variable."
"description": "A domain name variable.",
"gen_examples": [
"my.domain.name"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
0.0
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -49,7 +53,11 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
0.0
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -75,7 +83,11 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
0.0
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -101,7 +113,11 @@
"names": [
"var4"
],
"description": "The forth variable."
"description": "The forth variable.",
"gen_examples": [
10.1
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -127,7 +143,11 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
10.1
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -153,6 +173,10 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
10.1
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
0
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -49,7 +53,11 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
0
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -75,7 +83,11 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
0
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -101,7 +113,11 @@
"names": [
"var4"
],
"description": "This forth variable."
"description": "This forth variable.",
"gen_examples": [
10
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -127,7 +143,11 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
10
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -153,6 +173,10 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
10
],
"mandatory_without_value": false
}
}

View file

@ -27,7 +27,11 @@
"names": [
"var1"
],
"description": "An IP."
"description": "An IP.",
"gen_examples": [
"1.1.1.1"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -64,7 +68,11 @@
"examples": {
"name": "Example",
"values": "192.168.0.128/25"
}
},
"gen_examples": [
"192.168.0.128/25"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -90,6 +98,10 @@
"names": [
"var3"
],
"description": "An IP in CIDR format with obsolete CIDR type."
"description": "An IP in CIDR format with obsolete CIDR type.",
"gen_examples": [
"1.1.1.1/24"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "An network."
"description": "An network.",
"gen_examples": [
"1.1.1.0"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -53,7 +57,11 @@
"names": [
"var2"
],
"description": "An network in CIDR format."
"description": "An network in CIDR format.",
"gen_examples": [
"1.1.1.0/24"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -79,6 +87,10 @@
"names": [
"var3"
],
"description": "An network in CIDR format with obsolete CIDR type."
"description": "An network in CIDR format with obsolete CIDR type.",
"gen_examples": [
"1.1.1.0/24"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
0
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -49,7 +53,11 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
0
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -75,7 +83,11 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
0
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -101,7 +113,11 @@
"names": [
"var4"
],
"description": "This forth variable."
"description": "This forth variable.",
"gen_examples": [
10
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -127,7 +143,11 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
10
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -153,6 +173,10 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
10
],
"mandatory_without_value": false
}
}

View file

@ -27,7 +27,11 @@
"names": [
"variable1"
],
"description": "A port variable."
"description": "A port variable.",
"gen_examples": [
"111"
],
"mandatory_without_value": true
},
"variable2": {
"type": "variable",
@ -61,7 +65,11 @@
"names": [
"variable2"
],
"description": "A port variable with default value."
"description": "A port variable with default value.",
"gen_examples": [
"8080"
],
"mandatory_without_value": false
},
"variable3": {
"type": "variable",
@ -95,6 +103,10 @@
"names": [
"variable3"
],
"description": "A port variable with integer default value."
"description": "A port variable with integer default value.",
"gen_examples": [
"8080"
],
"mandatory_without_value": false
}
}

View file

@ -34,6 +34,10 @@
"#b1b1b1",
"#b2b2b2"
]
}
},
"gen_examples": [
"#b1b1b1"
],
"mandatory_without_value": false
}
}

View file

@ -34,7 +34,11 @@
"#b1b1b1",
"#b2b2b2"
]
}
},
"gen_examples": [
"#b1b1b1"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -77,6 +81,10 @@
"#b2b1b1",
"#b3b2b2"
]
}
},
"gen_examples": [
"#b2b1b1"
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"secret1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
"secrets"
],
"mandatory_without_value": true
},
"secret2": {
"type": "variable",
@ -45,6 +49,10 @@
"names": [
"secret2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"secret1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
"secrets"
],
"mandatory_without_value": true
},
"secret2": {
"type": "variable",
@ -56,7 +60,11 @@
"names": [
"secret2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
},
"secret3": {
"type": "variable",
@ -89,6 +97,10 @@
"names": [
"secret3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -41,7 +45,11 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var3": {
"type": "variable",
@ -63,7 +71,11 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var4": {
"type": "variable",
@ -89,7 +101,11 @@
"names": [
"var4"
],
"description": "The forth variable."
"description": "The forth variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -115,7 +131,11 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -141,7 +161,11 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
},
"var7": {
"type": "variable",
@ -167,7 +191,11 @@
"names": [
"var7"
],
"description": "The seventh variable."
"description": "The seventh variable.",
"gen_examples": [
"8080"
],
"mandatory_without_value": false
},
"var8": {
"type": "variable",
@ -193,6 +221,10 @@
"names": [
"var8"
],
"description": "The height variable."
"description": "The height variable.",
"gen_examples": [
"true"
],
"mandatory_without_value": false
}
}

View file

@ -31,6 +31,10 @@
"names": [
"var"
],
"description": "A choice."
"description": "A choice.",
"gen_examples": [
"quote'"
],
"mandatory_without_value": false
}
}

View file

@ -22,7 +22,11 @@
"description": "The first variable.",
"help": [
"Multi line\n\nHelp\n\nWith useful information."
]
],
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -47,6 +51,10 @@
"description": "The second variable.",
"help": [
"Multi line\nHelp\nWith useful information."
]
],
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -22,7 +22,11 @@
"description": "The first variable.",
"help": [
"Message with '."
]
],
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -47,6 +51,10 @@
"description": "The second variable.",
"help": [
"Message with \"."
]
],
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -22,7 +22,11 @@
"description": "The first <variable>.",
"help": [
"Multi line\n\n<Help>\n\nWith useful information."
]
],
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -47,6 +51,10 @@
"description": "The second <variable>.",
"help": [
"Multi line\n<Help>\nWith useful information."
]
],
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,6 +23,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"quote\""
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"quote'\""
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"quote\\\"\\'"
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"quote'"
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"examples": {
"name": "Example",
"values": "test"
}
},
"gen_examples": [
"test"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -53,7 +57,11 @@
"examples": {
"name": "Example",
"values": "test"
}
},
"gen_examples": [
"test"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -82,7 +90,11 @@
"test1",
"test2"
]
}
},
"gen_examples": [
"test1"
],
"mandatory_without_value": true
},
"var4": {
"type": "variable",
@ -108,7 +120,11 @@
"test1",
"test2"
]
}
},
"gen_examples": [
null
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -138,7 +154,11 @@
"examples": {
"name": "Example",
"values": false
}
},
"gen_examples": [
false
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -175,6 +195,13 @@
"test1",
"test2"
]
}
},
"gen_examples": [
[
"test1",
"test2"
]
],
"mandatory_without_value": true
}
}

View file

@ -34,7 +34,13 @@
"names": [
"variable1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
[
"a_choice"
]
],
"mandatory_without_value": true
},
"variable2": {
"type": "variable",
@ -67,6 +73,12 @@
"names": [
"variable2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
[
"a_choice"
]
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"source_variable_1"
],
"description": "The first source variable."
"description": "The first source variable.",
"gen_examples": [
"val1"
],
"mandatory_without_value": false
},
"source_variable_2": {
"type": "variable",
@ -49,7 +53,11 @@
"names": [
"source_variable_2"
],
"description": "The second source variable."
"description": "The second source variable.",
"gen_examples": [
"val2"
],
"mandatory_without_value": false
},
"my_variable": {
"type": "variable",
@ -94,6 +102,10 @@
"names": [
"my_variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"val1"
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"string_1_True_None"
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"var"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -45,6 +49,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -22,7 +22,11 @@
"path": "my_variable",
"names": [
"my_variable"
]
],
"gen_examples": [
"val1"
],
"mandatory_without_value": false
},
"my_calculated_variable": {
"type": "variable",
@ -63,6 +67,12 @@
"path": "my_calculated_variable",
"names": [
"my_calculated_variable"
]
],
"gen_examples": [
[
"val1"
]
],
"mandatory_without_value": false
}
}

View file

@ -22,7 +22,11 @@
"path": "my_variable",
"names": [
"my_variable"
]
],
"gen_examples": [
"val1"
],
"mandatory_without_value": false
},
"my_calculated_variable": {
"type": "variable",
@ -63,6 +67,12 @@
"path": "my_calculated_variable",
"names": [
"my_calculated_variable"
]
],
"gen_examples": [
[
"val1"
]
],
"mandatory_without_value": false
}
}

View file

@ -22,7 +22,11 @@
"path": "my_variable",
"names": [
"my_variable"
]
],
"gen_examples": [
"val1"
],
"mandatory_without_value": false
},
"my_calculated_variable": {
"type": "variable",
@ -63,6 +67,13 @@
"path": "my_calculated_variable",
"names": [
"my_calculated_variable"
]
],
"gen_examples": [
[
"val1",
"value"
]
],
"mandatory_without_value": false
}
}

View file

@ -26,6 +26,12 @@
"path": "my_calculated_variable",
"names": [
"my_calculated_variable"
]
],
"gen_examples": [
[
"example"
]
],
"mandatory_without_value": true
}
}

View file

@ -33,7 +33,14 @@
"path": "my_variable",
"names": [
"my_variable"
]
],
"gen_examples": [
[
"val1",
"val2"
]
],
"mandatory_without_value": false
},
"my_calculated_variable": {
"type": "variable",
@ -72,6 +79,13 @@
"path": "my_calculated_variable",
"names": [
"my_calculated_variable"
]
],
"gen_examples": [
[
"val1",
"val2"
]
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -45,6 +49,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -45,6 +49,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -45,6 +49,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -27,6 +27,10 @@
"names": [
"var"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
9
],
"mandatory_without_value": false
}
}

View file

@ -27,6 +27,10 @@
"names": [
"var"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
9
],
"mandatory_without_value": false
}
}

View file

@ -33,7 +33,13 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
[
true
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -69,7 +75,13 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
[
true
]
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -105,7 +117,13 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
[
true
]
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -141,7 +159,13 @@
"names": [
"var4"
],
"description": "The forth variable."
"description": "The forth variable.",
"gen_examples": [
[
false
]
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -177,7 +201,13 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
[
false
]
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -213,7 +243,13 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
[
false
]
],
"mandatory_without_value": false
},
"var7": {
"type": "variable",
@ -249,7 +285,13 @@
"names": [
"var7"
],
"description": "The seventh variable."
"description": "The seventh variable.",
"gen_examples": [
[
true
]
],
"mandatory_without_value": false
},
"var8": {
"type": "variable",
@ -285,6 +327,12 @@
"names": [
"var8"
],
"description": "The eighth variable."
"description": "The eighth variable.",
"gen_examples": [
[
true
]
],
"mandatory_without_value": false
}
}

View file

@ -27,7 +27,13 @@
"names": [
"custom1"
],
"description": "A first custom variable."
"description": "A first custom variable.",
"gen_examples": [
[
"xxx"
]
],
"mandatory_without_value": true
},
"custom2": {
"type": "variable",
@ -63,6 +69,12 @@
"names": [
"custom2"
],
"description": "A second custom variable."
"description": "A second custom variable.",
"gen_examples": [
[
"value"
]
],
"mandatory_without_value": false
}
}

View file

@ -33,7 +33,13 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
[
0.0
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -69,7 +75,13 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
[
0.0
]
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -105,7 +117,13 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
[
0.0
]
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -141,7 +159,13 @@
"names": [
"var4"
],
"description": "The forth variable."
"description": "The forth variable.",
"gen_examples": [
[
10.1
]
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -177,7 +201,13 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
[
10.1
]
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -213,7 +243,13 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
[
10.1
]
],
"mandatory_without_value": false
},
"var7": {
"type": "variable",
@ -249,7 +285,13 @@
"names": [
"var7"
],
"description": "The seventh variable."
"description": "The seventh variable.",
"gen_examples": [
[
0.0
]
],
"mandatory_without_value": false
},
"var8": {
"type": "variable",
@ -285,6 +327,12 @@
"names": [
"var8"
],
"description": "The eighth variable."
"description": "The eighth variable.",
"gen_examples": [
[
0.0
]
],
"mandatory_without_value": false
}
}

View file

@ -33,7 +33,13 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
[
0
]
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -69,7 +75,13 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
[
0
]
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -105,7 +117,13 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
[
0
]
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -141,7 +159,13 @@
"names": [
"var4"
],
"description": "The forth variable."
"description": "The forth variable.",
"gen_examples": [
[
10
]
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -177,7 +201,13 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
[
10
]
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -213,7 +243,13 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
[
10
]
],
"mandatory_without_value": false
},
"var7": {
"type": "variable",
@ -249,7 +285,13 @@
"names": [
"var7"
],
"description": "The seventh variable."
"description": "The seventh variable.",
"gen_examples": [
[
0
]
],
"mandatory_without_value": false
},
"var8": {
"type": "variable",
@ -285,6 +327,12 @@
"names": [
"var8"
],
"description": "The eighth variable."
"description": "The eighth variable.",
"gen_examples": [
[
0
]
],
"mandatory_without_value": false
}
}

View file

@ -27,6 +27,12 @@
"names": [
"var"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
[
42
]
],
"mandatory_without_value": true
}
}

View file

@ -34,6 +34,13 @@
"names": [
"var1"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
[
"value",
null
]
],
"mandatory_without_value": false
}
}

View file

@ -27,7 +27,13 @@
"names": [
"var1"
],
"description": "The first variable."
"description": "The first variable.",
"gen_examples": [
[
"example"
]
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -57,7 +63,13 @@
"names": [
"var2"
],
"description": "The second variable."
"description": "The second variable.",
"gen_examples": [
[
"example"
]
],
"mandatory_without_value": true
},
"var3": {
"type": "variable",
@ -87,7 +99,13 @@
"names": [
"var3"
],
"description": "The third variable."
"description": "The third variable.",
"gen_examples": [
[
"example"
]
],
"mandatory_without_value": true
},
"var4": {
"type": "variable",
@ -123,7 +141,13 @@
"names": [
"var4"
],
"description": "The forth variable."
"description": "The forth variable.",
"gen_examples": [
[
"value"
]
],
"mandatory_without_value": false
},
"var5": {
"type": "variable",
@ -159,7 +183,13 @@
"names": [
"var5"
],
"description": "The fifth variable."
"description": "The fifth variable.",
"gen_examples": [
[
"value"
]
],
"mandatory_without_value": false
},
"var6": {
"type": "variable",
@ -195,7 +225,13 @@
"names": [
"var6"
],
"description": "The sixth variable."
"description": "The sixth variable.",
"gen_examples": [
[
"value"
]
],
"mandatory_without_value": false
},
"var7": {
"type": "variable",
@ -231,7 +267,13 @@
"names": [
"var7"
],
"description": "The seventh variable."
"description": "The seventh variable.",
"gen_examples": [
[
"value"
]
],
"mandatory_without_value": false
},
"var8": {
"type": "variable",
@ -267,6 +309,12 @@
"names": [
"var8"
],
"description": "The eighth variable."
"description": "The eighth variable.",
"gen_examples": [
[
"value"
]
],
"mandatory_without_value": false
}
}

View file

@ -33,6 +33,12 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
[
"quote\""
]
],
"mandatory_without_value": false
}
}

View file

@ -33,6 +33,12 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
[
"quote'\""
]
],
"mandatory_without_value": false
}
}

View file

@ -33,6 +33,12 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
[
"quote'"
]
],
"mandatory_without_value": false
}
}

View file

@ -31,6 +31,12 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
[
"example"
]
],
"mandatory_without_value": false
}
}

View file

@ -35,7 +35,15 @@
"names": [
"variable1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
[
"a",
"b",
"c"
]
],
"mandatory_without_value": false
},
"variable2": {
"type": "variable",
@ -67,6 +75,10 @@
"names": [
"variable2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"a_choice"
],
"mandatory_without_value": true
}
}

View file

@ -31,6 +31,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"c"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"tags": {
"name": "Tag",
"values": "one_tag"
}
},
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var2": {
"type": "variable",
@ -52,6 +56,10 @@
"one_tag",
"second_tag"
]
}
},
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -30,6 +30,10 @@
"names": [
"int"
],
"description": "A limited number."
"description": "A limited number.",
"gen_examples": [
10
],
"mandatory_without_value": false
}
}

View file

@ -30,6 +30,10 @@
"names": [
"int"
],
"description": "A limited integer."
"description": "A limited integer.",
"gen_examples": [
10
],
"mandatory_without_value": false
}
}

View file

@ -27,6 +27,10 @@
"names": [
"variable"
],
"description": "An auto save variable."
"description": "An auto save variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -59,6 +63,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -58,6 +62,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"yes"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -56,7 +60,11 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var3": {
"type": "variable",
@ -82,6 +90,10 @@
"names": [
"var3"
],
"description": "A third variable."
"description": "A third variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -56,7 +60,11 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var3": {
"type": "variable",
@ -82,6 +90,10 @@
"names": [
"var3"
],
"description": "A third variable."
"description": "A third variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -23,6 +23,10 @@
"names": [
"var3"
],
"description": "A third variable."
"description": "A third variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
}
}

View file

@ -19,7 +19,11 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"var3": {
"type": "variable",
@ -45,6 +49,10 @@
"names": [
"var3"
],
"description": "A third variable."
"description": "A third variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -50,6 +54,10 @@
"names": [
"var3"
],
"description": "A third variable."
"description": "A third variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,7 +23,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"value"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -50,6 +54,10 @@
"names": [
"var3"
],
"description": "A third variable."
"description": "A third variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,7 +23,11 @@
"names": [
"condition"
],
"description": "A conditional variable."
"description": "A conditional variable.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
},
"variable1": {
"type": "variable",
@ -50,7 +54,11 @@
"names": [
"variable1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
},
"variable2": {
"type": "variable",
@ -77,6 +85,10 @@
"names": [
"variable2"
],
"description": "A seconde variable."
"description": "A seconde variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,7 +23,11 @@
"names": [
"condition"
],
"description": "A condition."
"description": "A condition.",
"gen_examples": [
"no"
],
"mandatory_without_value": false
},
"var1": {
"type": "variable",
@ -46,7 +50,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
},
"var2": {
"type": "variable",
@ -69,6 +77,10 @@
"names": [
"var2"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"condition"
],
"description": "A condition."
"description": "A condition.",
"gen_examples": [
false
],
"mandatory_without_value": false
},
"var1": {
"type": "variable",
@ -41,7 +45,11 @@
"names": [
"var1"
],
"description": "A first variable."
"description": "A first variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
},
"var3": {
"type": "variable",
@ -70,7 +78,11 @@
"names": [
"var3"
],
"description": "A second variable."
"description": "A second variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
},
"var4": {
"type": "variable",
@ -99,6 +111,10 @@
"names": [
"var4"
],
"description": "A forth variable."
"description": "A forth variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": false
}
}

View file

@ -23,7 +23,11 @@
"names": [
"condition"
],
"description": "A condition."
"description": "A condition.",
"gen_examples": [
false
],
"mandatory_without_value": false
},
"variable": {
"type": "variable",
@ -56,6 +60,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,7 +23,11 @@
"names": [
"condition"
],
"description": "A condition."
"description": "A condition.",
"gen_examples": [
true
],
"mandatory_without_value": false
},
"variable": {
"type": "variable",
@ -56,6 +60,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,7 +23,11 @@
"names": [
"condition"
],
"description": "A condition."
"description": "A condition.",
"gen_examples": [
true
],
"mandatory_without_value": false
},
"variable": {
"type": "variable",
@ -56,6 +60,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,7 +23,11 @@
"names": [
"condition"
],
"description": "A condition."
"description": "A condition.",
"gen_examples": [
"yes"
],
"mandatory_without_value": false
},
"variable": {
"type": "variable",
@ -56,6 +60,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

View file

@ -23,7 +23,11 @@
"names": [
"condition"
],
"description": "A condition."
"description": "A condition.",
"gen_examples": [
"yes"
],
"mandatory_without_value": false
},
"variable": {
"type": "variable",
@ -56,6 +60,10 @@
"names": [
"variable"
],
"description": "A variable."
"description": "A variable.",
"gen_examples": [
"example"
],
"mandatory_without_value": true
}
}

Some files were not shown because too many files have changed in this diff Show more