{%- if "minItems" in keys -%}
{{ restriction("Must contain a minimum of " ~ keys["minItems"].literal ~ "
items", "min-items", keys["minItems"].html_id) }}
{%- endif -%}
{%- if "maxItems" in keys -%}
{{ restriction("Must contain a maximum of " ~ keys["maxItems"].literal ~ "
items", "max-items", keys["maxItems"].html_id) }}
{%- endif -%}
{%- if "uniqueItems" in keys and keys["uniqueItems"] == True -%}
{{ restriction("All items must be unique", "unique-items", keys["uniqueItems"].html_id) }}
{%- endif -%}
{%- if "items" in keys and keys["items"] is not none -%}