Generator Service - Help

Generators are defined using JSON. The expected data consists of an object (the generator or root object) which has a name, a resultPattern, and tables. name and resultPattern are strings, whereas tables is an array of objects.
A table object has a name and entries. name is a string and entries is an array of strings.

Example JSON

{
    "name": "Simple NSC Generator",
    "resultPattern": "{name}",
    "tables": [
        {
            "name": "name",
            "entries": [
                "Adam",
                "Eve"
            ]
        }
    ]
}

How it works

In resultPattern and entries you can use any text you wish. But text enclosed in curly braces (i.e. { and }) is treated as a table reference. Whenever such a reference is encountered an entry from that table is selected to replace this reference. If the selected entry also includes references they get expanded, too, etc. References and thereby table names must start with a letter and may only include letters, digits, and blanks. References and thereby table names are case-sensitive.