{% extends "_layout.html" %}

{%- import '_macros_site.html' as macros_site with context -%}

{% block content %}

    {{ macros_site.report_header(item, macros_page.render_menu_actions(item), _('Report data in JSON')) }}
    <hr/>

<div class="border rounded mt-3">
{% highlight 'json' %}
{{ json_data }}
{% endhighlight %}
</div>

    {%- if permission_can('developer') %}
        <hr>
        {{ macros_site.render_raw_var('item', item) }}
        {{ macros_site.render_raw_var('structured_data', item.structured_data) }}
        {{ macros_site.render_raw_var('statistics', statistics) }}
        {{ macros_site.render_raw_var('filtering', item.filtering) }}
    {%- endif %}

{%- endblock content %}
