File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,8 @@ The configuration file follows a simple structure.
122122 },
123123 "variables" : {
124124 "variableExampleString" : [" \" String1\" " , " \" String2\" " ],
125- "variableExampleUri" : [" <https://example.com/uri1>" , " <https://example.com/uri2>" ]
125+ "variableExampleUri" : [" <https://example.com/uri1>" , " <https://example.com/uri2>" ],
126+ "variableExampleInteger" : [" 1" , " 2" ]
126127 },
127128 "indirectVariables" : {
128129 "queryLocations" : [
@@ -181,11 +182,12 @@ If all possible values for the template variables are fixed and hence can be wri
181182- In the config file:
182183 - Add a ` variables ` object in the query's entry in the configuration file.
183184 - In the ` variables ` object, for each template variable, add a property with name equal to the template variable's identifier.
184- - Set each such property's value to an array of possible values for the corresponding template variable.
185+ - Set each such property's value to an array strings, where each string is a possible value for the corresponding template variable.
185186
186187Note that template variables' values are not restricted to strings: URIs for example are also possible.
187188As a consequence, for strings the surround double quotes ` " ` must be added to the values in the list.
188189For URIs you must add surrounding angle brackets ` <> ` .
190+ Other literals (integers for example) don't have to be surrounded with extra delimiters.
189191This is shown in the configuration structure above.
190192
191193#### Templated queries with values for the template variables to be derived from the data
You can’t perform that action at this time.
0 commit comments