pub.chive.discovery.getCitations

lexicons.governance.chive.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "citation": {
      "properties": {
        "citedUri": {
          "description": "AT-URI of the cited paper",
          "format": "at-uri",
          "type": "string"
        },
        "citingUri": {
          "description": "AT-URI of the citing paper",
          "format": "at-uri",
          "type": "string"
        },
        "discoveredAt": {
          "description": "When this citation was discovered",
          "format": "datetime",
          "type": "string"
        },
        "isInfluential": {
          "description": "Whether this is an influential citation",
          "type": "boolean"
        },
        "source": {
          "description": "Source of citation data (e.g., semantic-scholar, openalex)",
          "type": "string"
        }
      },
      "required": [
        "citingUri",
        "citedUri",
        "source"
      ],
      "type": "object"
    },
    "citationCounts": {
      "properties": {
        "citedByCount": {
          "description": "Number of papers citing this eprint",
          "minimum": 0,
          "type": "integer"
        },
        "influentialCitedByCount": {
          "description": "Number of influential citations",
          "minimum": 0,
          "type": "integer"
        },
        "referencesCount": {
          "description": "Number of papers this eprint references",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "citedByCount",
        "referencesCount",
        "influentialCitedByCount"
      ],
      "type": "object"
    },
    "eprintRef": {
      "properties": {
        "title": {
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "title"
      ],
      "type": "object"
    },
    "main": {
      "description": "Get citation network data for an eprint, including papers that cite it and papers it references (within the Chive index)",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "ServiceUnavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "citations": {
              "items": {
                "ref": "#citation",
                "type": "ref"
              },
              "type": "array"
            },
            "counts": {
              "ref": "#citationCounts",
              "type": "ref"
            },
            "cursor": {
              "description": "Pagination cursor for next page",
              "type": "string"
            },
            "eprint": {
              "ref": "#eprintRef",
              "type": "ref"
            },
            "hasMore": {
              "description": "Whether more results are available",
              "type": "boolean"
            }
          },
          "required": [
            "eprint",
            "counts",
            "citations",
            "hasMore"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor",
            "type": "string"
          },
          "direction": {
            "default": "both",
            "description": "Citation direction: citing (papers this cites), cited-by (papers citing this), or both",
            "knownValues": [
              "citing",
              "cited-by",
              "both"
            ],
            "type": "string"
          },
          "limit": {
            "default": 20,
            "description": "Maximum number of citations to return",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "onlyInfluential": {
            "default": false,
            "description": "Only return influential citations",
            "type": "boolean"
          },
          "uri": {
            "description": "AT-URI of the eprint",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.discovery.getCitations",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.discovery.getCitations

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Version History (2 versions)

Similar Lexicons

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

Lexicon Garden

@