Dataset onboarding
Have CSV, JSON, or database rows? This workspace walks you through converting your data into valid DisclosureOS records: find the right fields, validate your output, and see exactly what is missing.
Understand which fields are always present, how dates are encoded, whether coordinates are real GPS fixes, and what the source's own id scheme is.
Migration guideOne function from your source row to an Observation. Guard every enum boundary, use stable source-prefixed ids, and carry the raw row in extensions.
Mapper patternRun validation on the generated JSON files. Use --json for scripted workflows and CI.
npx @disclosureos/cli validate ./out --recursiveSee which fields are missing and what percentage of the standard your records cover. The missing-fields list tells you what to target next.
npx @disclosureos/cli completeness ./out --recursiveUpdate your mapper, re-export, re-validate. Quarantine failures instead of dropping them. Do not fabricate observable or origin claims from keywords.
Fix loopThree complete, type-checked examples you can run locally:
pnpm --filter @disclosureos/examples golden-pathAuthor one record through every layer (Nimitz case).
pnpm --filter @disclosureos/examples migration-pathConvert three source rows, quarantine failures, validate, and score completeness.
pnpm --filter @disclosureos/examples migration-csv-pathParse CSV rows, guard empty strings, map fields, and run the same validation loop.