Liquid Studio 2021
JSON Schema Editor / Properties / Properties (by name) / Max Items
In This Topic
    Max Items
    In This Topic
    Draft 04 Draft 06 Draft 07 Draft 2019-09


    The 'maxItems' keyword must be a integer with a value greater than or equal to 0. The constraint restricts the instance array to containing a maximum of 'maxItems' items.


    Graphical Representation

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

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

    If the schema is not allowed to contain an array value, then the 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).



    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.