ninjs: News in JSON
One standard, countless use cases.
ninjs standardises the representation of news in JSON – a lightweight, easy-to-parse, data interchange format.
Almost every media organisation today is working on a project (or ten) that involves expressing the contents of a news item in JSON. From content APIs to mobile applications to document databases, JSON has moved into a position of technical prominence across the enterprise. A few years back, we went around the table at an IPTC meeting and realised nearly all of us had our own internal approaches for serialising news data in JSON. And so a standard was born. Approved and released in October 2013, ninjs provides key properties and structures required to represent news and publishing information.
Our new IPTC ninjs user guide explains how to use ninjs in your own applications, how to validate it using JSON Schema tools, gives some best practice guidelines and detailed descriptions of each property.
We have created a ninjs Generator that lets you create a simple ninjs document from sample text entered into a form. This lets you see immediately what a ninjs file can look like and how easy it can be to create your own ninjs content.
Mapping between ninjs, NewsML-G2 and the IPTC News Architecture
The IPTC News Architecture is the underlying data model behind all of IPTC’s standards. ninjs properties conform with the equivalent elements in the News Architecture which means that it maps to NewsML-G2. The user guide shows how ninjs properties map to their equivalent NewsML-G2 elements.
IPTC members regularly discuss ninjs at our News in JSON Working Group meetings and on the members-only News in JSON WG discussion group.
Non-members are welcome to discuss ninjs at the public ninjs discussion group.