Skip to content

Commit 1a15d0b

Browse files
committed
README
1 parent 3f1d701 commit 1a15d0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

186187
Note that template variables' values are not restricted to strings: URIs for example are also possible.
187188
As a consequence, for strings the surround double quotes `"` must be added to the values in the list.
188189
For URIs you must add surrounding angle brackets `<>`.
190+
Other literals (integers for example) don't have to be surrounded with extra delimiters.
189191
This is shown in the configuration structure above.
190192

191193
#### Templated queries with values for the template variables to be derived from the data

0 commit comments

Comments
 (0)