Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/voxpupuli/json-schema

Ruby JSON Schema Validator
https://github.com/voxpupuli/json-schema

Definitions - and this wraps up V4 support.

e9796d9d9fcd10c667cc8836c543e299566360df authored over 11 years ago by Kenny <[email protected]>
oneOf test

9f44154b03ed1ac7cc83a16c21dc837c9e4ed336 authored over 11 years ago by Kenny <[email protected]>
More complex not/anyOf combo test

a0732770cd351df2683d6c4b60520704b1b0d9b9 authored over 11 years ago by Kenny <[email protected]>
anyOf test

9a0afa0cfce379aa599b1e499ad26b4ec03dc1df authored over 11 years ago by Kenny <[email protected]>
allOf test

ee1248a2245a5e5d1c500a10cfda37f2e64ca657 authored over 11 years ago by Kenny <[email protected]>
LOGIC! not tests.

6f341e6244e3bc2c1d27170cf081ef7b5037ff5b authored over 11 years ago by Kenny <[email protected]>
minProperties and maxProperties tests

3c74913b2cdac99541e9660d4bb4d717f992aad7 authored over 11 years ago by Kenny <[email protected]>
Adding in "default" stuff. Yay tests pass, now to add tests for new stuff.

91685846232e86d939ecebb0c030af8060baa3a3 authored over 11 years ago by Kenny <[email protected]>
divisibleBy has become multipleOf in V4

3c8c24d4230ec64120bfb9dd36318bff3b0f7da2 authored over 11 years ago by Kenny <[email protected]>
No more extends in V4

6d8e5b2833526f9bbf0c477f6f60d21c4be1bc46 authored over 11 years ago by Kenny <[email protected]>
No more disallow in V4

27b025a9d3de3cd00d8970e297d0f84463a2a4a1 authored over 11 years ago by Kenny <[email protected]>
Required has been removed from the properties themselves and have been made an object-level property for objects in V4

3e8b4a2ce2a9298540be8e22514764418049d482 authored over 11 years ago by Kenny <[email protected]>
Dependencies values must be arrays in V4

197d4050d172d48d9a3cf1ffb5f5d5b51cde5213 authored over 11 years ago by Kenny <[email protected]>
Schema union types are no longer allowed in draft-04. No reason to test for them!

5bdf77afed5c9eb62cd95f4558740eecf19bc286 authored over 11 years ago by Kenny <[email protected]>
Union error message.

6b821b396a9456e6a6615b98fa68720ba98c106f authored over 11 years ago by Kenny <[email protected]>
Guess we should actually throw an error on... an error.

460ef67c6aa46345b5c682340b90a87f2542e2ae authored over 11 years ago by Kenny <[email protected]>
draft-04 tests, cut and pasted from draft-03. These obviously need to change!

5bcd8144dbe264be3c11294076a0efd7999ea8d4 authored over 11 years ago by Kenny <[email protected]>
Get draft-03 tests working again

a048cf424f60fdc5200a83b3ab5a31843e75d772 authored over 11 years ago by Kenny <[email protected]>
Rename file test to file_test_v3

e4bc491022826865a8b852a02171051cc0e25a0e authored over 11 years ago by Kenny <[email protected]>
Fixing V3 file tests

ffb3d37962fdb6bdba366a42018f762d2e24f727 authored over 11 years ago by Kenny <[email protected]>
Adding draft-04 tests, going through and fixing them all up.

7c9fc58f9522d4f262308a68bf2c4be6a828de89 authored over 11 years ago by Kenny <[email protected]>
Adding the utmost barren skeleton test for draft-04. Oh it will be done. it will.

20862fe4013adf3e0f464d1358a02541eb3785d6 authored over 11 years ago by Kenny <[email protected]>
Draft-04 and.... f'ing whitespace!

2c3c29d1057b865b34fff7fc272fe2e26896b885 authored over 11 years ago by Kenny <[email protected]>
Properties and Required changes for draf4

f1e405943e64bbced338ffb82651e7dc050d7f75 authored over 11 years ago by Kenny <[email protected]>
Removing errors from validation_errors

bf5bb1b582d8253717764163e476c2f6ade316d3 authored over 11 years ago by Kenny <[email protected]>
minProperties and maxProperties

ecdf127fa78e91b8ec09fc00eb17fb70774e4704 authored over 11 years ago by Kenny <[email protected]>
Draft 4 validator

59543ef50b379b556cc5b275e69d4bd803b6a718 authored over 11 years ago by Kenny <[email protected]>
V4 dependencies

496a4d418dbb6a11ff80a62a9f9116e0da8e2ea2 authored over 11 years ago by Kenny <[email protected]>
Reduced type functionality for v4

