Skip to content

Repository of JSON schemas used in the Impresso project.

License

Notifications You must be signed in to change notification settings

impresso/impresso-schemas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Impresso JSON Schemas

This repository contains the JSON schemas used in the Impresso project.

Impresso JSON Schemas are used to define, declare, validate and document the structure, constraint and data types of Impresso JSON documents that can represent data or processes (e.g. manifests).

Schemas

We define schemas for:

Newspaper data

  • Canonical format:
  • Rebuilt format:
    • Rebuilt (todo)

Semantic enrichments

Processes

  • Data processing manifests (todo)
  • Data release manifests (todo)

File organisation in this repository

  • json/ subdirectory for JSON schemas
  • examples/ subdirectory for example/test files
  • docs/ documentation of schemas in markdown format

Validation

To validate an instance (example file) against a JSON schema, run:

make tests

Documentation

Generated by using jsonschema2md with the following commands:

make documentation

Project

The 'impresso - Media Monitoring of the Past' project is funded by the Swiss National Science Foundation (SNSF) under grant number CRSII5_173719 (Sinergia program). The project aims at developing tools to process and explore large-scale collections of historical newspapers, and at studying the impact of this new tooling on historical research practices. More information at https://impresso-project.ch.

License

Copyright (C) 2020 The impresso team. Contributors to this program include: Simon Clematide, Maud Ehrmann and Matteo Romanello.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU Affero General Public License for more details.