app.bivri.actor.putConsent

Confirm the authenticated account is at least fourteen on the server's Korean calendar date and accepts both currently Active Policy Versions. The birth date is used only in request memory, never persisted or returned.

Details · procedure
Kindprocedure
Authorityactor.bivri.app
Indexed
cid bafyreies2fxmpq6y2sjikrthtj7zxfhdfgj4jlzmo2zozdwzlz6alrmcky

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Confirm the authenticated account is at least fourteen on the server's Korean calendar date and accepts both currently Active Policy Versions. The birth date is used only in request memory, never persisted or returned.",
      "errors": [
        {
          "name": "Unauthenticated"
        },
        {
          "name": "InvalidBirthDate"
        },
        {
          "name": "Underage"
        },
        {
          "name": "PolicyVersionMismatch"
        },
        {
          "name": "PolicyUnavailable"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "birthDate": {
              "description": "Valid Gregorian calendar date in YYYY-MM-DD form, not in the future.",
              "maxLength": 10,
              "type": "string"
            },
            "privacyVersion": {
              "maxGraphemes": 100,
              "maxLength": 400,
              "type": "string"
            },
            "termsVersion": {
              "maxGraphemes": 100,
              "maxLength": 400,
              "type": "string"
            }
          },
          "required": [
            "birthDate",
            "termsVersion",
            "privacyVersion"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "consent": {
              "ref": "app.bivri.actor.defs#consent",
              "type": "ref"
            }
          },
          "required": [
            "consent"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.bivri.actor.putConsent",
  "lexicon": 1
}