{% from "./partials/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()|boolean) }} {% endfor %} {% else %} {{ schemaProp(prop.items(), '0', odd=(not odd)) }} {% endif %} {% endif %} {% if prop.additionalItems() is true or prop.additionalItems() is none %}Additional items are allowed.
{% elif prop.additionalItems() is false and prop.additionalItems() is not none %}Additional items are NOT allowed.
{% else %}Additional Items:
Additional properties are allowed.
{% elif prop.additionalProperties() is false and prop.additionalProperties() is not none %}Additional properties are NOT allowed.
{% else %}Additional properties must adhere to the following schema: