fyi.opensocial.checkImport

lexicons.opensocial.fyi

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "What moving an account here would make of it, before anything moves (importAccount moves it so): its handle here, whether that's the one it has, and its address, this host's own name for it, where its site lives. A handle on a domain of the account's own that still names it comes along; one its old server gives out becomes the address. `refused` says why it can't have that address, as importAccount would.",
      "errors": [
        {
          "name": "NotPlc"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "address": {
              "format": "handle",
              "type": "string"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "from": {
              "description": "The handle it has now.",
              "type": "string"
            },
            "handle": {
              "description": "Its handle once moved.",
              "format": "handle",
              "type": "string"
            },
            "keeps": {
              "description": "Whether that's the handle it has now.",
              "type": "boolean"
            },
            "label": {
              "type": "string"
            },
            "refused": {
              "description": "{error, message}: InvalidHandle or HandleNotAvailable.",
              "type": "unknown"
            }
          },
          "required": [
            "did",
            "handle",
            "address",
            "label",
            "keeps"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "address": {
            "description": "The label of its address here, if not its handle's first label.",
            "type": "string"
          },
          "did": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.checkImport",
  "lexicon": 1
}

Validate Record

Validate a record against fyi.opensocial.checkImport

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:2gqnilpksz2e7faj3bwvo6qc
CID
bafyreigaszloek3uraw2jpzpnozder67byinytmj4l4sb36unoeheh4xue
Indexed At
2026-11-03 00:45 UTC
AT-URI
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.checkImport

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Start moving an account that already exists on the network, on any server, here to become a group: check the account's proof that it hands its DID to this host, make it here switched off with new keys, and copy its whol…

  • Finish moving an account here: send the PLC operation its old server signed, which must give it to this host as importAccount said, switch it on and tell the network, and make the group's spaces with the caller as its a…

Lexicon Garden

@