atproto blogging
at main 44 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "app.bsky.ageassurance.getState", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Returns server-computed Age Assurance state, if available, and any additional metadata needed to compute Age Assurance state client-side.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "countryCode" 12 ], 13 "properties": { 14 "countryCode": { 15 "type": "string" 16 }, 17 "regionCode": { 18 "type": "string" 19 } 20 } 21 }, 22 "output": { 23 "encoding": "application/json", 24 "schema": { 25 "type": "object", 26 "required": [ 27 "state", 28 "metadata" 29 ], 30 "properties": { 31 "metadata": { 32 "type": "ref", 33 "ref": "app.bsky.ageassurance.defs#stateMetadata" 34 }, 35 "state": { 36 "type": "ref", 37 "ref": "app.bsky.ageassurance.defs#state" 38 } 39 } 40 } 41 } 42 } 43 } 44}