Skip to content
β—‡ AirawatOS Developer
🚧 Under development β€” this portal is being built track by track. Content will keep growing, and some sections are still placeholders.

Reference

← Schema catalogue

governance.rule

domain: governance

A STRUCTURED, machine-evaluable rule — the Rules side of facts+rules→decision. It tests a metric on a fact schema (`applies_to`) against a threshold and, when matched, proposes a stage/action at a declared STRENGTH. `binding` carries the legal force INHERITED FROM ITS SOURCE DOCUMENT (a binding law ⇒ mandatory; a guideline ⇒ advisory; general knowledge yields no rule) — so a rule is only ever as strong as the instrument behind it. Conflicts resolve by precedence: binding>advisory, then jurisdiction level, then recency, honoring `supersedes`. Evaluated deterministically (no LLM); the match is auditable and cited back to `source`.

FieldTypeRequiredDescription
schemaβ€”βœ“
idstringβœ“
rule_idstringβœ“
titlestring
applies_tostringβœ“the fact schema this rule evaluates, e.g. air.quality
metricstringβœ“the field of the fact to test, e.g. pm25
operatorstringβœ“
valueβ€”βœ“scalar threshold, or [min,max] for 'between'
unitstring
stagestringthe classification/stage this rule triggers, e.g. GRAP-II, Moderate
proposed_actionstringβœ“the action to recommend when matched
bindingstringβœ“legal force inherited from the source instrument: mandatory (law/order) | advisory (guideline) | informational
severitystringmoderate | poor | very-poor | severe | ... β€” for ranking
priorityintegerprecedence within a cascade (higher wins)
authoritystringthe issuer, e.g. CPCB β€” ties to ref.source
scopeobjectjurisdiction the rule applies in, e.g. {jurisdiction: national|state|local}
effective_fromstring
effective_tostring/null
supersedesstring/nullrule_id this replaces (precedence over the older one)
sourceobjectprovenance to the instrument: {doc, doc_class, citation} β€” the guideline/law this rule was derived from
tenantstring