{%- if schema.kw_min_items -%}
    {{ restriction("Must contain a minimum of <code>" ~ schema.kw_min_items.literal ~ "</code> items", "min-items", schema.kw_min_items.html_id) }}
{%- endif -%}
{%- if schema.kw_max_items -%}
    {{ restriction("Must contain a maximum of <code>" ~ schema.kw_max_items.literal ~ "</code> items", "max-items", schema.kw_max_items.html_id) }}
{%- endif -%}
{%- if schema.kw_unique_items and schema.kw_unique_items.literal == True -%}
    {{ restriction("All items must be unique", "unique-items", schema.kw_unique_items.html_id) }}
{%- endif -%}
{%- if schema.kw_items -%}
    <h4>Each item of this array must be:</h4>
    <div class="card">
        <div class="card-body items-definition" id="{{ schema.kw_items.html_id }}">
            {{ content(schema.kw_items) }}
        </div>
    </div>
{%- endif -%}
{%- if schema.kw_contains and schema.kw_contains.literal != {} -%}
    <h4>At least one of the items must be:</h4>
    <div class="card">
        <div class="card-body items-contain-definition" id="{{ schema.kw_contains.html_id }}">
            {{ content(schema.kw_contains) }}
        </div>
    </div>
{%- endif -%}