How To validate objects
Validating a ninjs Document
This is the latest IPTC ninjs schema available for download.
JSON Schema is the de-facto standard for validating JSON documents. The IPTC maintains schemas for each version of the ninjs standard. These schemas can be used to validate ninjs documents.
Sample Code
Sample code demonstrating how to validate ninjs documents, along with example ninjs documents, can be found in the IPTC newsinjson github repository.
Online Validator
You can also validate ninjs documents by pasting the schema and document into an online validator such as https://www.liquid-technologies.com/online-json-schema-validator
