Skip to main content

Interface: Endorsement

Defined in: src/types/models/review.ts:158

Endorsement of an eprint.

Remarks

Formal endorsement aligned with pub.chive.review.endorsement lexicon. Endorsers select one or more contribution qualities from the knowledge graph (endorsement-contribution subkind nodes).

Properties

cid

readonly cid: CID

Defined in: src/types/models/review.ts:167

CID of this endorsement.


comment?

readonly optional comment: string

Defined in: src/types/models/review.ts:195

Optional comment explaining endorsement.


contributions

readonly contributions: readonly string[]

Defined in: src/types/models/review.ts:190

Contribution qualities being endorsed.

Remarks

Array of slugs from endorsement-contribution nodes in the knowledge graph. Examples: 'methodological', 'empirical', 'reproducibility', 'visualization'

Must contain at least one value. Maximum 5 contributions per endorsement.

See

pub.chive.review.endorsement lexicon for knownValues


createdAt

readonly createdAt: Timestamp

Defined in: src/types/models/review.ts:200

Endorsement creation timestamp.


endorser

readonly endorser: DID

Defined in: src/types/models/review.ts:177

DID of the endorser.


eprintUri

readonly eprintUri: AtUri

Defined in: src/types/models/review.ts:172

AT URI of the endorsed eprint.


uri

readonly uri: AtUri

Defined in: src/types/models/review.ts:162

AT URI of the endorsement record.