PolicyGen uses a policygen.json configuration file to customize your generated privacy policy and terms of service. This reference covers all available options.
Optional plain-text replacement for the Data Handling paragraph
browserExtension.dataSharing
string
Optional plain-text replacement for the Data Sharing paragraph
browserExtension.dataHandlingSent
string
Optional replacement for the data-transmission paragraph
browserExtension.dataHandlingLocal
string
Optional replacement for the local-processing paragraph
browserExtension.dataStorageServer
string
Optional replacement for the server-storage paragraph
Omit the disclosure overrides to retain the default extension disclosures.
Custom values replace those paragraphs in HTML and Astro output; they are escaped
plain text, not HTML or executable templates. Empty values use the defaults.
Other extension disclosures remain generated from the configuration, so review
that the complete section accurately describes your practices.
{
"privacy": {
"browserExtension": {
"name": "Acme Links",
"permissions": ["tabs"],
"hostPermissions": ["<all_urls>"],
"dataCollected": ["currentTabUrl"],
"runsLocally": true,
"dataHandling": "We use authenticated operational signals for onboarding and customer support.",
"dataSharing": "Operational records are available to authorized support personnel."
}
}
}
AI Usage (v0.7+)
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)
All options for customizing your terms of service.
Basic Settings
Option
Type
Default
Description
supportEmail
string
-
Contact email for support
underEighteen
boolean
false
Allow users under 18
underThirteen
boolean
false
Allow users under 13 (COPPA implications)
userAccounts
boolean
false
Require user accounts
Payments & Subscriptions
Option
Type
Default
Description
purchasableGoods
boolean
false
Sell one-time purchases
subscription
boolean
false
Offer subscriptions
freeTrial
boolean
false
Offer free trials
autoRenew
boolean
false
Auto-renew subscriptions
refundPolicy
"none" | "full" | "prorata"
"none"
Refund policy
User Content
Option
Type
Default
Description
userContent
boolean
false
Allow user-generated content
userContentLicense
boolean
false
Claim license to user content
Legal
Option
Type
Default
Description
governingLaw
string
"California"
Governing jurisdiction
disputeResolution
"arbitration" | "litigation"
"litigation"
Dispute resolution method
arbitrationProvider
string
—
Body that administers arbitration, e.g. "the American Arbitration Association (AAA)" or "JAMS". Only used with arbitration; when unset, the clause names no institution
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.