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.
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:
firstcreatedproperty goes along with the
versioncreatedproperty to specify the date/time when the first version of a news item was published.
wordcountproperties allow the publisher to specify the total character count and word count of a news item (excluding figure captions and metadata).
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).
ednote, property allows publishers to specify instructions to editors.
infosourcestructure 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.
titleproperty handles “A short natural-language name for the item.”
Also the following sub-properties were added:
- The value
componentwas added to the allowed values for
typeto specify parts of a larger news item.
- The description of the
renditionsproperty was changed to allow for any type of rendition, not just images, and new sub-properties
formatwere 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:
- The ninjs GitHub repository
- ninjs example documents
- The ninjs User Guide
- The ninjs 1.2 JSON Schema specification
- A new interactive tool for creating example ninjs documents – the ninjs Generator