ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

If I get a record w/ strongRef values (uri,cid), or a schema w/ a strongRef field, I have no way to know what lexicon type SHOULD be used. Am I overthinking this? How should I validate the record for intended lexicon type? I'm probably overthinking it. #atprotocol #atproto

Apr 11, 2025, 11:17 PM

Record data

{
  "uri": "at://did:plc:lm6sjxwivmd4orwfopxnrfj4/app.bsky.feed.post/3lml5nyn2ic2i",
  "cid": "bafyreieilojwq4noj7ul4e2mfwppchto5ax7kp6owpubvgw6a3ve5dpz3m",
  "value": {
    "text": "If I get a record w/ strongRef values (uri,cid), or a schema w/ a strongRef field, I have no way to know what lexicon type SHOULD be used.\n\nAm I overthinking this? How should I validate the record for intended lexicon type? I'm probably overthinking it.\n\n#atprotocol #atproto",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "facets": [
      {
        "index": {
          "byteEnd": 266,
          "byteStart": 255
        },
        "features": [
          {
            "tag": "atprotocol",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 275,
          "byteStart": 267
        },
        "features": [
          {
            "tag": "atproto",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      }
    ],
    "createdAt": "2025-04-11T23:17:28.045Z"
  }
}