PolicyGen uses a policygen.json configuration file to customize your generated privacy policy and terms of service. This reference covers all available options.
Set privacy.aiUsage when a service uses AI systems. Policygen names the
configured providers and renders the factual disclosures you supply; it does
not infer provider retention, training, residency, or compliance terms.
Option
Type
Description
aiUsage.providers
string[]
Providers involved in AI processing
aiUsage.usedFor
string[]
Product purposes for AI processing
aiUsage.dataHandling
string
Your factual statement about data sent, retained, or used for training
aiUsage.automatedDecisions
string
Optional description of consequential automated decisions and review controls
New in v0.6
CPRA Compliance
Option
Type
Default
Description
cpraCompliance
boolean
false
California Privacy Rights Act compliance. Adds rights to correct data, limit sensitive data use, and opt-out of automated decision-making
VCDPA Compliance
Option
Type
Default
Description
vcdpaCompliance
boolean
false
Virginia Consumer Data Protection Act compliance. Required for businesses processing data of 100,000+ VA consumers
Cookie Consent
Option
Type
Default
Description
cookieConsent
boolean
false
Implement cookie consent mechanisms
cookieConsentProvider
string
-
Cookie consent provider name (e.g., “OneTrust”, “CookieYes”)
Data Breach Notification
Option
Type
Default
Description
dataBreachNotification
boolean
false
Have breach notification procedures
dataBreachTimeframe
string
-
Notification timeframe (e.g., “72 hours” for GDPR)
Include force majeure clause. Protects against liability for events beyond your control (natural disasters, wars, pandemics, etc.)
DMCA Takedown
Option
Type
Default
Description
dmcaTakedown
boolean
false
Include DMCA takedown procedure. Required for US safe harbor protection when hosting user content
dmcaEmail
string
-
Email for DMCA notices
Tax Liability
Option
Type
Default
Description
taxLiability
boolean
false
Include tax disclaimer. Clarifies users are responsible for applicable taxes
taxJurisdiction
string
-
Primary tax jurisdiction
Migration Guide: v0.6 to v0.7
Existing v0.6 configurations remain valid. Update the schema URL to
https://policygen.xyz/schemas/0.7/schema.json to use astroShell or
privacy.aiUsage. AI data-handling and automated-decision text must describe
your service’s actual behavior.
Migration Guide: v0.5 to v0.6
Breaking Changes
None. v0.6 is backward compatible with v0.5 configurations.