Sebastian Kippe f1077ffe36
Add new "special" contribution kind
We agreed to use this for special contribution items like e.g. the
initial kredits balance for core contributors from before we tracked
everything.
2019-05-10 13:10:51 +02:00
2017-06-05 14:44:12 +02:00
2017-06-05 20:14:38 +02:00
2017-06-05 16:00:07 +02:00
2017-06-05 20:14:38 +02:00
2019-04-16 13:11:07 +02:00
2018-06-19 17:48:07 +02:00

This repository/module contains JSON Schema definitions as well as examples for Kosmos data formats.

Usage

You can import these schemas to validate data in JavaScript programs. For example using npm and the tv4 JSON Schema validator:

let tv4 = require('tv4');
let schemas = require('kosmos-schemas');

let contributor = {
  name: "Tyrion"
}

let result = tv4.validate(contributor, schemas['contributor']);

if (result) {
  console.log('Your data is valid');
} else {
  console.log('Your data is not valid:');
  console.log(tv4.error);
}

TODO

Description
JSON Schema definitions and examples for Kosmos data formats
Readme 73 KiB
Languages
JavaScript 100%