0.1.7 • Published 9 years ago

grunt-jsv v0.1.7

Weekly downloads
1
License
-
Repository
github
Last release
9 years ago

grunt-jsv

A Grunt Task for validating JSON files using JSV.

Build Status

Getting Started

# Add the module to your project
npm install grunt-jsv --save-dev
// Load the module in your Gruntfile
grunt.loadNpmTasks('grunt-jsv');

Of course, you'll need to be using Grunt

Usage

// Configure the task by providing schemas with JSON files to validate
grunt.config.init({
    // ...
    jsv: {
        your_target: {
            files: {
                'schema/your-schema.json': ['json/*.json']
            }
        }
    }
    // ...
});
# Run the task
grunt jsv

Schema Support

JSV includes support upto draft v3 of the JSON Schema specification. This plugin will not work with new changes and functionality introduced in draft v4 and beyond.

License

Copyright (c) 2014 Jahed Ahmed

Licensed under the MIT license.

0.1.7

9 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago