feat: adapt to tiramisu-web-ui

This commit is contained in:
egarette@silique.fr 2025-09-22 09:42:46 +02:00
parent 2652fc9db6
commit 1fe10dbe20
387 changed files with 4835 additions and 2025 deletions

View file

@ -5,8 +5,8 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: 2025-05-05 10:06+0200\n"
"PO-Revision-Date: 2025-05-05 10:08+0200\n"
"POT-Creation-Date: 2025-09-22 09:40+0200\n"
"PO-Revision-Date: 2025-09-22 09:42+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
@ -14,21 +14,21 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: pygettext.py 1.5\n"
"X-Generator: Poedit 3.5\n"
"X-Generator: Poedit 3.7\n"
#: src/rougail/output_doc/annotator.py:313
#: src/rougail/output_doc/annotator.py:298
msgid "the value of the information \"{0}\" of the variable \"{1}\""
msgstr "la valeur de l'information \"{0}\" de la variable \"{1}\""
#: src/rougail/output_doc/annotator.py:316
#: src/rougail/output_doc/annotator.py:301
msgid "the value of the global information \"{0}\""
msgstr "la valeur de l'information globale \"{0}\""
#: src/rougail/output_doc/annotator.py:323
#: src/rougail/output_doc/annotator.py:308
msgid "when the identifier is \"{0}\""
msgstr "lorsque l'identifiant est \"{0}\""
#: src/rougail/output_doc/annotator.py:325
#: src/rougail/output_doc/annotator.py:310
msgid "when the identifier is not \"{0}\""
msgstr "lorsque l'identifiant n'est pas \"{0}\""
@ -65,98 +65,126 @@ msgid "verify if disable modes already exists"
msgstr "vérifier le mode existe déjà"
#: src/rougail/output_doc/config.py:113
msgid "Modify values to document leaderships and dynamics families"
msgstr "Valeurs modifiées pour documenter les familles leader ou dynamique"
#: src/rougail/output_doc/config.py:117
msgid "Generate document in format"
msgstr "Générer le document au format"
#: src/rougail/output_doc/doc.py:90
#: src/rougail/output_doc/doc.py:89
msgid "mandatory"
msgstr "obligatoire"
#: src/rougail/output_doc/doc.py:91
#: src/rougail/output_doc/doc.py:90
msgid "hidden"
msgstr "cachée"
#: src/rougail/output_doc/doc.py:92
#: src/rougail/output_doc/doc.py:91
msgid "disabled"
msgstr "désactivé"
#: src/rougail/output_doc/doc.py:93
#: src/rougail/output_doc/doc.py:92
msgid "unique"
msgstr "unique"
#: src/rougail/output_doc/doc.py:94
#: src/rougail/output_doc/doc.py:93
msgid "auto modified"
msgstr "auto modifiée"
#: src/rougail/output_doc/doc.py:309
#: src/rougail/output_doc/doc.py:325
msgid "This family contains lists of variable blocks."
msgstr "Cette famille contient des listes de bloc de variable."
#: src/rougail/output_doc/doc.py:317
#: src/rougail/output_doc/doc.py:333
msgid "This family builds families dynamically."
msgstr "Cette famille construit des familles dynamiquement."
#: src/rougail/output_doc/doc.py:347
msgid "Default"
msgstr "Défaut"
#: src/rougail/output_doc/doc.py:365
msgid "multiple"
msgstr "multiple"
#: src/rougail/output_doc/doc.py:368
#: src/rougail/output_doc/doc.py:373
msgid "Example"
msgstr "Exemple"
#: src/rougail/output_doc/doc.py:375
msgid "Examples"
msgstr "Exemples"
#: src/rougail/output_doc/doc.py:391
msgid "No attribute \"description\" for \"{0}\" in {1}"
msgstr "Aucun attribut \"description\" pour \"{0}\" dans {1}"
#: src/rougail/output_doc/doc.py:482
msgid "(default)"
msgstr "(défaut)"
#: src/rougail/output_doc/doc.py:489
#: src/rougail/output_doc/doc.py:512
msgid "text based with regular expressions \"{0}\""
msgstr "texte avec expression rationnelle \"{0}\""
#: src/rougail/output_doc/doc.py:583
#: src/rougail/output_doc/doc.py:518
msgid "Validator"
msgstr "Validateur"
#: src/rougail/output_doc/doc.py:521
msgid "Validators"
msgstr "Validateurs"
#: src/rougail/output_doc/doc.py:534
msgid "(default)"
msgstr "(défaut)"
#: src/rougail/output_doc/doc.py:539
msgid "Choices"
msgstr "Choix"
#: src/rougail/output_doc/doc.py:630
msgid "depends on a calculation"
msgstr "dépend d'un calcul"
#: src/rougail/output_doc/doc.py:584
#: src/rougail/output_doc/doc.py:632
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
msgstr "\"{0}\" est un calcul pour {1} mais n'a pas de description dans {2}"
#: src/rougail/output_doc/doc.py:605 src/rougail/output_doc/doc.py:681
#: src/rougail/output_doc/doc.py:655 src/rougail/output_doc/doc.py:745
msgid "depends on an undocumented variable"
msgstr "dépends d'une variable non documentée"
#: src/rougail/output_doc/doc.py:607
#: src/rougail/output_doc/doc.py:657
msgid "when the variable \"{0}\" hasn't the value \"{1}\""
msgstr "lorsque la variable \"{0}\" n'a pas la valeur \"{1}\""
#: src/rougail/output_doc/doc.py:609
#: src/rougail/output_doc/doc.py:659
msgid "when the variable \"{0}\" has the value \"{1}\""
msgstr "lorsque la variable \"{0}\" a la valeur \"{1}\""
#: src/rougail/output_doc/doc.py:624
#: src/rougail/output_doc/doc.py:674
msgid "the value of the variable \"{0}\""
msgstr "la valeur de la variable \"{0}\""
#: src/rougail/output_doc/doc.py:625
#: src/rougail/output_doc/doc.py:675
msgid "the value of an undocumented variable"
msgstr "la valeur d'une variable non documentée"
#: src/rougail/output_doc/doc.py:656
#: src/rougail/output_doc/doc.py:714
msgid "the values of undocumented variables"
msgstr "les valeurs de variables non documentées"
#: src/rougail/output_doc/doc.py:675
#: src/rougail/output_doc/doc.py:735
msgid "(from an undocumented variable){0}"
msgstr "(issue d'une variable non documentée){0}"
#: src/rougail/output_doc/doc.py:679
#: src/rougail/output_doc/doc.py:741
msgid "{0} (from an undocumented variable)"
msgstr "{0} (issue d'une variable non documentée)"
#: src/rougail/output_doc/doc.py:690
#: src/rougail/output_doc/doc.py:754
msgid "the value of the identifier"
msgstr "la valeur de l'identifiant"
#: src/rougail/output_doc/doc.py:694
#: src/rougail/output_doc/doc.py:758
msgid "the value of the {0}"
msgstr "la valeur de l'{0}"
@ -168,13 +196,13 @@ msgstr "Exemple avec des variables obligatoire non renseignée"
msgid "Example with all variables modifiable"
msgstr "Exemple avec toutes les variables modifiable"
#: src/rougail/output_doc/output/console.py:142
#: src/rougail/output_doc/utils.py:373
#: src/rougail/output_doc/output/console.py:145
#: src/rougail/output_doc/utils.py:379
msgid "Variable"
msgstr "Variable"
#: src/rougail/output_doc/output/console.py:143
#: src/rougail/output_doc/utils.py:373
#: src/rougail/output_doc/output/console.py:146
#: src/rougail/output_doc/utils.py:379
msgid "Description"
msgstr "Description"
@ -278,35 +306,11 @@ msgstr "type de fichier autorisé : {0}"
msgid "Variables for \"{0}\""
msgstr "Variables pour \"{0}\""
#: src/rougail/output_doc/utils.py:256
#: src/rougail/output_doc/utils.py:257
msgid "Identifiers"
msgstr "Identifiants"
#: src/rougail/output_doc/utils.py:321
msgid "Validator"
msgstr "Validateur"
#: src/rougail/output_doc/utils.py:323
msgid "Validators"
msgstr "Validateurs"
#: src/rougail/output_doc/utils.py:325
msgid "Choices"
msgstr "Choix"
#: src/rougail/output_doc/utils.py:327
msgid "Default"
msgstr "Défaut"
#: src/rougail/output_doc/utils.py:331
msgid "Example"
msgstr "Exemple"
#: src/rougail/output_doc/utils.py:333
msgid "Examples"
msgstr "Exemples"
#: src/rougail/output_doc/utils.py:394
#: src/rougail/output_doc/utils.py:400
msgid "{0}: {1}"
msgstr "{0} : {1}"

