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

Return ResultErrors instead of []ResultError (#5)

f254ca73d5e952272d4b825212309502934b085f authored over 5 years ago by hackerman <[email protected]>
Add ResultErrors helper (#4)

86c59f4fb642d743ac0cddb26de9e0e743a6bc38 authored over 5 years ago by hackerman <[email protected]>
Point to newest gojsonreference (#3)

a64d4f8926919e182a1a447058aa31ffb1566470 authored over 5 years ago by hackerman <[email protected]>
Resolve Windows issues by forking gojsonreference (#2)

b5d2d21d48b1074f434f56887d5b66dce1c54754 authored over 5 years ago by hackerman <[email protected]>
Resolve build error from rebasing

f184856edacf0c59f02a1d9bef3623d1488478f9 authored over 5 years ago by aeneasr <[email protected]>
Add hooks and other helpers (#1)

10dd98b8dd6fab3db42494f97ed2d74a06883f79 authored over 5 years ago by aeneasr <[email protected]>
Require the format keyword to be of type string, restructure some of

the format logic to be handled at validation time instead of schema
parsing time and use a RWMute...

16a6735db808c54c87bdb1de280ba640a044cf69 authored over 5 years ago by Johan Dorland <[email protected]>
- Always return (exclusive)minimum/maximum as big.Float in the err.ErrorDetails()

- Return a json.number err.Value() when an error occurs at a number
- Remove old leftover float a...

b0c64e0f370dd2d4b13857261408171db82c06dd authored over 5 years ago by Johan Dorland <[email protected]>
Fix extremely slow checking unique items in array

152a7d4d1f85229eedd9dbd09328da82cc5d1aa2 authored over 5 years ago by Alexander Valinurov <[email protected]>
Fix a race condition that can occur when a new format is registered

whilst validating.

354ad34c2300dd6e84920ac70b41487336219e43 authored over 5 years ago by Johan Dorland <[email protected]>
gofmt draft.go

Signed-off-by: Sebastiaan van Stijn <[email protected]>

78ffcbd1960971231d89cd5343ec7fbadef0e101 authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
unhandled error in parseSchema

Signed-off-by: Sebastiaan van Stijn <[email protected]>

f39db2b73c288a9f2eac833df305707ada0832e0 authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
golint: add GoDoc for exported types and functions

Signed-off-by: Sebastiaan van Stijn <[email protected]>

5fcca167b2f7f3e64532bd6f7a25737177b50779 authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
golint: omit redundant type errorTemplate from declaration

Signed-off-by: Sebastiaan van Stijn <[email protected]>

6b940e3ae769b991236921508565ab80d55b324f authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
Fix signature of NewRawLoader to return a JSONLoader

Signed-off-by: Sebastiaan van Stijn <[email protected]>

7bb655ae648b538920b0f59b33a91908bea6edb2 authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
golint: capitalize acronyms

jsonLoader.go:353:6: func decodeJsonUsingNumber should be decodeJSONUsingNumber
schemaPo...

332c4571f94e23a48e6b95ff30c931f58b928de9 authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
ineffassign: ineffectual assignment to err

Signed-off-by: Sebastiaan van Stijn <[email protected]>

1d69a69e1ddc4ee0bbea84c9e0f970ea51718c91 authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
golint: don't use underscores in Go names

Signed-off-by: Sebastiaan van Stijn <[email protected]>

26a3628dde102ac2074379d48a5b594b42310728 authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
golint: if block ends with a return statement

Signed-off-by: Sebastiaan van Stijn <[email protected]>

2fb01b2aa6d528670058e90c6d36717ffed812bc authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
CI: add Go 1.11, 1.12, and remove Go < 1.10

Signed-off-by: Sebastiaan van Stijn <[email protected]>

6c00ba4a53168cfe40032d89407a5835d7d9efab authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
More idiomatic checks, and some minor reformatting

Signed-off-by: Sebastiaan van Stijn <[email protected]>

4775c4233dd35d4ec667bcdede319ea0b72fc560 authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
Remove some redundant whitespace and comments

Signed-off-by: Sebastiaan van Stijn <[email protected]>

55a8ce4fbf9cd89840149e71402b839132fb506e authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
README: add go report card badge

Signed-off-by: Sebastiaan van Stijn <[email protected]>

b4db7a9a92f7a654d666225fad6105b15f19110e authored over 5 years ago by Sebastiaan van Stijn <[email protected]>
Replace big.Float by big.Rat

f971f3cd73b2899de6923801c147f075263e0c50 authored almost 6 years ago by Johan Dorland <[email protected]>
Disable certain features if a specific draft is used

The test suite now uses specific drafts rather than using hybrid mode

Add licences in case they...

42c3b50333c35930a99738a1e7edb5e04581e4cd authored almost 6 years ago by Johan Dorland <[email protected]>
Fully integrate draft version detection

daa7675e9f7a283b6f950bee9d8bc1b96b97c6af authored almost 6 years ago by Johan Dorland <[email protected]>
Handle (exclusive)minimum/maximum with different drafts

c813aa858460d279d67b0b2ff0026e93afdc2635 authored almost 6 years ago by Johan Dorland <[email protected]>
Add support for custom metaschemas using $schema

e8d857c9787eca1c11c2aef41a7a11e1c522c862 authored almost 6 years ago by Johan Dorland <[email protected]>
Add an extra test for schema detection and fix some bugs

7cd9691dccaf20e87a26e788189477548958e39c authored almost 6 years ago by Johan Dorland <[email protected]>
First work to implement draft differentiation

2f083069a85b7d4bb7d0f1808bcf5880a9d08ca0 authored almost 6 years ago by Johan Dorland <[email protected]>
Update documentation and add draft crossreference test

cdd33d071d357d0d2dcf1c9b0c0e5cc58ad2a1d7 authored almost 6 years ago by Johan Dorland <[email protected]>
Add indexes not unique array items to error details

ac52e6811b56ee2b7730a88915e956afe2cc0d69 authored about 6 years ago by Andrey Ustinov <[email protected]>
Removed if statement in result.go

f3a9dae5b19473510a3062802a98815f609ed747 authored about 6 years ago by Will-MingLun-Li <[email protected]>
Fix Travis build

f58b4a9e3d67bfbe3744e3cb0fc0bba167ad253f authored about 6 years ago by Johan Dorland <[email protected]>
Test on multiple go versions and skip tests on Go 1.5 and 1.6 to prevent format tests from failing.

5de287084e738fd5d5436628b8547dbeb7ce6e94 authored about 6 years ago by Johan Dorland <[email protected]>
Adds all previously unimplemented formats as defined by draft-07 except for "idn-hostname".

All URI related formats do not support backslashes anymore to be more in line with the JSON schem...

cfe941af5c12790cbe6d137765a2e81fdef26fbe authored about 6 years ago by Johan Dorland <[email protected]>
Fix tests on Windows

a33b57bc3a4cc74a30816f2698e2a194ade300f8 authored about 6 years ago by Johan Dorland <[email protected]>
Add an intermediate SchemaLoader object that allows for the manual adding of additional schemas.

If multiple schemas try to identify as the same $id an error is returned

cf97511828d2cd98d9c917c70b87535549ef58d2 authored over 6 years ago by Johan Dorland <[email protected]>
Update documentation and fix a type in a test

da425ebb7609ba06a0f395fc8a254d1c303364a0 authored over 6 years ago by Johan Dorland <[email protected]>
Use the entire URI, rather than just the path when reading files from the filesystem.

6cd6dcbc9e7514bea255a9241665a6c2d0b37fb4 authored over 6 years ago by Johan Dorland <[email protected]>
Fix patternProperties bug (#207)

Fix a bug where an invalid error would be raised if a nested object within a `patternProperties`...

b84684d0e066369f2a7a8a525f3080909ed4ea6b authored over 6 years ago by Matias.Barrios <[email protected]>
all: gofmt

Run standard gofmt command on project root.

- go version go1.10.3 darwin/amd64

Signed-off-by: ...

1d523034197ff1f222f6429836dd36a2457a1874 authored over 6 years ago by ia <[email protected]>
Add an extra parsing pass to properly resolve $id and $ref references. (#196)

* Add an extra parsing pass to properly resolve $id and $ref references.

* Make the $ref pass...

9ff6d6c47f3f5de55acc6f464d6e3719b02818ae authored over 6 years ago by Johan Dorland <[email protected]>
Merge branch 'frol-kr-Tests-values-max-int64-for-integer-type'

2c8e4be869c17540b336bab0ea18b8d73e6a28b7 authored over 6 years ago by Johan Dorland <[email protected]>
int fixed

04bdf37bca4b894209cc68370f1b58dbe3eb84b0 authored over 6 years ago by Frol Kruchkov <[email protected]>
int64 max/min values tests added

46f9af171187890a58abcbeab075b1dc8c3dc61c authored over 6 years ago by Frol Kruchkov <[email protected]>
int64 rounding fixed

0e1af8864ea12c83d6978226fe9a2f466733bf22 authored over 6 years ago by Frol Kruchkov <[email protected]>
Basic Draft06 + Draft07 Support (#180)

* Validate schema against $schema metaschema

* Add $id and split schema version detection fro...

ea20b1274b189eeb1bd77d1de59a51059dffb219 authored over 6 years ago by Johan Dorland <[email protected]>
Merge branch 'hoshsadiq-master'

8bcffc811467a5f691810420385be6e66b35a317 authored almost 7 years ago by Johan Dorland <[email protected]>
PR Changes

a85afca31571d380683f1c716213a2f8cd284c43 authored almost 7 years ago by Hosh Sadiq <[email protected]>
make jsonContext public + improve result.AddError

ad28024cfd437eb16ef798d3e0e1a88f90686934 authored almost 7 years ago by Hosh Sadiq <[email protected]>
Add public Result.AddError method

a5881c73ee598b18530f46edd96d3f3acebd59f4 authored almost 7 years ago by Hosh Sadiq <[email protected]>
Allow external use of AddError

418464d455aa18db6f2bad070eb57d3a60111881 authored almost 7 years ago by Hosh Sadiq <[email protected]>
Merge pull request #177 from hoshsadiq/master

Add support for if/then/else

70e59348c29403c606624cd201e79769d6657db8 authored almost 7 years ago by xeipuuv <[email protected]>
Merge pull request #172 from johandorland/float

Use math/big.Float instead of float64 to prevent rounding errors

67a4203fb1a49c7dba709301507c73fc52ada67a authored almost 7 years ago by xeipuuv <[email protected]>
Merge pull request #176 from jbirch/master

Move stretchr/testify to an explicit test dep with corrected version

c02fa6b60607b8556d83f53eef70bf4b93f7b3dd authored almost 7 years ago by xeipuuv <[email protected]>
Fix tests

6b57122adb0e00f7b71cfa2f49d7bd1daa233810 authored almost 7 years ago by Hosh Sadiq <[email protected]>
Merge errors for then/else + fix error description

4c9103923fd1cb6ef284b752f97568f7ad4f6b68 authored almost 7 years ago by Hosh Sadiq <[email protected]>
Add support for if/then/else

66643295ff7c042ea124f8280254e516bbba5da1 authored almost 7 years ago by Hosh Sadiq <[email protected]>
Don't attempt to set a version of testify to work around https://github.com/Masterminds/glide/issues/741

35fe65b478f49c53e66e5add15b86ec03a906c9d authored almost 7 years ago by Jason Birch <[email protected]>
Move stretchr/testify to an explicit test dependency with corrected version number

5d8ca14e02d9289757bdbff5bd6bbfc7b5fe098d authored almost 7 years ago by Jason Birch <[email protected]>
Bump up Go version to 1.5 and update dependencies

5a5ca1a4ae2ebe6946b823471ad60282a4efcb9e authored almost 7 years ago by Johan Dorland <[email protected]>
Use math/big.Float instead of float64 to prevent rounding errors

b48c621ad0451844294010607dbc130dcb7a6115 authored almost 7 years ago by Johan Dorland <[email protected]>
Merge pull request #161 from notjames/schema-excptn-bug

Some effort to make invalid schema exceptions more clearly separate from invalid configs

511d08a359d14c0dd9c4302af52ee9abb6f93c2a authored about 7 years ago by xeipuuv <[email protected]>
Merge pull request #171 from johandorland/idrefparsing

Implement id parsing in conjuction with $ref fixes

b7d5174b9789ee7def064cfa630e709dfd871079 authored about 7 years ago by xeipuuv <[email protected]>
Merge pull request #169 from ashb/allow-pointers-on-loader-source

Allow "#/path" pointers on Loader sources

8ceb7b8b281e21227cb103e5789898d4b9f8e200 authored about 7 years ago by xeipuuv <[email protected]>
Merge pull request #167 from maxibanki/patch-1

Added GoDoc badge

29038423fb9f7cf21d09f606020684e82b23ead5 authored about 7 years ago by xeipuuv <[email protected]>
Implement id parsing in conjuction with $ref fixes

83a7f6369d552cba07cdeea7dc622f1161a07deb authored about 7 years ago by Johan Dorland <[email protected]>
Allow "#/path" pointers on Loader sources

If the URL passed to NewReferenceLoader contains a #/path fragment it is
currently ignored and t...

6637feb73ee44cd4640bb3def285c29774234c7f authored about 7 years ago by Ash Berlin-Taylor <[email protected]>
Added GoDoc badge

74a5b035647a4599e055cde21636a43ef9361174 authored about 7 years ago by Max Schmitt <[email protected]>
Merge pull request #164 from stoplightio/master

ignore any format's that aren't defined

212d8a0df7acfab8bdd190a7a69f0ab7376edcc8 authored about 7 years ago by xeipuuv <[email protected]>
- ignore any format's that aren't defined: https://spacetelescope.github.io/understanding-json-schema/reference/string.html#format

270ff911f1f73b2c2797303187867616883b99bd authored about 7 years ago by Tom Pytleski <[email protected]>
Merge pull request #163 from chrisdostert/master

FormatChecker.IsFormat parameter as interface{}

3f523f4c14b6e925da10475eb0447c2f28614aac authored over 7 years ago by xeipuuv <[email protected]>
BUGFIX: template var used to dereference the proper exception value. Disambiguated STRING_SCHEMA const

9382a30fd5ff71865bdf92804a32e321f14a6df0 authored over 7 years ago by Jim Conner <[email protected]>
Added example of usage on Number format and fixed interface sample

Fixed the example where it used strings(now it is interface{}) and
added a sample of utility for...

c8bf4a98bb2754dac8360e721fe4bda3bb651ca2 authored over 7 years ago by Ricardo <[email protected]>
Removed check for String type when running FormatChecker

As the previous commit added support for format on Numbers, this
commit is needed in order to re...

8cfd055f201d836905d936b6e2be1c540c06de69 authored over 7 years ago by Ricardo <[email protected]>
Added tests coverage for number format check

Added two more cases on tests to assure we are making the right
evaluation for numberic format

3372ff1e99e13a4f2a85261d099389e94345fe14 authored over 7 years ago by Ricardo <[email protected]>
Added option to check format also on numbers

In some cases i would like to check if a entered number is valid using
my own code, for example,...

90a5d0892ddc0fe47d6d68e7b93f0d67e18e6cbe authored over 7 years ago by Ricardo <[email protected]>
Merge pull request #154 from rrenganathan/ValidateSchemaSyntax

Error messaging for Schema

0c8571ac0ce161a5feb57375a9cdf148c98c0f70 authored over 7 years ago by xeipuuv <[email protected]>
Merge pull request #152 from chrisdostert/uri-reference-format

feat) add json schema v6 uri-reference format #126

4484cf5e68d0fcfe5719839436a58180879b1acf authored over 7 years ago by xeipuuv <[email protected]>
Added check for Parse Error

Updated locales.go with ParseError

507c9be8713cf1f545074519c0911832a18215d6 authored over 7 years ago by Ranjani Renganathan <[email protected]>
updated

bb168f6ae27da950d4040d23ad1b3fe10fdc6f5f authored over 7 years ago by Ranjani Renganathan <[email protected]>
added "fmt" in imports

added "fmt" in imports

2324f49274f3fc1a8e69b009e49287c4dd4bff80 authored over 7 years ago by Ranjani Renganathan <[email protected]>
Error messaging for Schema

Print better error messages when there is Parser Error , NotAValidType()

138e0876e4fc925d2d3a6d8d1d0be1f845309c70 authored over 7 years ago by Ranjani Renganathan <[email protected]>
feat) add json schema v6 uri-reference format #126

8a8cc2c7e54a04b1c6701f5ea67b23686c66712f authored over 7 years ago by Chris Dostert <[email protected]>
Merge pull request #148 from freakingawesome/include-context-in-error-templates

Include Context.String() as parameter for error messages

a55c211c418162597a32c74c7230f81adb5ad616 authored over 7 years ago by xeipuuv <[email protected]>
Include Context.String() as parameter for error messages

8cbc83b61ac80e2148ac3449b3864df6edfa57d4 authored over 7 years ago by Chad Gilbert <[email protected]>
Merge pull request #147 from freakingawesome/error-template-funcs

Error template funcs

20fdae500baa62c0de724a741df80b695c8ac756 authored over 7 years ago by xeipuuv <[email protected]>
Add ErrorTemplateFuncs mention in README

c134c18b938a4ef7af07b6263e1123e500291212 authored over 7 years ago by Chad Gilbert <[email protected]>
Add ability to specify error template functions

1aab3b5d0ce07ebfd2949ce4354927cef91e90a1 authored over 7 years ago by Chad Gilbert <[email protected]>
Merge pull request #142 from drrossum/fix-ResultErrorValue

pass single value out of value map into newError

702b404897d4364af44dc8dcabc9815947942325 authored almost 8 years ago by xeipuuv <[email protected]>
pass single value out of value map into newError

a0e1d18956a6daf841b80a5cb105185ae9035081 authored almost 8 years ago by Daniel R. van Rossum <[email protected]>
Merge pull request #139 from sgumpalli/master

Fixed custom locale bug#119

ff0417f4272e480246b4507459b3f6ae721a87ac authored almost 8 years ago by xeipuuv <[email protected]>
Merge pull request #138 from yuokada/fix/misspell

fix typo

766f8425f57bfc5c0227f2e940563b37d8fe03af authored almost 8 years ago by xeipuuv <[email protected]>
Merge pull request #137 from yuokada/fix/gofmt

gofmt

4f3c6af1857319c101fcf41d86051070a73fbd5e authored almost 8 years ago by xeipuuv <[email protected]>
Fixed custom locale bug#119

e1b427ae7dd95c95cb1149830a128c50189cca87 authored almost 8 years ago by sgumpalli <[email protected]>
fix typo

5b71a6a9032f184b47f3320ffe9b7481f94e7796 authored almost 8 years ago by yuokada <[email protected]>
fix format

865d89a5dbe1a0197c422ac620d611bc499ea6e9 authored almost 8 years ago by yuokada <[email protected]>
Merge pull request #136 from git-lfs/io-loaders

IO loaders

6b67b3fab74d992bd07f72550006ab2c6907c416 authored almost 8 years ago by xeipuuv <[email protected]>
Add a JSON writer loader

21d0d72ffdd8bd4fa7d19b22e41b82fdf436ad3b authored almost 8 years ago by risk danger olson <[email protected]>