Commit Graph

10 Commits (bc9d20507976aa3eafc2d889231be00c20c48583)

Author SHA1 Message Date
Travis Ralston 464f4f5f21 Correctly check for the 'core' folder 7 years ago
Travis Ralston c8a8f13623 Don't check the underlying definitions
Otherwise the script will try to find a schema for our templates, which don't exist.
7 years ago
Travis Ralston 31ea4279d1 Resolve references in the check_examples script 7 years ago
Richard van der Hoff 49cd65dd58 Add a license to the spec
We're licensing hte spec under ASLv2. Add the LICENSE file, and add the
short-form to as much of the source as is practical right now (adding it to
json source is a massive pita).
10 years ago
Daniel Wagner-Hall f81b967e2d Make all the schema files yaml 10 years ago
Daniel Wagner-Hall 79244e8065 Remove redundant node event schema checker
The python one does the same
10 years ago
Daniel Wagner-Hall 810922bb38 Fix schema validator for multiple examples 10 years ago
Mark Haines 8974b2b67b Skip files that start with ".", e.g. vim swp files. 10 years ago
Mark Haines 6ba9b29b3b Report all the errors in schemas/check_examples, not just the first error. 10 years ago
Mark Haines 52640eb205 Add a python script for checking that the examples match the event
schema.

Does the same checks as check.sh, but is a *lot* faster making it
suitable for using as a pre-commit hook.

I don't suggest replacing check.sh since it's good to check that the
schema works with multiple implementations of jsonschema.
10 years ago