input LocationNameSegmentInput

Fields

FieldTypeDescription
literalString

A single fixed value for this segment.

values[String]

Explicit list of values for this segment, used in the given order.

fromInt

Start (inclusive) of a numeric range for this segment. Requires to.

toInt

End (inclusive) of a numeric range for this segment. Requires from.

stepInt

Step between consecutive numbers in a numeric range. Use 2 to generate only odd or only even numbers within the range.

paddingInt

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".
}