DisclosureOS · v2 Beta documentation
Install the beta
Use exact versions for a reproducible integration.
Portal examples and npm availability: the portal also uses a newer canonical source candidate. Its revised observable definitions, shared vocabulary references and provider-scoring format are not included in the published npm beta below. To reproduce these additions, use the exact canonical checkout pinned in the example source guide and follow the relevant feature guide. Other source-candidate examples identify their own source pins. npm publication remains on hold for the coordinated V2 release.
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.