Skip to content

okf/footnote-source

warningOKF specification

In a concept that has sources with ids, every footnote label matches one of them (OKF §5.1 per-claim attribution).

To say where a specific claim comes from, a concept cites a source with a markdown footnote whose label is that source’s id (§5.1, per-claim attribution). The label is the key into sources, not a position in the list, so the citation survives agents reordering the list. A footnote whose label matches no id cites nothing.

This file breaks the rule:

churn.md
---
type: Metric
title: Monthly churn
description: The share of customers who cancel in a month.
sources:
- id: billing
resource: https://billing.acme.example/exports/cancellations
---
Churn counts the cancellations in the billing system's export.[^export]
[^export]: Billing system cancellations export

okforest validate reports:

churn.md
10:63 warning Footnote [^export] matches no `sources` id (`billing`). okf/footnote-source

Fixed:

churn.md
---
type: Metric
title: Monthly churn
description: The share of customers who cancel in a month.
sources:
- id: billing
resource: https://billing.acme.example/exports/cancellations
---
Churn counts the cancellations in the billing system's export.[^billing]
[^billing]: Billing system cancellations export