rootsdev / gedcomx-json-schema

JSON Schema (v4) for GEDCOM X
MIT License
4 stars 2 forks source link

Verify URI format? #4

Open justincy opened 8 years ago

justincy commented 8 years ago

The GEDCOM X JSON format defines URIs according to RFC 3986. The RFC provides a regex for parsing, not validating, that appears to match any string. Other regexes I've seen are enormous http://stackoverflow.com/a/17813893.

justincy commented 8 years ago

3 ajv might be able to help us with this.