View file

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-05-12 08:39+0200\n"
"POT-Creation-Date: 2025-09-22 09:42+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -15,19 +15,19 @@ msgstr ""
"Generated-By: pygettext.py 1.5\n"
#: src/rougail/output_doc/annotator.py:313
#: src/rougail/output_doc/annotator.py:298
msgid "the value of the information \"{0}\" of the variable \"{1}\""
msgstr ""
#: src/rougail/output_doc/annotator.py:316
#: src/rougail/output_doc/annotator.py:301
msgid "the value of the global information \"{0}\""
msgstr ""
#: src/rougail/output_doc/annotator.py:323
#: src/rougail/output_doc/annotator.py:308
msgid "when the identifier is \"{0}\""
msgstr ""
#: src/rougail/output_doc/annotator.py:325
#: src/rougail/output_doc/annotator.py:310
msgid "when the identifier is not \"{0}\""
msgstr ""
@ -64,98 +64,126 @@ msgid "verify if disable modes already exists"
msgstr ""
#: src/rougail/output_doc/config.py:113
msgid "Modify values to document leaderships and dynamics families"
msgstr ""
#: src/rougail/output_doc/config.py:117
msgid "Generate document in format"
msgstr ""
#: src/rougail/output_doc/doc.py:90
#: src/rougail/output_doc/doc.py:89
msgid "mandatory"
msgstr ""
#: src/rougail/output_doc/doc.py:91
#: src/rougail/output_doc/doc.py:90
msgid "hidden"
msgstr ""
#: src/rougail/output_doc/doc.py:92
#: src/rougail/output_doc/doc.py:91
msgid "disabled"
msgstr ""
#: src/rougail/output_doc/doc.py:93
#: src/rougail/output_doc/doc.py:92
msgid "unique"
msgstr ""
#: src/rougail/output_doc/doc.py:94
#: src/rougail/output_doc/doc.py:93
msgid "auto modified"
msgstr ""
#: src/rougail/output_doc/doc.py:321
#: src/rougail/output_doc/doc.py:325
msgid "This family contains lists of variable blocks."
msgstr ""
#: src/rougail/output_doc/doc.py:329
#: src/rougail/output_doc/doc.py:333
msgid "This family builds families dynamically."
msgstr ""
#: src/rougail/output_doc/doc.py:361
#: src/rougail/output_doc/doc.py:347
msgid "Default"
msgstr ""
#: src/rougail/output_doc/doc.py:365
msgid "multiple"
msgstr ""
#: src/rougail/output_doc/doc.py:383
msgid "No attribute \"description\" for \"{0}\" in {1}"
#: src/rougail/output_doc/doc.py:373
msgid "Example"
msgstr ""
#: src/rougail/output_doc/doc.py:504
msgid "(default)"
#: src/rougail/output_doc/doc.py:375
msgid "Examples"
msgstr ""
#: src/rougail/output_doc/doc.py:391
msgid "No attribute \"description\" for \"{0}\" in {1}"
msgstr ""
#: src/rougail/output_doc/doc.py:512
msgid "text based with regular expressions \"{0}\""
msgstr ""
#: src/rougail/output_doc/doc.py:606
#: src/rougail/output_doc/doc.py:518
msgid "Validator"
msgstr ""
#: src/rougail/output_doc/doc.py:521
msgid "Validators"
msgstr ""
#: src/rougail/output_doc/doc.py:534
msgid "(default)"
msgstr ""
#: src/rougail/output_doc/doc.py:539
msgid "Choices"
msgstr ""
#: src/rougail/output_doc/doc.py:630
msgid "depends on a calculation"
msgstr ""
#: src/rougail/output_doc/doc.py:607
#: src/rougail/output_doc/doc.py:632
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
msgstr ""
#: src/rougail/output_doc/doc.py:630 src/rougail/output_doc/doc.py:720
#: src/rougail/output_doc/doc.py:655 src/rougail/output_doc/doc.py:745
msgid "depends on an undocumented variable"
msgstr ""
#: src/rougail/output_doc/doc.py:632
#: src/rougail/output_doc/doc.py:657
msgid "when the variable \"{0}\" hasn't the value \"{1}\""
msgstr ""
#: src/rougail/output_doc/doc.py:634
#: src/rougail/output_doc/doc.py:659
msgid "when the variable \"{0}\" has the value \"{1}\""
msgstr ""
#: src/rougail/output_doc/doc.py:649
#: src/rougail/output_doc/doc.py:674
msgid "the value of the variable \"{0}\""
msgstr ""
#: src/rougail/output_doc/doc.py:650
#: src/rougail/output_doc/doc.py:675
msgid "the value of an undocumented variable"
msgstr ""
#: src/rougail/output_doc/doc.py:689
#: src/rougail/output_doc/doc.py:714
msgid "the values of undocumented variables"
msgstr ""
#: src/rougail/output_doc/doc.py:710
#: src/rougail/output_doc/doc.py:735
msgid "(from an undocumented variable){0}"
msgstr ""
#: src/rougail/output_doc/doc.py:716
#: src/rougail/output_doc/doc.py:741
msgid "{0} (from an undocumented variable)"
msgstr ""
#: src/rougail/output_doc/doc.py:729
#: src/rougail/output_doc/doc.py:754
msgid "the value of the identifier"
msgstr ""
#: src/rougail/output_doc/doc.py:733
#: src/rougail/output_doc/doc.py:758
msgid "the value of the {0}"
msgstr ""
@ -168,12 +196,12 @@ msgid "Example with all variables modifiable"
msgstr ""
#: src/rougail/output_doc/output/console.py:145
#: src/rougail/output_doc/utils.py:375
#: src/rougail/output_doc/utils.py:379
msgid "Variable"
msgstr ""
#: src/rougail/output_doc/output/console.py:146
#: src/rougail/output_doc/utils.py:375
#: src/rougail/output_doc/utils.py:379
msgid "Description"
msgstr ""
@ -281,31 +309,7 @@ msgstr ""
msgid "Identifiers"
msgstr ""
#: src/rougail/output_doc/utils.py:323
msgid "Validator"
msgstr ""
#: src/rougail/output_doc/utils.py:325
msgid "Validators"
msgstr ""
#: src/rougail/output_doc/utils.py:327
msgid "Choices"
msgstr ""
#: src/rougail/output_doc/utils.py:329
msgid "Default"
msgstr ""
#: src/rougail/output_doc/utils.py:333
msgid "Example"
msgstr ""
#: src/rougail/output_doc/utils.py:335
msgid "Examples"
msgstr ""
#: src/rougail/output_doc/utils.py:396
#: src/rougail/output_doc/utils.py:400
msgid "{0}: {1}"
msgstr ""

View file

@ -27,7 +27,7 @@ classifiers = [
]
dependencies = [
"rougail > 1.1,<2",
"rougail-base > 1.1,<2",
"tabulate ~= 0.9.0",
"rich ~= 13.9.3",
]

View file

@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from typing import Union
from rougail.utils import undefined
from rougail.utils import undefined, PROPERTY_ATTRIBUTE
from rougail.annotator.variable import Walk
from rougail.output_doc.i18n import _
@ -36,7 +36,6 @@ from rougail.convert.object_model import (
IndexCalculation,
NamespaceCalculation,
CONVERT_OPTION,
PROPERTY_ATTRIBUTE,
)
@ -53,7 +52,9 @@ class Annotator(Walk):
if not objectspace.paths:
return
self.objectspace = objectspace
self.change_default_value = self.objectspace.rougailconfig["doc.change_default_value"]
self.change_default_value = self.objectspace.rougailconfig[
"doc.change_default_value"
]
self.populate_family()
self.populate_variable()
@ -70,7 +71,9 @@ class Annotator(Walk):
self.force_default_value_in_suffix_variable(family, family.dynamic)
else:
for value in family.dynamic:
self.force_default_value_in_suffix_variable(family, value, return_a_list=False)
self.force_default_value_in_suffix_variable(
family, value, return_a_list=False
)
self.calculation_to_information(
family.path,
"dynamic",
@ -149,7 +152,11 @@ class Annotator(Walk):
variable.validators,
variable.version,
)
if self.change_default_value and variable.path in self.objectspace.leaders and not default:
if (
self.change_default_value
and variable.path in self.objectspace.leaders
and not default
):
self.add_examples_values(variable)
self.convert_property(variable)

