pupa-validate

0.0.3 • Public • Published

pupa-validate

Validates multiple JSON documents on disk or in Redis against JSON Schema.

You may use this package to validate documents created by Pupa.rb.

Usage

npm install pupa-validate

Display help and usage details:

pupa-validate -h

Read JSON documents from a different directory:

pupa-validate --output_dir /tmp/scraped_data

Read JSON documents from a Redis database (the redis package must be available):

pupa-validate --output_dir redis://127.0.0.1:6379/0

Validate JSON documents whose _type is organization against http://popoloproject.com/schemas/organization.json#:

pupa-validate organization http://popoloproject.com/schemas/organization.json#

See Also

  • Pupa.rb, a Ruby data scraping framework
  • Pupa, the original Python data scraping framework

Bugs? Questions?

This project's main repository is on GitHub: http://github.com/opennorth/pupa-validate, where your contributions, forks, bug reports, feature requests, and feedback are greatly welcomed.

Copyright (c) 2013 Open North Inc., released under the MIT license

Readme

Keywords

none

Package Sidebar

Install

npm i pupa-validate

Weekly Downloads

4

Version

0.0.3

License

MIT

Last publish

Collaborators

  • jpmckinney