{"id":"@lssm-tech/lib.data-exchange-core","slug":"lib.data-exchange-core","name":"@lssm-tech/lib.data-exchange-core","version":"2.0.4","path":"packages/platform/delivery/data-exchange-core","manifestPath":"packages/platform/delivery/data-exchange-core/package.json","manifestBlobSha":"853fb23a8a9cfb78c0a1c5d4947857f3fb9dd95f","layer":"platform","physicalArea":"delivery","primaryArea":"forms-and-data","classification":{"privateDeclared":null,"catalogFamily":"sharedLibs","catalogKind":"library","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"SchemaModel-first core primitives for data import/export and mapping","descriptionOrigin":"package.json","catalog":{"family":"sharedLibs","kind":"library","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./codecs","./codecs/csv","./codecs/json","./codecs/xml","./data-exchange-core.feature","./governed","./mapping","./mapping/format","./mapping/format-parsers","./mapping/infer","./mapping/rules","./mapping/template","./mapping/template-builders","./mapping/template-define","./mapping/template-format","./mapping/template-matchers","./mapping/template-results","./plans","./plans/export-plan","./plans/import-plan","./plans/shared","./preview","./preview/diff","./preview/preview","./records","./records/batch","./records/flatten","./records/path","./schema","./schema/coerce","./schema/describe","./types"],"documentation":[{"title":"Lib Data Exchange Core documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.data-exchange-core","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.lib.data.exchange.core","title":"Lib Data Exchange Core","description":"SchemaModel-first core primitives for data import/export and mapping","status":"active","useCases":["Adopt schemamodel-first core primitives for data import/export and mapping"],"aliases":["contractspec","data","import","export","mapping","typescript","lib","exchange","core"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/lib.data-exchange-core","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/codecs","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/codecs/csv","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/codecs/json","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/codecs/xml","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/data-exchange-core.feature","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/governed","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/mapping","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/mapping/format","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/mapping/format-parsers","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/mapping/infer","symbols":[]},{"from":"@lssm-tech/lib.data-exchange-core/mapping/rules","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/lib.data-exchange-core package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/codecs","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/codecs/csv","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/codecs/json","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/codecs/xml","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/data-exchange-core.feature","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/governed","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/mapping","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/mapping/format","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/mapping/format-parsers","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/mapping/infer","symbols":[]},{"capabilityId":"package.lssm.tech.lib.data.exchange.core","from":"@lssm-tech/lib.data-exchange-core/mapping/rules","symbols":[]}],"scripts":{"publish:pkg":"bun publish --tolerate-republish --ignore-scripts --verbose","publish:pkg:canary":"bun publish:pkg --tag canary","build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","dev":"contractspec-bun-build dev","clean":"rimraf dist .turbo","lint":"bun lint:fix","lint:fix":"node ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .","lint:check":"node ../../../../scripts/biome.cjs check .","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.contracts-spec-core":"workspace:^","@lssm-tech/lib.schema":"workspace:^","zod":"catalog:"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:","@lssm-tech/tool.bun":"workspace:*"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./codecs":"./src/codecs/index.ts","./codecs/csv":"./src/codecs/csv.ts","./codecs/json":"./src/codecs/json.ts","./codecs/xml":"./src/codecs/xml.ts","./data-exchange-core.feature":"./src/data-exchange-core.feature.ts","./governed":"./src/governed/index.ts","./governed/access":"./src/governed/access.ts","./governed/catalog":"./src/governed/catalog.ts","./governed/delivery":"./src/governed/delivery.ts","./governed/grant":"./src/governed/grant.ts","./governed/privacy":"./src/governed/privacy.ts","./governed/privacy-commands":"./src/governed/privacy-commands.ts","./governed/product-materialization":"./src/governed/product-materialization.ts","./governed/product-materialization-authorization":"./src/governed/product-materialization-authorization.ts","./governed/recovery":"./src/governed/recovery.ts","./governed/revocation":"./src/governed/revocation.ts","./governed/shared":"./src/governed/shared.ts","./mapping":"./src/mapping/index.ts","./mapping/format":"./src/mapping/format.ts","./mapping/format-parsers":"./src/mapping/format-parsers.ts","./mapping/infer":"./src/mapping/infer.ts","./mapping/rules":"./src/mapping/rules.ts","./mapping/template":"./src/mapping/template.ts","./mapping/template-builders":"./src/mapping/template-builders.ts","./mapping/template-define":"./src/mapping/template-define.ts","./mapping/template-format":"./src/mapping/template-format.ts","./mapping/template-matchers":"./src/mapping/template-matchers.ts","./mapping/template-results":"./src/mapping/template-results.ts","./plans":"./src/plans/index.ts","./plans/export-plan":"./src/plans/export-plan.ts","./plans/import-plan":"./src/plans/import-plan.ts","./plans/shared":"./src/plans/shared.ts","./preview":"./src/preview/index.ts","./preview/diff":"./src/preview/diff.ts","./preview/preview":"./src/preview/preview.ts","./records":"./src/records/index.ts","./records/batch":"./src/records/batch.ts","./records/flatten":"./src/records/flatten.ts","./records/path":"./src/records/path.ts","./schema":"./src/schema/index.ts","./schema/coerce":"./src/schema/coerce.ts","./schema/describe":"./src/schema/describe.ts","./types":"./src/types.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","browser":"./dist/browser/index.js","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./codecs":{"types":"./dist/codecs/index.d.ts","browser":"./dist/browser/codecs/index.js","bun":"./dist/codecs/index.js","node":"./dist/node/codecs/index.js","default":"./dist/codecs/index.js"},"./codecs/csv":{"types":"./dist/codecs/csv.d.ts","browser":"./dist/browser/codecs/csv.js","bun":"./dist/codecs/csv.js","node":"./dist/node/codecs/csv.js","default":"./dist/codecs/csv.js"},"./codecs/json":{"types":"./dist/codecs/json.d.ts","browser":"./dist/browser/codecs/json.js","bun":"./dist/codecs/json.js","node":"./dist/node/codecs/json.js","default":"./dist/codecs/json.js"},"./codecs/xml":{"types":"./dist/codecs/xml.d.ts","browser":"./dist/browser/codecs/xml.js","bun":"./dist/codecs/xml.js","node":"./dist/node/codecs/xml.js","default":"./dist/codecs/xml.js"},"./data-exchange-core.feature":{"types":"./dist/data-exchange-core.feature.d.ts","browser":"./dist/browser/data-exchange-core.feature.js","bun":"./dist/data-exchange-core.feature.js","node":"./dist/node/data-exchange-core.feature.js","default":"./dist/data-exchange-core.feature.js"},"./governed":{"types":"./dist/governed/index.d.ts","browser":"./dist/browser/governed/index.js","bun":"./dist/governed/index.js","node":"./dist/node/governed/index.js","default":"./dist/governed/index.js"},"./governed/access":{"types":"./dist/governed/access.d.ts","browser":"./dist/browser/governed/access.js","bun":"./dist/governed/access.js","node":"./dist/node/governed/access.js","default":"./dist/governed/access.js"},"./governed/catalog":{"types":"./dist/governed/catalog.d.ts","browser":"./dist/browser/governed/catalog.js","bun":"./dist/governed/catalog.js","node":"./dist/node/governed/catalog.js","default":"./dist/governed/catalog.js"},"./governed/delivery":{"types":"./dist/governed/delivery.d.ts","browser":"./dist/browser/governed/delivery.js","bun":"./dist/governed/delivery.js","node":"./dist/node/governed/delivery.js","default":"./dist/governed/delivery.js"},"./governed/grant":{"types":"./dist/governed/grant.d.ts","browser":"./dist/browser/governed/grant.js","bun":"./dist/governed/grant.js","node":"./dist/node/governed/grant.js","default":"./dist/governed/grant.js"},"./governed/privacy":{"types":"./dist/governed/privacy.d.ts","browser":"./dist/browser/governed/privacy.js","bun":"./dist/governed/privacy.js","node":"./dist/node/governed/privacy.js","default":"./dist/governed/privacy.js"},"./governed/privacy-commands":{"types":"./dist/governed/privacy-commands.d.ts","browser":"./dist/browser/governed/privacy-commands.js","bun":"./dist/governed/privacy-commands.js","node":"./dist/node/governed/privacy-commands.js","default":"./dist/governed/privacy-commands.js"},"./governed/product-materialization":{"types":"./dist/governed/product-materialization.d.ts","browser":"./dist/browser/governed/product-materialization.js","bun":"./dist/governed/product-materialization.js","node":"./dist/node/governed/product-materialization.js","default":"./dist/governed/product-materialization.js"},"./governed/product-materialization-authorization":{"types":"./dist/governed/product-materialization-authorization.d.ts","browser":"./dist/browser/governed/product-materialization-authorization.js","bun":"./dist/governed/product-materialization-authorization.js","node":"./dist/node/governed/product-materialization-authorization.js","default":"./dist/governed/product-materialization-authorization.js"},"./governed/recovery":{"types":"./dist/governed/recovery.d.ts","browser":"./dist/browser/governed/recovery.js","bun":"./dist/governed/recovery.js","node":"./dist/node/governed/recovery.js","default":"./dist/governed/recovery.js"},"./governed/revocation":{"types":"./dist/governed/revocation.d.ts","browser":"./dist/browser/governed/revocation.js","bun":"./dist/governed/revocation.js","node":"./dist/node/governed/revocation.js","default":"./dist/governed/revocation.js"},"./governed/shared":{"types":"./dist/governed/shared.d.ts","browser":"./dist/browser/governed/shared.js","bun":"./dist/governed/shared.js","node":"./dist/node/governed/shared.js","default":"./dist/governed/shared.js"},"./mapping":{"types":"./dist/mapping/index.d.ts","browser":"./dist/browser/mapping/index.js","bun":"./dist/mapping/index.js","node":"./dist/node/mapping/index.js","default":"./dist/mapping/index.js"},"./mapping/format":{"types":"./dist/mapping/format.d.ts","browser":"./dist/browser/mapping/format.js","bun":"./dist/mapping/format.js","node":"./dist/node/mapping/format.js","default":"./dist/mapping/format.js"},"./mapping/format-parsers":{"types":"./dist/mapping/format-parsers.d.ts","browser":"./dist/browser/mapping/format-parsers.js","bun":"./dist/mapping/format-parsers.js","node":"./dist/node/mapping/format-parsers.js","default":"./dist/mapping/format-parsers.js"},"./mapping/infer":{"types":"./dist/mapping/infer.d.ts","browser":"./dist/browser/mapping/infer.js","bun":"./dist/mapping/infer.js","node":"./dist/node/mapping/infer.js","default":"./dist/mapping/infer.js"},"./mapping/rules":{"types":"./dist/mapping/rules.d.ts","browser":"./dist/browser/mapping/rules.js","bun":"./dist/mapping/rules.js","node":"./dist/node/mapping/rules.js","default":"./dist/mapping/rules.js"},"./mapping/template":{"types":"./dist/mapping/template.d.ts","browser":"./dist/browser/mapping/template.js","bun":"./dist/mapping/template.js","node":"./dist/node/mapping/template.js","default":"./dist/mapping/template.js"},"./mapping/template-builders":{"types":"./dist/mapping/template-builders.d.ts","browser":"./dist/browser/mapping/template-builders.js","bun":"./dist/mapping/template-builders.js","node":"./dist/node/mapping/template-builders.js","default":"./dist/mapping/template-builders.js"},"./mapping/template-define":{"types":"./dist/mapping/template-define.d.ts","browser":"./dist/browser/mapping/template-define.js","bun":"./dist/mapping/template-define.js","node":"./dist/node/mapping/template-define.js","default":"./dist/mapping/template-define.js"},"./mapping/template-format":{"types":"./dist/mapping/template-format.d.ts","browser":"./dist/browser/mapping/template-format.js","bun":"./dist/mapping/template-format.js","node":"./dist/node/mapping/template-format.js","default":"./dist/mapping/template-format.js"},"./mapping/template-matchers":{"types":"./dist/mapping/template-matchers.d.ts","browser":"./dist/browser/mapping/template-matchers.js","bun":"./dist/mapping/template-matchers.js","node":"./dist/node/mapping/template-matchers.js","default":"./dist/mapping/template-matchers.js"},"./mapping/template-results":{"types":"./dist/mapping/template-results.d.ts","browser":"./dist/browser/mapping/template-results.js","bun":"./dist/mapping/template-results.js","node":"./dist/node/mapping/template-results.js","default":"./dist/mapping/template-results.js"},"./plans":{"types":"./dist/plans/index.d.ts","browser":"./dist/browser/plans/index.js","bun":"./dist/plans/index.js","node":"./dist/node/plans/index.js","default":"./dist/plans/index.js"},"./plans/export-plan":{"types":"./dist/plans/export-plan.d.ts","browser":"./dist/browser/plans/export-plan.js","bun":"./dist/plans/export-plan.js","node":"./dist/node/plans/export-plan.js","default":"./dist/plans/export-plan.js"},"./plans/import-plan":{"types":"./dist/plans/import-plan.d.ts","browser":"./dist/browser/plans/import-plan.js","bun":"./dist/plans/import-plan.js","node":"./dist/node/plans/import-plan.js","default":"./dist/plans/import-plan.js"},"./plans/shared":{"types":"./dist/plans/shared.d.ts","browser":"./dist/browser/plans/shared.js","bun":"./dist/plans/shared.js","node":"./dist/node/plans/shared.js","default":"./dist/plans/shared.js"},"./preview":{"types":"./dist/preview/index.d.ts","browser":"./dist/browser/preview/index.js","bun":"./dist/preview/index.js","node":"./dist/node/preview/index.js","default":"./dist/preview/index.js"},"./preview/diff":{"types":"./dist/preview/diff.d.ts","browser":"./dist/browser/preview/diff.js","bun":"./dist/preview/diff.js","node":"./dist/node/preview/diff.js","default":"./dist/preview/diff.js"},"./preview/preview":{"types":"./dist/preview/preview.d.ts","browser":"./dist/browser/preview/preview.js","bun":"./dist/preview/preview.js","node":"./dist/node/preview/preview.js","default":"./dist/preview/preview.js"},"./records":{"types":"./dist/records/index.d.ts","browser":"./dist/browser/records/index.js","bun":"./dist/records/index.js","node":"./dist/node/records/index.js","default":"./dist/records/index.js"},"./records/batch":{"types":"./dist/records/batch.d.ts","browser":"./dist/browser/records/batch.js","bun":"./dist/records/batch.js","node":"./dist/node/records/batch.js","default":"./dist/records/batch.js"},"./records/flatten":{"types":"./dist/records/flatten.d.ts","browser":"./dist/browser/records/flatten.js","bun":"./dist/records/flatten.js","node":"./dist/node/records/flatten.js","default":"./dist/records/flatten.js"},"./records/path":{"types":"./dist/records/path.d.ts","browser":"./dist/browser/records/path.js","bun":"./dist/records/path.js","node":"./dist/node/records/path.js","default":"./dist/records/path.js"},"./schema":{"types":"./dist/schema/index.d.ts","browser":"./dist/browser/schema/index.js","bun":"./dist/schema/index.js","node":"./dist/node/schema/index.js","default":"./dist/schema/index.js"},"./schema/coerce":{"types":"./dist/schema/coerce.d.ts","browser":"./dist/browser/schema/coerce.js","bun":"./dist/schema/coerce.js","node":"./dist/node/schema/coerce.js","default":"./dist/schema/coerce.js"},"./schema/describe":{"types":"./dist/schema/describe.d.ts","browser":"./dist/browser/schema/describe.js","bun":"./dist/schema/describe.js","node":"./dist/node/schema/describe.js","default":"./dist/schema/describe.js"},"./types":{"types":"./dist/types.d.ts","browser":"./dist/browser/types.js","bun":"./dist/types.js","node":"./dist/node/types.js","default":"./dist/types.js"}},"types":"./dist/index.d.ts","files":["dist","README.md"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/lib.data-exchange-core","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./codecs","importPath":"@lssm-tech/lib.data-exchange-core/codecs","target":"./src/codecs/index.ts","targets":[{"conditions":[],"target":"./src/codecs/index.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/codecs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/codecs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./codecs/csv","importPath":"@lssm-tech/lib.data-exchange-core/codecs/csv","target":"./src/codecs/csv.ts","targets":[{"conditions":[],"target":"./src/codecs/csv.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/codecs/csv.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/codecs/csv.ts","sourceStatus":"verified source file"}]},{"subpath":"./codecs/json","importPath":"@lssm-tech/lib.data-exchange-core/codecs/json","target":"./src/codecs/json.ts","targets":[{"conditions":[],"target":"./src/codecs/json.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/codecs/json.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/codecs/json.ts","sourceStatus":"verified source file"}]},{"subpath":"./codecs/xml","importPath":"@lssm-tech/lib.data-exchange-core/codecs/xml","target":"./src/codecs/xml.ts","targets":[{"conditions":[],"target":"./src/codecs/xml.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/codecs/xml.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/codecs/xml.ts","sourceStatus":"verified source file"}]},{"subpath":"./data-exchange-core.feature","importPath":"@lssm-tech/lib.data-exchange-core/data-exchange-core.feature","target":"./src/data-exchange-core.feature.ts","targets":[{"conditions":[],"target":"./src/data-exchange-core.feature.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/data-exchange-core.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/data-exchange-core.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed","importPath":"@lssm-tech/lib.data-exchange-core/governed","target":"./src/governed/index.ts","targets":[{"conditions":[],"target":"./src/governed/index.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/access","importPath":"@lssm-tech/lib.data-exchange-core/governed/access","target":"./src/governed/access.ts","targets":[{"conditions":[],"target":"./src/governed/access.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/access.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/access.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/catalog","importPath":"@lssm-tech/lib.data-exchange-core/governed/catalog","target":"./src/governed/catalog.ts","targets":[{"conditions":[],"target":"./src/governed/catalog.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/catalog.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/catalog.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/delivery","importPath":"@lssm-tech/lib.data-exchange-core/governed/delivery","target":"./src/governed/delivery.ts","targets":[{"conditions":[],"target":"./src/governed/delivery.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/delivery.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/delivery.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/grant","importPath":"@lssm-tech/lib.data-exchange-core/governed/grant","target":"./src/governed/grant.ts","targets":[{"conditions":[],"target":"./src/governed/grant.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/grant.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/grant.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/privacy","importPath":"@lssm-tech/lib.data-exchange-core/governed/privacy","target":"./src/governed/privacy.ts","targets":[{"conditions":[],"target":"./src/governed/privacy.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/privacy.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/privacy.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/privacy-commands","importPath":"@lssm-tech/lib.data-exchange-core/governed/privacy-commands","target":"./src/governed/privacy-commands.ts","targets":[{"conditions":[],"target":"./src/governed/privacy-commands.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/privacy-commands.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/privacy-commands.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/product-materialization","importPath":"@lssm-tech/lib.data-exchange-core/governed/product-materialization","target":"./src/governed/product-materialization.ts","targets":[{"conditions":[],"target":"./src/governed/product-materialization.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/product-materialization.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/product-materialization.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/product-materialization-authorization","importPath":"@lssm-tech/lib.data-exchange-core/governed/product-materialization-authorization","target":"./src/governed/product-materialization-authorization.ts","targets":[{"conditions":[],"target":"./src/governed/product-materialization-authorization.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/product-materialization-authorization.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/product-materialization-authorization.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/recovery","importPath":"@lssm-tech/lib.data-exchange-core/governed/recovery","target":"./src/governed/recovery.ts","targets":[{"conditions":[],"target":"./src/governed/recovery.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/recovery.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/recovery.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/revocation","importPath":"@lssm-tech/lib.data-exchange-core/governed/revocation","target":"./src/governed/revocation.ts","targets":[{"conditions":[],"target":"./src/governed/revocation.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/revocation.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/revocation.ts","sourceStatus":"verified source file"}]},{"subpath":"./governed/shared","importPath":"@lssm-tech/lib.data-exchange-core/governed/shared","target":"./src/governed/shared.ts","targets":[{"conditions":[],"target":"./src/governed/shared.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/governed/shared.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/governed/shared.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping","importPath":"@lssm-tech/lib.data-exchange-core/mapping","target":"./src/mapping/index.ts","targets":[{"conditions":[],"target":"./src/mapping/index.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/format","importPath":"@lssm-tech/lib.data-exchange-core/mapping/format","target":"./src/mapping/format.ts","targets":[{"conditions":[],"target":"./src/mapping/format.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/format.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/format.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/format-parsers","importPath":"@lssm-tech/lib.data-exchange-core/mapping/format-parsers","target":"./src/mapping/format-parsers.ts","targets":[{"conditions":[],"target":"./src/mapping/format-parsers.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/format-parsers.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/format-parsers.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/infer","importPath":"@lssm-tech/lib.data-exchange-core/mapping/infer","target":"./src/mapping/infer.ts","targets":[{"conditions":[],"target":"./src/mapping/infer.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/infer.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/infer.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/rules","importPath":"@lssm-tech/lib.data-exchange-core/mapping/rules","target":"./src/mapping/rules.ts","targets":[{"conditions":[],"target":"./src/mapping/rules.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/rules.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/rules.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/template","importPath":"@lssm-tech/lib.data-exchange-core/mapping/template","target":"./src/mapping/template.ts","targets":[{"conditions":[],"target":"./src/mapping/template.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/template.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/template.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/template-builders","importPath":"@lssm-tech/lib.data-exchange-core/mapping/template-builders","target":"./src/mapping/template-builders.ts","targets":[{"conditions":[],"target":"./src/mapping/template-builders.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/template-builders.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/template-builders.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/template-define","importPath":"@lssm-tech/lib.data-exchange-core/mapping/template-define","target":"./src/mapping/template-define.ts","targets":[{"conditions":[],"target":"./src/mapping/template-define.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/template-define.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/template-define.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/template-format","importPath":"@lssm-tech/lib.data-exchange-core/mapping/template-format","target":"./src/mapping/template-format.ts","targets":[{"conditions":[],"target":"./src/mapping/template-format.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/template-format.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/template-format.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/template-matchers","importPath":"@lssm-tech/lib.data-exchange-core/mapping/template-matchers","target":"./src/mapping/template-matchers.ts","targets":[{"conditions":[],"target":"./src/mapping/template-matchers.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/template-matchers.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/template-matchers.ts","sourceStatus":"verified source file"}]},{"subpath":"./mapping/template-results","importPath":"@lssm-tech/lib.data-exchange-core/mapping/template-results","target":"./src/mapping/template-results.ts","targets":[{"conditions":[],"target":"./src/mapping/template-results.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/mapping/template-results.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/mapping/template-results.ts","sourceStatus":"verified source file"}]},{"subpath":"./plans","importPath":"@lssm-tech/lib.data-exchange-core/plans","target":"./src/plans/index.ts","targets":[{"conditions":[],"target":"./src/plans/index.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/plans/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/plans/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./plans/export-plan","importPath":"@lssm-tech/lib.data-exchange-core/plans/export-plan","target":"./src/plans/export-plan.ts","targets":[{"conditions":[],"target":"./src/plans/export-plan.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/plans/export-plan.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/plans/export-plan.ts","sourceStatus":"verified source file"}]},{"subpath":"./plans/import-plan","importPath":"@lssm-tech/lib.data-exchange-core/plans/import-plan","target":"./src/plans/import-plan.ts","targets":[{"conditions":[],"target":"./src/plans/import-plan.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/plans/import-plan.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/plans/import-plan.ts","sourceStatus":"verified source file"}]},{"subpath":"./plans/shared","importPath":"@lssm-tech/lib.data-exchange-core/plans/shared","target":"./src/plans/shared.ts","targets":[{"conditions":[],"target":"./src/plans/shared.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/plans/shared.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/plans/shared.ts","sourceStatus":"verified source file"}]},{"subpath":"./preview","importPath":"@lssm-tech/lib.data-exchange-core/preview","target":"./src/preview/index.ts","targets":[{"conditions":[],"target":"./src/preview/index.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/preview/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/preview/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./preview/diff","importPath":"@lssm-tech/lib.data-exchange-core/preview/diff","target":"./src/preview/diff.ts","targets":[{"conditions":[],"target":"./src/preview/diff.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/preview/diff.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/preview/diff.ts","sourceStatus":"verified source file"}]},{"subpath":"./preview/preview","importPath":"@lssm-tech/lib.data-exchange-core/preview/preview","target":"./src/preview/preview.ts","targets":[{"conditions":[],"target":"./src/preview/preview.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/preview/preview.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/preview/preview.ts","sourceStatus":"verified source file"}]},{"subpath":"./records","importPath":"@lssm-tech/lib.data-exchange-core/records","target":"./src/records/index.ts","targets":[{"conditions":[],"target":"./src/records/index.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/records/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/records/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./records/batch","importPath":"@lssm-tech/lib.data-exchange-core/records/batch","target":"./src/records/batch.ts","targets":[{"conditions":[],"target":"./src/records/batch.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/records/batch.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/records/batch.ts","sourceStatus":"verified source file"}]},{"subpath":"./records/flatten","importPath":"@lssm-tech/lib.data-exchange-core/records/flatten","target":"./src/records/flatten.ts","targets":[{"conditions":[],"target":"./src/records/flatten.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/records/flatten.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/records/flatten.ts","sourceStatus":"verified source file"}]},{"subpath":"./records/path","importPath":"@lssm-tech/lib.data-exchange-core/records/path","target":"./src/records/path.ts","targets":[{"conditions":[],"target":"./src/records/path.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/records/path.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/records/path.ts","sourceStatus":"verified source file"}]},{"subpath":"./schema","importPath":"@lssm-tech/lib.data-exchange-core/schema","target":"./src/schema/index.ts","targets":[{"conditions":[],"target":"./src/schema/index.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/schema/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/schema/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./schema/coerce","importPath":"@lssm-tech/lib.data-exchange-core/schema/coerce","target":"./src/schema/coerce.ts","targets":[{"conditions":[],"target":"./src/schema/coerce.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/schema/coerce.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/schema/coerce.ts","sourceStatus":"verified source file"}]},{"subpath":"./schema/describe","importPath":"@lssm-tech/lib.data-exchange-core/schema/describe","target":"./src/schema/describe.ts","targets":[{"conditions":[],"target":"./src/schema/describe.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/schema/describe.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/schema/describe.ts","sourceStatus":"verified source file"}]},{"subpath":"./types","importPath":"@lssm-tech/lib.data-exchange-core/types","target":"./src/types.ts","targets":[{"conditions":[],"target":"./src/types.ts","sourcePath":"packages/platform/delivery/data-exchange-core/src/types.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/src/types.ts","sourceStatus":"verified source file"}]}],"entryCount":44,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Lib Data Exchange Core documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.data-exchange-core","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.data-exchange-core.txt"},"readme":{"status":"available","body":"# @lssm-tech/lib.data-exchange-core\n\nWebsite: https://contractspec.io\n\n**SchemaModel-first core primitives for data import, export, mapping, preview, and reconciliation planning.**\n\n## What It Provides\n\n- Headless CSV, JSON, and XML codecs.\n- Normalized `RecordBatch` contracts for runtime data interchange.\n- `SchemaModel` mapping inference, coercion, and validation helpers.\n- Import/export planning and preview diff APIs.\n- Provider-neutral governed projection contracts for cross-product sharing,\n  consent and lawful-basis grants, residency, retention, revocation, and privacy\nstatus.\n\nDelivery contracts add leased `pending → processing → retry_scheduled` recovery\nwith explicit `applied` or `dead_letter` terminals. Rights jobs follow the same\nbounded-attempt discipline. Operator projections expose application, state,\nattempt, redacted error, and evidence references only—never pairwise subjects or\nshared values.\n\nProduct recovery dispatches are a narrower contract than the central queue\nrecord. They carry only the receiving consumer or processor's pairwise subject,\nexact grant/projection event or rights operation, product binding, and\nidempotency identifier. Scheduler leases,\nattempt counters, payloads, credentials, and source values are rejected.\nRevocation and rights dispatches name the receiver-specific pairwise subject.\nThey never reuse another relying party's subject or expose the canonical\nidentity.\n\n## Installation\n\n`npm install @lssm-tech/lib.data-exchange-core`\n\nor\n\n`bun add @lssm-tech/lib.data-exchange-core`\n\n## Usage\n\nImport the root entrypoint from `@lssm-tech/lib.data-exchange-core`, or use subpaths such as `./codecs`, `./governed`, `./mapping`, `./plans`, `./preview`, `./records`, `./schema`, and `./types`.\n\nSQL sources and targets may include optional portable database metadata (`database.resource`, `fieldMapping`, `policyRefs`, and provenance). The core package remains runtime-agnostic; server adapters and provider integrations decide how to execute PostgreSQL, SQLite, or MySQL work.\n\n## Import Templates\n\nDevelopers can define the recommended import shape once, then let users upload files with different column labels or value formats:\n\n```ts\nimport {\n\tcreateImportPlan,\n\tcreateRecordBatch,\n\tdefineDataExchangeTemplate,\n\tpreviewImport,\n} from \"@lssm-tech/lib.data-exchange-core\";\n\nconst template = defineDataExchangeTemplate({\n\tkey: \"accounts.import\",\n\tversion: \"1.0.0\",\n\tcolumns: [\n\t\t{\n\t\t\tkey: \"id\",\n\t\t\tlabel: \"Account ID\",\n\t\t\ttargetField: \"id\",\n\t\t\trequired: true,\n\t\t\tsourceAliases: [\"Account Identifier\", \"External ID\"],\n\t\t},\n\t\t{\n\t\t\tkey: \"amount\",\n\t\t\tlabel: \"Amount\",\n\t\t\ttargetField: \"amount\",\n\t\t\tformat: {\n\t\t\t\tkind: \"number\",\n\t\t\t\tdecimalSeparator: \",\",\n\t\t\t\tthousandsSeparator: \".\",\n\t\t\t},\n\t\t},\n\t],\n});\n\nconst sourceBatch = createRecordBatch([\n\t{ \"Account Identifier\": \"acc-1\", Amount: \"1.234,50\" },\n]);\n\nconst preview = previewImport(\n\tcreateImportPlan({\n\t\tsource: { kind: \"memory\", batch: sourceBatch, format: \"csv\" },\n\t\ttarget: { kind: \"memory\", format: \"json\" },\n\t\tschema: AccountImportSchema,\n\t\tsourceBatch,\n\t\ttemplate,\n\t})\n);\n```\n\nTemplate resolution uses exact headers, aliases, normalized labels, and SchemaModel fallback inference. Explicit `mappings` still override template mappings.\n`defineImportTemplate` remains available as a backwards-compatible import-specific alias.\n\n## Governed ecosystem projections\n\n`@lssm-tech/lib.data-exchange-core/governed` defines the portable contract for\nsharing a minimized projection between LSSM products. A catalog entry declares\nthe source, schema, exact field paths, provenance, classification, and storage\nregion. A separate grant binds one subject and optional tenant to one audience,\npurpose, lawful basis, field allowlist, expiry, retention horizon, region set,\nrevision, and revocation watermark.\n\nThe access request and decision schemas are deliberately payload-free. They\nreject identity secrets and require denied decisions to disclose no field\npaths. Revocation events and consumer acknowledgements support deterministic\nreconciliation, while the privacy projection exposes who receives which fields\nand why without exposing the shared values.\n\nA source product may publish an immutable sharing offer with an exact grantee,\nfield subset, purpose code, legal-basis reference, EN/FR/ES consent copy,\nresidency, expiry, and retention limit. User issuance accepts only the published\noffer id and locale; the resulting grant binds the projection schema version\nand preserves the exact localized consent text, version, and timestamp.\n\n`@lssm-tech/lib.data-exchange-core/governed/privacy-commands` holds the pure\nprivacy-rights transitions hosts compose: `resolvePrivacyRightsProcessor`\nroutes export to the catalog source and erasure to the materialized consumer,\n`createPrivacyRevocation` derives the next revision/watermark revocation event\nand its payload-free pending delivery to the grant consumer, and\n`resetFailedRightsJob` requeues a failed rights job without stale terminal\nevidence. Event and delivery ids come from an injected deterministic `opaqueId`\nfunction so the package stays free of `node:crypto`.\n\nThis is not a shared raw database. Products keep their own persistence and\nlocal authorization; only a purpose-bound projection crosses the product\nboundary.\n\nReceiving products persist a governed copy only through\n`GovernedProductMaterialization`: an exact pairwise subject, application,\ngrant, projection/schema version, purpose, lawful-basis evidence, field\nallowlist, receiver region, grant expiry, retention horizon, revocation\nwatermark, receiver key reference, and encrypted envelope. A separate\npayload-free authorization must match every one of those facts and the\nencryption algorithm exactly. The schema rejects plaintext, source subjects,\ncanonical identity, credentials, leases, and payload fields. Product recovery\nand materialization receipts return evidence only; they never return the\nsubject or shared values to the central identity authority.\n","sourcePath":"packages/platform/delivery/data-exchange-core/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/delivery/data-exchange-core/README.md","blobSha":"c5c6d0356f95a6ab9d175259eeb9c0aebca05e56","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"forms-and-data","areaTitle":"Forms, data views and data exchange","displayName":"lib.data-exchange-core","runtimes":["node"],"platforms":["server"],"kind":"library","scope":"Package manifest","canonicalRoute":"/docs/packages/lib.data-exchange-core/","contextUrl":"/docs/packages/lib.data-exchange-core.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}