Ecosyste.ms: OpenCollective

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

github.com/ory/gojsonschema

An implementation of JSON Schema, draft v4 v6 & v7 - Go language
https://github.com/ory/gojsonschema

clean

a98c95424c2def764abfcefce4a3110fe6e2d9e9 authored about 10 years ago by sigu-399 <[email protected]>
improved

d0587a3f2880a35c9d1fd06989c9898f82680642 authored about 10 years ago by sigu-399 <[email protected]>
fix

1ec7169ca9c4694fa6d0711f313401c8f5aa4039 authored about 10 years ago by sigu-399 <[email protected]>
installation

6fbe7e992cf72a8543f82c90401b83fd1113a0ab authored about 10 years ago by sigu-399 <[email protected]>
updated readme

477c2c3397fd7c1e5205b76791769f34a62a77a4 authored about 10 years ago by sigu-399 <[email protected]>
upd readme, renamed old files, result.go is new

dbecb785ae07874e10d513ce6ba30a81c1ae5a1d authored about 10 years ago by sigu-399 <[email protected]>
restructured, moved missing locales, shortened names, allows loading

JSON string

6032a37e6987b4e1ce71634634d17c3382fa10aa authored about 10 years ago by sigu-399 <[email protected]>
upd to new interfaces

3d9aab7affe558332351e16935cf0db982fb9e99 authored about 10 years ago by sigu-399 <[email protected]>
added missing year and author

aa16adfba57d8b658abccf1b9d3cb0edc44d53dd authored about 10 years ago by sigu-399 <[email protected]>
renamed constructor

946f978b08437039909d7f60b03fa02945edd377 authored about 10 years ago by sigu-399 <[email protected]>
split from types.go, added missing locales

78136042df80563cb9e3962f942a9a51f705981f authored about 10 years ago by sigu-399 <[email protected]>
renamed + shortened names

5b86c86b85d0e9981a588d74ae3074a5d0dd45d7 authored about 10 years ago by sigu-399 <[email protected]>
missing dependency, go 1.3

6a741cbe144c26ad3b936916934f763d1e66b7c6 authored about 10 years ago by sigu-399 <[email protected]>
Very simple log wrapper. Used for debugging/testing purposes.

43449d32bb92b3f181fb964074ff6f34e6d94c47 authored about 10 years ago by sigu-399 <[email protected]>
Merge pull request #38 from xogeny/master

Inconsistent handling of integers vs. numbers

4949f2aa206eaf84313923d5def08a070711f5cf authored about 10 years ago by xeipuuv <[email protected]>
Last cases converted to utility routines mustBeInteger and mustBeNumber

Overall, I think the code is much cleaner as a result of these changes. There is a lot less
boi...

49245659c750e900147161cffd6d142c05e807e0 authored about 10 years ago by Michael Tiller <[email protected]>
More conversions and fixed a few variable name typos

ec02d4e4c50e9aab83b4da77ff59967a3bd829d4 authored about 10 years ago by Michael Tiller <[email protected]>
Some cases using mustBeInteger utility function

42171cc289da89f1e4ead92c4de64cb918b5b1ff authored about 10 years ago by Michael Tiller <[email protected]>
Updated a few cases to use new utility functions

f2928cba5b7670f011343dfa02cf14f7b8946889 authored about 10 years ago by Michael Tiller <[email protected]>
Added utility routines for common patterns

0b53d78cbf7e7418a88bfbc21f1f335c29c8956a authored about 10 years ago by Michael Tiller <[email protected]>
This handles the case where the supplied value for minItems is an integer

