Skip to main content

index/interfaces/TokenNameConstraint.md

Token name constraint configuration interface

Since​

5.1.1

Properties​

PropertyTypeDescription
DESCRIPTIONstringWhat the rule accepts, for error messages (for example 1-25 letters and digits)
MAX_LENGTHnumberMaximum token name length
MIN_LENGTHnumberMinimum token name length
PATTERNRegExpRegex pattern for validation (carries the length bounds too)