Policy Reference
Business Transactions don’t embed the full policy; they carry aPolicyReference that pins the exact version evaluated.
| Field | Type | Description |
|---|---|---|
name | string | Policy name, e.g. vendor-payment. |
version | string | Semantic version of the policy, e.g. 1.0.0. |
schemaVersion | string | Schema version the policy document conforms to. |
Why immutability matters here
Because a Policy Reference pins an exact, immutable version, a Decision made againstvendor-payment@1.0.0 today will evaluate identically a year from now — which is what makes Replay possible. Policy evaluation itself lives in the policy package; see Packages → policy.
Relationships
- Policy is loaded and evaluated by the
policypackage during Decision generation. - Validating a policy definition (existence, schema) is exposed over the SDK/API as
validatePolicy/POST /policies/validate— see REST API → Policies.