okforest/similar-type
A concept’s type isn’t a near-duplicate (case, punctuation, plural, or spelling) of a type more concepts use, or one with a schema.
OKF matches types exactly, so metric and Metric are two types (§4.1): a concept written the other way is missed when people and assistants filter by type, and its type’s schema in .okforest/types/ never checks it. OKF lets every team name its own types, so a type OKForest hasn’t seen is fine; this warns only about one that nearly matches another the tree uses: the same letters in another case or with other punctuation (Product_Summary, Product Summary), a plural (Metrics), or a small spelling difference (Metirc). It suggests the one most likely meant: the one with a schema, then the one more concepts use, then the one written as OKF’s examples write types, capitalized words with spaces (Naming conventions). okforest inventory lists the same near-duplicates.
Example
Section titled “Example”This file breaks the rule:
---type: metrictitle: Net revenue retentiondescription: Revenue kept from last year's customers, with expansion.---
Net revenue retention is this year's revenue from last year's customers, divided by theirs last year.okforest validate reports:
retention.md 2:1 warning Type `metric` (1 concept) looks like `Metric` (1 concept and a schema): did you mean `Metric`? okforest/similar-typeFixed:
---type: Metrictitle: Net revenue retentiondescription: Revenue kept from last year's customers, with expansion.---
Net revenue retention is this year's revenue from last year's customers, divided by theirs last year.