Files
bsky-social-app/lexicons/app/bsky/ageassurance/getState.json
2026-08-13 12:26:12 -07:00

46 lines
1.1 KiB
JSON

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