{
"id": "app.tempomusic.actor.getAnalyticsConsent",
"defs": {
"main": {
"type": "query",
"output": {
"schema": {
"type": "object",
"properties": {
"preferences": {
"ref": "app.tempomusic.actor.defs#analyticsConsentPreferences",
"type": "ref"
},
"updatedAtMicros": {
"type": "integer",
"description": "Client wall-clock microseconds of the stored document's write (LWW tie-breaker). Absent together with `preferences`."
}
}
},
"encoding": "application/json"
},
"description": "Fetch the requesting viewer's analytics consent preferences. The viewer DID is read from the service-auth JWT (`iss` claim). `preferences` and `updatedAtMicros` are absent together when the viewer has never stored preferences — the client then hydrates its early-access defaults."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}