jOCDS - The Java Open Contracting Data Standard Validator
The Open Contracting Data Standard (OCDS) is a standards development initiative issued by the Omidyar Network and the World Bank which commenced in November 2014.
The standard facilitates publishing data about public procurement of goods, works and services and can be easily extended to be used in other contexts.
It has been adopted in more than 25 countries and cities working on open contracting.
The purpose of adopting the standard is structuring the internal data in a format using JSON and following a structure template called as schema (JSON Schema). The schema is developed and maintained by Open Contracting Partnership (OCP). After the data is structured in this way, it can be made public, for reuse by third parties.
It is critical that the data being published follows the schema, meaning it is "valid". This becomes a more delicate problem because the schema itself is a living growing structure that has versions of its own. The OCDS schema in 2015, when the 1.0 version of OCDS was published, is different than the schema available now (OCDS 1.1.1). The OCP tries to keep the subsequent schema versions backwards compliant, but that is not 100% possible all the time. This means there are now multiple versions of the OCDS schema available. Obviously OCP always will advertise and encourage the use of the latest published schema, but the institutions that sign on to become OCDS compliant will do that at a certain moment in time, and in many cases will not have readily available funds to keep their OCDS export updated to work with the latest OCDS schema. This means there is a large and growing list of publishers out there that use older OCDS schema versions.
It is very important that tools are made available to allow validation of data in any OCDS schema version that exists, old or new. The issue is made more difficult by the existence of schema extensions, that have their own versions in some cases, and which have to be applied on top of the original OCDS schema, to leverage many aspects of the growing datasets complexity that is seen in the wild. Extensions can be official (maintained by the OCP), community maintained or custom made by the publisher.
Another issue is as the standard adoption grows, content producers, editors will need to consume data produced by the standard or generate data in diverse environments sometimes with their own tech challanges. In some developing countries, Internet access is not always possible all the time and there is a great need for tools that work offline to the most extent possible.
jOCDS is collection of tools that makes validation of the OCDS JSON data easy. It aims to achieve:
Complete REST API documentation can be find on the REST API module page
The command line interface version of the tool has a separate CLI module page
jOCDS uses YourKit Java Profiler for Performance Tuning.
YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.