JSPM

  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q58018F
  • License GPL-3.0

Utility functions for consuming Rechtspraak.nl open data for Dutch court judgments and generating well-formed linked data

Package Exports

  • rechtspraak-nl

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rechtspraak-nl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Rechtspraak.js

A bunch of utility functions to work with the open data in Rechtspraak.nl and create pretty, well-formed JSON-LD.

Written in TypeScript, compiled to a Javascript commonjs module.

Why?

Rechtspraak.nl publishes information about a lot of Dutch court judgments. Although the source XML suggests that the data is valid RDF, the truth is not so. Furthermore, Rechtspraak.nl provides no schema for its documents other than an incomplete PDF in natural language. So it's hard to know what to expect, especially for some esoteric metadata fields.

In this project, we analyze all existing documents on Rechtspraak.nl to generate a JSON Schema and Typescript typings for the metadata associated with Dutch case law documents. We correct some common errors in the source files and generate valid JSON-LD (which is compatible with RDF).

License

GPL v3. Note that this is a viral open source license. If you create derivatives, you must publish your code under compatible license terms. Please support free software.