rootsdev / gedcomx-json-schema

JSON Schema (v4) for GEDCOM X
MIT License
4 stars 2 forks source link
gedcomx genealogy json-schema

gedcomx-json-schema

npm Build Status

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);