View file

@ -24,8 +24,7 @@ from re import compile
from tiramisu import Calculation, groups
from tiramisu.error import ConfigError, display_list, PropertiesOptionError
from rougail.tiramisu import display_xmlfiles, normalize_family
from rougail.convert.object_model import PROPERTY_ATTRIBUTE
from rougail.utils import undefined
from rougail.utils import undefined, PROPERTY_ATTRIBUTE
from .config import OutPuts
from .i18n import _
@ -153,7 +152,7 @@ class RougailOutputDoc(Examples):
name = child.name(uncalculated=True)
path = child.path(uncalculated=True)
if not child.isoptiondescription():
leader = self._parse_variable(child, leader, name, path, informations)
leader = self.parse_variable(child, leader, name, path, informations)
else:
self._parse_family(child, informations, name, path)
return informations
@ -213,20 +212,27 @@ class RougailOutputDoc(Examples):
else:
informations.update(sub_informations)
def _parse_variable(
self, variable, leader: dict, name: str, path: str, informations: dict
def parse_variable(
self,
variable,
leader: dict,
name: str,
path: str,
informations: dict,
*,
only_one=False,
) -> Optional[dict]:
potential_leader = None
if variable.isdynamic():
# information is already set
potential_leader = self._parse_variable_dynamic(
variable, leader, name, path, informations
)
elif variable.isfollower() and variable.index():
self._parse_variable_follower_with_index(
variable, leader, path, informations
variable, leader, name, path, informations, only_one
)
else:
if variable.isfollower() and variable.index():
self._parse_variable_follower_with_index(
variable, leader, path, informations
)
potential_leader = self._parse_variable_normal(
variable, leader, name, path, informations
)
@ -239,6 +245,8 @@ class RougailOutputDoc(Examples):
) -> Optional[dict]:
if variable.isdynamic():
sub_informations = self.dynamic_paths[path]
elif variable.isfollower() and variable.index():
sub_informations = informations[path]
else:
sub_informations = {}
self._populate_variable(
@ -262,10 +270,12 @@ class RougailOutputDoc(Examples):
)
def _parse_variable_dynamic(
self, variable, leader, name, path, informations
self, variable, leader, name, path, informations, only_one
) -> None:
if path not in self.dynamic_paths:
self._populate_dynamic_variable(variable, path)
dynamic_variable = self.dynamic_paths[path]
if "type" in dynamic_variable:
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)
@ -280,7 +290,8 @@ class RougailOutputDoc(Examples):
)
if variable.isleader():
return dynamic_variable
return None
if not only_one:
return None
return self._parse_variable_normal(variable, leader, name, path, informations)
def _get_family_type(self, family) -> str:
@ -340,7 +351,7 @@ class RougailOutputDoc(Examples):
variable,
)
if default is not None:
informations["default"] = default
informations["default"] = {"name": _("Default"), "values": default}
self._parse_type(
variable,
informations,
@ -365,7 +376,13 @@ class RougailOutputDoc(Examples):
if examples is None:
examples = variable.information.get("test", None)
if examples is not None:
informations["examples"] = list(examples)
if len(examples) == 1:
informations["examples"] = {"name": _("Example"), "values": examples[0]}
else:
informations["examples"] = {
"name": _("Examples"),
"values": list(examples),
}
def _populate(
self,
@ -380,11 +397,12 @@ class RougailOutputDoc(Examples):
not obj.isoptiondescription()
or (self.support_namespace and obj.group_type() is not groups.namespace)
):
warning = _('No attribute "description" for "{0}" in {1}').format(
obj.path(uncalculated=True),
display_xmlfiles(obj.information.get("ymlfiles")),
)
warn(warning)
if obj.isoptiondescription() or not obj.isfollower() or not obj.index():
warning = _('No attribute "description" for "{0}" in {1}').format(
obj.path(uncalculated=True),
display_xmlfiles(obj.information.get("ymlfiles")),
)
warn(warning)
else:
informations["description"] = self._convert_description(description, obj)
help_ = obj.information.get("help", None)
@ -403,8 +421,9 @@ class RougailOutputDoc(Examples):
return description
def _add_examples(self, variable, informations: dict, leader) -> None:
example = self._get_example(variable, informations, leader)
informations["example"] = [example]
if not variable.index():
example = self._get_example(variable, informations, leader)
informations["example"] = [example]
informations["mandatory_without_value"] = "mandatory" in variable.property.get(
uncalculated=True
) and (
@ -413,18 +432,21 @@ class RougailOutputDoc(Examples):
)
def _get_example(self, variable, informations: dict, leader):
example = informations.get("examples")
example = informations.get("examples", {}).get("values")
if example is not None:
if isinstance(example, tuple):
example = list(example)
for prop in informations["properties"]:
if prop["type"] == "multiple":
multi = True
if not isinstance(example, list):
example = [example]
break
else:
multi = False
if not multi:
example = example[0]
if isinstance(example, list):
index = variable.index()
if index is None or len(example) - 1 >= index:
index = 0
example = example[index]
else:
if variable.information.get("fake_default", False):
default = None
@ -436,24 +458,29 @@ class RougailOutputDoc(Examples):
if default not in [None, []]:
example = default
else:
example = self.convert_option.get(
variable.information.get("type"), {}
).get("example", None)
if example is None:
example = "xxx"
for prop in informations["properties"]:
if prop["type"] == "multiple":
multi = True
break
else:
multi = False
if multi:
example = [example]
example = self.get_type_default_value(
variable, informations["properties"]
)
if leader is not None and variable.isfollower():
# len of leader is known, add "undefined" example, it will be modify latter with true value
example = [example] + [undefined] * (len(leader["example"][-1]) - 1)
return example
def get_type_default_value(self, variable, properties):
example = self.convert_option.get(variable.information.get("type"), {}).get(
"example", None
)
if example is None:
example = "xxx"
for prop in properties:
if prop["type"] == "multiple":
multi = True
break
else:
multi = False
if multi:
example = [example]
return example
def _parse_type(
self,
variable,
@ -469,6 +496,7 @@ class RougailOutputDoc(Examples):
]
# extra parameters for types
option = variable.get()
validators = []
for param, msg in doc_type["params"].items():
value = option.impl_get_extra(f"_{param}")
if value is None:
@ -478,41 +506,49 @@ class RougailOutputDoc(Examples):
value = list(value)
if isinstance(value, list):
value = display_list(value, add_quote=True)
informations.setdefault("validators", []).append(msg.format(value))
validators.append(msg.format(value))
# get validation information from annotator
for name in variable.information.list():
if not name.startswith("validators_calculation"):
continue
informations.setdefault("validators", []).extend(
validators.extend(
self._to_string(
variable,
"validators",
)
)
break
if variable.information.get("type") == "regexp":
validators.append(
_('text based with regular expressions "{0}"').format(
variable.pattern()
)
)
if validators:
if len(validators) == 1:
key = _("Validator")
validators = validators[0]
else:
key = _("Validators")
informations["validators"] = {"name": key, "values": validators}
if variable.information.get("type") == "choice":
choices = self._to_string(variable, "choice", do_not_raise=True)
if choices is None:
choices = variable.value.list()
for idx, val in enumerate(choices):
if not isinstance(val, Calculation):
default = informations.get("default")
default = informations.get("default", {}).get("values")
if default is not None and val == default:
choices[idx] = (
str(val)
+ " "
+ self.formater.bold("" + _("(default)"))
)
informations["display_default"] = False
informations["default_is_already_set"] = True
continue
choices[idx] = self._to_string(variable, "choice", f"_{idx}")
informations["choices"] = choices
if variable.information.get("type") == "regexp":
informations.setdefault("validators", []).append(
_('text based with regular expressions "{0}"').format(
variable.pattern()
)
)
informations["choices"] = {"name": _("Choices"), "values": choices}
def _parse_properties(
self,
@ -604,14 +640,19 @@ class RougailOutputDoc(Examples):
values = calculation["value"]
else:
values = _("depends on a calculation")
warning = _(
'"{0}" is a calculation for {1} but has no description in {2}'
).format(
prop,
child.path(),
display_xmlfiles(child.information.get("ymlfiles")),
)
warn(warning)
if (
child.isoptiondescription()
or not child.isfollower()
or not child.index()
):
warning = _(
'"{0}" is a calculation for {1} but has no description in {2}'
).format(
prop,
child.path(),
display_xmlfiles(child.information.get("ymlfiles")),
)
warn(warning)
elif calculation["type"] == "variable":
if prop in PROPERTY_ATTRIBUTE:
variable_path, value, condition = calculation["value"]

View file

@ -319,20 +319,27 @@ class CommonFormater:
second_col.append(self.stripped(help_))
if "validators" in informations:
validators = informations["validators"]
if len(validators) == 1:
second_col.append(self.section(_("Validator"), validators[0]))
if isinstance(validators["values"], list):
values = self.list(validators["values"])
else:
second_col.append(self.section(_("Validators"), self.list(validators)))
values = validators["values"]
second_col.append(self.section(validators["name"], values))
if "choices" in informations:
second_col.append(self.section(_("Choices"), informations["choices"]))
if "default" in informations and informations.get("display_default", True):
second_col.append(self.section(_("Default"), informations["default"]))
choices = informations["choices"]
second_col.append(self.section(choices["name"], choices["values"]))
if (
"default" in informations
and informations.get("default_is_already_set", False) is False
):
default = informations["default"]
second_col.append(self.section(default["name"], default["values"]))
if "examples" in informations:
examples = informations["examples"]
if len(examples) == 1:
second_col.append(self.section(_("Example"), examples[0]))
if isinstance(examples["values"], list):
values = self.list(examples["values"])
else:
second_col.append(self.section(_("Examples"), examples))
values = examples["values"]
second_col.append(self.section(examples["name"], values))
second_col.extend(calculated_properties)
self.columns(second_col)
return second_col

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"var2": {
"type": "variable",
"default": "the value of var1.",
"default": {
"name": "Default",
"values": "the value of var1."
},
"properties": [
{
"type": "type",

View file

@ -1,11 +1,14 @@
{
"var1": {
"type": "variable",
"default": [
"no",
"yes",
"maybe"
],
"default": {
"name": "Default",
"values": [
"no",
"yes",
"maybe"
]
},
"properties": [
{
"type": "type",
@ -40,7 +43,10 @@
},
"var2": {
"type": "variable",
"default": "the value of _.var1.",
"default": {
"name": "Default",
"values": "the value of _.var1."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var2": {
"type": "variable",
"default": "depends on a calculation.",
"default": {
"name": "Default",
"values": "depends on a calculation."
},
"properties": [
{
"type": "type",

View file

@ -27,7 +27,10 @@
},
"var2": {
"type": "variable",
"default": "value of a variable!.",
"default": {
"name": "Default",
"values": "value of a variable!."
},
"properties": [
{
"type": "type",

View file

@ -27,7 +27,10 @@
},
"var2": {
"type": "variable",
"default": "value\nof\na\nvariable!.",
"default": {
"name": "Default",
"values": "value\nof\na\nvariable!."
},
"properties": [
{
"type": "type",

View file

@ -23,9 +23,10 @@
"name": "multiple"
}
],
"validators": [
"the domain name can be an IP"
],
"validators": {
"name": "Validator",
"values": "the domain name can be an IP"
},
"paths": [
"var1"
],
@ -38,7 +39,10 @@
},
"var2": {
"type": "variable",
"default": "the value of the variable \"var1\".",
"default": {
"name": "Default",
"values": "the value of the variable \"var1\"."
},
"properties": [
{
"type": "type",
@ -61,9 +65,10 @@
"name": "multiple"
}
],
"validators": [
"the domain name can be an IP"
],
"validators": {
"name": "Validator",
"values": "the domain name can be an IP"
},
"paths": [
"var2"
],

View file

@ -1,7 +1,10 @@
{
"without_type": {
"type": "variable",
"default": "non",
"default": {
"name": "Default",
"values": "non"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": true,
"default": {
"name": "Default",
"values": true
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"var2": {
"type": "variable",
"default": true,
"default": {
"name": "Default",
"values": true
},
"properties": [
{
"type": "type",
@ -55,7 +61,10 @@
},
"var3": {
"type": "variable",
"default": true,
"default": {
"name": "Default",
"values": true
},
"properties": [
{
"type": "type",
@ -82,7 +91,10 @@
},
"var4": {
"type": "variable",
"default": false,
"default": {
"name": "Default",
"values": false
},
"properties": [
{
"type": "type",
@ -109,7 +121,10 @@
},
"var5": {
"type": "variable",
"default": false,
"default": {
"name": "Default",
"values": false
},
"properties": [
{
"type": "type",
@ -136,7 +151,10 @@
},
"var6": {
"type": "variable",
"default": false,
"default": {
"name": "Default",
"values": false
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": true,
"default": {
"name": "Default",
"values": true
},
"properties": [
{
"type": "type",

View file

@ -15,11 +15,14 @@
"name": "mandatory"
}
],
"choices": [
"a",
"b",
"c"
],
"choices": {
"name": "Choices",
"values": [
"a",
"b",
"c"
]
},
"paths": [
"var1"
],
@ -46,11 +49,14 @@
"name": "mandatory"
}
],
"choices": [
"a",
"b",
"c"
],
"choices": {
"name": "Choices",
"values": [
"a",
"b",
"c"
]
},
"paths": [
"var2"
],
@ -73,12 +79,15 @@
"name": "standard"
}
],
"choices": [
"a",
"b",
"c",
null
],
"choices": {
"name": "Choices",
"values": [
"a",
"b",
"c",
null
]
},
"paths": [
"var3"
],
@ -101,11 +110,14 @@
"name": "standard"
}
],
"choices": [
null,
"b",
"c"
],
"choices": {
"name": "Choices",
"values": [
null,
"b",
"c"
]
},
"paths": [
"var4"
],
@ -118,7 +130,10 @@
},
"var5": {
"type": "variable",
"default": "a",
"default": {
"name": "Default",
"values": "a"
},
"properties": [
{
"type": "type",
@ -133,12 +148,15 @@
"name": "mandatory"
}
],
"display_default": false,
"choices": [
"a ← (default)",
"b",
"c"
],
"default_is_already_set": true,
"choices": {
"name": "Choices",
"values": [
"a ← (default)",
"b",
"c"
]
},
"paths": [
"var5"
],
@ -151,7 +169,10 @@
},
"var6": {
"type": "variable",
"default": 1,
"default": {
"name": "Default",
"values": 1
},
"properties": [
{
"type": "type",
@ -166,12 +187,15 @@
"name": "mandatory"
}
],
"display_default": false,
"choices": [
"1 ← (default)",
2,
3
],
"default_is_already_set": true,
"choices": {
"name": "Choices",
"values": [
"1 ← (default)",
2,
3
]
},
"paths": [
"var6"
],

View file

@ -1,7 +1,10 @@
{
"var": {
"type": "variable",
"default": 9,
"default": {
"name": "Default",
"values": 9
},
"properties": [
{
"type": "type",
@ -16,7 +19,10 @@
"name": "mandatory"
}
],
"choices": "choices is 0 to 9.",
"choices": {
"name": "Choices",
"values": "choices is 0 to 9."
},
"paths": [
"var"
],

View file

@ -15,11 +15,14 @@
"name": "mandatory"
}
],
"choices": [
"a",
"b",
"c"
],
"choices": {
"name": "Choices",
"values": [
"a",
"b",
"c"
]
},
"paths": [
"var1"
],
@ -32,7 +35,10 @@
},
"var2": {
"type": "variable",
"default": "the value of the variable \"var1\".",
"default": {
"name": "Default",
"values": "the value of the variable \"var1\"."
},
"properties": [
{
"type": "type",
@ -47,11 +53,14 @@
"name": "mandatory"
}
],
"choices": [
"a",
"b",
"c"
],
"choices": {
"name": "Choices",
"values": [
"a",
"b",
"c"
]
},
"paths": [
"var2"
],

View file

@ -1,11 +1,14 @@
{
"var1": {
"type": "variable",
"default": [
"a",
"b",
"c"
],
"default": {
"name": "Default",
"values": [
"a",
"b",
"c"
]
},
"properties": [
{
"type": "type",
@ -40,7 +43,10 @@
},
"var2": {
"type": "variable",
"default": "a",
"default": {
"name": "Default",
"values": "a"
},
"properties": [
{
"type": "type",
@ -55,7 +61,10 @@
"name": "mandatory"
}
],
"choices": "the value of the variable \"var1\".",
"choices": {
"name": "Choices",
"values": "the value of the variable \"var1\"."
},
"paths": [
"var2"
],

View file

@ -1,11 +1,14 @@
{
"var1": {
"type": "variable",
"default": [
"a",
"b",
"c"
],
"default": {
"name": "Default",
"values": [
"a",
"b",
"c"
]
},
"properties": [
{
"type": "type",
@ -40,7 +43,10 @@
},
"var2": {
"type": "variable",
"default": "a",
"default": {
"name": "Default",
"values": "a"
},
"properties": [
{
"type": "type",
@ -55,7 +61,10 @@
"name": "mandatory"
}
],
"choices": "the value of the variable \"var1\".",
"choices": {
"name": "Choices",
"values": "the value of the variable \"var1\"."
},
"paths": [
"var2"
],
@ -68,7 +77,10 @@
},
"var3": {
"type": "variable",
"default": "the value of the variable \"var2\".",
"default": {
"name": "Default",
"values": "the value of the variable \"var2\"."
},
"properties": [
{
"type": "type",
@ -83,7 +95,10 @@
"name": "mandatory"
}
],
"choices": "the value of the variable \"var1\".",
"choices": {
"name": "Choices",
"values": "the value of the variable \"var1\"."
},
"paths": [
"var3"
],

View file

@ -1,11 +1,14 @@
{
"var1": {
"type": "variable",
"default": [
"a",
"b",
"c"
],
"default": {
"name": "Default",
"values": [
"a",
"b",
"c"
]
},
"properties": [
{
"type": "type",
@ -40,7 +43,10 @@
},
"var2": {
"type": "variable",
"default": "a",
"default": {
"name": "Default",
"values": "a"
},
"properties": [
{
"type": "type",
@ -55,7 +61,10 @@
"name": "mandatory"
}
],
"choices": "the value of the variable \"var1\".",
"choices": {
"name": "Choices",
"values": "the value of the variable \"var1\"."
},
"paths": [
"var2"
],
@ -85,7 +94,10 @@
"children": {
"family.var3": {
"type": "variable",
"default": "the value of the variable \"var2\".",
"default": {
"name": "Default",
"values": "the value of the variable \"var2\"."
},
"properties": [
{
"type": "type",
@ -100,7 +112,10 @@
"name": "mandatory"
}
],
"choices": "the value of the variable \"family.var1\".",
"choices": {
"name": "Choices",
"values": "the value of the variable \"family.var1\"."
},
"paths": [
"family.var3"
],

View file

@ -27,7 +27,10 @@
},
"custom2": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "my.domain.name",
"default": {
"name": "Default",
"values": "my.domain.name"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "my.domain.name",
"default": {
"name": "Default",
"values": "my.domain.name"
},
"properties": [
{
"type": "type",
@ -16,9 +19,10 @@
"name": "mandatory"
}
],
"validators": [
"the domain name can be an IP"
],
"validators": {
"name": "Validator",
"values": "the domain name can be an IP"
},
"paths": [
"variable"
],

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": 0.0,
"default": {
"name": "Default",
"values": 0.0
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"var2": {
"type": "variable",
"default": 0.0,
"default": {
"name": "Default",
"values": 0.0
},
"properties": [
{
"type": "type",
@ -55,7 +61,10 @@
},
"var3": {
"type": "variable",
"default": 0.0,
"default": {
"name": "Default",
"values": 0.0
},
"properties": [
{
"type": "type",
@ -82,7 +91,10 @@
},
"var4": {
"type": "variable",
"default": 10.1,
"default": {
"name": "Default",
"values": 10.1
},
"properties": [
{
"type": "type",
@ -109,7 +121,10 @@
},
"var5": {
"type": "variable",
"default": 10.1,
"default": {
"name": "Default",
"values": 10.1
},
"properties": [
{
"type": "type",
@ -136,7 +151,10 @@
},
"var6": {
"type": "variable",
"default": 10.1,
"default": {
"name": "Default",
"values": 10.1
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": 0,
"default": {
"name": "Default",
"values": 0
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"var2": {
"type": "variable",
"default": 0,
"default": {
"name": "Default",
"values": 0
},
"properties": [
{
"type": "type",
@ -55,7 +61,10 @@
},
"var3": {
"type": "variable",
"default": 0,
"default": {
"name": "Default",
"values": 0
},
"properties": [
{
"type": "type",
@ -82,7 +91,10 @@
},
"var4": {
"type": "variable",
"default": 10,
"default": {
"name": "Default",
"values": 10
},
"properties": [
{
"type": "type",
@ -109,7 +121,10 @@
},
"var5": {
"type": "variable",
"default": 10,
"default": {
"name": "Default",
"values": 10
},
"properties": [
{
"type": "type",
@ -136,7 +151,10 @@
},
"var6": {
"type": "variable",
"default": 10,
"default": {
"name": "Default",
"values": 10
},
"properties": [
{
"type": "type",

View file

@ -15,11 +15,14 @@
"name": "mandatory"
}
],
"validators": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
],
"validators": {
"name": "Validators",
"values": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
]
},
"paths": [
"variable1"
],
@ -32,7 +35,10 @@
},
"variable2": {
"type": "variable",
"default": "8080",
"default": {
"name": "Default",
"values": "8080"
},
"properties": [
{
"type": "type",
@ -47,11 +53,14 @@
"name": "mandatory"
}
],
"validators": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
],
"validators": {
"name": "Validators",
"values": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
]
},
"paths": [
"variable2"
],
@ -64,7 +73,10 @@
},
"variable3": {
"type": "variable",
"default": "8080",
"default": {
"name": "Default",
"values": "8080"
},
"properties": [
{
"type": "type",
@ -79,11 +91,14 @@
"name": "mandatory"
}
],
"validators": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
],
"validators": {
"name": "Validators",
"values": [
"well-known ports (1 to 1023) are allowed",
"registred ports (1024 to 49151) are allowed",
"private ports (greater than 49152) are allowed"
]
},
"paths": [
"variable3"
],

View file

@ -1,7 +1,10 @@
{
"var": {
"type": "variable",
"default": "#a1a1a1",
"default": {
"name": "Default",
"values": "#a1a1a1"
},
"properties": [
{
"type": "type",
@ -16,9 +19,10 @@
"name": "mandatory"
}
],
"validators": [
"text based with regular expressions \"^#(?:[0-9a-f]{3}){1,2}$\""
],
"validators": {
"name": "Validator",
"values": "text based with regular expressions \"^#(?:[0-9a-f]{3}){1,2}$\""
},
"paths": [
"var"
],
@ -28,9 +32,12 @@
"descriptions": [
"A first variable."
],
"examples": [
"#b1b1b1",
"#b2b2b2"
]
"examples": {
"name": "Examples",
"values": [
"#b1b1b1",
"#b2b2b2"
]
}
}
}

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "#a1a1a1",
"default": {
"name": "Default",
"values": "#a1a1a1"
},
"properties": [
{
"type": "type",
@ -16,9 +19,10 @@
"name": "mandatory"
}
],
"validators": [
"text based with regular expressions \"^#(?:[0-9a-f]{3}){1,2}$\""
],
"validators": {
"name": "Validator",
"values": "text based with regular expressions \"^#(?:[0-9a-f]{3}){1,2}$\""
},
"paths": [
"var1"
],
@ -28,14 +32,20 @@
"descriptions": [
"A first variable."
],
"examples": [
"#b1b1b1",
"#b2b2b2"
]
"examples": {
"name": "Examples",
"values": [
"#b1b1b1",
"#b2b2b2"
]
}
},
"var2": {
"type": "variable",
"default": "the value of the variable \"var1\".",
"default": {
"name": "Default",
"values": "the value of the variable \"var1\"."
},
"properties": [
{
"type": "type",
@ -50,9 +60,10 @@
"name": "mandatory"
}
],
"validators": [
"text based with regular expressions \"^#(?:[0-9a-f]{3}){1,2}$\""
],
"validators": {
"name": "Validator",
"values": "text based with regular expressions \"^#(?:[0-9a-f]{3}){1,2}$\""
},
"paths": [
"var2"
],
@ -62,9 +73,12 @@
"descriptions": [
"A second variable."
],
"examples": [
"#b2b1b1",
"#b3b2b2"
]
"examples": {
"name": "Examples",
"values": [
"#b2b1b1",
"#b3b2b2"
]
}
}
}

View file

@ -27,7 +27,10 @@
},
"secret2": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",

View file

@ -15,9 +15,10 @@
"name": "mandatory"
}
],
"validators": [
"minimum length for the secret is 10 characters"
],
"validators": {
"name": "Validator",
"values": "minimum length for the secret is 10 characters"
},
"paths": [
"secret1"
],
@ -30,7 +31,10 @@
},
"secret2": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",
@ -45,10 +49,13 @@
"name": "mandatory"
}
],
"validators": [
"maximum length for the secret is 10 characters",
"forbidden characters: \"$\" and \"^\""
],
"validators": {
"name": "Validators",
"values": [
"maximum length for the secret is 10 characters",
"forbidden characters: \"$\" and \"^\""
]
},
"paths": [
"secret2"
],
@ -61,7 +68,10 @@
},
"secret3": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",
@ -76,10 +86,13 @@
"name": "mandatory"
}
],
"validators": [
"maximum length for the secret is 10 characters",
"forbidden characters: \"$\""
],
"validators": {
"name": "Validators",
"values": [
"maximum length for the secret is 10 characters",
"forbidden characters: \"$\""
]
},
"paths": [
"secret3"
],

View file

@ -79,7 +79,10 @@
},
"var4": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",
@ -106,7 +109,10 @@
},
"var5": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",
@ -133,7 +139,10 @@
},
"var6": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var": {
"type": "variable",
"default": "quote'",
"default": {
"name": "Default",
"values": "quote'"
},
"properties": [
{
"type": "type",
@ -16,12 +19,15 @@
"name": "mandatory"
}
],
"display_default": false,
"choices": [
"quote' ← (default)",
"quote\"",
"quote\"'"
],
"default_is_already_set": true,
"choices": {
"name": "Choices",
"values": [
"quote' ← (default)",
"quote\"",
"quote\"'"
]
},
"paths": [
"var"
],

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "quote\"",
"default": {
"name": "Default",
"values": "quote\""
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "quote'\"",
"default": {
"name": "Default",
"values": "quote'\""
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "quote\\\"\\'",
"default": {
"name": "Default",
"values": "quote\\\"\\'"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "quote'",
"default": {
"name": "Default",
"values": "quote'"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "get information test_information.",
"default": {
"name": "Default",
"values": "get information test_information."
},
"properties": [
{
"type": "type",

View file

@ -24,13 +24,17 @@
"descriptions": [
"The first variable."
],
"examples": [
"test"
]
"examples": {
"name": "Example",
"values": "test"
}
},
"var2": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",
@ -54,9 +58,10 @@
"descriptions": [
"The second variable."
],
"examples": [
"test"
]
"examples": {
"name": "Example",
"values": "test"
}
},
"var3": {
"type": "variable",
@ -83,10 +88,13 @@
"descriptions": [
"The third variable."
],
"examples": [
"test1",
"test2"
]
"examples": {
"name": "Examples",
"values": [
"test1",
"test2"
]
}
},
"var4": {
"type": "variable",
@ -109,15 +117,21 @@
"descriptions": [
"The forth variable."
],
"examples": [
null,
"test1",
"test2"
]
"examples": {
"name": "Examples",
"values": [
null,
"test1",
"test2"
]
}
},
"var5": {
"type": "variable",
"default": true,
"default": {
"name": "Default",
"values": true
},
"properties": [
{
"type": "type",
@ -141,9 +155,10 @@
"descriptions": [
"The fifth variable."
],
"examples": [
false
]
"examples": {
"name": "Example",
"values": false
}
},
"var6": {
"type": "variable",
@ -178,9 +193,12 @@
"descriptions": [
"The sixth variable."
],
"examples": [
"test1",
"test2"
]
"examples": {
"name": "Examples",
"values": [
"test1",
"test2"
]
}
}
}

View file

@ -23,10 +23,13 @@
"name": "multiple"
}
],
"choices": [
"val1",
"val2"
],
"choices": {
"name": "Choices",
"values": [
"val1",
"val2"
]
},
"paths": [
"variable1"
],
@ -57,10 +60,13 @@
"name": "multiple"
}
],
"choices": [
"val1",
"val2"
],
"choices": {
"name": "Choices",
"values": [
"val1",
"val2"
]
},
"paths": [
"variable2"
],

View file

@ -1,7 +1,10 @@
{
"source_variable_1": {
"type": "variable",
"default": "val1",
"default": {
"name": "Default",
"values": "val1"
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"source_variable_2": {
"type": "variable",
"default": "val2",
"default": {
"name": "Default",
"values": "val2"
},
"properties": [
{
"type": "type",
@ -55,7 +61,10 @@
},
"my_variable": {
"type": "variable",
"default": "val1",
"default": {
"name": "Default",
"values": "val1"
},
"properties": [
{
"type": "type",
@ -70,10 +79,13 @@
"name": "mandatory"
}
],
"choices": [
"the value of the variable \"source_variable_1\".",
"the value of the variable \"source_variable_2\"."
],
"choices": {
"name": "Choices",
"values": [
"the value of the variable \"source_variable_1\".",
"the value of the variable \"source_variable_2\"."
]
},
"paths": [
"my_variable"
],

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "concat all parameters.",
"default": {
"name": "Default",
"values": "concat all parameters."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var": {
"type": "variable",
"default": "returns the information.",
"default": {
"name": "Default",
"values": "returns the information."
},
"properties": [
{
"type": "type",

View file

@ -27,7 +27,10 @@
},
"var2": {
"type": "variable",
"default": "depends on a calculation.",
"default": {
"name": "Default",
"values": "depends on a calculation."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"my_variable": {
"type": "variable",
"default": "val1",
"default": {
"name": "Default",
"values": "val1"
},
"properties": [
{
"type": "type",
@ -25,9 +28,12 @@
},
"my_calculated_variable": {
"type": "variable",
"default": [
"the value of the variable \"my_variable\"."
],
"default": {
"name": "Default",
"values": [
"the value of the variable \"my_variable\"."
]
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"my_variable": {
"type": "variable",
"default": "val1",
"default": {
"name": "Default",
"values": "val1"
},
"properties": [
{
"type": "type",
@ -25,9 +28,12 @@
},
"my_calculated_variable": {
"type": "variable",
"default": [
"the value of the variable \"my_variable\"."
],
"default": {
"name": "Default",
"values": [
"the value of the variable \"my_variable\"."
]
},
"properties": [
{
"type": "type",

View file

@ -1,10 +1,13 @@
{
"my_variable": {
"type": "variable",
"default": [
"val1",
"val2"
],
"default": {
"name": "Default",
"values": [
"val1",
"val2"
]
},
"properties": [
{
"type": "type",
@ -36,7 +39,10 @@
},
"my_calculated_variable": {
"type": "variable",
"default": "the value of the variable \"my_variable\".",
"default": {
"name": "Default",
"values": "the value of the variable \"my_variable\"."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "returns a value.",
"default": {
"name": "Default",
"values": "returns a value."
},
"properties": [
{
"type": "type",
@ -24,7 +27,10 @@
},
"var2": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",

View file

@ -27,7 +27,10 @@
},
"var2": {
"type": "variable",
"default": "the value of the information \"test_information\" of the variable \"var1\".",
"default": {
"name": "Default",
"values": "the value of the information \"test_information\" of the variable \"var1\"."
},
"properties": [
{
"type": "type",

View file

@ -27,7 +27,10 @@
},
"var2": {
"type": "variable",
"default": "the value of the information \"test_information\" of the variable \"var1\".",
"default": {
"name": "Default",
"values": "the value of the information \"test_information\" of the variable \"var1\"."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var": {
"type": "variable",
"default": 9,
"default": {
"name": "Default",
"values": 9
},
"properties": [
{
"type": "type",
@ -16,7 +19,10 @@
"name": "mandatory"
}
],
"choices": "choice for 0 to 9.",
"choices": {
"name": "Choices",
"values": "choice for 0 to 9."
},
"paths": [
"var"
],

View file

@ -1,9 +1,12 @@
{
"var1": {
"type": "variable",
"default": [
true
],
"default": {
"name": "Default",
"values": [
true
]
},
"properties": [
{
"type": "type",
@ -38,9 +41,12 @@
},
"var2": {
"type": "variable",
"default": [
true
],
"default": {
"name": "Default",
"values": [
true
]
},
"properties": [
{
"type": "type",
@ -75,9 +81,12 @@
},
"var3": {
"type": "variable",
"default": [
true
],
"default": {
"name": "Default",
"values": [
true
]
},
"properties": [
{
"type": "type",
@ -112,9 +121,12 @@
},
"var4": {
"type": "variable",
"default": [
false
],
"default": {
"name": "Default",
"values": [
false
]
},
"properties": [
{
"type": "type",
@ -149,9 +161,12 @@
},
"var5": {
"type": "variable",
"default": [
false
],
"default": {
"name": "Default",
"values": [
false
]
},
"properties": [
{
"type": "type",
@ -186,9 +201,12 @@
},
"var6": {
"type": "variable",
"default": [
false
],
"default": {
"name": "Default",
"values": [
false
]
},
"properties": [
{
"type": "type",
@ -223,9 +241,12 @@
},
"var7": {
"type": "variable",
"default": [
true
],
"default": {
"name": "Default",
"values": [
true
]
},
"properties": [
{
"type": "type",
@ -260,9 +281,12 @@
},
"var8": {
"type": "variable",
"default": [
true
],
"default": {
"name": "Default",
"values": [
true
]
},
"properties": [
{
"type": "type",

View file

@ -35,9 +35,12 @@
},
"custom2": {
"type": "variable",
"default": [
"value"
],
"default": {
"name": "Default",
"values": [
"value"
]
},
"properties": [
{
"type": "type",

View file

@ -1,9 +1,12 @@
{
"var1": {
"type": "variable",
"default": [
0.0
],
"default": {
"name": "Default",
"values": [
0.0
]
},
"properties": [
{
"type": "type",
@ -38,9 +41,12 @@
},
"var2": {
"type": "variable",
"default": [
0.0
],
"default": {
"name": "Default",
"values": [
0.0
]
},
"properties": [
{
"type": "type",
@ -75,9 +81,12 @@
},
"var3": {
"type": "variable",
"default": [
0.0
],
"default": {
"name": "Default",
"values": [
0.0
]
},
"properties": [
{
"type": "type",
@ -112,9 +121,12 @@
},
"var4": {
"type": "variable",
"default": [
10.1
],
"default": {
"name": "Default",
"values": [
10.1
]
},
"properties": [
{
"type": "type",
@ -149,9 +161,12 @@
},
"var5": {
"type": "variable",
"default": [
10.1
],
"default": {
"name": "Default",
"values": [
10.1
]
},
"properties": [
{
"type": "type",
@ -186,9 +201,12 @@
},
"var6": {
"type": "variable",
"default": [
10.1
],
"default": {
"name": "Default",
"values": [
10.1
]
},
"properties": [
{
"type": "type",
@ -223,9 +241,12 @@
},
"var7": {
"type": "variable",
"default": [
0.0
],
"default": {
"name": "Default",
"values": [
0.0
]
},
"properties": [
{
"type": "type",
@ -260,9 +281,12 @@
},
"var8": {
"type": "variable",
"default": [
0.0
],
"default": {
"name": "Default",
"values": [
0.0
]
},
"properties": [
{
"type": "type",

View file

@ -1,9 +1,12 @@
{
"var1": {
"type": "variable",
"default": [
0
],
"default": {
"name": "Default",
"values": [
0
]
},
"properties": [
{
"type": "type",
@ -38,9 +41,12 @@
},
"var2": {
"type": "variable",
"default": [
0
],
"default": {
"name": "Default",
"values": [
0
]
},
"properties": [
{
"type": "type",
@ -75,9 +81,12 @@
},
"var3": {
"type": "variable",
"default": [
0
],
"default": {
"name": "Default",
"values": [
0
]
},
"properties": [
{
"type": "type",
@ -112,9 +121,12 @@
},
"var4": {
"type": "variable",
"default": [
10
],
"default": {
"name": "Default",
"values": [
10
]
},
"properties": [
{
"type": "type",
@ -149,9 +161,12 @@
},
"var5": {
"type": "variable",
"default": [
10
],
"default": {
"name": "Default",
"values": [
10
]
},
"properties": [
{
"type": "type",
@ -186,9 +201,12 @@
},
"var6": {
"type": "variable",
"default": [
10
],
"default": {
"name": "Default",
"values": [
10
]
},
"properties": [
{
"type": "type",
@ -223,9 +241,12 @@
},
"var7": {
"type": "variable",
"default": [
0
],
"default": {
"name": "Default",
"values": [
0
]
},
"properties": [
{
"type": "type",
@ -260,9 +281,12 @@
},
"var8": {
"type": "variable",
"default": [
0
],
"default": {
"name": "Default",
"values": [
0
]
},
"properties": [
{
"type": "type",

View file

@ -1,10 +1,13 @@
{
"var1": {
"type": "variable",
"default": [
"value",
null
],
"default": {
"name": "Default",
"values": [
"value",
null
]
},
"properties": [
{
"type": "type",

View file

@ -103,9 +103,12 @@
},
"var4": {
"type": "variable",
"default": [
"value"
],
"default": {
"name": "Default",
"values": [
"value"
]
},
"properties": [
{
"type": "type",
@ -140,9 +143,12 @@
},
"var5": {
"type": "variable",
"default": [
"value"
],
"default": {
"name": "Default",
"values": [
"value"
]
},
"properties": [
{
"type": "type",
@ -177,9 +183,12 @@
},
"var6": {
"type": "variable",
"default": [
"value"
],
"default": {
"name": "Default",
"values": [
"value"
]
},
"properties": [
{
"type": "type",
@ -214,9 +223,12 @@
},
"var7": {
"type": "variable",
"default": [
"value"
],
"default": {
"name": "Default",
"values": [
"value"
]
},
"properties": [
{
"type": "type",
@ -251,9 +263,12 @@
},
"var8": {
"type": "variable",
"default": [
"value"
],
"default": {
"name": "Default",
"values": [
"value"
]
},
"properties": [
{
"type": "type",

View file

@ -1,9 +1,12 @@
{
"variable": {
"type": "variable",
"default": [
"quote\""
],
"default": {
"name": "Default",
"values": [
"quote\""
]
},
"properties": [
{
"type": "type",

View file

@ -1,9 +1,12 @@
{
"variable": {
"type": "variable",
"default": [
"quote'\""
],
"default": {
"name": "Default",
"values": [
"quote'\""
]
},
"properties": [
{
"type": "type",

View file

@ -1,9 +1,12 @@
{
"variable": {
"type": "variable",
"default": [
"quote'"
],
"default": {
"name": "Default",
"values": [
"quote'"
]
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "get information test_information.",
"default": {
"name": "Default",
"values": "get information test_information."
},
"properties": [
{
"type": "type",

View file

@ -1,11 +1,14 @@
{
"variable1": {
"type": "variable",
"default": [
"a",
"b",
"c"
],
"default": {
"name": "Default",
"values": [
"a",
"b",
"c"
]
},
"properties": [
{
"type": "type",
@ -54,7 +57,10 @@
"name": "mandatory"
}
],
"choices": "the value of the variable \"variable1\".",
"choices": {
"name": "Choices",
"values": "the value of the variable \"variable1\"."
},
"paths": [
"variable2"
],

View file

@ -1,7 +1,10 @@
{
"int": {
"type": "variable",
"default": 10,
"default": {
"name": "Default",
"values": 10
},
"properties": [
{
"type": "type",
@ -16,10 +19,13 @@
"name": "mandatory"
}
],
"validators": [
"the minimum value is 0",
"the maximum value is 100"
],
"validators": {
"name": "Validators",
"values": [
"the minimum value is 0",
"the maximum value is 100"
]
},
"paths": [
"int"
],

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"var2": {
"type": "variable",
"default": "the value of the variable \"var1\".",
"default": {
"name": "Default",
"values": "the value of the variable \"var1\"."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"var2": {
"type": "variable",
"default": "the value is always yes.",
"default": {
"name": "Default",
"values": "the value is always yes."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",
@ -59,7 +62,10 @@
},
"var3": {
"type": "variable",
"default": "depends on a calculation.",
"default": {
"name": "Default",
"values": "depends on a calculation."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",
@ -59,7 +62,10 @@
},
"var3": {
"type": "variable",
"default": "depends on a calculation.",
"default": {
"name": "Default",
"values": "depends on a calculation."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var3": {
"type": "variable",
"default": "depends on a calculation.",
"default": {
"name": "Default",
"values": "depends on a calculation."
},
"properties": [
{
"type": "type",

View file

@ -27,7 +27,10 @@
},
"var3": {
"type": "variable",
"default": "depends on a calculation.",
"default": {
"name": "Default",
"values": "depends on a calculation."
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "value",
"default": {
"name": "Default",
"values": "value"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": false,
"default": {
"name": "Default",
"values": false
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": true,
"default": {
"name": "Default",
"values": true
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": "yes",
"default": {
"name": "Default",
"values": "yes"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": "yes",
"default": {
"name": "Default",
"values": "yes"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": false,
"default": {
"name": "Default",
"values": false
},
"properties": [
{
"type": "type",

View file

@ -15,9 +15,10 @@
"name": "mandatory"
}
],
"validators": [
"the max value is 100."
],
"validators": {
"name": "Validator",
"values": "the max value is 100."
},
"paths": [
"int"
],

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "oui",
"default": {
"name": "Default",
"values": "oui"
},
"properties": [
{
"type": "type",
@ -16,9 +19,10 @@
"name": "mandatory"
}
],
"validators": [
"var1 must be different than var2."
],
"validators": {
"name": "Validator",
"values": "var1 must be different than var2."
},
"paths": [
"var1"
],
@ -28,13 +32,17 @@
"descriptions": [
"A first variable."
],
"examples": [
"another_value"
]
"examples": {
"name": "Example",
"values": "another_value"
}
},
"var2": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",

View file

@ -1,10 +1,13 @@
{
"var1": {
"type": "variable",
"default": [
"no",
"yes"
],
"default": {
"name": "Default",
"values": [
"no",
"yes"
]
},
"properties": [
{
"type": "type",
@ -27,9 +30,10 @@
"name": "multiple"
}
],
"validators": [
"check length is less than 10."
],
"validators": {
"name": "Validator",
"values": "check length is less than 10."
},
"paths": [
"var1"
],

View file

@ -1,10 +1,13 @@
{
"var1": {
"type": "variable",
"default": [
"no",
"yes"
],
"default": {
"name": "Default",
"values": [
"no",
"yes"
]
},
"properties": [
{
"type": "type",
@ -27,9 +30,10 @@
"name": "multiple"
}
],
"validators": [
"check length is less than 3."
],
"validators": {
"name": "Validator",
"values": "check length is less than 3."
},
"paths": [
"var1"
],
@ -39,9 +43,12 @@
"descriptions": [
"A second variable."
],
"examples": [
"val1",
"val2"
]
"examples": {
"name": "Examples",
"values": [
"val1",
"val2"
]
}
}
}

View file

@ -1,11 +1,14 @@
{
"var1": {
"type": "variable",
"default": [
0,
1,
2
],
"default": {
"name": "Default",
"values": [
0,
1,
2
]
},
"properties": [
{
"type": "type",
@ -28,9 +31,10 @@
"name": "multiple"
}
],
"validators": [
"value must be equal to index."
],
"validators": {
"name": "Validator",
"values": "value must be equal to index."
},
"paths": [
"var1"
],
@ -40,8 +44,9 @@
"descriptions": [
"A second variable."
],
"examples": [
0
]
"examples": {
"name": "Example",
"values": 0
}
}
}

View file

@ -1,9 +1,12 @@
{
"var1": {
"type": "variable",
"default": [
"non"
],
"default": {
"name": "Default",
"values": [
"non"
]
},
"properties": [
{
"type": "type",

View file

@ -1,9 +1,12 @@
{
"variable": {
"type": "variable",
"default": [
"non"
],
"default": {
"name": "Default",
"values": [
"non"
]
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"var2": {
"type": "variable",
"default": "yes",
"default": {
"name": "Default",
"values": "yes"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "returns yes.",
"default": {
"name": "Default",
"values": "returns yes."
},
"properties": [
{
"type": "type",

View file

@ -15,10 +15,13 @@
"name": "mandatory"
}
],
"choices": [
"a",
"b"
],
"choices": {
"name": "Choices",
"values": [
"a",
"b"
]
},
"paths": [
"variable"
],

View file

@ -1,7 +1,10 @@
{
"variable": {
"type": "variable",
"default": "yes",
"default": {
"name": "Default",
"values": "yes"
},
"properties": [
{
"type": "type",

View file

@ -1,9 +1,12 @@
{
"variable": {
"type": "variable",
"default": [
"non"
],
"default": {
"name": "Default",
"values": [
"non"
]
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",
@ -25,13 +28,17 @@
"descriptions": [
"A first variable."
],
"examples": [
"test1"
]
"examples": {
"name": "Example",
"values": "test1"
}
},
"var2": {
"type": "variable",
"default": "non",
"default": {
"name": "Default",
"values": "non"
},
"properties": [
{
"type": "type",
@ -55,9 +62,10 @@
"descriptions": [
"A second variable."
],
"examples": [
"test1"
]
"examples": {
"name": "Example",
"values": "test1"
}
},
"var3": {
"type": "variable",

View file

@ -1,7 +1,10 @@
{
"var": {
"type": "variable",
"default": "c",
"default": {
"name": "Default",
"values": "c"
},
"properties": [
{
"type": "type",
@ -16,11 +19,14 @@
"name": "mandatory"
}
],
"display_default": false,
"choices": [
"a",
"c ← (default)"
],
"default_is_already_set": true,
"choices": {
"name": "Choices",
"values": [
"a",
"c ← (default)"
]
},
"paths": [
"var"
],

View file

@ -1,7 +1,10 @@
{
"var1": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",
@ -28,7 +31,10 @@
},
"var2": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",
@ -55,7 +61,10 @@
},
"var3": {
"type": "variable",
"default": "yes",
"default": {
"name": "Default",
"values": "yes"
},
"properties": [
{
"type": "type",
@ -70,9 +79,10 @@
"name": "mandatory"
}
],
"validators": [
"var3 must be different than var2."
],
"validators": {
"name": "Validator",
"values": "var3 must be different than var2."
},
"paths": [
"var3"
],
@ -82,8 +92,9 @@
"descriptions": [
"A third variable."
],
"examples": [
"yes"
]
"examples": {
"name": "Example",
"values": "yes"
}
}
}

View file

@ -44,7 +44,10 @@
},
"family.var2": {
"type": "variable",
"default": "the value of the information \"test_information\" of the variable \"family\".",
"default": {
"name": "Default",
"values": "the value of the information \"test_information\" of the variable \"family\"."
},
"properties": [
{
"type": "type",

View file

@ -68,9 +68,10 @@
"descriptions": [
"A second variable."
],
"examples": [
"string6"
]
"examples": {
"name": "Example",
"values": "string6"
}
},
"subfamily": {
"type": "family",
@ -92,10 +93,13 @@
"children": {
"family.subfamily.variable": {
"type": "variable",
"default": [
"the value of the variable \"var1\".",
"the value of the variable \"family.var2\"."
],
"default": {
"name": "Default",
"values": [
"the value of the variable \"var1\".",
"the value of the variable \"family.var2\"."
]
},
"properties": [
{
"type": "type",
@ -152,7 +156,10 @@
"children": {
"family2.var2": {
"type": "variable",
"default": "the value of the variable \"family.var2\".",
"default": {
"name": "Default",
"values": "the value of the variable \"family.var2\"."
},
"properties": [
{
"type": "type",
@ -179,7 +186,10 @@
},
"family2.var3": {
"type": "variable",
"default": "string4",
"default": {
"name": "Default",
"values": "string4"
},
"properties": [
{
"type": "type",
@ -200,9 +210,10 @@
"names": [
"var3"
],
"examples": [
"string5"
]
"examples": {
"name": "Example",
"values": "string5"
}
},
"subfamily": {
"type": "family",
@ -224,11 +235,14 @@
"children": {
"family2.subfamily.variable": {
"type": "variable",
"default": [
"the value of the variable \"var1\".",
"the value of the variable \"family.var2\".",
"the value of the variable \"family2.var3\"."
],
"default": {
"name": "Default",
"values": [
"the value of the variable \"var1\".",
"the value of the variable \"family.var2\".",
"the value of the variable \"family2.var3\"."
]
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": "no",
"default": {
"name": "Default",
"values": "no"
},
"properties": [
{
"type": "type",

View file

@ -1,7 +1,10 @@
{
"condition": {
"type": "variable",
"default": true,
"default": {
"name": "Default",
"values": true
},
"properties": [
{
"type": "type",

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