ParamRule
- nameType: stringenumrequired
Which constraint this is. A caller can enforce the same rule before writing, and gets the same code back in a violation if it does not.
valuesnon_emptymax_lengthmax_itemspatternenumreservednot_patternjsonfunctionsheading_firstlowercase - constraint
The rule's own value, where it takes one: the maximum length, the most items a list carries, the regular expression the value matches or the one it must not carry, the values allowed, the values reserved, the functions a formula may call. Absent for a rule that takes none, as
non_empty,json,heading_firstandlowercasedo.lowercaserefuses a capital letter or whitespace anywhere in the value. - fieldType: string | null
The field read inside each item of a list, for the rules that tell a heading apart from the items it names: an item carrying
trueunder it is a heading.max_itemsdoes not count headings, andheading_firstasks a list carrying any to open with one. Absent for the rules that read the value itself.