---
title: "HeaderRule"
description: "how a kind of connection is read off the shared silver header: each role bound to one header column, and the rows the rule applies to"
section: concepts
address: /concepts/headerrule
contract: 0476e35e6e275db5
---

# HeaderRule

how a kind of connection is read off the shared silver header: each role bound to one header column, and the rows the rule applies to

[figure: HeaderRule is a value at none scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | value |
| scope | none |
| key | none |
| store | none |
| family | record |



## Fields


| field | type | required | note |
|---|---|---|---|
| `roles` | `{text:enum:own_id \| author_account \| parent \| thread_root \| community}` | yes | the kind's role, and the header column that fills it |
| `when` | `one of always \| the row is its thread's root \| the row has a parent` | yes | which rows of silver the rule reads |
| `version` | `count` | yes | the rule's version, written on every connection the view yields |



## Routes that use it
No route takes or returns HeaderRule directly. The record holds it, and the objects that point at it reach it.
