input LocationNameSegmentInput
Fields
| Field | Type | Description |
|---|---|---|
literal | String | A single fixed value for this segment. |
values | [String] | Explicit list of values for this segment, used in the given order. |
from | Int | Start (inclusive) of a numeric range for this segment. Requires |
to | Int | End (inclusive) of a numeric range for this segment. Requires |
step | Int | Step between consecutive numbers in a numeric range. Use 2 to generate only odd or only even numbers within the range. |
padding | Int | Zero-pad numbers in a numeric range to this many digits. |
Referenced By
Example
{
"literal": "\"A\". Exactly one of literal, values, or from/to must be set.",
"values": ["A", "B", "C", "D", "E"],
"from": 1,
"to": 30,
"step": 2,
"padding": 2 turns 1 into "01".
}