app.bsky.ageassurance.getState

bsky-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Returns server-computed Age Assurance state, if available, and any additional metadata needed to compute Age Assurance state client-side.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "metadata": {
              "ref": "app.bsky.ageassurance.defs#stateMetadata",
              "type": "ref"
            },
            "state": {
              "ref": "app.bsky.ageassurance.defs#state",
              "type": "ref"
            }
          },
          "required": [
            "state",
            "metadata"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "countryCode": {
            "type": "string"
          },
          "regionCode": {
            "type": "string"
          }
        },
        "required": [
          "countryCode"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.bsky.ageassurance.getState",
  "lexicon": 1
}

Validate Record

Validate a record against app.bsky.ageassurance.getState

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:4v4y5r3lwsbtmsxhile2ljac
CID
bafyreialq63q3obxzsrzbwx25stjmtha3frlifzbgkvtthr535oal3467y
Indexed At
2026-02-18 17:44 UTC
AT-URI
at://did:plc:4v4y5r3lwsbtmsxhile2ljac/com.atproto.lexicon.schema/app.bsky.ageassurance.getState

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • town.delve.ageassurance.getState querynot from the namespace authority

    Returns server-computed Age Assurance state, if available, and any additional metadata needed to compute Age Assurance state client-side.

  • town.delve.unspecced.getAgeAssuranceState querynot from the namespace authority

    Returns the current state of the age assurance process for an account. This is used to check if the user has completed age assurance or if further action is required.

  • Returns Age Assurance configuration for use on the client.

Lexicon Garden

@