{% from "./type.html" import type %} {% macro schemaProp(prop, propName, open=false, root=false, odd=false, specialName=false, required=false) %}
Specification Extensions:
{% for extensionName, extensionValue in extensions %}{{ extensionValue | dump(2) }}
Items:
{% if prop.items() | isArray %} {% for it in prop.items() %} {{ schemaProp(it, loop.index0, odd=(not odd), required=(prop.required() | contains(pName))) }} {% endfor %} {% else %} {{ schemaProp(prop.items(), '0', odd=(not odd)) }} {% endif %} {% endif %} {% if prop.additionalItems() | isArray or prop.additionalItems() === true or prop.additionalItems() === undefined %}Additional items are allowed.
{% elif prop.additionalItems() === false %}Additional items are NOT allowed.
{% else %}Additional Items:
Additional properties are allowed.
{% elif prop.additionalProperties() === false %}Additional properties are NOT allowed.
{% else %}Additional properties must adhere to the following schema: