What it checks
- Is the document valid JSON?
- Are required NCP fields present?
- Do values use the expected data types?
- Does the document match the selected NCP schema version?
Open and self-service
NCP schema validation checks whether a document is structurally well-formed for a selected schema version.
It does not determine whether profile-owned information is complete, coherent, correct, or meaningful within that profile's narrative system.
NCP schema validation confirms that a document is structurally well-formed. It does not determine whether a profile payload is complete, coherent, or semantically valid.
Install the repository dependencies, verify the Core schema and examples, or check one NCP document from the command line.
$ npm install
$ npm run validate:schema
$ npm run validate:file -- ./document.ncp.jsonA profile can publish its own structural schema and conformance process. Tools should report Core schema results and profile results separately.
A successful NCP schema result makes no claim beyond the schemas that were actually evaluated.