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
disclosureos scaffold <template> [options]Templates
| Template | Generates |
|---|---|
observation | Minimal Observation — required fields only |
observation --full | Complete Observation with the optional domains stubbed |
assessment | An ObservableAssessmentMap with all 12 observables pre-listed |
classification | An origin classification slot with one claim |
Options
| Option | Effect |
|---|---|
--out, -o <path> | Write to a file instead of stdout |
--ts | Output TypeScript (typed imports + factory calls) instead of JSON |
Examples
Start a new data file:
disclosureos scaffold observation --out sighting.jsonStart a full record in code — the TS template uses createObservation, so ids and timestamps are generated and the result is parse-validated:
disclosureos scaffold observation --full --ts --out src/sighting.tsStub a complete assessment pass:
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:
disclosureos validate sighting.json --strict