Skip to content

elsevier-research/wercker-jsonschema-lint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wercker-jsonschema-lint

This Wercker step validates a JSON file according to a schema.

This step must be used with a box containing Python 2.7 and Pip.

Versions

Release date Step version
2017-05-15 0.0.4
2016-05-19 0.0.3
2016-05-19 0.0.2
2016-05-18 0.0.1

Options

  • include (required) A glob pattern of files to validate, rooted in the output directory. ($WERCKER_OUTPUT_DIR)
  • schema (optional) URL of a default schema to be used for validation, if JSON does not specify one. Default: http://json-schema.org/schema

Example

build:
  steps:
    ...
    - 1science/jsonschema-lint:
        include: **.json
        schema: http://json-schema.org/schema

About

A Wercker step to validate a JSON file with a schema.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published