decision_card_to_policy_bundle
Translate a Decision Card into a PolicyBundle preview, mapping approval statuses to allow-all or deny-all and conditions to per-condition allow policies.
Instructions
Translate a Decision Card into the PolicyBundle that policy-as-code-engine's POST /bundles/from-decision-card would generate. Read-only preview. 'approved' -> allow-all; 'rejected*' / 'withdrawn' / 'expired' / 'pending' -> deny-all; 'approved-with-conditions' -> one policy per condition (deny-by-default, allow only when conditions_satisfied.{id} is true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| document_json | No |