An official website of the Disclosure Foundation

Introduction

Overview

Commands

scaffoldvalidateregistryinfo

scaffold

Generate typed templates for observations, assessment maps, and classifications

disclosureos scaffold generates ready-to-fill templates for the standard's data structures — as JSON for data files, or as TypeScript with typed factory calls.

Usage

Terminal
disclosureos scaffold <template> [options]

Templates

TemplateGenerates
observationMinimal Observation — required fields only
observation --fullComplete Observation with the optional domains stubbed
assessmentAn ObservableAssessmentMap with all 12 observables pre-listed
classificationAn origin classification slot with one claim

Options

OptionEffect
--out, -o <path>Write to a file instead of stdout
--tsOutput TypeScript (typed imports + factory calls) instead of JSON

Examples

Start a new data file:

Terminal
disclosureos scaffold observation --out sighting.json

Start a full record in code — the TS template uses createObservation, so ids and timestamps are generated and the result is parse-validated:

Terminal
disclosureos scaffold observation --full --ts --out src/sighting.ts

Stub a complete assessment pass:

Terminal
disclosureos scaffold assessment --ts
// Each observable maps to a *list* of claims, so competing verdicts coexist.
export const assessment: ObservableAssessmentMap = {
  technology: {
    antigravity_lift: [createObservableClaim('not_indicated')],
    instantaneous_acceleration: [createObservableClaim('not_indicated')],
    // ...all 12 observables
  },
};

Note the assessment template defaults everything to not_indicated — an explicit "evaluated, found absent" — so a completed template documents a real evaluation pass, not just the anomalies. Delete the entries you didn't actually evaluate.

After scaffolding

Fill in the template, then validate it:

Terminal
disclosureos validate sighting.json --strict

Overview

@disclosureos/cli — scaffold, validate, and inspect observations from the command line

validate

Validate observation JSON files — core, slots, evidence refs, and semantic checks

On this page

Usage
Templates
Options
Examples
After scaffolding