Created
July 27, 2014 13:54
-
-
Save avian2/8b868cc2270de89df4d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:ts=4 sw=4 expandtab softtabstop=4 | |
import json | |
import jsonschema | |
def main(): | |
record = json.load(open("blank-ocds.json")) | |
schema = json.load(open("../standard/standard/schema/record-schema.json")) | |
jsonschema.validate(record, schema) | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment