# Metric contract template: one file per metric.
# From https://aianalystlab.ai/glossary/metric-contract/
# Plain words only. The SQL lives in your semantic layer or a verified query.

metric: name_in_snake_case
aka: ["the words", "people use for it"]
means: >
  One sentence a stakeholder would agree with.
grain: one row per ...
numerator: ...
denominator: ...            # or "none" for a count or a sum
window: ...
filters:
  include: [...]
  exclude: [...]
source: [table_a, table_b]  # table names only
rejected:
  - reading: ...
    why_not: ...
owner: ...
check_value:                # optional; update or remove when the data moves
  value: ...
  as_of: YYYY-MM-DD
