an attempt to make a lightweight, easily self-hostable, scoped bluesky appview

party.whey.app.bsky.actor.defs#

{
  "lexicon": 1,
  "id": "party.whey.app.bsky.actor.defs",
  "defs": {
    "profileViewBasicRef": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        }
      }
    },
    "profileViewRef": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        }
      }
    },
    "profileViewDetailedRef": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        }
      }
    }
  }
}

party.whey.app.bsky.feed.defs#

{
  "lexicon": 1,
  "id": "party.whey.app.bsky.feed.defs",
  "defs": {
    "postViewRef": {
      "type": "object",
      "description": "A pointer to a app.bsky.feed.defs#postView",
      "required": [
        "uri",
        "cid"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "cid": {
          "type": "string",
          "format": "cid"
        }
      }
    },
    "feedViewPostRef": {
      "type": "object",
      "required": [
        "post"
      ],
      "properties": {
        "post": {
          "type": "union",
          "refs": [
            "app.bsky.feed.defs#postView",
            "#postViewRef"
          ]
        },
        "reply": {
          "type": "union",
          "refs": [
            "app.bsky.feed.defs#replyRef",
            "#replyRef"
          ]
        },
        "reason": {
          "type": "union",
          "refs": [
            "app.bsky.feed.defs#reasonRepost",
            "app.bsky.feed.defs#reasonPin"
          ]
        },
        "feedContext": {
          "type": "string",
          "description": "Context provided by feed generator that may be passed back alongside interactions.",
          "maxLength": 2000
        },
        "reqId": {
          "type": "string",
          "description": "Unique identifier per request that may be passed back alongside interactions.",
          "maxLength": 100
        }
      }
    },
    "replyRef": {
      "type": "object",
      "required": [
        "root",
        "parent"
      ],
      "properties": {
        "root": {
          "type": "union",
          "refs": [
            "#postViewRef",
            "app.bsky.feed.defs#postView",
            "app.bsky.feed.defs#notFoundPost",
            "app.bsky.feed.defs#blockedPost"
          ]
        },
        "parent": {
          "type": "union",
          "refs": [
            "#postViewRef",
            "app.bsky.feed.defs#postView",
            "app.bsky.feed.defs#notFoundPost",
            "app.bsky.feed.defs#blockedPost"
          ]
        },
        "grandparentAuthor": {
          "type": "union",
          "refs": [
            "party.whey.app.bsky.actor.defs#profileViewBasicRef",
            "app.bsky.actor.defs#profileViewBasic"
          ],
          "description": "When parent is a reply to another post, this is the author of that post."
        }
      }
    },
    "threadViewPostRef": {
      "type": "object",
      "required": [
        "post"
      ],
      "properties": {
        "post": {
          "type": "union",
          "refs": [
            "#postViewRef",
            "app.bsky.feed.defs#postView"
          ]
        },
        "parent": {
          "type": "union",
          "refs": [
            "#threadViewPostRef",
            "app.bsky.feed.defs#threadViewPost",
            "app.bsky.feed.defs#notFoundPost",
            "app.bsky.feed.defs#blockedPost"
          ]
        },
        "replies": {
          "type": "array",
          "items": {
            "type": "union",
            "refs": [
              "#threadViewPostRef",
              "app.bsky.feed.defs#threadViewPost",
              "app.bsky.feed.defs#notFoundPost",
              "app.bsky.feed.defs#blockedPost"
            ]
          }
        },
        "threadContext": {
          "type": "ref",
          "ref": "app.bsky.feed.defs#threadContext"
        }
      }
    }
  }
}