| Primitives are strings, numbers, and booleans. All primitive values are written in double-quotes: # string
ResourceName "A string"
# Often string resources are used to reference something already defined in the configuration.
# In those cases, take care to write the string exactly as the referenced element is written.
# Sometimes strings may be used to configure a restricted set of strings (an enumeration).
# Those cases will be documented where needed.
# number
ResourceName "123"
# floating point numbers
ResourceName "3.1415"
# booleans "TRUE" or "FALSE"
ResourceName "TRUE" |
| Patterns are regular expressions and can have three properties: - Pattern string, a Perl compatible regular expression
- Ignore-Case flag, can be match case or insensitive
- Invert flag, determines whether the match should be inverted
# Pattern string
ResourceName.Pattern "^prefix.*suffix$"
# optional boolean (default "FALSE")
ResourceName.IgnoreCase "TRUE"
# optional boolean (default "FALSE")
ResourceName.InvertPattern "FALSE" |
| Simple lists of strings are written in parenthesis. Note that strings need to be separated by a space, not a comma: # A simple list with three entries
# json equivalent: ["Entry one", "Entry two", "Entry three"])
ResourceName ("Entry one" "Entry two" "Entry three") |
| Multi-line lists have one entry per line: # List with one value per entry
# json equivalent:
# [
# { "Value": "The value 1" },
# { "Value": "The value 2" }
# ]
ResourceName.0.Value "The value 1"
ResourceName.1.Value "The value 2" Multi-line lists may have more than one resource for each index: Be aware that the list must contain strictly consecutive indices, i.e. if one index is skipped, the list ends with it. |
| Named multi-line lists consists of one indexed resource defining a new scope for the following entries: # Named list with more than one resource for each entry
# json equivalent:
# [
# { "Name": "Scope1", "Value": "The value 1", "OtherValue": "One" },
# { "Name": "Scope2", "Value": "The value 2", "OtherValue": "Two" }
# ]
ResourceName.0.Name "Scope1"
ResourceName.Scope1.Value "The value 1"
ResourceName.Scope1.OtherValue "One"
ResourceName.1.Name "Scope2"
ResourceName.Scope2.Value "The value 2"
ResourceName.Scope2.OtherValue "Two" |