{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Citation", "description": "A citation record linking citing and cited papers", "$id": "https://raw.githubusercontent.com/api-evangelist/semantic-scholar/refs/heads/main/json-schema/semantic-scholar-citation.json", "properties": { "contexts": { "type": "array", "description": "Array of text snippets where the reference to the paper is mentioned.", "example": [ "SciBERT (Beltagy et al., 2019) follows the BERT\u2019s masking strategy to pre-train the model from scratch using a scientific corpus composed of papers from Semantic Scholar (Ammar et al., 2018).", "27M articles from the Semantic Scholar dataset (Ammar et al., 2018)." ], "items": { "type": "string" } }, "intents": { "type": "array", "description": "Array of citation intents that summarizes how the reference to the paper is mentioned. Possible intents: https://www.semanticscholar.org/faq#citation-intent", "example": [ "methodology" ], "items": { "type": "string" } }, "contextsWithIntent": { "type": "array", "description": "Array of objects that contain both contexts and the intents they are associated with.", "example": [ { "context": "SciBERT (Beltagy et al., 2019) follows the BERT\u2019s ...", "intents": [ "methodology" ] } ], "items": { "type": "object" } }, "isInfluential": { "type": "boolean", "description": "Whether the citing paper is highly influential. See more about influential citations: https://www.semanticscholar.org/faq#influential-citations", "example": false }, "citingPaper": { "description": "Details about the citing paper", "allOf": [ { "$ref": "#/definitions/BasePaper" } ] } }, "type": "object", "definitions": { "Error404": { "properties": { "error": { "type": "string", "description": "Depending on the case, error message may be any of these:\n
\"Paper/Author/Object not found\"\"Paper/Author/Object with id ### not found\"\"Unrecognized or unsupported fields: [bad1, bad2, etc...]\"\"Unacceptable query params: [badK1=badV1, badK2=badV2, etc...}]\"\"Response would exceed maximum size....\"