An open API service indexing awesome lists of open source software.

https://github.com/rootsdev/gedcomx-json-schema

JSON Schema (v4) for GEDCOM X
https://github.com/rootsdev/gedcomx-json-schema

gedcomx genealogy json-schema

Last synced: 4 months ago
JSON representation

JSON Schema (v4) for GEDCOM X

Awesome Lists containing this project

README

          

# gedcomx-json-schema

[![npm](https://img.shields.io/npm/v/gedcomx-json-schema.svg)](https://www.npmjs.com/package/gedcomx-json-schema)
[![Build Status](https://travis-ci.org/rootsdev/gedcomx-json-schema.svg?branch=master)](https://travis-ci.org/rootsdev/gedcomx-json-schema)

[JSON Schema](http://json-schema.org/) for [GEDCOM X](http://www.gedcomx.org/).
Pairs nicely with validation tools such as [tv4](https://github.com/geraintluff/tv4).

This supports the GEDCOM X Conceptual Model, RS, Atom Extensions, and Records
specs in JSON format.

```js
var tv4 = require('tv4'),
gedxSchema = require('gedcomx-json-schema');

var result = tv4.validateResult(data, gedxSchema);
```