{ "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 }