Skip to main content
Version: v0.0.2

Interface: CodeListMeta

Metadata header attached to every bundled code-list snapshot. Surfaces the snapshot's identity + provenance + freshness so consumers can decide whether a stale description matters for their use case.

Example

import { CARC } from "@cosyte/x12";
CARC.meta.id; // "CARC"
CARC.meta.snapshotDate; // ISO date string this snapshot was captured
CARC.meta.publishedDate; // ISO date string of the underlying WPC publication

Properties

description

readonly description: string


id

readonly id: string


note?

readonly optional note?: string


publishedDate

readonly publishedDate: string


snapshotDate

readonly snapshotDate: string


source

readonly source: string