Following many change requests submitted by news organisations all over the world, the IPTC News in JSON Working Group is happy to announce the 1.2 version of its standard ninjs.

ninjs generator
The new ninjs generator allows you to create your own ninjs documents by filling in a web form.

The JSON Schema of the new version can be accessed at https://www.iptc.org/std/ninjs/.

We also created a ninjs User Guide that will enable new and existing users to understand how to put ninjs to use at their organisation.

Version 1.2 is backwards-compatible with version 1.0 and 1.1 and makes no breaking changes.

It includes the following new properties and structures:

  • The firstcreated property goes along with the versioncreated property to specify the date/time when the first version of a news item was published.
  • The charcount and wordcount properties allow the publisher to specify the total character count and word count of a news item (excluding figure captions and metadata).
  • The slugline, property allows the publisher to specify a “slug”, a human-readable identifier for the item. (note that no conditions are placed on the usage of this property, usage is up to each publisher).
  • The ednote, property allows publishers to specify instructions to editors.
  • The infosource structure can specify one or many information sources for the news item. It is a metadata structure that can handle literal strings or values from a controlled vocabulary.
  • The title property handles “A short natural-language name for the item.”

Also the following sub-properties were added:

  • The value component was added to the allowed values for type to specify parts of a larger news item.
  • The description of the renditions property was changed to allow for any type of rendition, not just images, and new sub-properties duration and format were added to enable audio and video renditions (for example, an audio version of a text story).

We have also included a test and validation suite so new versions of the JSON Schema can automatically be checked for compliance and backwards compatibility.

ninjs 1.2 is now included in the SchemaStore.org JSON Schema repository, to aid with editing and validation of ninjs 1.2 files in a range of popular code editors such as Visual Studio Code and Visual Studio 2013+, IntelliJ IDEA, PyCharm and PHPStorm.

For more information, please see:

If you have any questions or comments, please contact the News in JSON Working Group via the public ninjs discussion group, or contact IPTC via the Contact Us form.