https://github.com/trialanderrororg/crossref-json
Typings for the [Crossref JSON API](https://api.crossref.org/swagger.json)
https://github.com/trialanderrororg/crossref-json
abstract ast syntax tree unified
Last synced: 2 months ago
JSON representation
Typings for the [Crossref JSON API](https://api.crossref.org/swagger.json)
- Host: GitHub
- URL: https://github.com/trialanderrororg/crossref-json
- Owner: TrialAndErrorOrg
- Created: 2023-02-28T21:58:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-29T14:53:13.000Z (over 2 years ago)
- Last Synced: 2025-01-01T04:52:46.501Z (over 1 year ago)
- Topics: abstract, ast, syntax, tree, unified
- Language: TypeScript
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
> **Note**
> This repository is automatically generated from the [main parser monorepo](https://github.com/TrialAndErrorOrg/parsers). Please submit any issues or pull requests there.
## API
***
### `CrossrefJSON`
#### Properties
##### `DOI`
> `string`
Defined in: [index.ts:38](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L38)
##### `ISBN`
> `string`[]
Defined in: [index.ts:70](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L70)
##### `ISSN`
> `string`[]
Defined in: [index.ts:78](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L78)
##### `URL`
> `string`
Defined in: [index.ts:75](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L75)
##### `abstract`
> `string`
Defined in: [index.ts:37](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L37)
##### `accepted`
> `Posted`
Defined in: [index.ts:34](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L34)
##### `alternative-id`
> `string`[]
Defined in: [index.ts:74](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L74)
##### `approved`
> `Posted`
Defined in: [index.ts:41](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L41)
##### `archive`
> `string`[]
Defined in: [index.ts:76](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L76)
##### `article-number`
> `string`
Defined in: [index.ts:85](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L85)
##### `assertion`
> `Assertion`[]
Defined in: [index.ts:83](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L83)
##### `author`
> `Chair`[]
Defined in: [index.ts:50](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L50)
##### `chair`
> `Chair`[]
Defined in: [index.ts:32](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L32)
##### `clinical-trial-number`
> `Clinicaltrialnumber`[]
Defined in: [index.ts:49](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L49)
##### `component-number`
> `string`
Defined in: [index.ts:67](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L67)
##### `container-title`
> `string`[]
Defined in: [index.ts:55](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L55)
##### `content-created`
> `Posted`
Defined in: [index.ts:52](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L52)
##### `content-domain`
> `Contentdomain`
Defined in: [index.ts:31](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L31)
##### `content-updated`
> `Posted`
Defined in: [index.ts:35](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L35)
##### `created`
> `Indexed`
Defined in: [index.ts:40](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L40)
##### `degree`
> `string`
Defined in: [index.ts:62](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L62)
##### `deposited`
> `Indexed`
Defined in: [index.ts:60](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L60)
##### `edition-number`
> `string`
Defined in: [index.ts:23](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L23)
##### `editor`
> `Chair`[]
Defined in: [index.ts:66](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L66)
##### `free-to-read`
> `Freetoread`
Defined in: [index.ts:65](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L65)
##### `funder`
> `Funder`[]
Defined in: [index.ts:30](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L30)
##### `group-title`
> `string`[]
Defined in: [index.ts:24](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L24)
##### `indexed`
> `Indexed`
Defined in: [index.ts:18](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L18)
##### `institution`
> `Institution`
Defined in: [index.ts:17](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L17)
##### `is-referenced-by-count`
> `number`
Defined in: [index.ts:45](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L45)
##### `isbn-type`
> `Isbntype`[]
Defined in: [index.ts:28](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L28)
##### `issn-type`
> `Isbntype`[]
Defined in: [index.ts:79](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L79)
##### `issue`
> `string`
Defined in: [index.ts:27](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L27)
##### `issued`
> `Posted`
Defined in: [index.ts:69](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L69)
##### `journal-issue`
> `Journalissue`
Defined in: [index.ts:73](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L73)
##### `language`
> `string`
Defined in: [index.ts:58](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L58)
##### `license`
> `License`[]
Defined in: [index.ts:29](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L29)
##### `link`
> `Link`[]
Defined in: [index.ts:59](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L59)
##### `member`
> `string`
Defined in: [index.ts:51](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L51)
##### `original-title`
> `string`[]
Defined in: [index.ts:57](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L57)
##### `page`
> `string`
Defined in: [index.ts:42](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L42)
##### `part-number`
> `string`
Defined in: [index.ts:72](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L72)
##### `posted`
> `Posted`
Defined in: [index.ts:19](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L19)
##### `prefix`
> `string`
Defined in: [index.ts:47](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L47)
##### `published`
> `Posted`
Defined in: [index.ts:82](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L82)
##### `published-online`
> `Posted`
Defined in: [index.ts:53](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L53)
##### `published-other`
> `Posted`
Defined in: [index.ts:81](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L81)
##### `published-print`
> `Posted`
Defined in: [index.ts:36](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L36)
##### `publisher`
> `string`
Defined in: [index.ts:26](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L26)
##### `publisher-location`
> `string`
Defined in: [index.ts:20](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L20)
##### `reference`
> `Reference`
Defined in: [index.ts:54](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L54)
##### `reference-count`
> `number`
Defined in: [index.ts:25](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L25)
##### `references-count`
> `number`
Defined in: [index.ts:71](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L71)
##### `relation`
> `Relation`
Defined in: [index.ts:77](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L77)
##### `review`
> `Review`
Defined in: [index.ts:56](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L56)
##### `score`
> `number`
Defined in: [index.ts:61](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L61)
##### `short-container-title`
> `string`
Defined in: [index.ts:33](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L33)
##### `short-title`
> `string`[]
Defined in: [index.ts:68](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L68)
##### `source`
> `string`
Defined in: [index.ts:44](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L44)
##### `standards-body`
> `Standardsbody`[]
Defined in: [index.ts:22](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L22)
##### `subject`
> `string`[]
Defined in: [index.ts:80](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L80)
##### `subtitle`
> `string`[]
Defined in: [index.ts:63](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L63)
##### `subtype`
> `string`
Defined in: [index.ts:84](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L84)
##### `title`
> `string`[]
Defined in: [index.ts:46](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L46)
##### `translator`
> `Chair`[]
Defined in: [index.ts:64](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L64)
##### `type`
> `string`
Defined in: [index.ts:39](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L39)
##### `update-policy`
> `string`
Defined in: [index.ts:43](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L43)
##### `update-to`
> `Updateto`[]
Defined in: [index.ts:21](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L21)
##### `volume`
> `string`
Defined in: [index.ts:48](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L48)
***
### `CrossrefResponse`
#### Properties
##### `message`
> [`Message`](modules.md#message)
Defined in: [index.ts:5](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L5)
##### `message-type`
> `string`
Defined in: [index.ts:3](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L3)
##### `message-version`
> `string`
Defined in: [index.ts:4](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L4)
##### `status`
> `string`
Defined in: [index.ts:2](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L2)
***
### `Message`
#### Properties
##### `items`
> [`CrossrefJSON`](modules.md#crossrefjson)[]
Defined in: [index.ts:13](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L13)
##### `items-per-page`
> `number`
Defined in: [index.ts:9](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L9)
##### `next-cursor`
> `string`
Defined in: [index.ts:12](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L12)
##### `query`
> `Query`
Defined in: [index.ts:10](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L10)
##### `total-results`
> `number`
Defined in: [index.ts:11](https://github.com/TrialAndErrorOrg/parsers/blob/main/libs/citations/crossref-json/src/index.ts#L11)
## Install
This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). In Node.js (version 12.20+, 14.14+, 16.0+, 18.0+), install as
```bash
pnpm add crossref-json
# or with yarn
[](https://badge.fury.io/js/crossref-json) [](https://www.npmjs.com/package/crossref-json)
# yarn add crossref-json
# or with npm
# npm install crossref-json
```
# crossref-json
Typings for the [Crossref JSON API](https://api.crossref.org/swagger.json)