def validateOpfJsonValue(value, opfJsonSchemaFilename):
 jsonSchemaPath = os.path.join(os.path.dirname(__file__), 'jsonschema', opfJsonSchemaFilename)
 jsonhelpers.validate(value, schemaPath=jsonSchemaPath)
 return

def validateOpfJsonValue ( value , opfJsonSchemaFilename ) : jsonSchemaPath = os . path . join ( os . path . dirname ( __file__ ) , 'jsonschema' , opfJsonSchemaFilename ) jsonhelpers . validate ( value , schemaPath = jsonSchemaPath ) return
validate a python object against an opf json schema file target: target python object to validate opfjsonschemafilename: opf json schema filename containing the json schema object .