This is necessary because you can get into an odd situation where you supply a schema
as a map[s...

9378690b074573b248cb70162ea06099d51ea2c9 authored about 10 years ago by Michael Tiller <[email protected]>
Added JSON Schema Test Suite license https://github.com/xeipuuv/gojsonschema/issues/37

b77385941381681f1bba177899ed1d1bedd32ea2 authored over 10 years ago by sigu-399 <[email protected]>
Merge pull request #36 from attilaolah/grammar

README grammar

6662d04a1007eae64f815abf5a58ea774dcd6e3d authored over 10 years ago by xeipuuv <[email protected]>
README grammar

ccd764a80a8b25b1315abcb2adb2444ea89376e7 authored over 10 years ago by Attila Oláh <[email protected]>
imports updates from sigu-339 to xeipuuv github account

b960f2b2fa14a887922684bf7fbe3f6f8f19a40a authored over 10 years ago by xeipuuv <[email protected]>
imports updates from sigu-339 to xeipuuv github account

311cf9287df2c71eaa78e88f9ac1dce7690bf548 authored over 10 years ago by sigu-399 <[email protected]>
Merge pull request #32 from joshuaboelter/master

Constrain integers to [-2^53 -1, 2^53-1]

10a420704c3da6837ff7a79a6f78157346c2fc7a authored over 10 years ago by xeipuuv <[email protected]>
Merge pull request #33 from jabley/feature/spec-compliance

Update status in the README

474d84ca652dcef958cdea6a11e9719193a9fc30 authored over 10 years ago by xeipuuv <[email protected]>
Merge pull request #34 from jabley/feature/travis-ci

Add travis-ci integration

e06845f5886315648949ce8cfc719adddaf2b7c3 authored over 10 years ago by xeipuuv <[email protected]>
Add travis-ci build status badge

055f448953a649c3c4ca91163cbce96d5201cd9b authored over 10 years ago by James Abley <[email protected]>
Build in travis

bc04f57b2371fbd59eaedcf75ea97fe3608bd1a8 authored over 10 years ago by James Abley <[email protected]>
Update status

Seems to be a complete implementation now.

```
go get github.com/sigu-399/gojsonreference
go ge...

a8c3a2adcc12e37da8786eac5954377b652e09a0 authored over 10 years ago by James Abley <[email protected]>
fix w/ note on ECMA script range

4d2b50feb4f81dcabbc0afc53269018ba32773a6 authored over 10 years ago by Joshua Boelter <[email protected]>
limit integers to -2^53 to 2^53-1

1ef89d6c577cbb60d8dfe64669b3c9d1ef4a03e7 authored over 10 years ago by Joshua Boelter <[email protected]>
use IEEE 754 to determine if float is int

0dfe50250e3a1d4d9788979835b8454fe9aaeea9 authored over 10 years ago by Joshua Boelter <[email protected]>
Merge pull request #31 from janmentzel/bigint_fix

fix large integers not valid

2bf67a937305bdd0c4612aad7a3bf7f3d644078d authored over 10 years ago by xeipuuv <[email protected]>
fix large integers not valid

2a66f09d27c05393bef29a47bed243f351b0407b authored over 10 years ago by Jan Mentzel <[email protected]>
Merge pull request #14 from brandur/brandur-fix-definitions

Parse individual definition values as subschemas

6080170586490f144a78fdd3a6c5ee891730c9c2 authored over 10 years ago by xeipuuv <[email protected]>
Merge pull request #25 from proppy/master

validation: convert node to map[string]interface{}

16a65ccd96df2ca6e161d475aa4d1142a57ad29a authored over 10 years ago by xeipuuv <[email protected]>
Merge pull request #27 from attilaolah/goimports

Apply goimports

d6bc95a1ea42b67b4f092e4caceeede7d6361e21 authored over 10 years ago by xeipuuv <[email protected]>
apply goimports to the package

73b2f398811806c62613161dd9420a9c7712aa9f authored over 10 years ago by Attila Oláh <[email protected]>
validation: convert node to map[string]interface{} if type assertion fail

382d4003670c492feae89fbe65468e50471760ec authored over 10 years ago by Johan Euphrosine <[email protected]>
Merge pull request #22 from binary132/xei-fix

schemaDocument now supports maximum and minimum values of int type

f91f7ce16b9ecfb8b6bcee704e195bd53e5dbea5 authored over 10 years ago by xeipuuv <[email protected]>
Merge pull request #23 from robyoung/patch-1

Add syntax highlighting to README code blocks

ffdac0eacceb85496638f730516e2492b3e4a8ef authored over 10 years ago by xeipuuv <[email protected]>
Add syntax highlighting to README code blocks

e3393be71df4c847f914aab49991f649586bae7c authored over 10 years ago by Rob Young <[email protected]>
schemaDocument now supports maximum and minimum values of int type

ca50e7c6ac662c8433236903e26e761a341ac8d3 authored over 10 years ago by Bodie Solomon <[email protected]>
Merge pull request #19 from yehezkielbs/string-length

string maxLength & minLength should calculate for the characters length ...

2e4956181453fc73a090ae5a15aedfe1436ab708 authored over 10 years ago by xeipuuv <[email protected]>
string maxLength & minLength should calculate for the characters length (not the byte size)

12a0215251261beb7208ec65fffadddc8c4c47cf authored over 10 years ago by Yehezkiel Syamsuhadi <[email protected]>
added apache 2 license file

e7672ddb6dc646e967f023470d001c3d69bffc59 authored over 10 years ago by sigu-399 <[email protected]>
Parse individual definition values as subschemas

25b46b2df32116a2ca7875f719f4ca45f9b4c1e2 authored over 10 years ago by Brandur <[email protected]>
fix

8b52be5671082fa71acba81b0e0fd53d0f1821e7 authored almost 11 years ago by sigu-399 <[email protected]>
better error message or pattern property error

a40c6f5760e0fd865c3b5819838919a740d6e51f authored almost 11 years ago by sigu-399 <[email protected]>
updated readme

6f0e94f51da61feda959bfdec71833782177bef6 authored almost 11 years ago by sigu-399 <[email protected]>
cleanup and refactoring + improved error messages.

d10f0c89f307013b2efc5decced5442b8115fd57 authored almost 11 years ago by sigu-399 <[email protected]>
internal log

14ca73da375e062155944fc1a626cf97bd711a14 authored almost 11 years ago by sigu-399 <[email protected]>
internal log

52d827b90e8ad25f2961a4bc42f302aaa713c957 authored almost 11 years ago by sigu-399 <[email protected]>
removed panic

3b2ed0807db6d12ed201d85c281813107c6a81ea authored almost 11 years ago by sigu-399 <[email protected]>
internal error locale added

44d613625ecf4339b8c004d590f913cafbdc34e4 authored almost 11 years ago by sigu-399 <[email protected]>
moved loading json helper functions to proper file

6fe5783d41affdeeeba219de92b0b28d4c3bf32c authored almost 11 years ago by sigu-399 <[email protected]>
added locales for validation error messages

a6dfed53787e4d9394db544d0cd368e14e86506b authored almost 11 years ago by sigu-399 <[email protected]>
renamed validationutil to utils, added internal logger

33194bf54c5902b10de1b09b6c7846aa64d88662 authored almost 11 years ago by sigu-399 <[email protected]>
json context now displays (root) instead of ROOT

63d57e04f8c28b4cead067cd4fbf065e2dd4dbb0 authored almost 11 years ago by sigu-399 <[email protected]>
updated readme

7007e69a1bcab97d9c99ad5834cd0b91d368120c authored almost 11 years ago by sigu-399 <[email protected]>
fixes for issues https://github.com/sigu-399/gojsonschema/issues/11 and

https://github.com/sigu-399/gojsonschema/issues/12

2a11b3a5317b76fd7ce12457d21c544e1317d0cb authored almost 11 years ago by sigu-399 <[email protected]>
added test for patternProperties issues

f903c9b80dd51ce0f1837ada5f3d61aa81ccf9cd authored almost 11 years ago by sigu-399 <[email protected]>
on issue https://github.com/sigu-399/gojsonschema/issues/11 : fixed the

issue and added tests to cover this case

67641e475b90117221ba216143196c159ca821d4 authored almost 11 years ago by sigu-399 <[email protected]>
updated status, rewrote the usage example, fix formatting issue

a3d1ee22ca97238fba51d7815a4d5fff8d74af9a authored over 11 years ago by sigu-399 <[email protected]>
updated status, rewrote the usage example

9b4779fd06c85cc2b467d796364f1d89501b4f5c authored over 11 years ago by sigu-399 <[email protected]>
Merge pull request #4 from tolsen/patternProperties-are-not-additionalProperties

Do not count patternProperties as additionalProperties when additionalProperties is false

9912b9807b5fb1ad1a2b46817989dcb66dcdd017 authored over 11 years ago by sigu-399 <[email protected]>
add missing result.IncrementScore()

fix indentation

e3bfb20e2ee4c4984a70c7c197c6bf2403b0e9a0 authored over 11 years ago by Tim Olsen <[email protected]>
Merge remote-tracking branch 'sigu-399/master' into patternProperties-are-not-additionalProperties

Conflicts:
validation.go

655c2d65fd2cf33c299dae0b03b8ba3e4e21633b authored over 11 years ago by Tim Olsen <[email protected]>
Merge pull request #8 from tolsen/better-anyOf-oneOf-error-messages

Better anyOf and oneOf error messages

f1c362c2cfe81c12e9291ff737bc505127dbac04 authored over 11 years ago by sigu-399 <[email protected]>
increment ValidationResult score every time a property in an object

matches

46ae0693f1ff35eff7edc74eddc6e44f1ddd229f authored over 11 years ago by Tim Olsen <[email protected]>
Add better error messages during failure of an anyOf or oneOf by

copying the error messages from the best matching subschema.

b4d7124a2f88e6a357c48eb383a6adcc57d6d5d7 authored over 11 years ago by Tim Olsen <[email protected]>
rename CopyErrorMessages() and CopyErrorMessages() to Merge() and

MergeWithAnnotations(), respectively

a31c68a20b204e83987490b1757f5674d4d00a04 authored over 11 years ago by Tim Olsen <[email protected]>
Have CopyErrorMessages() and CopyErrorMessagesWithAnnotation() take

another *ValidatationResult instead of a slice of error messages.
This is in preparation for vali...

4f6a4c44bcead6960e1358feca0f85db6fff5b98 authored over 11 years ago by Tim Olsen <[email protected]>
Have both Validate() functions return a *ValidationResult instead of

ValidationResult in order to avoid copying

377fde53542b91c405b7340874a7f0b6c3349e2a authored over 11 years ago by Tim Olsen <[email protected]>
Simplify ValidationResult by removing the valid field. We can just

check the number of error messages instead.

7a7667893909ea3fdbad3a19a72a882504ccc274 authored over 11 years ago by Tim Olsen <[email protected]>
Merge remote-tracking branch 'sigu-399/master' into patternProperties-are-not-additionalProperties

Conflicts:
validation.go

b8c4da1f2f890e1b6da8d27373047b34eb647b62 authored over 11 years ago by Tim Olsen <[email protected]>
added missing jsonContext while merging "subschema dependencies" branch

edb822b0ef26fb71646442d572fa6c3309e73897 authored over 11 years ago by sigu-399 <[email protected]>
Merge branch 'master' of https://github.com/sigu-399/gojsonschema

Conflicts:
validation.go

59c4263d0e30b5521f05800fdd63bb10003f95fe authored over 11 years ago by sigu-399 <[email protected]>
Merge pull request #6 from tolsen/add-context-to-error-messages

Add context to error messages

c662ebf85c06ef3084862b3989fcc7a88b4fab93 authored over 11 years ago by sigu-399 <[email protected]>
Add support for subschema dependencies

ea6c572e78e488941fa382b000471adb18e0d11d authored over 11 years ago by Tim Olsen <[email protected]>
update description for jsonContext.go

9a08d88b37f6c0625c51c3fd3ff8065affe22d98 authored over 11 years ago by Tim Olsen <[email protected]>
Merge remote-tracking branch 'sigu-399/master' into add-context-to-error-messages

Conflicts:
validation.go

61c71b4cd4d9ff8dde6a54ba62673dce3b288347 authored over 11 years ago by Tim Olsen <[email protected]>
Merge remote-tracking branch 'sigu-399/master' into patternProperties-are-not-additionalProperties

9f9dce7f304cd3c0b93472e8028d71da0e1cafd7 authored over 11 years ago by Tim Olsen <[email protected]>
Merge pull request #5 from tolsen/have-nulls-and-arrays-validateSchema

More completely validate nulls and arrays.

1ed844256517a11a8bb9c7ed4d35ef1ff5480b5b authored over 11 years ago by sigu-399 <[email protected]>
More completely validate nulls and arrays.

For nulls, check validations common to any type via validateSchema()
and validateCommon(). Also...

765ccbf673d055385a10969501b1c45a046c07e5 authored over 11 years ago by Tim Olsen <[email protected]>
Incremental test total to 244.

91933919bc6044d29257b8707909fd919a9c0733 authored over 11 years ago by Tim Olsen <[email protected]>
Do not count patternProperties as additionalProperties when

additionalProperties is false. Added test that is pending in
JSON-Schema-Test-Suite.
( https://g...

3954ff7f0f6cadd2d2f2e4f812c371b1085421b5 authored over 11 years ago by Tim Olsen <[email protected]>
Add context to error messages

bbf173de1855f77ea6ec3d0b213134f7ad32f077 authored over 11 years ago by Tim Olsen <[email protected]>
Merge pull request #3 from tolsen/fix-readme-example

Update basic example in README to reflect that GetFileJson() takes a path to a file, not a URI

e6ae7c04cacdeaaa015c9da7134a60b5d0989fb9 authored over 11 years ago by sigu-399 <[email protected]>
Update basic example in README to reflect that GetFileJson() takes a

path to a file, not a URI

7b41fff7132fa531ab4a8f4ff5ecac4e343ff079 authored over 11 years ago by Tim Olsen <[email protected]>
even better error message

2fa7181c930363e6fdb87f3aafc263444daa7a61 authored over 11 years ago by sigu-399 <[email protected]>
improved validation error messages on numbers ( added property name )

182776ba86dd677d7d11e88592c642e0a8903ff2 authored over 11 years ago by sigu-399 <[email protected]>
display which additional property is not allowed in validation error

message

1467c33ceacbcf39b0e2e8c816df1a059a27604c authored over 11 years ago by sigu-399 <[email protected]>
added SetRootSchemaName on schema, allowing the user to specific a

display name when a validation error is located on root object.
By default the validator refers t...

2ea474e6c0a5fe2ce2bd00d7a2d92c93eecd7990 authored over 11 years ago by sigu-399 <[email protected]>
added error message copy with annotation to handle better formatting in

some nested cases

235975c2402258ea9eb62e0a247742f2c681e0be authored over 11 years ago by sigu-399 <[email protected]>
better validation error message formatting : when number is integer do

not display it float style

f1ce464f50692345e1b2eca3afb9a7ac3cbab003 authored over 11 years ago by sigu-399 <[email protected]>
better enum validation error message

126da54e642ea4fba24da4e6bf33ea055244527d authored over 11 years ago by sigu-399 <[email protected]>