../../schemas/policy-artifact.v1.schema.json../../examples/policy-v1.example.jsontaxonomy-v1.mdA policy artifact is versioned JSON consumed by the client rule engine. It must be safe to fetch over the network: clients validate shape, versions, and (once enabled) cryptographic integrity before applying rules.
| Field | Required | Meaning |
|---|---|---|
policyVersion |
Yes | Monotonic release id for this artifact (e.g. 2026.05.07.1). Bumps on any rule change. |
taxonomyVersion |
Yes | Must match the taxonomy the rules assume (1.0 for v1). If taxonomy doc bumps, ship new policy + align categoryId rows. |
effectiveFrom |
No | ISO-8601 not-before instant; clients ignore or hold rules until clock ≥ this (optional guard against skew). |
rules |
Yes | Array of rules; each references CAT-xx and a defaultTier. |
| Channel | Use |
|---|---|
| Production | Default URL baked into app or resolved via config; HTTPS only. |
| Staging | QA / dogfood; must not be reachable in production builds without a debug flag. |
Clients should log policyVersion applied at startup and after updates (privacy policy permitting).
v1.0 clients: Validate JSON against schema; pin TLS to known CDN; optionally pin ETag / content hash configured in-app.
v1.1+ (recommended): Attach a detached signature (e.g. Ed25519) over canonical JSON bytes (stable key order, UTF-8, no trailing whitespace) or use JWS; public key shipped in-app or via key rotation doc. Schema fields for signatures are intentionally not added until the signing format is fixed—avoid partial implementations.
allow) only if product/legal approves—document in runbook.taxonomyVersion unsupported.categoryId values for this taxonomy major.taxonomy-v1.mdpolicy-mapping-template.md