{
  "template_name": "Association Membership Directory Intake and Visibility",
  "template_version": "1.0",
  "sample_only": true,
  "sections": [
    {"name": "Private membership record", "fields": ["member_id", "legal_or_preferred_name", "email", "phone", "mailing_address", "chapter", "membership_status"]},
    {"name": "Optional public profile", "fields": ["display_name", "public_bio", "public_website"]},
    {"name": "Per-field display choices", "fields": ["display_name_public", "chapter_public", "bio_public", "website_public"]},
    {"name": "Member confirmation", "fields": ["member_id", "preference_changed_at", "preview_confirmed"]}
  ],
  "visibility_defaults": {"email": "private", "phone": "private", "mailing_address": "private", "internal_notes": "private", "membership_status": "private", "display_name": "hidden until member opts in", "chapter": "hidden until member opts in", "public_bio": "hidden until member opts in", "public_website": "hidden until member opts in"},
  "access_rules": {"member": "read and edit own profile and own visibility choices", "association_admin": "manage membership records and chapters; consent change requires member action", "public_visitor": "read only opted-in public fields; private values never returned"},
  "privacy_rule": "Membership and public-directory consent are separate states."
}
