town.delve.unspecced.initAgeAssurance

Initiate age assurance for an account. This is a one-time action that will start the process of verifying the user's age.

Repository @delve.town did:plc:qzqct2rrq4u2gmy5g3mjxske namespace authority
Details · procedure
Kindprocedure
Authorityunspecced.delve.town
Indexed
cid bafyreidebgwsiq7l2wlbflxm3edq3swckzfmvgowu7grrgeo563yxrjhfu

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.countryCodeNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.emailNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.languageNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Initiate age assurance for an account. This is a one-time action that will start the process of verifying the user's age.",
      "errors": [
        {
          "name": "InvalidEmail"
        },
        {
          "name": "DidTooLong"
        },
        {
          "name": "InvalidInitiation"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "countryCode": {
              "description": "An ISO 3166-1 alpha-2 code of the user's location.",
              "type": "string"
            },
            "email": {
              "description": "The user's email address to receive assurance instructions.",
              "type": "string"
            },
            "language": {
              "description": "The user's preferred language for communication during the assurance process.",
              "type": "string"
            }
          },
          "required": [
            "email",
            "language",
            "countryCode"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "town.delve.unspecced.defs#ageAssuranceState",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "town.delve.unspecced.initAgeAssurance",
  "lexicon": 1
}