com.atproto.lexicon.resolveLexicon

atproto-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Resolves an atproto lexicon (NSID) to a schema.",
      "errors": [
        {
          "description": "No lexicon was resolved for the NSID.",
          "name": "LexiconNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "description": "The CID of the lexicon schema record.",
              "format": "cid",
              "type": "string"
            },
            "schema": {
              "description": "The resolved lexicon schema record.",
              "ref": "com.atproto.lexicon.schema#main",
              "type": "ref"
            },
            "uri": {
              "description": "The AT-URI of the lexicon schema record.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid",
            "schema"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "nsid": {
            "description": "The lexicon NSID to resolve.",
            "format": "nsid",
            "type": "string"
          }
        },
        "required": [
          "nsid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.atproto.lexicon.resolveLexicon",
  "lexicon": 1
}

Validate Record

Validate a record against com.atproto.lexicon.resolveLexicon

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:6msi3pj7krzih5qxqtryxlzw
CID
bafyreihyejjwx2cpbv3ikfojbq57jmtmilhjjsamqwfeiwkg2vanxxaz6m
Indexed At
2026-02-18 18:56 UTC
AT-URI
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.lexicon.resolveLexicon

Referenced Schemas (1)

Similar Lexicons

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

  • NSID を受け、publish 済み Lexicon のスキーマ定義を解決して返す。DNS TXT 解決を伴うためサーバ側で実行する。未解決なら resolved=false。

Lexicon Garden

@