okf/sources
sources is a list of mappings, each with a resource, unique ids, and well-formed credibility signals (OKF §5.1).
sources records the materials a concept was derived from (§5.1). Each entry is a mapping with a resource (a URL, a path in the bundle, or a description of a scope, such as all the queries in a project) and, when the body cites it, an id that footnotes use. Optional signals (author, usage_count, last_modified) let readers judge how far to trust a source.
Example
Section titled “Example”This file breaks the rule:
---type: Metrictitle: Monthly churndescription: The share of customers who cancel in a month.sources: - title: Billing system cancellations export---
Churn is the customers who cancel in a month, divided by the customers at its start.okforest validate reports:
churn.md 6:5 error A source needs `resource`: a URL, a bundle path, or a scope descriptor. okf/sourcesFixed:
---type: Metrictitle: Monthly churndescription: The share of customers who cancel in a month.sources: - id: billing resource: https://billing.acme.example/exports/cancellations title: Billing system cancellations export---
Churn is the customers who cancel in a month, divided by the customers at its start.