├── .gitignore ├── .travis.yml ├── LICENSE-APACHE-2.0.txt ├── README.md ├── draft.go ├── errors.go ├── format_checkers.go ├── format_checkers_test.go ├── glide.yaml ├── go.mod ├── go.sum ├── internalLog.go ├── jsonContext.go ├── jsonLoader.go ├── jsonschema_test.go ├── locales.go ├── result.go ├── schema.go ├── schemaLoader.go ├── schemaLoader_test.go ├── schemaPool.go ├── schemaReferencePool.go ├── schemaType.go ├── schema_test.go ├── subSchema.go ├── testdata ├── draft4 │ ├── additionalItems.json │ ├── additionalProperties.json │ ├── allOf.json │ ├── anyOf.json │ ├── default.json │ ├── definitions.json │ ├── dependencies.json │ ├── enum.json │ ├── format.json │ ├── items.json │ ├── maxItems.json │ ├── maxLength.json │ ├── maxProperties.json │ ├── maximum.json │ ├── minItems.json │ ├── minLength.json │ ├── minProperties.json │ ├── minimum.json │ ├── multipleOf.json │ ├── not.json │ ├── oneOf.json │ ├── optional │ │ ├── bignum.json │ │ ├── ecmascript-regex.json │ │ ├── format.json │ │ └── zeroTerminatedFloats.json │ ├── pattern.json │ ├── patternProperties.json │ ├── properties.json │ ├── ref.json │ ├── refRemote.json │ ├── required.json │ ├── type.json │ └── uniqueItems.json ├── draft6 │ ├── additionalItems.json │ ├── additionalProperties.json │ ├── allOf.json │ ├── anyOf.json │ ├── boolean_schema.json │ ├── const.json │ ├── contains.json │ ├── default.json │ ├── definitions.json │ ├── dependencies.json │ ├── enum.json │ ├── exclusiveMaximum.json │ ├── exclusiveMinimum.json │ ├── format.json │ ├── items.json │ ├── maxItems.json │ ├── maxLength.json │ ├── maxProperties.json │ ├── maximum.json │ ├── minItems.json │ ├── minLength.json │ ├── minProperties.json │ ├── minimum.json │ ├── multipleOf.json │ ├── not.json │ ├── oneOf.json │ ├── optional │ │ ├── bignum.json │ │ ├── ecmascript-regex.json │ │ ├── format.json │ │ └── zeroTerminatedFloats.json │ ├── pattern.json │ ├── patternProperties.json │ ├── properties.json │ ├── propertyNames.json │ ├── ref.json │ ├── refRemote.json │ ├── required.json │ ├── type.json │ └── uniqueItems.json ├── draft7 │ ├── additionalItems.json │ ├── additionalProperties.json │ ├── allOf.json │ ├── anyOf.json │ ├── boolean_schema.json │ ├── const.json │ ├── contains.json │ ├── default.json │ ├── definitions.json │ ├── dependencies.json │ ├── enum.json │ ├── exclusiveMaximum.json │ ├── exclusiveMinimum.json │ ├── format.json │ ├── if-then-else.json │ ├── items.json │ ├── maxItems.json │ ├── maxLength.json │ ├── maxProperties.json │ ├── maximum.json │ ├── minItems.json │ ├── minLength.json │ ├── minProperties.json │ ├── minimum.json │ ├── multipleOf.json │ ├── not.json │ ├── oneOf.json │ ├── optional │ │ ├── bignum.json │ │ ├── content.json │ │ ├── ecmascript-regex.json │ │ ├── format │ │ │ ├── date-time.json │ │ │ ├── date.json │ │ │ ├── email.json │ │ │ ├── hostname.json │ │ │ ├── idn-email.json │ │ │ ├── idn-hostname.json │ │ │ ├── ipv4.json │ │ │ ├── ipv6.json │ │ │ ├── iri-reference.json │ │ │ ├── iri.json │ │ │ ├── json-pointer.json │ │ │ ├── regex.json │ │ │ ├── relative-json-pointer.json │ │ │ ├── time.json │ │ │ ├── uri-reference.json │ │ │ ├── uri-template.json │ │ │ └── uri.json │ │ └── zeroTerminatedFloats.json │ ├── pattern.json │ ├── patternProperties.json │ ├── properties.json │ ├── propertyNames.json │ ├── ref.json │ ├── refRemote.json │ ├── required.json │ ├── type.json │ └── uniqueItems.json ├── extra │ ├── file with space.json │ └── fragment_schema.json └── remotes │ ├── folder │ └── folderInteger.json │ ├── integer.json │ ├── name.json │ └── subSchemas.json ├── types.go ├── utils.go ├── utils_test.go └── validation.go /.gitignore: -------------------------------------------------------------------------------- 1 | *.sw[nop] 2 | *.iml 3 | .vscode/ 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE-APACHE-2.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/LICENSE-APACHE-2.0.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/README.md -------------------------------------------------------------------------------- /draft.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/draft.go -------------------------------------------------------------------------------- /errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/errors.go -------------------------------------------------------------------------------- /format_checkers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/format_checkers.go -------------------------------------------------------------------------------- /format_checkers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/format_checkers_test.go -------------------------------------------------------------------------------- /glide.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/glide.yaml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/go.sum -------------------------------------------------------------------------------- /internalLog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/internalLog.go -------------------------------------------------------------------------------- /jsonContext.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/jsonContext.go -------------------------------------------------------------------------------- /jsonLoader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/jsonLoader.go -------------------------------------------------------------------------------- /jsonschema_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/jsonschema_test.go -------------------------------------------------------------------------------- /locales.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/locales.go -------------------------------------------------------------------------------- /result.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/result.go -------------------------------------------------------------------------------- /schema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/schema.go -------------------------------------------------------------------------------- /schemaLoader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/schemaLoader.go -------------------------------------------------------------------------------- /schemaLoader_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/schemaLoader_test.go -------------------------------------------------------------------------------- /schemaPool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/schemaPool.go -------------------------------------------------------------------------------- /schemaReferencePool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/schemaReferencePool.go -------------------------------------------------------------------------------- /schemaType.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/schemaType.go -------------------------------------------------------------------------------- /schema_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/schema_test.go -------------------------------------------------------------------------------- /subSchema.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/subSchema.go -------------------------------------------------------------------------------- /testdata/draft4/additionalItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/additionalItems.json -------------------------------------------------------------------------------- /testdata/draft4/additionalProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/additionalProperties.json -------------------------------------------------------------------------------- /testdata/draft4/allOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/allOf.json -------------------------------------------------------------------------------- /testdata/draft4/anyOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/anyOf.json -------------------------------------------------------------------------------- /testdata/draft4/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/default.json -------------------------------------------------------------------------------- /testdata/draft4/definitions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/definitions.json -------------------------------------------------------------------------------- /testdata/draft4/dependencies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/dependencies.json -------------------------------------------------------------------------------- /testdata/draft4/enum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/enum.json -------------------------------------------------------------------------------- /testdata/draft4/format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/format.json -------------------------------------------------------------------------------- /testdata/draft4/items.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/items.json -------------------------------------------------------------------------------- /testdata/draft4/maxItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/maxItems.json -------------------------------------------------------------------------------- /testdata/draft4/maxLength.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/maxLength.json -------------------------------------------------------------------------------- /testdata/draft4/maxProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/maxProperties.json -------------------------------------------------------------------------------- /testdata/draft4/maximum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/maximum.json -------------------------------------------------------------------------------- /testdata/draft4/minItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/minItems.json -------------------------------------------------------------------------------- /testdata/draft4/minLength.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/minLength.json -------------------------------------------------------------------------------- /testdata/draft4/minProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/minProperties.json -------------------------------------------------------------------------------- /testdata/draft4/minimum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/minimum.json -------------------------------------------------------------------------------- /testdata/draft4/multipleOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/multipleOf.json -------------------------------------------------------------------------------- /testdata/draft4/not.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/not.json -------------------------------------------------------------------------------- /testdata/draft4/oneOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/oneOf.json -------------------------------------------------------------------------------- /testdata/draft4/optional/bignum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/optional/bignum.json -------------------------------------------------------------------------------- /testdata/draft4/optional/ecmascript-regex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/optional/ecmascript-regex.json -------------------------------------------------------------------------------- /testdata/draft4/optional/format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/optional/format.json -------------------------------------------------------------------------------- /testdata/draft4/optional/zeroTerminatedFloats.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/optional/zeroTerminatedFloats.json -------------------------------------------------------------------------------- /testdata/draft4/pattern.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/pattern.json -------------------------------------------------------------------------------- /testdata/draft4/patternProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/patternProperties.json -------------------------------------------------------------------------------- /testdata/draft4/properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/properties.json -------------------------------------------------------------------------------- /testdata/draft4/ref.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/ref.json -------------------------------------------------------------------------------- /testdata/draft4/refRemote.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/refRemote.json -------------------------------------------------------------------------------- /testdata/draft4/required.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/required.json -------------------------------------------------------------------------------- /testdata/draft4/type.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/type.json -------------------------------------------------------------------------------- /testdata/draft4/uniqueItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft4/uniqueItems.json -------------------------------------------------------------------------------- /testdata/draft6/additionalItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/additionalItems.json -------------------------------------------------------------------------------- /testdata/draft6/additionalProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/additionalProperties.json -------------------------------------------------------------------------------- /testdata/draft6/allOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/allOf.json -------------------------------------------------------------------------------- /testdata/draft6/anyOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/anyOf.json -------------------------------------------------------------------------------- /testdata/draft6/boolean_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/boolean_schema.json -------------------------------------------------------------------------------- /testdata/draft6/const.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/const.json -------------------------------------------------------------------------------- /testdata/draft6/contains.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/contains.json -------------------------------------------------------------------------------- /testdata/draft6/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/default.json -------------------------------------------------------------------------------- /testdata/draft6/definitions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/definitions.json -------------------------------------------------------------------------------- /testdata/draft6/dependencies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/dependencies.json -------------------------------------------------------------------------------- /testdata/draft6/enum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/enum.json -------------------------------------------------------------------------------- /testdata/draft6/exclusiveMaximum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/exclusiveMaximum.json -------------------------------------------------------------------------------- /testdata/draft6/exclusiveMinimum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/exclusiveMinimum.json -------------------------------------------------------------------------------- /testdata/draft6/format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/format.json -------------------------------------------------------------------------------- /testdata/draft6/items.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/items.json -------------------------------------------------------------------------------- /testdata/draft6/maxItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/maxItems.json -------------------------------------------------------------------------------- /testdata/draft6/maxLength.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/maxLength.json -------------------------------------------------------------------------------- /testdata/draft6/maxProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/maxProperties.json -------------------------------------------------------------------------------- /testdata/draft6/maximum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/maximum.json -------------------------------------------------------------------------------- /testdata/draft6/minItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/minItems.json -------------------------------------------------------------------------------- /testdata/draft6/minLength.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/minLength.json -------------------------------------------------------------------------------- /testdata/draft6/minProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/minProperties.json -------------------------------------------------------------------------------- /testdata/draft6/minimum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/minimum.json -------------------------------------------------------------------------------- /testdata/draft6/multipleOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/multipleOf.json -------------------------------------------------------------------------------- /testdata/draft6/not.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/not.json -------------------------------------------------------------------------------- /testdata/draft6/oneOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/oneOf.json -------------------------------------------------------------------------------- /testdata/draft6/optional/bignum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/optional/bignum.json -------------------------------------------------------------------------------- /testdata/draft6/optional/ecmascript-regex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/optional/ecmascript-regex.json -------------------------------------------------------------------------------- /testdata/draft6/optional/format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/optional/format.json -------------------------------------------------------------------------------- /testdata/draft6/optional/zeroTerminatedFloats.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/optional/zeroTerminatedFloats.json -------------------------------------------------------------------------------- /testdata/draft6/pattern.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/pattern.json -------------------------------------------------------------------------------- /testdata/draft6/patternProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/patternProperties.json -------------------------------------------------------------------------------- /testdata/draft6/properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/properties.json -------------------------------------------------------------------------------- /testdata/draft6/propertyNames.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/propertyNames.json -------------------------------------------------------------------------------- /testdata/draft6/ref.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/ref.json -------------------------------------------------------------------------------- /testdata/draft6/refRemote.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/refRemote.json -------------------------------------------------------------------------------- /testdata/draft6/required.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/required.json -------------------------------------------------------------------------------- /testdata/draft6/type.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/type.json -------------------------------------------------------------------------------- /testdata/draft6/uniqueItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft6/uniqueItems.json -------------------------------------------------------------------------------- /testdata/draft7/additionalItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/additionalItems.json -------------------------------------------------------------------------------- /testdata/draft7/additionalProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/additionalProperties.json -------------------------------------------------------------------------------- /testdata/draft7/allOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/allOf.json -------------------------------------------------------------------------------- /testdata/draft7/anyOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/anyOf.json -------------------------------------------------------------------------------- /testdata/draft7/boolean_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/boolean_schema.json -------------------------------------------------------------------------------- /testdata/draft7/const.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/const.json -------------------------------------------------------------------------------- /testdata/draft7/contains.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/contains.json -------------------------------------------------------------------------------- /testdata/draft7/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/default.json -------------------------------------------------------------------------------- /testdata/draft7/definitions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/definitions.json -------------------------------------------------------------------------------- /testdata/draft7/dependencies.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/dependencies.json -------------------------------------------------------------------------------- /testdata/draft7/enum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/enum.json -------------------------------------------------------------------------------- /testdata/draft7/exclusiveMaximum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/exclusiveMaximum.json -------------------------------------------------------------------------------- /testdata/draft7/exclusiveMinimum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/exclusiveMinimum.json -------------------------------------------------------------------------------- /testdata/draft7/format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/format.json -------------------------------------------------------------------------------- /testdata/draft7/if-then-else.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/if-then-else.json -------------------------------------------------------------------------------- /testdata/draft7/items.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/items.json -------------------------------------------------------------------------------- /testdata/draft7/maxItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/maxItems.json -------------------------------------------------------------------------------- /testdata/draft7/maxLength.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/maxLength.json -------------------------------------------------------------------------------- /testdata/draft7/maxProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/maxProperties.json -------------------------------------------------------------------------------- /testdata/draft7/maximum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/maximum.json -------------------------------------------------------------------------------- /testdata/draft7/minItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/minItems.json -------------------------------------------------------------------------------- /testdata/draft7/minLength.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/minLength.json -------------------------------------------------------------------------------- /testdata/draft7/minProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/minProperties.json -------------------------------------------------------------------------------- /testdata/draft7/minimum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/minimum.json -------------------------------------------------------------------------------- /testdata/draft7/multipleOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/multipleOf.json -------------------------------------------------------------------------------- /testdata/draft7/not.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/not.json -------------------------------------------------------------------------------- /testdata/draft7/oneOf.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/oneOf.json -------------------------------------------------------------------------------- /testdata/draft7/optional/bignum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/bignum.json -------------------------------------------------------------------------------- /testdata/draft7/optional/content.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/content.json -------------------------------------------------------------------------------- /testdata/draft7/optional/ecmascript-regex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/ecmascript-regex.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/date-time.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/date-time.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/date.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/date.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/email.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/email.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/hostname.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/hostname.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/idn-email.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/idn-email.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/idn-hostname.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/idn-hostname.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/ipv4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/ipv4.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/ipv6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/ipv6.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/iri-reference.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/iri-reference.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/iri.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/iri.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/json-pointer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/json-pointer.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/regex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/regex.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/relative-json-pointer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/relative-json-pointer.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/time.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/time.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/uri-reference.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/uri-reference.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/uri-template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/uri-template.json -------------------------------------------------------------------------------- /testdata/draft7/optional/format/uri.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/format/uri.json -------------------------------------------------------------------------------- /testdata/draft7/optional/zeroTerminatedFloats.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/optional/zeroTerminatedFloats.json -------------------------------------------------------------------------------- /testdata/draft7/pattern.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/pattern.json -------------------------------------------------------------------------------- /testdata/draft7/patternProperties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/patternProperties.json -------------------------------------------------------------------------------- /testdata/draft7/properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/properties.json -------------------------------------------------------------------------------- /testdata/draft7/propertyNames.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/propertyNames.json -------------------------------------------------------------------------------- /testdata/draft7/ref.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/ref.json -------------------------------------------------------------------------------- /testdata/draft7/refRemote.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/refRemote.json -------------------------------------------------------------------------------- /testdata/draft7/required.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/required.json -------------------------------------------------------------------------------- /testdata/draft7/type.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/type.json -------------------------------------------------------------------------------- /testdata/draft7/uniqueItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/draft7/uniqueItems.json -------------------------------------------------------------------------------- /testdata/extra/file with space.json: -------------------------------------------------------------------------------- 1 | {"foo": true} 2 | -------------------------------------------------------------------------------- /testdata/extra/fragment_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/extra/fragment_schema.json -------------------------------------------------------------------------------- /testdata/remotes/folder/folderInteger.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "integer" 3 | } -------------------------------------------------------------------------------- /testdata/remotes/integer.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "integer" 3 | } -------------------------------------------------------------------------------- /testdata/remotes/name.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/remotes/name.json -------------------------------------------------------------------------------- /testdata/remotes/subSchemas.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/testdata/remotes/subSchemas.json -------------------------------------------------------------------------------- /types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/types.go -------------------------------------------------------------------------------- /utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/utils.go -------------------------------------------------------------------------------- /utils_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/utils_test.go -------------------------------------------------------------------------------- /validation.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xeipuuv/gojsonschema/HEAD/validation.go --------------------------------------------------------------------------------