Liquid Studio Documentation
JSON Schema Editor / Properties / Properties (by name) / Max Length
In This Topic
    Max Length
    In This Topic
    Draft 04 Draft 06 Draft 07 Draft 2019-09 Draft 2020-12

    The value of this keyword MUST be an integer. This integer MUST be greater than, or equal to, 0.

    A string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword.

    The length of a string instance is defined as the number of its characters as defined by RFC 4627 [RFC4627].

     

    Graphical Representation

    The constraint is represented in line within the diagram, properties with the icon  apply to instance string values.

    Constraints are also shown in the property grid when the containing schema is selected.

    If the schema is not allowed to contain a string value then constraint is ignored, and not shown in the property grid.

    The constraint values are also shown on the tooltips (select and hover over an item in the diagram).

     

    Editing

    Its value can be edited in the following ways

    It can be deleted by selecting it and pressing delete, or right clicking it an pressing delete.

     

    See Also