Check a file against the standard
Paste or drop one OWHS v0.2 record, or an entity-graph bundle of records. The repository's reference validator runs on this page and tells you whether the file is structurally conformant (Level 1) and, where it is not, which field broke which rule.
Your file stays in this browser
- The file is read and checked on this page. It is not uploaded, stored or sent anywhere, and this page has no visit counter.
- The page's security policy lets it fetch only from openworkplacehealth.org, and the only things it fetches are its own files: the page itself, then the checker the first time you press Check. After that it makes no requests at all, so it keeps working with your connection switched off. Your browser's network panel will show this.
- Even so, use synthetic or test records. Do not paste real personal data.
Paste the JSON, drop a .json file on the box, or . One record or one bundle at a time.
The first check downloads the checker from this site, about 14 MB before compression. Your browser keeps it for later visits. Your file is never part of any download or request.
Or try a synthetic example
Copied from the repository's examples. They are made up and identify no one.
Report
It names the checker version, the schema version and the time of the check. Copying it puts it on your clipboard; nothing is sent.
Show the report
What a pass means
A pass means the file is structurally conformant: it meets Level 1 of the specification's three conformance levels. It is not a compliance finding, a certificate or a privacy assessment. For one record the check is:
- the record against its v0.2 JSON Schema: required fields, types, patterns, code values written into the schema, and no field the schema does not declare;
- every
formatasserted, so a date has to be a real date; - the restrictions on extension keys inside
ext, including the ban on identifier and clinical key names; - the named within-record rules C1 to C18 that apply to its type.
For a bundle, the entity-graph checker runs the same checks on every record, then the relationship checks G01 to G10 and the measurement checks described in the entity-graph guide, and lists what it could not establish.
What it does not check
- Level 2: whether each coded value resolves to a current code-list version.
- Level 3: the privacy obligations. Whether an output is safe to disclose, whether a declared count is true, whether a value withheld by omission should have been suppressed, and whether a field reaches only the people its visibility class allows. The specification says plainly that no tool can verify these from a file alone.
- Identifiers or sensitive meaning hidden inside permitted text values.
- References to records that are not in the file, and what an extension profile requires when no profile is supplied.
The privacy profile sets out the obligations a producer carries whatever this page says.
The same code as the reference validator
This page does not reimplement the rules. It runs tools/validate.py and tools/check_entity_graph.py from the repository, unchanged, in Python 3.14.2 compiled to WebAssembly (Pyodide 314.0.7) with jsonschema 4.26.0. The Python tools are the reference; this page is a way to run them without installing anything. A test in the repository runs all 147 example files (82 single records and 65 bundles) through the command-line tools and through this page in a headless browser, and fails on any difference in the verdict or in the rules reported.
To run the same check on your own machine: python tools/validate.py schemas/v0.2/AbsenceEpisode.json your-file.json. Every file this page loads, with its source and licence, is listed in the vendor manifest. Reference validator SHA-256 begins 41bdc4c03ccb.