228fe65a674a34e747a7b2eb09cc26080b44f105 authored over 11 years ago by Kenny <[email protected]>
anyOf, allOf, oneOf, not

7bdf12d3ec475f689e523cd8c21acb271c1c2366 authored over 11 years ago by Kenny <[email protected]>
Whitespace.

ef593b02add0a3594bb8e72f4672b80c77827c4e authored over 11 years ago by Kenny <[email protected]>
maxitems error message correction

d561244c18e97224debfd4b735ee1e4fddef8847 authored almost 12 years ago by Leonardo Pavan <[email protected]>
Extends support array of objects too

This patch allows a schema extends many objects as necessary.

13553aa7c3a2379ebd67350bcf0ffdd0615fe071 authored almost 12 years ago by Roger Leite <[email protected]>
Correct failing test.

It was actually an invalid schema I had before, and to trigger the bug I was seeing, `additional...

9ae5ca8f6afa7269da54b00adddf5bdc66453572 authored almost 12 years ago by Myron Marston <[email protected]>
Add failing test demonstrating failure of complex union type.

60b2751671f285d797e8a2ce0e74eaa6c0c951d8 authored almost 12 years ago by Myron Marston <[email protected]>
Fix: Don't attempt to parse URI from non-string

2c1db6631d6a953a97cbe811dd2661c14dac8a93 authored almost 12 years ago by Jesse Stuart <[email protected]>
Show schema type in error message instead of ruby class

0017da1b62edb3eb89e3a49e9d6c245f304f170e authored almost 12 years ago by Jesse Stuart <[email protected]>
Yikes, patternProperties never loaded ref schemas. Thanks, @kafuchau.

d48080518573d8cee1e1258ff42eeea11a2c8d1c authored almost 12 years ago by Kenny <[email protected]>
Raising minor version number for thread-safe validation.

a7d25c51a9683530f2edae54497c5eb770fc4c01 authored almost 12 years ago by Kenny <[email protected]>
Making validation thread-safe.

384ac4370220e13b2e633e5fc8875116b5763898 authored almost 12 years ago by Kenny <[email protected]>
Updating version

82b66ae30ae0b26daa367ff207f9cb8801f95a45 authored about 12 years ago by Kenny <[email protected]>
Merge branch 'master' of github.com:hoxworth/json-schema

d728a472e0a3e63e9a567e6b4f70e8d723fb9549 authored about 12 years ago by Kenny <[email protected]>
Merge branch 'master' of https://github.com/GoodGuide/json-schema into GoodGuide-master

10cbaf35374d664e65560beda95f8527ea02a446 authored about 12 years ago by Kenny <[email protected]>
Update Readme for new version

e25715d00d5f4d5943be3fc38bb10b534fcf0885 authored about 12 years ago by Kenny Hoxworth <[email protected]>
Merge pull request #49 from lcdhoffman/master

More descriptive error message for PatternAttribute

3f45d05bfc40350ba9cb58ce0d2ec69d958de453 authored about 12 years ago by Kenny Hoxworth <[email protected]>
added value to pattern att message in the style of bdb82ba

f4d0e1dcaf45eae3952a005ec9b6f07ec0b3a163 authored about 12 years ago by Brian Hoffman <[email protected]>
Update README.textile

Update docs to include :insert_defaults option example

2c614171e7b38e780b71f3c8eb583c17b26dbaa1 authored about 12 years ago by Simon Waddington <[email protected]>
Add :insert_defaults option to insert default values into data when specified in the schema

67fea36809d92138be5ea2f93c88ed68ba43e2b7 authored about 12 years ago by Simon Waddington <[email protected]>
Upping version.

ca96a18bd5a5a17d315233d9583436b8172dd09a authored about 12 years ago by Kenny <[email protected]>
Merge pull request #46 from seomoz/1_8_7_compat

Restore 1.8.7 compatibility.

198d036d193f6af73803bfad0dc5b51b1ca6ca46 authored about 12 years ago by Kenny Hoxworth <[email protected]>
Restore 1.8.7 compatibility.

- require_relative doesn't work on 1.8.7.
- refute_equal isn't available from 1.8.7 Test::Unit.

bad92d319a9a271a1a49f45e06fc6459a3c35eb2 authored over 12 years ago by Myron Marston <[email protected]>
Allow for specific or undefined timezone in date-time format.

Matches the ISO8601 specification.

4e84940d956052d162b89c41104158b073fdb574 authored over 12 years ago by Chris Baynes <[email protected]>
Bumping version with fixes from @japgolly and @tylerhunt

2ee5c0c305afb64e1f01916f4c56ad2340c40cfc authored over 12 years ago by Kenny <[email protected]>
Merge remote-tracking branch 'tylerhunt/master' into merge

20684323cb490f3e545364297c3afef7993f441d authored over 12 years ago by Kenny <[email protected]>
Renamed tests for extends_and_additionalProperties

4318fd979378e413c51f452881aaa86f1be94a80 authored over 12 years ago by David Barri <[email protected]>
extends now works within elements within additionalProperties

7fba5303cdf2dfd90d5f0076ff73575a004a39ba authored over 12 years ago by David Barri <[email protected]>
Added test for another extends/additionalProperties scenario.

116fbbb43f3587713ead8f611c899e3a210803ba authored over 12 years ago by David Barri <[email protected]>
Fixed tests. Extends and additionalproperties now work together.

a5d4a3428f9f02a417147c11dc21ec5060db3e8c authored over 12 years ago by David Barri <[email protected]>
Added test that show extends failing in conjunction with additionalProperties

3495bc485c6f9ca6b2370011c3cbaa35e6265eed authored over 12 years ago by David Barri <[email protected]>
Ignoring vim swap files

ae091b3ff0ced8fd928becd91737bed47b9d80e6 authored over 12 years ago by David Barri <[email protected]>
Fix issue with MultiJson feature detection.

You can't reliably detect whether `MultiJson` responds to `load`
since Kernel defines a `load` m...

f59bc447b184101b94ed49055a9b4c79b38e0d67 authored over 12 years ago by Tyler Hunt <[email protected]>
Updating version and docs for @seomoz additions

543f3e03e790dd38436bfad65c956d62cb8289f2 authored over 12 years ago by Kenny Hoxworth <[email protected]>
Extract type validation into a helper method.

This makes it easier for users to customize how unrecognized types are
validated.

See https://g...

b472f1917717114de5acbea48ee87de70208052d authored over 12 years ago by Myron Marston <[email protected]>
Fixing test fat-finger. Thanks @myronmarston!

5da25ac192731eb10bd6e5dd0be9c6be4dae0946 authored over 12 years ago by Kenny Hoxworth <[email protected]>
Updating to 1.0.7, supporting built-in json library

0e5a803a9598ec7e96cdf74657fbc9a5f28e3ce5 authored over 12 years ago by Kenny Hoxworth <[email protected]>
Updating version to include latest pulls

e92bd2e69f78fac63aa1845c7a3190c2fd75c19a authored over 12 years ago by Kenny Hoxworth <[email protected]>
Merge remote branch 'ILikePies/master' into merge-vapir

aad2ffafa27dd2712f82228d589e11af24745f8e authored over 12 years ago by Kenny Hoxworth <[email protected]>
Merge remote branch 'japgolly/multi_json_fix' into merge-vapir

a671cf2dc92481b5dab9288f0aed4721c3de2035 authored over 12 years ago by Kenny Hoxworth <[email protected]>
The base validator method should act as it previously did when not accompanied with a :uri or :json option

04ec7cff5aa2bd3303786bae9fcb1aba04645c25 authored over 12 years ago by Kenny Hoxworth <[email protected]>
accept fractional second parts with either comma or dot (and do it right!)

6e088580afd164363ab6104b12374b5658d12365 authored over 12 years ago by ILikePies <[email protected]>
date-time format should accept times with fractional seconds part (with either comma or dot as separator)

89e1b363b19b71e26e812186bdba195d51c8d68c authored over 12 years ago by ILikePies <[email protected]>
Allow optional decimal fraction for seconds in date-time format validation.

feed9b12f5a259ae1ba921309cb7d1f203bd254f authored over 12 years ago by ILikePies <[email protected]>
Updated remaining usages of MultiJson to work with new & old APIs

0c5ab318e5728b5d450cf2a1d33057345d1e82e5 authored over 12 years ago by David Barri <[email protected]>
Fix deprecation warning on newer MultiJson versions

89f6795fa90c10fc6bed75a9e3ea55f48c62c5c1 authored over 12 years ago by David Barri <[email protected]>
add a bunch of tests where the root data object is of various types - especially string, as this is what was problematic before.

8593e3c2860fbaaf7ac0634b2ce136b2e2851e6f authored almost 13 years ago by Ethan <ethan@medidata>
add test for validate_json

38767ab610fc77d1843c376386f6acdbe2199893 authored almost 13 years ago by Ethan <ethan@medidata>
change Validator#initialize_data to only parse json or read from a URI when told to. add methods validate_json, validate_uri, and their full and bang counterparts to tell it to.

91900d800dc09fd948d70b2c123fb367d244006b authored almost 13 years ago by Ethan <ethan@medidata>
Fixed tests after feedback from khoxworth. Impl works fine, my schema was

wrong. :P

43e4e925a089bc2e90c52aae014a19f9d910fa6a authored almost 13 years ago by David Barri <[email protected]>
Added tests for nested property validation. Currently fails.

e4596ce1c5bf794dec9d611248140b668988cf06 authored almost 13 years ago by David Barri <[email protected]>
For some reason 'extends' wasn't allowing referencing of schemas by URI.

5cae115a464669dbcd071791b2f65639f200763a authored almost 13 years ago by Kenny Hoxworth <[email protected]>
Fixing fully_validate for union types and adding a :errors_as_objects option to fully_validate to return errors as hash objects instead of strings.

cb09e18cb751783160ddcaf2b4287987a0dd2900 authored almost 13 years ago by Kenny Hoxworth <[email protected]>
Update README and VERSION to reflect the MultiJSON stuff.

a9719139b0fa7989437cb75e26ae6add8b0077f0 authored almost 13 years ago by Kenny Hoxworth <[email protected]>
Removing the MultiJSON vendored lib and making it auto-load if available; otherwise, the old JSON-backend strategy is used. This removes the dependency to MultiJSON, but uses it if available.

9597765f6b7c2d62f043cae456585c1ca27eee49 authored almost 13 years ago by Kenny Hoxworth <[email protected]>
Pulling multi_json directly into the library.

2ff929645217a300875b5f3e5b0aabddfbf33c1a authored almost 13 years ago by Kenny Hoxworth <[email protected]>
Add a method just to fully validate the schema itself.

f218458918a6f3de3e0bc597441246ffbb577902 authored almost 13 years ago by Myron Marston <[email protected]>
Extract stateless helper methods for version and metaschema.

a78889b6edd8db8a06ed95fce445ebca5d73f1b3 authored almost 13 years ago by Myron Marston <[email protected]>
Use multi_json rather than a hacky implementation of swappable json backends.

89f6df747e892c9789bdd67226bed9cdf435198a authored almost 13 years ago by Myron Marston <[email protected]>
Just updating the README to be version consistent

4c84c6739b76a15ba589fc63b7906a53fa80182b authored almost 13 years ago by Kenny Hoxworth <[email protected]>
Merge pull request #23 from square/master

More descriptive error messages

bdb82ba2afce6f10fec405be3654d950c86d30c6 authored almost 13 years ago by Kenny Hoxworth <[email protected]>
Merge pull request #25 from tommay/master

Json::Schema::*Error classes should inherit from StandardError instead of Exception.

24f762a0bcbcf8d888525c1570d07010929fbffc authored almost 13 years ago by Kenny Hoxworth <[email protected]>
Bump version

06cfe220edc0bcd3ed3c258102573e637d595f19 authored almost 13 years ago by Zach Margolis <[email protected]>
Json::Schema::*Error classes inherit from StandardError instead of Exception.

523a771b962e009e8b4621dbe5d989520e05eb7e authored almost 13 years ago by Tom May <[email protected]>
Merge branch 'error-message-text'

6d653afcbe69d75ee5ace06b0f1f5f86400e01de authored almost 13 years ago by Zach Margolis + Matthew Todd <[email protected]>
More descriptive error messages

9ed61a482c86cead524247fe6e9f07bb3e0e9140 authored almost 13 years ago by Zach Margolis + Matthew Todd <[email protected]>
Upping the version to 1.0.0, as we are now feature complete and have been sitting around fixing minor bugs for quite some time now.

1.0.0 adds the final feature that was originally intended with this library, which is to fully v...

8e4f669e2b17db81ff8d04aacd54bdef3a55c729 authored about 13 years ago by Kenny Hoxworth <[email protected]>
Sheesh. All sorts of naming issues abound and we weren't even passing the validation options on beyond the first level.

9726e8cc73b044fac54ecf770dfc9c39074d8805 authored about 13 years ago by Kenny Hoxworth <[email protected]>
Caught one instance where we were still throwing an error. Also return on error during some format checks so we don't report the same error multiple times.

cadbb65283b24d74b158c8f7dded233cc3703baf authored about 13 years ago by Kenny Hoxworth <[email protected]>
Extract the error throwing on a validation error into an attribute method, so we can handle errors in alternative ways (such as recording them and allowing validation to proceed).

985e74823f9734fc096fbdb03db2f3150c218cd0 authored about 13 years ago by Kenny Hoxworth <[email protected]>
Bumping to version 0.9.12 to include kindkid's speed improvement.

0097faf737923223bc357057caa9495a8430cfc4 authored about 13 years ago by Kenny Hoxworth <[email protected]>
Merge pull request #20 from kindkid/ISSUE-19-speed-improvement

Fixed Issue #19 - replace schema.inspect with Yajl::Encoder.encode or Marshal.dump as a fallback

268a9e1bc5c35cce8a80d4c03ebe0ce9374e2e74 authored about 13 years ago by Kenny Hoxworth <[email protected]>