pub.chive.eprint.listRelatedWorks

lexicons.governance.chive.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List user-curated related works for an eprint",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Pagination cursor for next page",
              "type": "string"
            },
            "relatedWorks": {
              "items": {
                "ref": "#relatedWorkView",
                "type": "ref"
              },
              "type": "array"
            },
            "total": {
              "description": "Total number of related works",
              "type": "integer"
            }
          },
          "required": [
            "relatedWorks"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor",
            "type": "string"
          },
          "eprintUri": {
            "description": "AT-URI of the eprint to list related works for",
            "format": "at-uri",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum number of related works to return",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "eprintUri"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "relatedWorkView": {
      "properties": {
        "createdAt": {
          "description": "When this related work link was created",
          "format": "datetime",
          "type": "string"
        },
        "curatorDid": {
          "description": "DID of the user who created this link",
          "format": "did",
          "type": "string"
        },
        "description": {
          "description": "Description of the relationship",
          "type": "string"
        },
        "relationType": {
          "description": "Type of relationship",
          "type": "string"
        },
        "sourceEprintUri": {
          "description": "AT-URI of the source eprint",
          "format": "at-uri",
          "type": "string"
        },
        "targetEprintUri": {
          "description": "AT-URI of the related eprint",
          "format": "at-uri",
          "type": "string"
        },
        "targetTitle": {
          "description": "Title of the related eprint (resolved from index)",
          "type": "string"
        },
        "uri": {
          "description": "AT-URI of the related work record",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "sourceEprintUri",
        "targetEprintUri",
        "relationType",
        "curatorDid",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.eprint.listRelatedWorks",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.eprint.listRelatedWorks

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:egjghlwgts2hlcer2txilxeh
CID
bafyreihjfcdezxj2w24tby4e3lvz5heq3eaz2muo63ixtxge3ifbslkt3m
Indexed At
2026-06-18 13:14 UTC
AT-URI
at://did:plc:egjghlwgts2hlcer2txilxeh/com.atproto.lexicon.schema/pub.chive.eprint.listRelatedWorks

Similar Lexicons

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

Lexicon Garden

@