Skip to content

JSON schemas for OpenCorporates data

License

Notifications You must be signed in to change notification settings

openc/openc-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openc-schema

JSON Schema to validate data before sending to OpenCorporates.

Tasks

Rewrite JSON files with consistent formatting:

rake format_json

Write schema files with embedded references (for Docson):

rake build

Test

Run tests:

rake

Run tests against JSON files under both sample-data and additional-sample-data:

TEST_ALL=1 rake

Releasing a new version

See the wiki (requires login).

Copyright (c) 2015 Chrinon Ltd, released under the MIT license