v2 Beta · Integration preview
Install the beta
Use exact versions for a reproducible integration.
All seven packages have the coordinated version 2.0.0-beta.3 on npm. The beta tag identifies this prerelease. Use the exact versions below rather than an unqualified install:
npm install @disclosureos/records@2.0.0-beta.3 @disclosureos/instruments@2.0.0-beta.3 @disclosureos/schema@2.0.0-beta.3 @disclosureos/scoring@2.0.0-beta.3 @disclosureos/observables@2.0.0-beta.3 @disclosureos/origins@2.0.0-beta.3
npm install --save-dev @disclosureos/cli@2.0.0-beta.3The packages are ESM. Import the v2 observation, acquisition and evaluation contracts from /experimental/v2, as shown below. This explicit path is part of the beta API.
import { parseExperimentalObservation } from "@disclosureos/records/experimental/v2";
const result = parseExperimentalObservation({});
console.log(result.checks); // Missing required fields fail structural checks.Release identity
Published from canonical commit 6fd1fc8e87dfc8676e4c3f1eb36fd6884c81e370. Download the portal inventory for installed versions and source identities.
Package versions, document schemaVersion values and profile versions are distinct. Do not substitute 2.0.0-beta.3 for a document's schema version. Experimental schema URNs are identifiers, not downloadable HTTPS URLs; obtain schema documents through the package's schema exports.