JSON Schema for GEDCOM X. Pairs nicely with validation tools such as tv4.
This supports the GEDCOM X Conceptual Model, RS, Atom Extensions, and Records specs in JSON format.
var tv4 = require('tv4'),
gedxSchema = require('gedcomx-json-schema');
var result = tv4.validateResult(data, gedxSchema);