okf/field-types
title, description, and resource are strings, and tags is a list of strings (OKF §4.1).
The recommended keys have expected shapes (§4.1): title, description, and resource are strings, and tags is a list of short strings. Consumers filter and display by them, so a single tag written as plain text, or a number where a title belongs, is read wrongly or not at all.
Example
Section titled “Example”This file breaks the rule:
---type: Metrictitle: Monthly churndescription: The share of customers who cancel in a month.tags: billing---
Churn is the customers who cancel in a month, divided by the customers at its start.okforest validate reports:
churn.md 5:1 warning `tags` should be a list, e.g. `tags: [billing]`. okf/field-typesFixed:
---type: Metrictitle: Monthly churndescription: The share of customers who cancel in a month.tags: [billing, retention]---
Churn is the customers who cancel in a month, divided by the customers at its start.