diff --git a/packages/editor/package.json b/packages/editor/package.json
index 864a21483..4bc582dab 100644
--- a/packages/editor/package.json
+++ b/packages/editor/package.json
@@ -1,6 +1,6 @@
{
"name": "@nestia/editor",
- "version": "0.9.1",
+ "version": "0.9.2",
"typings": "lib/index.d.ts",
"main": "lib/index.js",
"module": "lib/index.mjs",
@@ -34,7 +34,7 @@
"homepage": "https://nestia.io",
"dependencies": {
"@mui/material": "^5.15.6",
- "@nestia/migrate": "^0.21.1",
+ "@nestia/migrate": "^0.21.2",
"@stackblitz/sdk": "^1.11.0",
"js-yaml": "^4.1.0",
"prettier": "3.3.3",
diff --git a/packages/migrate/assets/input/v2.0/semanticscholar.json b/packages/migrate/assets/input/v2.0/semanticscholar.json
new file mode 100644
index 000000000..65f9fe903
--- /dev/null
+++ b/packages/migrate/assets/input/v2.0/semanticscholar.json
@@ -0,0 +1 @@
+{"swagger": "2.0", "basePath": "/graph/v1", "paths": {"/author/batch": {"parameters": [{"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of Response Schema below for a list of all available fields that can be returned.\nThe authorId
field is always returned. If the fields parameter is omitted, only the authorId
and name
will be returned.\n
Use a period (\u201c.\u201d) for subfields of papers
.
\nExamples:\n
\n fields=name,affiliations,papers
\n fields=url,papers.year,papers.authors
\n
", "name": "fields", "type": "string"}], "post": {"responses": {"400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "List of authors with default or requested fields", "schema": {"$ref": "#/definitions/AuthorWithPapers"}}}, "summary": "Get details for multiple authors at once", "description": "* Fields is a single-value string parameter, not a multi-value one.\n* It is a query parameter, not to be submitted in the POST request's body.\n\nIn python:\n\n r = requests.post(\n 'https://api.semanticscholar.org/graph/v1/author/batch',\n params={'fields': 'name,hIndex,citationCount'},\n json={\"ids\":[\"1741101\", \"1780531\"]}\n )\n print(json.dumps(r.json(), indent=2))\n\n [\n {\n \"authorId\": \"1741101\",\n \"name\": \"Oren Etzioni\",\n \"citationCount\": 34803,\n \"hIndex\": 86\n },\n {\n \"authorId\": \"1780531\",\n \"name\": \"Daniel S. Weld\",\n \"citationCount\": 35526,\n \"hIndex\": 89\n }\n ]\n\nOther Examples:\n\n https://api.semanticscholar.org/graph/v1/author/batch
\n \n {\"ids\":[\"1741101\", \"1780531\", \"48323507\"]}
\n - Returns details for 3 authors.
\n - Each author returns the field authorId and name if no other fields are specified.
\n
\n https://api.semanticscholar.org/graph/v1/author/batch?fields=url,name,paperCount,papers,papers.title,papers.openAccessPdf
\n \n {\"ids\":[\"1741101\", \"1780531\", \"48323507\"]}
\n - Returns authorID, url, name, paperCount, and list of papers for 3 authors.
\n - Each paper has its paperID, title, and link if available.
\n
\n
\n
\nLimitations:\n\n - Can only process 1,000 author ids at a time.
\n - Can only return up to 10 MB of data at a time.
\n
", "operationId": "post_graph_get_authors", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/AuthorIdList"}}], "tags": ["Author Data"]}}, "/author/search": {"parameters": [{"default": 0, "type": "integer", "in": "query", "description": "Used for pagination. When returning a list of results, start with the element at this position in the list.", "name": "offset"}, {"default": 100, "type": "integer", "in": "query", "description": "The maximum number of results to return.
\nMust be <= 1000", "name": "limit"}, {"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of the data
array in Response Schema below for a list of all available fields that can be returned.\nThe authorId
field is always returned. If the fields parameter is omitted, only the authorId
and name
will be returned.\nUse a period (\u201c.\u201d) for subfields of papers
.
\nExamples:\n
\n fields=name,affiliations,papers
\n fields=url,papers.year,papers.authors
\n
", "name": "fields", "type": "string"}, {"required": true, "in": "query", "description": "A plain-text search query string.\n* No special query syntax is supported.\n* Hyphenated query terms yield no matches (replace it with space to find matches)", "name": "query", "type": "string"}], "get": {"responses": {"400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Batch of authors with default or requested fields", "schema": {"$ref": "#/definitions/AuthorSearchBatch"}}}, "summary": "Search for authors by name", "description": "Specifying papers
fields in the request will return all papers linked to each author in the results. Set a limit
on the search results to reduce output size and latency.
\nExamples:\n\n https://api.semanticscholar.org/graph/v1/author/search?query=adam+smith
\n \n - Returns with total=490, offset=0, next=100, and data is a list of 100 authors.
\n - Each author has their authorId and name.
\n
\n https://api.semanticscholar.org/graph/v1/author/search?query=adam+smith&fields=name,url,papers.title,papers.year&limit=5
\n \n - Returns with total=490, offset=0, next=5, and data is a list of 5 authors.
\n - Each author has authorId, name, url, and a list of their papers title and year.
\n
\n https://api.semanticscholar.org/graph/v1/author/search?query=totalGarbageNonsense
\n \n - Returns with total = 0, offset=0, and data is a list of 0 author.
\n
\n
\n Limitations:\n\n - Can only return up to 10 MB of data at a time.
\n
", "operationId": "get_graph_get_author_search", "tags": ["Author Data"]}}, "/author/{author_id}": {"parameters": [{"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of Response Schema below for a list of all available fields that can be returned.\nThe authorId
field is always returned. If the fields parameter is omitted, only the authorId
and name
will be returned.\nUse a period (\u201c.\u201d) for subfields of papers
.
\nExamples:\n
\n fields=name,affiliations,papers
\n fields=url,papers.year,papers.authors
\n
", "name": "fields", "type": "string"}, {"name": "author_id", "in": "path", "required": true, "type": "string"}], "get": {"responses": {"404": {"description": "Bad paper id", "schema": {"$ref": "#/definitions/Error404"}}, "400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Author with default or requested fields", "schema": {"$ref": "#/definitions/AuthorWithPapers"}}}, "summary": "Details about an author", "description": "Examples:\n\n https://api.semanticscholar.org/graph/v1/author/1741101
\n \n - Returns the author's authorId and name.
\n
\n https://api.semanticscholar.org/graph/v1/author/1741101?fields=url,papers
\n \n - Returns the author's authorId, url, and list of papers.
\n - Each paper has its paperId plus its title.
\n
\n https://api.semanticscholar.org/graph/v1/author/1741101?fields=url,papers.abstract,papers.authors
\n \n - Returns the author's authorId, url, and list of papers.
\n - Each paper has its paperId, abstract, and list of authors.
\n - In that list of authors, each author has their authorId and name.
\n
\n
\n Limitations:\n \n - Can only return up to 10 MB of data at a time.
\n
\n
", "operationId": "get_graph_get_author", "tags": ["Author Data"]}}, "/author/{author_id}/papers": {"parameters": [{"default": 0, "type": "integer", "in": "query", "description": "Used for pagination. When returning a list of results, start with the element at this position in the list.", "name": "offset"}, {"default": 100, "type": "integer", "in": "query", "description": "The maximum number of results to return.
\nMust be <= 1000", "name": "limit"}, {"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of the data
array in Response Schema below for a list of all available fields that can be returned.\nThe paperId
field is always returned. If the fields parameter is omitted, only the paperId
and title
will be returned. To fetch more references or citations per paper, reduce the number of papers in the batch with limit=
.\nUse a period (\u201c.\u201d) for subfields of citations
and references
.
\nExamples:\n
\n fields=title,fieldsOfStudy,references
\n fields=abstract,citations.url,citations.venue
\n
", "name": "fields", "type": "string"}, {"name": "author_id", "in": "path", "required": true, "type": "string"}], "get": {"responses": {"404": {"description": "Bad paper id", "schema": {"$ref": "#/definitions/Error404"}}, "400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "List of papers with default or requested fields", "schema": {"$ref": "#/definitions/AuthorPaperBatch"}}}, "summary": "Details about an author's papers", "description": "Fetch the papers of an author in batches.
\nOnly retrieves the most recent 10,000 citations/references for papers belonging to the batch.
\nTo retrieve the full set of citations for a paper,\nuse the /paper/{paper_id}/citations endpoint\n
\nExamples:\n\n https://api.semanticscholar.org/graph/v1/author/1741101/papers
\n \n - Return with offset=0, and data is a list of the first 100 papers.
\n - Each paper has its paperId and title.
\n
\n https://api.semanticscholar.org/graph/v1/author/1741101/papers?fields=url,year,authors&limit=2
\n \n - Returns with offset=0, next=2, and data is a list of 2 papers.
\n - Each paper has its paperId, url, year, and list of authors.
\n - Each author has their authorId and name.
\n
\n https://api.semanticscholar.org/graph/v1/author/1741101/papers?fields=citations.authors&offset=260
\n \n - Returns with offset=260, and data is a list of the last 4 papers.
\n - Each paper has its paperId and a list of citations.
\n - Each citation has its paperId and a list of authors.
\n - Each author has their authorId and name.
\n
\n
", "operationId": "get_graph_get_author_papers", "tags": ["Author Data"]}}, "/paper/autocomplete": {"parameters": [{"required": true, "in": "query", "description": "Plain-text partial query string. Will be truncated to first 100 characters.", "name": "query", "type": "string"}], "get": {"responses": {"400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Batch of papers with default or requested fields", "schema": {"$ref": "#/definitions/PaperAutocomplete"}}}, "summary": "Suggest paper query completions", "description": "To support interactive query-completion, return minimal information about papers matching a partial query\n\nExample:\nhttps://api.semanticscholar.org/graph/v1/paper/autocomplete?query=semanti
", "operationId": "get_graph_get_paper_autocomplete", "tags": ["Paper Data"]}}, "/paper/batch": {"parameters": [{"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of Response Schema below for a list of all available fields that can be returned.\nThe paperId
field is always returned. If the fields parameter is omitted, only the paperId
and title
will be returned.\nUse a period (\u201c.\u201d) for fields that have version numbers or subfields, such as the embedding
, authors
, citations
, and references
fields:\n
\n - When requesting
authors
, the authorId
and name
subfields are returned by default. To request other subfields, use the format author.url,author.paperCount
, etc. See the Response Schema below for available subfields. \n - When requesting
citations
and references
, the paperId
and title
subfields are returned by default. To request other subfields, use the format citations.title,citations.abstract
, etc. See the Response Schema below for available subfields. \n - When requesting
embedding
, the default Spector embedding version is v1. Specify embedding.specter_v2
to select v2 embeddings. \n
\nExamples:\n\n fields=title,url
\n fields=title,embedding.specter_v2
\n fields=title,authors,citations.title,citations.abstract
\n
", "name": "fields", "type": "string"}], "post": {"responses": {"400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "List of papers with default or requested fields", "schema": {"$ref": "#/definitions/FullPaper"}}}, "summary": "Get details for multiple papers at once", "description": "* Fields is a single-value string parameter, not a multi-value one.\n* It is a query parameter, not to be submitted in the POST request's body.\n\nIn python:\n\n r = requests.post(\n 'https://api.semanticscholar.org/graph/v1/paper/batch',\n params={'fields': 'referenceCount,citationCount,title'},\n json={\"ids\": [\"649def34f8be52c8b66281af98ae884c09aef38b\", \"ARXIV:2106.15928\"]}\n )\n print(json.dumps(r.json(), indent=2))\n\n [\n {\n \"paperId\": \"649def34f8be52c8b66281af98ae884c09aef38b\",\n \"title\": \"Construction of the Literature Graph in Semantic Scholar\",\n \"referenceCount\": 27,\n \"citationCount\": 299\n },\n {\n \"paperId\": \"f712fab0d58ae6492e3cdfc1933dae103ec12d5d\",\n \"title\": \"Reinfection and low cross-immunity as drivers of epidemic resurgence under high seroprevalence: a model-based approach with application to Amazonas, Brazil\",\n \"referenceCount\": 13,\n \"citationCount\": 0\n }\n ]\n\nOther Examples:\n\n https://api.semanticscholar.org/graph/v1/paper/batch
\n \n {\"ids\":[\"649def34f8be52c8b66281af98ae884c09aef38b\", \"ARXIV:2106.15928\"]}
\n - Returns details for 2 papers.
\n - Each paper has its paperId and title.
\n
\n https://api.semanticscholar.org/graph/v1/paper/batch?fields=title,isOpenAccess,openAccessPdf,authors
\n \n {\"ids\":[\"649def34f8be52c8b66281af98ae884c09aef38b\", \"ARXIV:2106.15928\"]}
\n - Returns all requested info plus paper IDs for 2 papers.
\n
\n
\n
\nLimitations:\n\n - Can only process 500 paper ids at a time.
\n - Can only return up to 10 MB of data at a time.
\n - Can only return up to 9999 citations at a time.
\n - For a list of supported IDs reference the \"Details about a paper\" endpoint.
\n
", "operationId": "post_graph_get_papers", "parameters": [{"name": "payload", "required": true, "in": "body", "schema": {"$ref": "#/definitions/PaperBatch"}}], "tags": ["Paper Data"]}}, "/paper/search": {"parameters": [{"required": true, "in": "query", "description": "A plain-text search query string.\n* No special query syntax is supported.\n* Hyphenated query terms yield no matches (replace it with space to find matches)\n\nSee our blog post\nfor a description of our search relevance algorithm.\n\nExample:\ngraph/v1/paper/search?query=generative ai
", "name": "query", "type": "string"}, {"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of the data
array in Response Schema below for a list of all available fields that can be returned.\nThe paperId
field is always returned. If the fields parameter is omitted, only the paperId
and title
will be returned.\nUse a period (\u201c.\u201d) for fields that have version numbers or subfields, such as the embedding
, authors
, citations
, and references
fields:\n
\n - When requesting
authors
, the authorId
and name
subfields are returned by default. To request other subfields, use the format author.url,author.paperCount
, etc. See the Response Schema below for available subfields. \n - When requesting
citations
and references
, the paperId
and title
subfields are returned by default. To request other subfields, use the format citations.title,citations.abstract
, etc. See the Response Schema below for available subfields. \n - When requesting
embedding
, the default Spector embedding version is v1. Specify embedding.specter_v2
to select v2 embeddings. \n
\nExamples:\n\n fields=title,url
\n fields=title,embedding.specter_v2
\n fields=title,authors,citations.title,citations.abstract
\n
", "name": "fields", "type": "string"}, {"in": "query", "description": "Restricts results to any of the following paper publication types:\n\n - Review
\n - JournalArticle
\n - CaseReport
\n - ClinicalTrial
\n - Conference
\n - Dataset
\n - Editorial
\n - LettersAndComments
\n - MetaAnalysis
\n - News
\n - Study
\n - Book
\n - BookSection
\n
\n\nUse a comma-separated list to include papers with any of the listed publication types.
\nExample: Review,JournalArticle
will return papers with publication types Review and/or JournalArticle.", "name": "publicationTypes", "type": "string"}, {"in": "query", "description": "Restricts results to only include papers with a public PDF. This parameter does not accept any values.", "name": "openAccessPdf", "type": "string"}, {"in": "query", "description": "Restricts results to only include papers with the minimum number of citations.\n
\n
\nExample:\nminCitationCount=200
", "name": "minCitationCount", "type": "string"}, {"in": "query", "description": "Restricts results to the given range of publication dates or years (inclusive). Accepts the format <startDate>:<endDate>
with each date in YYYY-MM-DD
format. \n
\n
\nEach term is optional, allowing for specific dates, fixed ranges, or open-ended ranges. In addition, prefixes are suported as a shorthand, e.g. 2020-06
matches all dates in June 2020.\n
\n
\nSpecific dates are not known for all papers, so some records returned with this filter will have a null
value for publicationDate. year
, however, will always be present.\nFor records where a specific publication date is not known, they will be treated as if published on January 1st of their publication year.\n
\n
\nExamples:\n\n 2019-03-05
on March 3rd, 2019 \n 2019-03
during March 2019 \n 2019
during 2019 \n 2016-03-05:2020-06-06
as early as March 5th, 2016 or as late as June 6th, 2020 \n 1981-08-25:
on or after August 25th, 1981 \n :2015-01
before or on January 31st, 2015 \n 2015:2020
between January 1st, 2015 and December 31st, 2020 \n
", "name": "publicationDateOrYear", "type": "string"}, {"in": "query", "description": "Restricts results to the given publication year or range of years (inclusive).\n
\n
\nExamples:\n\n 2019
in 2019 \n 2016-2020
as early as 2016 or as late as 2020 \n 2010-
during or after 2010 \n -2015
before or during 2015 \n
", "name": "year", "type": "string"}, {"in": "query", "description": "Restricts results to papers published in the given venues, formatted as a comma-separated list.
\nInput could also be an ISO4 abbreviation.\nExamples include:\n\n - Nature
\n - New England Journal of Medicine
\n - Radiology
\n - N. Engl. J. Med.
\n
\n\nExample: Nature,Radiology
will return papers from venues Nature and/or Radiology.", "name": "venue", "type": "string"}, {"in": "query", "description": "Restricts results to papers in the given fields of study, formatted as a comma-separated list:\n\n- Computer Science
\n- Medicine
\n- Chemistry
\n- Biology
\n- Materials Science
\n- Physics
\n- Geology
\n- Psychology
\n- Art
\n- History
\n- Geography
\n- Sociology
\n- Business
\n- Political Science
\n- Economics
\n- Philosophy
\n- Mathematics
\n- Engineering
\n- Environmental Science
\n- Agricultural and Food Sciences
\n- Education
\n- Law
\n- Linguistics
\n
\n\nExample: Physics,Mathematics
will return papers with either Physics or Mathematics in their list of fields-of-study.", "name": "fieldsOfStudy", "type": "string"}, {"default": 0, "type": "integer", "in": "query", "description": "Used for pagination. When returning a list of results, start with the element at this position in the list.", "name": "offset"}, {"default": 100, "type": "integer", "in": "query", "description": "The maximum number of results to return.
\nMust be <= 100", "name": "limit"}], "get": {"responses": {"400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Batch of papers with default or requested fields", "schema": {"$ref": "#/definitions/PaperRelevanceSearchBatch"}}}, "summary": "Paper relevance search", "description": "Examples:\n\n https://api.semanticscholar.org/graph/v1/paper/search?query=covid+vaccination&offset=100&limit=3
\n \n - Returns with total=576278, offset=100, next=103, and data is a list of 3 papers.
\n - Each paper has its paperId and title.
\n
\n https://api.semanticscholar.org/graph/v1/paper/search?query=covid&fields=url,abstract,authors
\n \n - Returns with total=639637, offset=0, next=100, and data is a list of 100 papers.
\n - Each paper has paperId, url, abstract, and a list of authors.
\n - Each author under that list has authorId and name.
\n
\n https://api.semanticscholar.org/graph/v1/paper/search?query=totalGarbageNonsense
\n \n - Returns with total=0, offset=0, and data is a list of 0 papers.
\n
\n https://api.semanticscholar.org/graph/v1/paper/search?query=covid&year=2020-2023&openAccessPdf&fieldsOfStudy=Physics,Philosophy&fields=title,year,authors
\n \n - Returns with total=8471, offset=0, next=10, and data is a list of 10 papers.
\n - Filters to include only papers published between 2020-2023.
\n - Filters to include only papers with open access PDFs.
\n - Filters to include only papers that have a field of study either matching Physics or Philosophy.
\n - Each paper has the fields paperId, title, year, and authors.
\n
\n
\n Limitations:\n \n - Can only return up to 1,000 relevance-ranked results. For larger queries, see \"/search/bulk\" or the Datasets API.
\n - Can only return up to 10 MB of data at a time.
\n
\n
", "operationId": "get_graph_paper_relevance_search", "tags": ["Paper Data"]}}, "/paper/search/bulk": {"parameters": [{"required": true, "in": "query", "description": "Text query that will be matched against the paper's title and abstract. All terms are stemmed in English. By default all terms in the query must be present in the paper.\n\nThe match query supports the following syntax:\n\n+
for AND operation \n|
for OR operation \n-
negates a term \n\"
collects terms into a phrase \n*
can be used to match a prefix \n (
and )
for precedence \n~N
after a word matches within the edit distance of N (Defaults to 2 if N is omitted) \n~N
after a phrase matches with the phrase terms separated up to N terms apart (Defaults to 2 if N is omitted) \n
\n\nExamples:\n\n fish ladder
matches papers that contain \"fish\" and \"ladder\" \n fish -ladder
matches papers that contain \"fish\" but not \"ladder\" \n fish | ladder
matches papers that contain \"fish\" or \"ladder\" \n \"fish ladder\"
matches papers that contain the phrase \"fish ladder\" \n (fish ladder) | outflow
matches papers that contain \"fish\" and \"ladder\" OR \"outflow\" \n fish~
matches papers that contain \"fish\", \"fist\", \"fihs\", etc. \n \"fish ladder\"~3
mathces papers that contain the phrase \"fish ladder\" or \"fish is on a ladder\" \n
", "name": "query", "type": "string"}, {"in": "query", "description": "Used for pagination. This string token is provided when the original query returns, and is used to fetch the next batch of papers. Each call will return a new token.", "name": "token", "type": "string"}, {"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of the data
array in Response Schema below for a list of all available fields that can be returned.
\nThe paperId
field is always returned. If the fields parameter is omitted, only the paperId
and title
will be returned.
\nExamples: https://api.semanticscholar.org/graph/v1/paper/search/bulk?query=covid&fields=venue,s2FieldsOfStudy
\n", "name": "fields", "type": "string"}, {"in": "query", "description": "Provides the option to sort the results by the following fields:\n\n paperId
\n publicationDate
\n citationCount
\n
\nUses the format field:order
. Ties are broken by paperId
. The default field is paperId
and the default order is asc. Records for which the sort value are not defined will appear at the end of sort, regardless of asc/desc order.\n
\n
\nExamples:\n\n publicationDate:asc
- return oldest papers first. \n citationCount:desc
- return most highly-cited papers first. \n paperId
- return papers in ID order, low-to-high. \n
\n
\nPlease be aware that if the relevant data changes while paging through results, records can be returned in an unexpected way. The default paperId
sort avoids this edge case.", "name": "sort", "type": "string"}, {"in": "query", "description": "Restricts results to any of the following paper publication types:\n\n - Review
\n - JournalArticle
\n - CaseReport
\n - ClinicalTrial
\n - Conference
\n - Dataset
\n - Editorial
\n - LettersAndComments
\n - MetaAnalysis
\n - News
\n - Study
\n - Book
\n - BookSection
\n
\n\nUse a comma-separated list to include papers with any of the listed publication types.
\nExample: Review,JournalArticle
will return papers with publication types Review and/or JournalArticle.", "name": "publicationTypes", "type": "string"}, {"in": "query", "description": "Restricts results to only include papers with a public PDF. This parameter does not accept any values.", "name": "openAccessPdf", "type": "string"}, {"in": "query", "description": "Restricts results to only include papers with the minimum number of citations.\n
\n
\nExample:\nminCitationCount=200
", "name": "minCitationCount", "type": "string"}, {"in": "query", "description": "Restricts results to the given range of publication dates or years (inclusive). Accepts the format <startDate>:<endDate>
with each date in YYYY-MM-DD
format. \n
\n
\nEach term is optional, allowing for specific dates, fixed ranges, or open-ended ranges. In addition, prefixes are suported as a shorthand, e.g. 2020-06
matches all dates in June 2020.\n
\n
\nSpecific dates are not known for all papers, so some records returned with this filter will have a null
value for publicationDate. year
, however, will always be present.\nFor records where a specific publication date is not known, they will be treated as if published on January 1st of their publication year.\n
\n
\nExamples:\n\n 2019-03-05
on March 3rd, 2019 \n 2019-03
during March 2019 \n 2019
during 2019 \n 2016-03-05:2020-06-06
as early as March 5th, 2016 or as late as June 6th, 2020 \n 1981-08-25:
on or after August 25th, 1981 \n :2015-01
before or on January 31st, 2015 \n 2015:2020
between January 1st, 2015 and December 31st, 2020 \n
", "name": "publicationDateOrYear", "type": "string"}, {"in": "query", "description": "Restricts results to the given publication year or range of years (inclusive).\n
\n
\nExamples:\n\n 2019
in 2019 \n 2016-2020
as early as 2016 or as late as 2020 \n 2010-
during or after 2010 \n -2015
before or during 2015 \n
", "name": "year", "type": "string"}, {"in": "query", "description": "Restricts results to papers published in the given venues, formatted as a comma-separated list.
\nInput could also be an ISO4 abbreviation.\nExamples include:\n\n - Nature
\n - New England Journal of Medicine
\n - Radiology
\n - N. Engl. J. Med.
\n
\n\nExample: Nature,Radiology
will return papers from venues Nature and/or Radiology.", "name": "venue", "type": "string"}, {"in": "query", "description": "Restricts results to papers in the given fields of study, formatted as a comma-separated list:\n\n- Computer Science
\n- Medicine
\n- Chemistry
\n- Biology
\n- Materials Science
\n- Physics
\n- Geology
\n- Psychology
\n- Art
\n- History
\n- Geography
\n- Sociology
\n- Business
\n- Political Science
\n- Economics
\n- Philosophy
\n- Mathematics
\n- Engineering
\n- Environmental Science
\n- Agricultural and Food Sciences
\n- Education
\n- Law
\n- Linguistics
\n
\n\nExample: Physics,Mathematics
will return papers with either Physics or Mathematics in their list of fields-of-study.", "name": "fieldsOfStudy", "type": "string"}], "get": {"responses": {"400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Batch of papers with default or requested fields", "schema": {"$ref": "#/definitions/PaperBulkSearchBatch"}}}, "summary": "Paper bulk search", "description": "Behaves similarly to /paper/search
, but is intended for bulk retrieval of basic paper data without search relevance:\n\n- Text query is optional and supports boolean logic for document matching.
\n- Papers can be filtered using various criteria.
\n- Up to 1,000 papers will be returned in each call.
\n- If there are more matching papers, a continuation \"token\" will be present.
\n- The query can be repeated with the token param added to efficiently continue fetching matching papers.
\n
\n
\nReturns a structure with an estimated total matches, batch of matching papers, and a continuation token if more results are available.\n
\nLimitations:\n\n- Nested paper data, such as citations, references, etc, is not available via this method.
\n- Up to 10,000,000 papers can be fetched via this method. For larger needs, please use the Datasets API to retrieve full copies of the corpus.
\n
", "operationId": "get_graph_paper_bulk_search", "tags": ["Paper Data"]}}, "/paper/search/match": {"parameters": [{"required": true, "in": "query", "description": "A plain-text search query string.\n* No special query syntax is supported.\n\nSee our blog post\nfor a description of our search relevance algorithm.\n", "name": "query", "type": "string"}, {"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of the data
array in Response Schema below for a list of all available fields that can be returned.\nThe paperId
field is always returned. If the fields parameter is omitted, only the paperId
and title
will be returned.\nUse a period (\u201c.\u201d) for fields that have version numbers or subfields, such as the embedding
, authors
, citations
, and references
fields:\n
\n - When requesting
authors
, the authorId
and name
subfields are returned by default. To request other subfields, use the format author.url,author.paperCount
, etc. See the Response Schema below for available subfields. \n - When requesting
citations
and references
, the paperId
and title
subfields are returned by default. To request other subfields, use the format citations.title,citations.abstract
, etc. See the Response Schema below for available subfields. \n - When requesting
embedding
, the default Spector embedding version is v1. Specify embedding.specter_v2
to select v2 embeddings. \n
\nExamples:\n\n fields=title,url
\n fields=title,embedding.specter_v2
\n fields=title,authors,citations.title,citations.abstract
\n
", "name": "fields", "type": "string"}, {"in": "query", "description": "Restricts results to any of the following paper publication types:\n\n - Review
\n - JournalArticle
\n - CaseReport
\n - ClinicalTrial
\n - Conference
\n - Dataset
\n - Editorial
\n - LettersAndComments
\n - MetaAnalysis
\n - News
\n - Study
\n - Book
\n - BookSection
\n
\n\nUse a comma-separated list to include papers with any of the listed publication types.
\nExample: Review,JournalArticle
will return papers with publication types Review and/or JournalArticle.", "name": "publicationTypes", "type": "string"}, {"in": "query", "description": "Restricts results to only include papers with a public PDF. This parameter does not accept any values.", "name": "openAccessPdf", "type": "string"}, {"in": "query", "description": "Restricts results to only include papers with the minimum number of citations.\n
\n
\nExample:\nminCitationCount=200
", "name": "minCitationCount", "type": "string"}, {"in": "query", "description": "Restricts results to the given range of publication dates or years (inclusive). Accepts the format <startDate>:<endDate>
with each date in YYYY-MM-DD
format. \n
\n
\nEach term is optional, allowing for specific dates, fixed ranges, or open-ended ranges. In addition, prefixes are suported as a shorthand, e.g. 2020-06
matches all dates in June 2020.\n
\n
\nSpecific dates are not known for all papers, so some records returned with this filter will have a null
value for publicationDate. year
, however, will always be present.\nFor records where a specific publication date is not known, they will be treated as if published on January 1st of their publication year.\n
\n
\nExamples:\n\n 2019-03-05
on March 3rd, 2019 \n 2019-03
during March 2019 \n 2019
during 2019 \n 2016-03-05:2020-06-06
as early as March 5th, 2016 or as late as June 6th, 2020 \n 1981-08-25:
on or after August 25th, 1981 \n :2015-01
before or on January 31st, 2015 \n 2015:2020
between January 1st, 2015 and December 31st, 2020 \n
", "name": "publicationDateOrYear", "type": "string"}, {"in": "query", "description": "Restricts results to the given publication year or range of years (inclusive).\n
\n
\nExamples:\n\n 2019
in 2019 \n 2016-2020
as early as 2016 or as late as 2020 \n 2010-
during or after 2010 \n -2015
before or during 2015 \n
", "name": "year", "type": "string"}, {"in": "query", "description": "Restricts results to papers published in the given venues, formatted as a comma-separated list.
\nInput could also be an ISO4 abbreviation.\nExamples include:\n\n - Nature
\n - New England Journal of Medicine
\n - Radiology
\n - N. Engl. J. Med.
\n
\n\nExample: Nature,Radiology
will return papers from venues Nature and/or Radiology.", "name": "venue", "type": "string"}, {"in": "query", "description": "Restricts results to papers in the given fields of study, formatted as a comma-separated list:\n\n- Computer Science
\n- Medicine
\n- Chemistry
\n- Biology
\n- Materials Science
\n- Physics
\n- Geology
\n- Psychology
\n- Art
\n- History
\n- Geography
\n- Sociology
\n- Business
\n- Political Science
\n- Economics
\n- Philosophy
\n- Mathematics
\n- Engineering
\n- Environmental Science
\n- Agricultural and Food Sciences
\n- Education
\n- Law
\n- Linguistics
\n
\n\nExample: Physics,Mathematics
will return papers with either Physics or Mathematics in their list of fields-of-study.", "name": "fieldsOfStudy", "type": "string"}], "get": {"responses": {"404": {"description": "No title match", "schema": {"$ref": "#/definitions/Error404"}}, "400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Best Title match paper with default or requested fields", "schema": {"$ref": "#/definitions/PaperMatch"}}}, "summary": "Paper title search", "description": "Behaves similarly to /paper/search
, but is intended for retrieval of a single paper based on closest title match to given query.\nExamples:\n\n https://api.semanticscholar.org/graph/v1/paper/search/match?query=Construction of the Literature Graph in Semantic Scholar
\n \n - Returns a single paper that is the closest title match.
\n - Each paper has its paperId, title, and matchScore as well as any other requested fields.
\n
\n https://api.semanticscholar.org/graph/v1/paper/search/match?query=totalGarbageNonsense
\n \n - Returns with a 404 error and a \"Title match not found\" message.
\n
\n
\n
\n Limitations:\n \n - Will only return the single highest match result.
\n
\n
", "operationId": "get_graph_paper_title_search", "tags": ["Paper Data"]}}, "/paper/{paper_id}": {"parameters": [{"description": "The following types of IDs are supported:\n\n <sha>
- a Semantic Scholar ID, e.g. 649def34f8be52c8b66281af98ae884c09aef38b
\n CorpusId:<id>
- a Semantic Scholar numerical ID, e.g. CorpusId:215416146
\n DOI:<doi>
- a Digital Object Identifier,\n e.g. DOI:10.18653/v1/N18-3011
\n ARXIV:<id>
- arXiv.rg, e.g. ARXIV:2106.15928
\n MAG:<id>
- Microsoft Academic Graph, e.g. MAG:112218234
\n ACL:<id>
- Association for Computational Linguistics, e.g. ACL:W12-3903
\n PMID:<id>
- PubMed/Medline, e.g. PMID:19872477
\n PMCID:<id>
- PubMed Central, e.g. PMCID:2323736
\n URL:<url>
- URL from one of the sites listed below, e.g. URL:https://arxiv.org/abs/2106.15928v1
\n
\n\nURLs are recognized from the following sites:\n", "name": "paper_id", "in": "path", "required": true, "type": "string"}, {"description": "A comma-separated list of the fields to be returned. See the contents of Response Schema below for a list of all available fields that can be returned.\nThe paperId
field is always returned. If the fields parameter is omitted, only the paperId
and title
will be returned.\nUse a period (\u201c.\u201d) for fields that have version numbers or subfields, such as the embedding
, authors
, citations
, and references
fields:\n
\n - When requesting
authors
, the authorId
and name
subfields are returned by default. To request other subfields, use the format author.url,author.paperCount
, etc. See the Response Schema below for available subfields. \n - When requesting
citations
and references
, the paperId
and title
subfields are returned by default. To request other subfields, use the format citations.title,citations.abstract
, etc. See the Response Schema below for available subfields. \n - When requesting
embedding
, the default Spector embedding version is v1. Specify embedding.specter_v2
to select v2 embeddings. \n
\nExamples:\n\n fields=title,url
\n fields=title,embedding.specter_v2
\n fields=title,authors,citations.title,citations.abstract
\n
", "name": "fields", "type": "string", "in": "query"}], "get": {"responses": {"404": {"description": "Bad paper id", "schema": {"$ref": "#/definitions/Error404"}}, "400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Paper with default or requested fields", "schema": {"$ref": "#/definitions/FullPaper"}}}, "summary": "Details about a paper", "description": "Examples:\n\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b
\n \n - Returns a paper with its paperId and title.
\n
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b?fields=url,year,authors
\n \n - Returns the paper's paperId, url, year, and list of authors.
\n - Each author has authorId and name.
\n
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b?fields=citations.authors
\n \n - Returns the paper's paperId and list of citations.
\n - Each citation has its paperId plus its list of authors.
\n - Each author has their 2 always included fields of authorId and name.
\n
\n
\n Limitations:\n \n - Can only return up to 10 MB of data at a time.
\n
\n
", "operationId": "get_graph_get_paper", "tags": ["Paper Data"]}}, "/paper/{paper_id}/authors": {"parameters": [{"default": 0, "type": "integer", "in": "query", "description": "Used for pagination. When returning a list of results, start with the element at this position in the list.", "name": "offset"}, {"default": 100, "type": "integer", "in": "query", "description": "The maximum number of results to return.
\nMust be <= 1000", "name": "limit"}, {"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of the data
array in Response Schema below for a list of all available fields that can be returned.\nThe authorId
field is always returned. If the fields parameter is omitted, only the authorId
and name
will be returned.\nUse a period (\u201c.\u201d) for subfields of papers
.
\nExamples:\n
\n fields=name,affiliations,papers
\n fields=url,papers.year,papers.authors
\n
", "name": "fields", "type": "string"}, {"in": "path", "description": "The following types of IDs are supported:\n\n <sha>
- a Semantic Scholar ID, e.g. 649def34f8be52c8b66281af98ae884c09aef38b
\n CorpusId:<id>
- a Semantic Scholar numerical ID, e.g. CorpusId:215416146
\n DOI:<doi>
- a Digital Object Identifier,\n e.g. DOI:10.18653/v1/N18-3011
\n ARXIV:<id>
- arXiv.rg, e.g. ARXIV:2106.15928
\n MAG:<id>
- Microsoft Academic Graph, e.g. MAG:112218234
\n ACL:<id>
- Association for Computational Linguistics, e.g. ACL:W12-3903
\n PMID:<id>
- PubMed/Medline, e.g. PMID:19872477
\n PMCID:<id>
- PubMed Central, e.g. PMCID:2323736
\n URL:<url>
- URL from one of the sites listed below, e.g. URL:https://arxiv.org/abs/2106.15928v1
\n
\n\nURLs are recognized from the following sites:\n", "name": "paper_id", "required": true, "type": "string"}], "get": {"responses": {"404": {"description": "Bad paper id", "schema": {"$ref": "#/definitions/Error404"}}, "400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "List of Authors with default or requested fields", "schema": {"$ref": "#/definitions/AuthorBatch"}}}, "summary": "Details about a paper's authors", "description": "Examples:\n\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/authors
\n \n - Returns with offset=0, and data is a list of all 3 authors.
\n - Each author has their authorId and name
\n
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/authors?fields=affiliations,papers&limit=2
\n \n - Returns with offset=0, next=2, and data is a list of 2 authors.
\n - Each author has their authorId, affiliations, and list of papers.
\n - Each paper has its paperId and title.
\n
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/authors?fields=url,papers.year,papers.authors&offset=2
\n \n - Returns with offset=2, and data is a list containing the last author.
\n - This author has their authorId, url, and list of papers.
\n - Each paper has its paperId, year, and list of authors.
\n - In that list of authors, each author has their authorId and name.
\n
\n
", "operationId": "get_graph_get_paper_authors", "tags": ["Paper Data"]}}, "/paper/{paper_id}/citations": {"parameters": [{"default": 0, "type": "integer", "in": "query", "description": "Used for pagination. When returning a list of results, start with the element at this position in the list.", "name": "offset"}, {"default": 100, "type": "integer", "in": "query", "description": "The maximum number of results to return.
\nMust be <= 1000", "name": "limit"}, {"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of the data
array in Response Schema below for a list of all available fields that can be returned.\nIf the fields parameter is omitted, only the paperId
and title
will be returned.\nRequest fields nested within citedPaper
the same way as fields like contexts
.
\nExamples:\n
\n fields=contexts,isInfluential
\n fields=contexts,title,authors
\n
", "name": "fields", "type": "string"}, {"in": "path", "description": "The following types of IDs are supported:\n\n <sha>
- a Semantic Scholar ID, e.g. 649def34f8be52c8b66281af98ae884c09aef38b
\n CorpusId:<id>
- a Semantic Scholar numerical ID, e.g. CorpusId:215416146
\n DOI:<doi>
- a Digital Object Identifier,\n e.g. DOI:10.18653/v1/N18-3011
\n ARXIV:<id>
- arXiv.rg, e.g. ARXIV:2106.15928
\n MAG:<id>
- Microsoft Academic Graph, e.g. MAG:112218234
\n ACL:<id>
- Association for Computational Linguistics, e.g. ACL:W12-3903
\n PMID:<id>
- PubMed/Medline, e.g. PMID:19872477
\n PMCID:<id>
- PubMed Central, e.g. PMCID:2323736
\n URL:<url>
- URL from one of the sites listed below, e.g. URL:https://arxiv.org/abs/2106.15928v1
\n
\n\nURLs are recognized from the following sites:\n", "name": "paper_id", "required": true, "type": "string"}], "get": {"responses": {"404": {"description": "Bad paper id", "schema": {"$ref": "#/definitions/Error404"}}, "400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Batch of citations with default or requested fields", "schema": {"$ref": "#/definitions/CitationBatch"}}}, "summary": "Details about a paper's citations", "description": "Fetch details about the papers the cite this paper (i.e. papers in whose bibliography this paper appears)\n
\nExamples:\n\n - Let's suppose that the paper in the examples below has 1600 citations...
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/citations
\n \n - Returns with offset=0, next=100, and data is a list of 100 citations.
\n - Each citation has a citingPaper which contains its paperId and title.
\n
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/citations?fields=contexts,intents,isInfluential,abstract&offset=200&limit=10
\n \n - Returns with offset=200, next=210, and data is a list of 10 citations.
\n - Each citation has contexts, intents, isInfluential, and a citingPaper which contains its paperId and abstract.
\n
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/citations?fields=authors&offset=1500&limit=500
\n \n - Returns with offset=1500, and data is a list of the last 100 citations.
\n - Each citation has a citingPaper which contains its paperId plus a list of authors
\n - The authors under each citingPaper has their authorId and name.
\n
\n
", "operationId": "get_graph_get_paper_citations", "tags": ["Paper Data"]}}, "/paper/{paper_id}/references": {"parameters": [{"default": 0, "type": "integer", "in": "query", "description": "Used for pagination. When returning a list of results, start with the element at this position in the list.", "name": "offset"}, {"default": 100, "type": "integer", "in": "query", "description": "The maximum number of results to return.
\nMust be <= 1000", "name": "limit"}, {"in": "query", "description": "A comma-separated list of the fields to be returned. See the contents of the data
array in Response Schema below for a list of all available fields that can be returned.\nIf the fields parameter is omitted, only the paperId
and title
will be returned.\nRequest fields nested within citedPaper
the same way as fields like contexts
.
\nExamples:\n
\n fields=contexts,isInfluential
\n fields=contexts,title,authors
\n
", "name": "fields", "type": "string"}, {"in": "path", "description": "The following types of IDs are supported:\n\n <sha>
- a Semantic Scholar ID, e.g. 649def34f8be52c8b66281af98ae884c09aef38b
\n CorpusId:<id>
- a Semantic Scholar numerical ID, e.g. CorpusId:215416146
\n DOI:<doi>
- a Digital Object Identifier,\n e.g. DOI:10.18653/v1/N18-3011
\n ARXIV:<id>
- arXiv.rg, e.g. ARXIV:2106.15928
\n MAG:<id>
- Microsoft Academic Graph, e.g. MAG:112218234
\n ACL:<id>
- Association for Computational Linguistics, e.g. ACL:W12-3903
\n PMID:<id>
- PubMed/Medline, e.g. PMID:19872477
\n PMCID:<id>
- PubMed Central, e.g. PMCID:2323736
\n URL:<url>
- URL from one of the sites listed below, e.g. URL:https://arxiv.org/abs/2106.15928v1
\n
\n\nURLs are recognized from the following sites:\n", "name": "paper_id", "required": true, "type": "string"}], "get": {"responses": {"404": {"description": "Bad paper id", "schema": {"$ref": "#/definitions/Error404"}}, "400": {"description": "Bad query parameters", "schema": {"$ref": "#/definitions/Error400"}}, "200": {"description": "Batch of references with default or requested fields", "schema": {"$ref": "#/definitions/ReferenceBatch"}}}, "summary": "Details about a paper's references", "description": "Fetch details about the papers cited by this paper (i.e. appearing in this paper's bibliography)\n
\nExamples:\n\n - Let's suppose that the paper in the examples below has 1600 references...
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/references
\n \n - Returns with offset=0, next=100, and data is a list of 100 references.
\n - Each reference has a citedPaper which contains its paperId and title.
\n
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/references?fields=contexts,intents,isInfluential,abstract&offset=200&limit=10
\n \n - Returns with offset=200, next=210, and data is a list of 10 references.
\n - Each reference has contexts, intents, isInfluential, and a citedPaper which contains its paperId and abstract.
\n
\n https://api.semanticscholar.org/graph/v1/paper/649def34f8be52c8b66281af98ae884c09aef38b/references?fields=authors&offset=1500&limit=500
\n \n - Returns with offset=1500, and data is a list of the last 100 references.
\n - Each reference has a citedPaper which contains its paperId plus a list of authors
\n - The authors under each citedPaper has their authorId and name.
\n
\n
", "operationId": "get_graph_get_paper_references", "tags": ["Paper Data"]}}}, "info": {"title": "Academic Graph API", "version": "1.0", "description": "Fetch paper and author data from the Semantic Scholar Academic Graph (S2AG).\n
\n Some things to note:\n \n - If you are using an API key, it must be set in the header
x-api-key
(case-sensitive). \n - We have two different IDs for a single paper:\n
\n paperId
- string - The primary way to identify papers when using our website or this API \n corpusId
- int64 - A second way to identify papers. Our datasets use corpusId when pointing to papers. \n
\n \n - Other useful resources
\n "}, "produces": ["application/json"], "consumes": ["application/json"], "tags": [{"name": "Paper Data"}, {"name": "Author Data"}], "definitions": {"Error404": {"properties": {"error": {"type": "string", "description": "Depending on the case, error message may be any of these:\n\n \"Paper/Author/Object not found\"
\n \"Paper/Author/Object with id ### not found\"
\n
", "example": "Requested object not found"}}, "type": "object"}, "Error400": {"properties": {"error": {"type": "string", "description": "Depending on the case, error message may be any of these:\n\n \"Unrecognized or unsupported fields: [bad1, bad2, etc...]\"
\n \"Unacceptable query params: [badK1=badV1, badK2=badV2, etc...}]\"
\n \"Response would exceed maximum size....\"
\n - This error will occur when the response exceeds 10 MB. Suggestions to either break the request into smaller batches, or make use of the limit and offset features will be presented.
\n - A custom message string
", "example": "Unrecognized or unsupported fields: [author.creditCardNumber, garbage]"}}, "type": "object"}, "FullPaper": {"properties": {"paperId": {"type": "string", "description": "Semantic Scholar\u2019s primary unique identifier for a paper.", "example": "5c5751d45e298cea054f32b392c12c61027d2fe7"}, "corpusId": {"type": "integer", "description": "Semantic Scholar\u2019s secondary unique identifier for a paper.", "example": 215416146}, "externalIds": {"type": "object", "description": "An object that contains the paper\u2019s unique identifiers in external sources. The external sources are limited to: ArXiv, MAG, ACL, PubMed, Medline, PubMedCentral, DBLP, and DOI.", "example": {"MAG": "3015453090", "DBLP": "conf/acl/LoWNKW20", "ACL": "2020.acl-main.447", "DOI": "10.18653/V1/2020.ACL-MAIN.447", "CorpusId": 215416146}}, "url": {"type": "string", "description": "URL of the paper on the Semantic Scholar website.", "example": "https://www.semanticscholar.org/paper/5c5751d45e298cea054f32b392c12c61027d2fe7"}, "title": {"type": "string", "description": "Title of the paper.", "example": "Construction of the Literature Graph in Semantic Scholar"}, "abstract": {"type": "string", "description": "The paper's abstract. Note that due to legal reasons, this may be missing even if we display an abstract on the website.", "example": "We describe a deployed scalable system for organizing published scientific literature into a heterogeneous graph to facilitate algorithmic manipulation and discovery."}, "venue": {"type": "string", "description": "The name of the paper\u2019s publication venue.", "example": "Annual Meeting of the Association for Computational Linguistics"}, "publicationVenue": {"type": "object", "description": "An object that contains the following information about the journal or conference in which this paper was published: id (the venue\u2019s unique ID), name (the venue\u2019s name), type (the type of venue), alternate_names (an array of alternate names for the venue), and url (the venue\u2019s website).", "example": {"id": "1e33b3be-b2ab-46e9-96e8-d4eb4bad6e44", "name": "Annual Meeting of the Association for Computational Linguistics", "type": "conference", "alternate_names": ["Annu Meet Assoc Comput Linguistics", "Meeting of the Association for Computational Linguistics", "ACL", "Meet Assoc Comput Linguistics"], "url": "https://www.aclweb.org/anthology/venues/acl/"}}, "year": {"type": "integer", "description": "The year the paper was published.", "example": 1997}, "referenceCount": {"type": "integer", "description": "The total number of papers this paper references.", "example": 59}, "citationCount": {"type": "integer", "description": "The total number of papers that references this paper.", "example": 453}, "influentialCitationCount": {"type": "integer", "description": "A subset of the citation count, where the cited publication has a significant impact on the citing publication. Determined by Semantic Scholar\u2019s algorithm: https://www.semanticscholar.org/faq#influential-citations.", "example": 90}, "isOpenAccess": {"type": "boolean", "description": "Whether the paper is open access. More information here: https://www.openaccess.nl/en/what-is-open-access.", "example": true}, "openAccessPdf": {"type": "object", "description": "An object that contains the following parameters: url (a link to the paper\u2019s PDF) and status (the type of open access https://en.wikipedia.org/wiki/Open_access#Colour_naming_system)", "example": {"url": "https://www.aclweb.org/anthology/2020.acl-main.447.pdf", "status": "HYBRID"}}, "fieldsOfStudy": {"type": "array", "description": "A list of the paper\u2019s high-level academic categories from external sources. The possible fields are: Computer Science, Medicine, Chemistry, Biology, Materials Science, Physics, Geology, Psychology, Art, History, Geography, Sociology, Business, Political Science, Economics, Philosophy, Mathematics, Engineering, Environmental Science, Agricultural and Food Sciences, Education, Law, and Linguistics.", "example": ["Computer Science"], "items": {"type": "string"}}, "s2FieldsOfStudy": {"type": "array", "description": "An array of objects. Each object contains the following parameters: category (a field of study. The possible fields are the same as in fieldsOfStudy), and source (specifies whether the category was classified by Semantic Scholar or by an external source. More information on how Semantic Scholar classifies papers https://blog.allenai.org/announcing-s2fos-an-open-source-academic-field-of-study-classifier-9d2f641949e5)", "example": [{"category": "Computer Science", "source": "external"}, {"category": "Computer Science", "source": "s2-fos-model"}, {"category": "Mathematics", "source": "s2-fos-model"}], "items": {"type": "object"}}, "publicationTypes": {"type": "array", "description": "The type of this publication.", "example": ["Journal Article", "Review"], "items": {"type": "string"}}, "publicationDate": {"type": "string", "description": "The date when this paper was published, in YYYY-MM-DD format.", "example": "2024-04-29"}, "journal": {"type": "object", "description": "An object that contains the following parameters, if available: name (the journal name), volume (the journal\u2019s volume number), and pages (the page number range)", "example": {"volume": "40", "pages": "116 - 135", "name": "IETE Technical Review"}}, "citationStyles": {"type": "object", "description": "The BibTex bibliographical citation of the paper.", "example": {"bibtex": "@['JournalArticle', 'Conference']{Ammar2018ConstructionOT,\n author = {Waleed Ammar and Dirk Groeneveld and Chandra Bhagavatula and Iz Beltagy and Miles Crawford and Doug Downey and Jason Dunkelberger and Ahmed Elgohary and Sergey Feldman and Vu A. Ha and Rodney Michael Kinney and Sebastian Kohlmeier and Kyle Lo and Tyler C. Murray and Hsu-Han Ooi and Matthew E. Peters and Joanna L. Power and Sam Skjonsberg and Lucy Lu Wang and Christopher Wilhelm and Zheng Yuan and Madeleine van Zuylen and Oren Etzioni},\n booktitle = {NAACL},\n pages = {84-91},\n title = {Construction of the Literature Graph in Semantic Scholar},\n year = {2018}\n}\n"}}, "authors": {"type": "array", "items": {"title": "Author Info", "allOf": [{"$ref": "#/definitions/Author"}]}}, "citations": {"type": "array", "title": "Paper Info", "items": {"$ref": "#/definitions/BasePaper"}}, "references": {"type": "array", "items": {"title": "Paper Info", "allOf": [{"$ref": "#/definitions/BasePaper"}]}}, "embedding": {"$ref": "#/definitions/Embedding"}, "tldr": {"$ref": "#/definitions/Tldr"}}, "type": "object"}, "Author": {"properties": {"authorId": {"type": "string", "title": "This field will be provided if no fields are specified", "description": "Semantic Scholar\u2019s unique ID for the author.", "example": "1741101"}, "externalIds": {"type": "object", "description": "An object that contains the ORCID/DBLP IDs for the author, if known.", "example": {"DBLP": [123]}}, "url": {"type": "string", "description": "URL of the author on the Semantic Scholar website.", "example": "https://www.semanticscholar.org/author/1741101"}, "name": {"type": "string", "title": "This field will be provided if no fields are specified", "description": "Author\u2019s name.", "example": "Oren Etzioni"}, "affiliations": {"type": "array", "description": "Array of organizational affiliations for the author.", "example": ["Allen Institute for AI"], "items": {"type": "string"}}, "homepage": {"type": "string", "description": "The author\u2019s homepage.", "example": "https://allenai.org/"}, "paperCount": {"type": "string", "description": "The author's total publications count.", "example": 10}, "citationCount": {"type": "string", "description": "The author's total citations count.", "example": 50}, "hIndex": {"type": "string", "description": "The author\u2019s h-index, which is a measure of the productivity and citation impact of the author\u2019s publications: https://www.semanticscholar.org/faq#h-index", "example": 5}}, "type": "object"}, "BasePaper": {"properties": {"paperId": {"type": "string", "description": "Semantic Scholar\u2019s primary unique identifier for a paper.", "example": "5c5751d45e298cea054f32b392c12c61027d2fe7"}, "corpusId": {"type": "integer", "description": "Semantic Scholar\u2019s secondary unique identifier for a paper.", "example": 215416146}, "externalIds": {"type": "object", "description": "An object that contains the paper\u2019s unique identifiers in external sources. The external sources are limited to: ArXiv, MAG, ACL, PubMed, Medline, PubMedCentral, DBLP, and DOI.", "example": {"MAG": "3015453090", "DBLP": "conf/acl/LoWNKW20", "ACL": "2020.acl-main.447", "DOI": "10.18653/V1/2020.ACL-MAIN.447", "CorpusId": 215416146}}, "url": {"type": "string", "description": "URL of the paper on the Semantic Scholar website.", "example": "https://www.semanticscholar.org/paper/5c5751d45e298cea054f32b392c12c61027d2fe7"}, "title": {"type": "string", "description": "Title of the paper.", "example": "Construction of the Literature Graph in Semantic Scholar"}, "abstract": {"type": "string", "description": "The paper's abstract. Note that due to legal reasons, this may be missing even if we display an abstract on the website.", "example": "We describe a deployed scalable system for organizing published scientific literature into a heterogeneous graph to facilitate algorithmic manipulation and discovery."}, "venue": {"type": "string", "description": "The name of the paper\u2019s publication venue.", "example": "Annual Meeting of the Association for Computational Linguistics"}, "publicationVenue": {"type": "object", "description": "An object that contains the following information about the journal or conference in which this paper was published: id (the venue\u2019s unique ID), name (the venue\u2019s name), type (the type of venue), alternate_names (an array of alternate names for the venue), and url (the venue\u2019s website).", "example": {"id": "1e33b3be-b2ab-46e9-96e8-d4eb4bad6e44", "name": "Annual Meeting of the Association for Computational Linguistics", "type": "conference", "alternate_names": ["Annu Meet Assoc Comput Linguistics", "Meeting of the Association for Computational Linguistics", "ACL", "Meet Assoc Comput Linguistics"], "url": "https://www.aclweb.org/anthology/venues/acl/"}}, "year": {"type": "integer", "description": "The year the paper was published.", "example": 1997}, "referenceCount": {"type": "integer", "description": "The total number of papers this paper references.", "example": 59}, "citationCount": {"type": "integer", "description": "The total number of papers that references this paper.", "example": 453}, "influentialCitationCount": {"type": "integer", "description": "A subset of the citation count, where the cited publication has a significant impact on the citing publication. Determined by Semantic Scholar\u2019s algorithm: https://www.semanticscholar.org/faq#influential-citations.", "example": 90}, "isOpenAccess": {"type": "boolean", "description": "Whether the paper is open access. More information here: https://www.openaccess.nl/en/what-is-open-access.", "example": true}, "openAccessPdf": {"type": "object", "description": "An object that contains the following parameters: url (a link to the paper\u2019s PDF) and status (the type of open access https://en.wikipedia.org/wiki/Open_access#Colour_naming_system)", "example": {"url": "https://www.aclweb.org/anthology/2020.acl-main.447.pdf", "status": "HYBRID"}}, "fieldsOfStudy": {"type": "array", "description": "A list of the paper\u2019s high-level academic categories from external sources. The possible fields are: Computer Science, Medicine, Chemistry, Biology, Materials Science, Physics, Geology, Psychology, Art, History, Geography, Sociology, Business, Political Science, Economics, Philosophy, Mathematics, Engineering, Environmental Science, Agricultural and Food Sciences, Education, Law, and Linguistics.", "example": ["Computer Science"], "items": {"type": "string"}}, "s2FieldsOfStudy": {"type": "array", "description": "An array of objects. Each object contains the following parameters: category (a field of study. The possible fields are the same as in fieldsOfStudy), and source (specifies whether the category was classified by Semantic Scholar or by an external source. More information on how Semantic Scholar classifies papers https://blog.allenai.org/announcing-s2fos-an-open-source-academic-field-of-study-classifier-9d2f641949e5)", "example": [{"category": "Computer Science", "source": "external"}, {"category": "Computer Science", "source": "s2-fos-model"}, {"category": "Mathematics", "source": "s2-fos-model"}], "items": {"type": "object"}}, "publicationTypes": {"type": "array", "description": "The type of this publication.", "example": ["Journal Article", "Review"], "items": {"type": "string"}}, "publicationDate": {"type": "string", "description": "The date when this paper was published, in YYYY-MM-DD format.", "example": "2024-04-29"}, "journal": {"type": "object", "description": "An object that contains the following parameters, if available: name (the journal name), volume (the journal\u2019s volume number), and pages (the page number range)", "example": {"volume": "40", "pages": "116 - 135", "name": "IETE Technical Review"}}, "citationStyles": {"type": "object", "description": "The BibTex bibliographical citation of the paper.", "example": {"bibtex": "@['JournalArticle', 'Conference']{Ammar2018ConstructionOT,\n author = {Waleed Ammar and Dirk Groeneveld and Chandra Bhagavatula and Iz Beltagy and Miles Crawford and Doug Downey and Jason Dunkelberger and Ahmed Elgohary and Sergey Feldman and Vu A. Ha and Rodney Michael Kinney and Sebastian Kohlmeier and Kyle Lo and Tyler C. Murray and Hsu-Han Ooi and Matthew E. Peters and Joanna L. Power and Sam Skjonsberg and Lucy Lu Wang and Christopher Wilhelm and Zheng Yuan and Madeleine van Zuylen and Oren Etzioni},\n booktitle = {NAACL},\n pages = {84-91},\n title = {Construction of the Literature Graph in Semantic Scholar},\n year = {2018}\n}\n"}}, "authors": {"type": "array", "title": "Author Info", "description": "Details about the paper's authors", "items": {"$ref": "#/definitions/AuthorInfo"}}}, "type": "object"}, "AuthorInfo": {"properties": {"authorId": {"type": "string", "title": "This field will be provided if no fields are specified", "description": "Semantic Scholar\u2019s unique ID for the author.", "example": "1741101"}, "name": {"type": "string", "title": "This field will be provided if no fields are specified", "description": "Author\u2019s name.", "example": "Oren Etzioni"}}, "type": "object"}, "Embedding": {"properties": {"model": {"type": "string", "description": "The Spector vector embedding model version: https://github.com/allenai/specter", "example": "specter@v0.1.1"}, "vector": {"type": "object", "description": "Numerical embedding vector.", "example": [-8.82082748413086, -2.6610865592956543]}}, "type": "object"}, "Tldr": {"properties": {"model": {"type": "string", "description": "The tldr model version number: https://github.com/allenai/scitldr", "example": "tldr@v2.0.0"}, "text": {"type": "string", "description": "The tldr paper summary.", "example": "This paper reduces literature graph construction into familiar NLP tasks, point out research challenges due to differences from standard formulations of these tasks, and report empirical results for each task."}}, "type": "object"}, "PaperBatch": {"properties": {"ids": {"type": "array", "items": {"type": "string", "example": "649def34f8be52c8b66281af98ae884c09aef38b"}}}, "type": "object"}, "CitationBatch": {"properties": {"offset": {"type": "integer", "description": "Starting position for this batch."}, "next": {"type": "integer", "description": "Starting position of the next batch. Absent if no more data exists."}, "data": {"type": "array", "items": {"title": "contents of this batch", "allOf": [{"$ref": "#/definitions/Citation"}]}}}, "type": "object"}, "Citation": {"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"}, "ReferenceBatch": {"properties": {"offset": {"type": "integer", "description": "Starting position for this batch."}, "next": {"type": "integer", "description": "Starting position of the next batch. Absent if no more data exists."}, "data": {"type": "array", "items": {"title": "contents of this batch", "allOf": [{"$ref": "#/definitions/Reference"}]}}}, "type": "object"}, "Reference": {"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}, "citedPaper": {"description": "Details about the cited paper", "allOf": [{"$ref": "#/definitions/BasePaper"}]}}, "type": "object"}, "AuthorBatch": {"properties": {"offset": {"type": "integer", "description": "Starting position for this batch."}, "next": {"type": "integer", "description": "Starting position of the next batch. Absent if no more data exists."}, "data": {"type": "array", "items": {"title": "contents of this batch", "allOf": [{"$ref": "#/definitions/AuthorWithPapers"}]}}}, "type": "object"}, "AuthorWithPapers": {"properties": {"authorId": {"type": "string", "title": "This field will be provided if no fields are specified", "description": "Semantic Scholar\u2019s unique ID for the author.", "example": "1741101"}, "externalIds": {"type": "object", "description": "An object that contains the ORCID/DBLP IDs for the author, if known.", "example": {"DBLP": [123]}}, "url": {"type": "string", "description": "URL of the author on the Semantic Scholar website.", "example": "https://www.semanticscholar.org/author/1741101"}, "name": {"type": "string", "title": "This field will be provided if no fields are specified", "description": "Author\u2019s name.", "example": "Oren Etzioni"}, "affiliations": {"type": "array", "description": "Array of organizational affiliations for the author.", "example": ["Allen Institute for AI"], "items": {"type": "string"}}, "homepage": {"type": "string", "description": "The author\u2019s homepage.", "example": "https://allenai.org/"}, "paperCount": {"type": "string", "description": "The author's total publications count.", "example": 10}, "citationCount": {"type": "string", "description": "The author's total citations count.", "example": 50}, "hIndex": {"type": "string", "description": "The author\u2019s h-index, which is a measure of the productivity and citation impact of the author\u2019s publications: https://www.semanticscholar.org/faq#h-index", "example": 5}, "papers": {"type": "array", "items": {"title": "Paper Info", "allOf": [{"$ref": "#/definitions/BasePaper"}]}}}, "type": "object"}, "PaperRelevanceSearchBatch": {"properties": {"total": {"type": "string", "description": "Approximate number of matching search results.\n\nBecause of the subtleties of finding partial phrase matches in different parts of the document, be cautious about interpreting the total field as a count of documents containing any particular word in the query.", "example": 15117}, "offset": {"type": "integer", "description": "Starting position for this batch."}, "next": {"type": "integer", "description": "Starting position of the next batch. Absent if no more data exists."}, "data": {"type": "array", "items": {"title": "contents of this batch", "allOf": [{"$ref": "#/definitions/FullPaper"}]}}}, "type": "object"}, "PaperBulkSearchBatch": {"properties": {"total": {"type": "string", "description": "Approximate number of matching search results.\n\nBecause of the subtleties of finding partial phrase matches in different parts of the document, be cautious about interpreting the total field as a count of documents containing any particular word in the query.", "example": 15117}, "token": {"type": "string", "description": "A continuation token that must be provided to fetch the next page of results. Present only when more results can be fetched.", "example": "SDKJFHSDKFHWIEFSFSGHEIURYC"}, "data": {"type": "array", "items": {"title": "Contents of this page", "allOf": [{"$ref": "#/definitions/BasePaper"}]}}}, "type": "object"}, "PaperMatch": {"properties": {"data": {"type": "array", "items": {"$ref": "#/definitions/Title Match Paper"}}}, "type": "object"}, "Title Match Paper": {"required": ["paperId"], "properties": {"paperId": {"type": "string", "example": "649def34f8be52c8b66281af98ae884c09aef38b"}, "title": {"type": "string", "example": "Construction of the Literature Graph in Semantic Scholar"}, "matchScore": {"type": "integer", "example": 174.2298}}, "type": "object"}, "PaperAutocomplete": {"properties": {"matches": {"type": "array", "items": {"$ref": "#/definitions/Autocomplete Paper"}}}, "type": "object"}, "Autocomplete Paper": {"properties": {"id": {"type": "string", "description": "The paper's primary unique identifier.", "example": "649def34f8be52c8b66281af98ae884c09aef38b"}, "title": {"type": "string", "description": "Title of the paper.", "example": "SciBERT: A Pretrained Language Model for Scientific Text"}, "authorsYear": {"type": "string", "description": "Summary of the authors of the paper and year of publication.", "example": "Beltagy et al., 2019"}}, "type": "object"}, "AuthorIdList": {"properties": {"ids": {"type": "array", "items": {"type": "string", "example": "1741101"}}}, "type": "object"}, "AuthorPaperBatch": {"properties": {"offset": {"type": "integer", "description": "Starting position for this batch."}, "next": {"type": "integer", "description": "Starting position of the next batch. Absent if no more data exists."}, "data": {"type": "array", "items": {"title": "contents of this batch", "allOf": [{"$ref": "#/definitions/PaperWithLinks"}]}}}, "type": "object"}, "PaperWithLinks": {"properties": {"paperId": {"type": "string", "description": "Semantic Scholar\u2019s primary unique identifier for a paper.", "example": "5c5751d45e298cea054f32b392c12c61027d2fe7"}, "corpusId": {"type": "integer", "description": "Semantic Scholar\u2019s secondary unique identifier for a paper.", "example": 215416146}, "externalIds": {"type": "object", "description": "An object that contains the paper\u2019s unique identifiers in external sources. The external sources are limited to: ArXiv, MAG, ACL, PubMed, Medline, PubMedCentral, DBLP, and DOI.", "example": {"MAG": "3015453090", "DBLP": "conf/acl/LoWNKW20", "ACL": "2020.acl-main.447", "DOI": "10.18653/V1/2020.ACL-MAIN.447", "CorpusId": 215416146}}, "url": {"type": "string", "description": "URL of the paper on the Semantic Scholar website.", "example": "https://www.semanticscholar.org/paper/5c5751d45e298cea054f32b392c12c61027d2fe7"}, "title": {"type": "string", "description": "Title of the paper.", "example": "Construction of the Literature Graph in Semantic Scholar"}, "abstract": {"type": "string", "description": "The paper's abstract. Note that due to legal reasons, this may be missing even if we display an abstract on the website.", "example": "We describe a deployed scalable system for organizing published scientific literature into a heterogeneous graph to facilitate algorithmic manipulation and discovery."}, "venue": {"type": "string", "description": "The name of the paper\u2019s publication venue.", "example": "Annual Meeting of the Association for Computational Linguistics"}, "publicationVenue": {"type": "object", "description": "An object that contains the following information about the journal or conference in which this paper was published: id (the venue\u2019s unique ID), name (the venue\u2019s name), type (the type of venue), alternate_names (an array of alternate names for the venue), and url (the venue\u2019s website).", "example": {"id": "1e33b3be-b2ab-46e9-96e8-d4eb4bad6e44", "name": "Annual Meeting of the Association for Computational Linguistics", "type": "conference", "alternate_names": ["Annu Meet Assoc Comput Linguistics", "Meeting of the Association for Computational Linguistics", "ACL", "Meet Assoc Comput Linguistics"], "url": "https://www.aclweb.org/anthology/venues/acl/"}}, "year": {"type": "integer", "description": "The year the paper was published.", "example": 1997}, "referenceCount": {"type": "integer", "description": "The total number of papers this paper references.", "example": 59}, "citationCount": {"type": "integer", "description": "The total number of papers that references this paper.", "example": 453}, "influentialCitationCount": {"type": "integer", "description": "A subset of the citation count, where the cited publication has a significant impact on the citing publication. Determined by Semantic Scholar\u2019s algorithm: https://www.semanticscholar.org/faq#influential-citations.", "example": 90}, "isOpenAccess": {"type": "boolean", "description": "Whether the paper is open access. More information here: https://www.openaccess.nl/en/what-is-open-access.", "example": true}, "openAccessPdf": {"type": "object", "description": "An object that contains the following parameters: url (a link to the paper\u2019s PDF) and status (the type of open access https://en.wikipedia.org/wiki/Open_access#Colour_naming_system)", "example": {"url": "https://www.aclweb.org/anthology/2020.acl-main.447.pdf", "status": "HYBRID"}}, "fieldsOfStudy": {"type": "array", "description": "A list of the paper\u2019s high-level academic categories from external sources. The possible fields are: Computer Science, Medicine, Chemistry, Biology, Materials Science, Physics, Geology, Psychology, Art, History, Geography, Sociology, Business, Political Science, Economics, Philosophy, Mathematics, Engineering, Environmental Science, Agricultural and Food Sciences, Education, Law, and Linguistics.", "example": ["Computer Science"], "items": {"type": "string"}}, "s2FieldsOfStudy": {"type": "array", "description": "An array of objects. Each object contains the following parameters: category (a field of study. The possible fields are the same as in fieldsOfStudy), and source (specifies whether the category was classified by Semantic Scholar or by an external source. More information on how Semantic Scholar classifies papers https://blog.allenai.org/announcing-s2fos-an-open-source-academic-field-of-study-classifier-9d2f641949e5)", "example": [{"category": "Computer Science", "source": "external"}, {"category": "Computer Science", "source": "s2-fos-model"}, {"category": "Mathematics", "source": "s2-fos-model"}], "items": {"type": "object"}}, "publicationTypes": {"type": "array", "description": "The type of this publication.", "example": ["Journal Article", "Review"], "items": {"type": "string"}}, "publicationDate": {"type": "string", "description": "The date when this paper was published, in YYYY-MM-DD format.", "example": "2024-04-29"}, "journal": {"type": "object", "description": "An object that contains the following parameters, if available: name (the journal name), volume (the journal\u2019s volume number), and pages (the page number range)", "example": {"volume": "40", "pages": "116 - 135", "name": "IETE Technical Review"}}, "citationStyles": {"type": "object", "description": "The BibTex bibliographical citation of the paper.", "example": {"bibtex": "@['JournalArticle', 'Conference']{Ammar2018ConstructionOT,\n author = {Waleed Ammar and Dirk Groeneveld and Chandra Bhagavatula and Iz Beltagy and Miles Crawford and Doug Downey and Jason Dunkelberger and Ahmed Elgohary and Sergey Feldman and Vu A. Ha and Rodney Michael Kinney and Sebastian Kohlmeier and Kyle Lo and Tyler C. Murray and Hsu-Han Ooi and Matthew E. Peters and Joanna L. Power and Sam Skjonsberg and Lucy Lu Wang and Christopher Wilhelm and Zheng Yuan and Madeleine van Zuylen and Oren Etzioni},\n booktitle = {NAACL},\n pages = {84-91},\n title = {Construction of the Literature Graph in Semantic Scholar},\n year = {2018}\n}\n"}}, "authors": {"type": "array", "title": "Author Info", "description": "Details about the paper's authors", "items": {"$ref": "#/definitions/AuthorInfo"}}, "citations": {"type": "array", "title": "Paper Info", "items": {"$ref": "#/definitions/PaperInfo"}}, "references": {"type": "array", "items": {"title": "Paper Info", "allOf": [{"$ref": "#/definitions/PaperInfo"}]}}}, "type": "object"}, "PaperInfo": {"properties": {"paperId": {"type": "string", "description": "Semantic Scholar\u2019s primary unique identifier for a paper.", "example": "5c5751d45e298cea054f32b392c12c61027d2fe7"}, "corpusId": {"type": "integer", "description": "Semantic Scholar\u2019s secondary unique identifier for a paper.", "example": 215416146}, "url": {"type": "string", "description": "URL of the paper on the Semantic Scholar website.", "example": "https://www.semanticscholar.org/paper/5c5751d45e298cea054f32b392c12c61027d2fe7"}, "title": {"type": "string", "description": "Title of the paper.", "example": "Construction of the Literature Graph in Semantic Scholar"}, "venue": {"type": "string", "description": "The name of the paper\u2019s publication venue.", "example": "Annual Meeting of the Association for Computational Linguistics"}, "publicationVenue": {"type": "object", "description": "An object that contains the following information about the journal or conference in which this paper was published: id (the venue\u2019s unique ID), name (the venue\u2019s name), type (the type of venue), alternate_names (an array of alternate names for the venue), and url (the venue\u2019s website).", "example": {"id": "1e33b3be-b2ab-46e9-96e8-d4eb4bad6e44", "name": "Annual Meeting of the Association for Computational Linguistics", "type": "conference", "alternate_names": ["Annu Meet Assoc Comput Linguistics", "Meeting of the Association for Computational Linguistics", "ACL", "Meet Assoc Comput Linguistics"], "url": "https://www.aclweb.org/anthology/venues/acl/"}}, "year": {"type": "integer", "description": "The year the paper was published.", "example": 1997}, "authors": {"type": "array", "title": "Author Info", "description": "Details about the paper's authors", "items": {"$ref": "#/definitions/AuthorInfo"}}}, "type": "object"}, "AuthorSearchBatch": {"properties": {"total": {"type": "string", "description": "Approximate number of matching search results.\n\nBecause of the subtleties of finding partial phrase matches in different parts of the document, be cautious about interpreting the total field as a count of documents containing any particular word in the query.", "example": 15117}, "offset": {"type": "integer", "description": "Starting position for this batch."}, "next": {"type": "integer", "description": "Starting position of the next batch. Absent if no more data exists."}, "data": {"type": "array", "items": {"title": "contents of this batch", "allOf": [{"$ref": "#/definitions/AuthorWithPapers"}]}}}, "type": "object"}}, "responses": {"ParseError": {"description": "When a mask can't be parsed"}, "MaskError": {"description": "When any error occurs on mask"}}}
diff --git a/packages/migrate/package.json b/packages/migrate/package.json
index 0694feb02..58885a137 100644
--- a/packages/migrate/package.json
+++ b/packages/migrate/package.json
@@ -1,6 +1,6 @@
{
"name": "@nestia/migrate",
- "version": "0.21.1",
+ "version": "0.21.2",
"description": "Migration program from swagger to NestJS",
"typings": "lib/index.d.ts",
"main": "lib/index.js",
@@ -38,9 +38,9 @@
"homepage": "https://nestia.io",
"devDependencies": {
"@nestia/benchmark": "^0.3.0",
- "@nestia/core": "^4.0.1",
+ "@nestia/core": "^4.0.2",
"@nestia/e2e": "^0.7.0",
- "@nestia/fetcher": "^4.0.1",
+ "@nestia/fetcher": "^4.0.2",
"@nestjs/common": "^10.3.8",
"@nestjs/core": "^10.3.8",
"@nestjs/platform-express": "^10.3.8",
@@ -71,8 +71,8 @@
"typescript-transform-paths": "^3.5.2"
},
"dependencies": {
- "@nestia/sdk": "^4.0.1",
- "@samchon/openapi": "^2.0.0",
+ "@nestia/sdk": "^4.0.2",
+ "@samchon/openapi": "^2.0.1",
"commander": "10.0.0",
"inquirer": "8.2.5",
"prettier": "^3.2.5",
diff --git a/website/package.json b/website/package.json
index 3dd16cfc3..ca3a67d84 100644
--- a/website/package.json
+++ b/website/package.json
@@ -23,7 +23,7 @@
"@mui/icons-material": "5.15.6",
"@mui/material": "5.15.6",
"@mui/system": "5.15.6",
- "@nestia/editor": "^0.9.1",
+ "@nestia/editor": "^0.9.2",
"next": "14.2.13",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",