Struct representing a legal compliance framework.
Fields
id- Framework identifier (e.g., "gdpr", "ccpa")name- Human-readable name (e.g., "GDPR (European Union)")description- Brief description of the frameworkregions- List of region codes where the framework appliesconsent_model- Consent approach (:opt_in,:opt_out, or:notice)required_pages- List of page slugs required by this frameworkoptional_pages- List of optional page slugs
Summary
Functions
Converts a plain map to a %LegalFramework{} struct.