انتقل إلى المحتوى الرئيسي

Variable: IDENTIFIER_ARTIFACTS

const IDENTIFIER_ARTIFACTS: object

Defined in: packages/contracts/src/schemas/issuance.ts:779

The publisher's allowlist for identifiers: every object issuance may write under an identifier's host, and nothing else (D3.2, D3.17; 26's rows for DID documents).

  • log is the did:webvh log, one JSON line per entry, exactly the bytes that were signed;
  • document is did.json. For a web identifier it is the identifier. For a webvh one it is the parallel did:web document, written from the same previewed document at the same publication, so a verifier that resolves only did:web finds the same key.

Both are cached for five minutes, which is how long a resolver may go on seeing the previous version after a publication.

Type Declaration​

document​

readonly document: object

document.cacheControl​

readonly cacheControl: "public, max-age=300" = 'public, max-age=300'

document.contentType​

readonly contentType: "application/did+ld+json" = 'application/did+ld+json'

document.methods​

readonly methods: readonly ["webvh", "web"]

document.path​

readonly path: ".well-known/did.json" = '.well-known/did.json'

log​

readonly log: object

log.cacheControl​

readonly cacheControl: "public, max-age=300" = 'public, max-age=300'

log.contentType​

readonly contentType: "text/jsonl" = 'text/jsonl'

log.methods​

readonly methods: readonly ["webvh"]

log.path​

readonly path: ".well-known/did.jsonl" = '.well-known/did.jsonl'