Skip to content

WorkIdentity ​

Import from: @xbbg/xnews

Defined in: src/types.ts (declaration: types.d.ts:465)

Bibliographic identifiers for one record. Catalogs that scrape file listings often state none of them, which is why origin and confidence are part of the identity rather than assumed by callers.

Properties ​

confidence ​

readonly confidence: number

Defined in: src/types.ts (declaration: types.d.ts:482)

0-1, and always 1 when origin is "record".


doi? ​

readonly optional doi?: string

Defined in: src/types.ts (declaration: types.d.ts:468)


isbn10? ​

readonly optional isbn10?: string

Defined in: src/types.ts (declaration: types.d.ts:467)


isbn13? ​

readonly optional isbn13?: string

Defined in: src/types.ts (declaration: types.d.ts:466)


lccn? ​

readonly optional lccn?: string

Defined in: src/types.ts (declaration: types.d.ts:470)


md5? ​

readonly optional md5?: string

Defined in: src/types.ts (declaration: types.d.ts:473)

Content hash, for catalogs that address files rather than editions.


oclc? ​

readonly optional oclc?: string

Defined in: src/types.ts (declaration: types.d.ts:469)


openLibraryId? ​

readonly optional openLibraryId?: string

Defined in: src/types.ts (declaration: types.d.ts:471)


origin ​

readonly origin: WorkIdentityOrigin

Defined in: src/types.ts (declaration: types.d.ts:480)

"record" means the provider stated these identifiers. "resolved" means resolveWorkIdentity inferred them from a fuzzy match against an authoritative catalog; callers MUST check confidence before treating them as authoritative.

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.