pub.chive.discovery.getSimilar

chive.pub View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "author": {
      "properties": {
        "name": {
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "eprintRef": {
      "properties": {
        "title": {
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "title"
      ],
      "type": "object"
    },
    "main": {
      "description": "Get related papers for an eprint based on citation patterns, semantic similarity, and topic overlap. Supports graph-based analysis including co-citation and bibliographic coupling.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "ServiceUnavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "eprint": {
              "ref": "#eprintRef",
              "type": "ref"
            },
            "related": {
              "items": {
                "ref": "#relatedEprint",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "eprint",
            "related"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "includeTypes": {
            "description": "Types of relationships to include. 'co-citation' and 'bibliographic-coupling' use graph analysis. 'collaborative' uses collaborative filtering.",
            "items": {
              "knownValues": [
                "semantic",
                "citation",
                "topic",
                "author",
                "co-citation",
                "bibliographic-coupling",
                "collaborative"
              ],
              "type": "string"
            },
            "type": "array"
          },
          "limit": {
            "default": 5,
            "description": "Maximum number of similar papers",
            "maximum": 20,
            "minimum": 1,
            "type": "integer"
          },
          "uri": {
            "description": "AT-URI of the eprint",
            "format": "at-uri",
            "type": "string"
          },
          "weightAuthorNetwork": {
            "description": "Weight for author network signal (0-100)",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "weightCoCitation": {
            "description": "Weight for co-citation signal (0-100)",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "weightCollaborative": {
            "description": "Weight for collaborative filtering signal (0-100)",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "weightConceptOverlap": {
            "description": "Weight for concept overlap signal (0-100)",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "weightSemantic": {
            "description": "Weight for semantic similarity signal (0-100)",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "relatedEprint": {
      "properties": {
        "abstract": {
          "description": "Rich abstract with text, formatting, and entity references",
          "items": {
            "refs": [
              "pub.chive.richtext.defs#textItem",
              "pub.chive.richtext.defs#nodeRefItem",
              "pub.chive.richtext.defs#wikidataRefItem",
              "pub.chive.richtext.defs#fieldRefItem",
              "pub.chive.richtext.defs#facetRefItem",
              "pub.chive.richtext.defs#eprintRefItem",
              "pub.chive.richtext.defs#annotationRefItem",
              "pub.chive.richtext.defs#authorRefItem",
              "pub.chive.richtext.defs#mentionItem",
              "pub.chive.richtext.defs#linkItem",
              "pub.chive.richtext.defs#tagItem",
              "pub.chive.richtext.defs#latexItem",
              "pub.chive.richtext.defs#codeBlockItem",
              "pub.chive.richtext.defs#headingItem",
              "pub.chive.richtext.defs#listItem",
              "pub.chive.richtext.defs#blockquoteItem"
            ],
            "type": "union"
          },
          "maxLength": 500,
          "type": "array"
        },
        "authors": {
          "items": {
            "ref": "#author",
            "type": "ref"
          },
          "type": "array"
        },
        "categories": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "explanation": {
          "description": "Human-readable explanation of the relationship",
          "type": "string"
        },
        "publicationDate": {
          "format": "datetime",
          "type": "string"
        },
        "relationshipType": {
          "description": "Type of relationship to the source eprint",
          "knownValues": [
            "cites",
            "cited-by",
            "co-cited",
            "semantically-similar",
            "same-author",
            "same-topic",
            "bibliographic-coupling",
            "collaborative-filtering"
          ],
          "type": "string"
        },
        "score": {
          "description": "Similarity score (scaled by 1000 for 0.0-1.0 range)",
          "maximum": 1000,
          "minimum": 0,
          "type": "integer"
        },
        "sharedCiters": {
          "description": "Number of papers that cite both (for co-citation)",
          "minimum": 0,
          "type": "integer"
        },
        "sharedReferences": {
          "description": "Number of shared references (for bibliographic coupling)",
          "minimum": 0,
          "type": "integer"
        },
        "title": {
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "title",
        "score",
        "relationshipType",
        "explanation"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.discovery.getSimilar",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.discovery.getSimilar

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

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreibdoox5k7jlhylcwvdtlzt7lrnrbk36uh6drqjh4k2c4idhxtxrz4
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.discovery.getSimilar

Referenced Schemas (16)

Similar Lexicons

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

Lexicon Garden

@