// @requirements REQ-QC-PROFILING import {technologyCollectionScope} from '@notabenda/core/technology'; export const technologySettings={profile:'qc-private-technology-v1',scopeId:'reading-profile',serviceId:'reading-profile',revision:'reading-profile-1',functions:['profiling'],technologyDescription:'The reading profile counts the topics you open here and suggests the topic opened most often. This evaluates your reading interests in this browser.',activationInstructions:'Open privacy choices, select Reading interests and save. Reading interests stays off if you close without saving. Reopen choices and turn it off to remove this session’s profile.',controlsLink:{label:'Open privacy choices',href:'/technology/#privacy-choices'},reviewStatus:'draft',direction:'ltr',wording:{title:'Reading interests',intro:'Choose whether this page remembers the topics you open.',functionsLabel:'Function',purposesLabel:'What it is for',providerLabel:'Service',defaultOff:'This feature starts off. Opening a topic or reading this notice does not enable it.',activationLabel:'How to turn it on or off',privacyLinkLabel:'Read the privacy policy',draftLabel:'Draft notice for review',contactLabel:'Contact'},functionLabels:{identification:'Identification',location:'Location',profiling:'Profiling'}}; export function technologyExampleConfig(base){ const c=structuredClone(base);c.site={id:'juniper-technology',name:'Juniper',url:'https://juniper.example.test',locale:'en-CA',description:'A reading space with an optional browser-only interest profile.'};c.jurisdictions=['CA-QC']; c.controller={name:'Juniper',email:'privacy@example.test',address:'Example address for review'}; c.purposes=[{id:'reading-interests',name:'Reading interests',description:'Use topic-opening counts to suggest one of the reading topics on this page.',legalBasis:'Voluntary activation in this demonstration; actual necessity and legal basis need operator review.',dataCategories:['Topic names and opening counts in this session'],retention:'Until you turn the feature off or end the browser session.',collection:{source:'direct',description:'Topic buttons used while Reading interests is enabled.',required:false,consequences:'All articles remain available; no profile is built.'}},{id:'choice-memory',name:'Privacy choices',description:'Remember your choices in this browser.',legalBasis:'Preference storage; operator review required.',dataCategories:['Choice, scope and expiry time'],retention:'Grants: 30 days. Refusals: 180 days.',collection:{source:'direct',description:'The privacy choices you save.',required:false,consequences:'Reading interests stays off when choices cannot be confirmed.'}}]; c.services=[{id:'reading-profile',name:'Juniper reading profile',provider:'Juniper',purposeIds:['reading-interests'],location:'This browser'},{id:'choice-memory',name:'Privacy choices',provider:'Juniper',purposeIds:['choice-memory'],location:'This browser'}]; c.storage=[{id:'profile',name:'juniper-technology:interests',type:'sessionStorage',serviceId:'reading-profile',duration:'This browser session, or until withdrawal.',classification:'optional'},{id:'choices',name:'notabenda:choices:v1:juniper-technology',type:'localStorage',serviceId:'choice-memory',duration:'Grants: 30 days. Refusals: 180 days.',classification:'necessary',necessityReason:'Remember a saved choice; draft classification for review.'}]; c.scopeGuards={version:1,revision:'ordinary-reading-1',site:{children:'absent',sensitiveData:'absent',highRiskProfiling:'absent',regulatedSector:'absent'}}; c.consent={purposes:[{id:'reading-interests',scope:'reading-interests-1'}],services:[{id:'reading-profile',scope:technologyCollectionScope(technologySettings)}],grantLifetimeDays:30,refusalLifetimeDays:180,dismissalMinutes:30}; c.privacy={rights:['Contact us to ask about your information. You can turn off Reading interests using privacy choices.'],transfers:'This example does not send the interest profile to another server.',automatedDecisions:'This example selects a reading topic, without legal or similarly significant decisions.',complaints:{description:'Contact the address shown in this policy.'}};c.terms={audience:'consumer',serviceType:'informational'}; for(const [kind,title] of Object.entries({privacy:'Privacy policy',cookies:'Cookie policy',terms:'Terms of use'}))c.documents[kind]={title,route:'/technology/'+kind,version:'1',effectiveDate:'2026-10-19',source:kind==='terms'?'supplied':'generated',review:{status:'draft'},...(kind==='terms'?{sections:[{id:'reading',heading:'Reading here',paragraphs:['All sample topics are available whether or not you enable Reading interests.']}]}:{})}; c.documents.privacy.sections=[{id:'reading-profile',heading:'Reading interests',paragraphs:[technologySettings.technologyDescription,technologySettings.activationInstructions],links:[technologySettings.controlsLink]}]; return c; }