532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
46 lines
1.1 KiB
JSON
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
|
|
}
|