{#- Small pieces the pages share: icons, and the chips for severity and status. -#} {%- macro icon(name) -%} {%- endmacro -%} {%- macro severity_chip(severity) -%} {%- if severity == "ERROR" -%}Error {%- else -%}Warning {%- endif -%} {%- endmacro -%} {%- macro status_chip(row) -%} {%- if row.status == "FAIL" -%}{{ severity_chip(row.severity) }} {%- elif row.status == "PASS" -%}Passed {%- else -%}Not evaluated {%- endif -%} {%- endmacro -%} {#- The rule's text as the Bank's workbook states it (Rules page and the cell panel). -#} {%- macro rule_text(rule) -%} {%- if rule.expression -%}
{{ rule.expression }}
{% if rule.scope %}{{ rule.scope }}{% endif %}
A fact table (.parquet or .csv) carries no header, so the entity, the reference date and the module are required for one. A workbook or an XBRL instance states its own; anything entered here overrides it.