PolicyDecision.
The choice made, the chance it had, the alternatives, the version of the policy, the outcome when read
Figure 1PolicyDecisionspecified
- kind
- fact
- scope
- follows
- key
- the policy, its version and the moment
- store
- postgres+lake
- family
- models
Fields#
| field | type | required | note |
|---|---|---|---|
policy | text | yes | |
version | text | yes | |
choice | json | yes | |
chance | chance | yes | |
alternatives | [json] | yes | |
outcome | json | no |
Routes that use it#
No route takes or returns PolicyDecision directly. The record holds it, and the objects that point at it reach it.