{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "preferences": {
              "ref": "app.tempomusic.actor.defs#analyticsConsentPreferences",
              "type": "ref"
            },
            "updatedAtMicros": {
              "description": "Client wall-clock microseconds of the stored document's write (LWW tie-breaker). Absent together with `preferences`.",
              "type": "integer"
            }
          },
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "app.tempomusic.actor.getAnalyticsConsent",
  "lexicon": 1
}
