forked from networknt/json-schema-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
Getting latest code from networknt master #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
prashanthjos
wants to merge
357
commits into
prashanthjos:master
Choose a base branch
from
networknt:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…db362f5de5f9052a13ff (#701) Co-authored-by: fdutton <fdutton@noreply>
Co-authored-by: fdutton <fdutton@noreply>
…gainst a more recent version of ISO 8601 (#703) Co-authored-by: fdutton <fdutton@noreply>
Co-authored-by: fdutton <fdutton@noreply>
* Adds support for validating leap seconds * Adds support for email addresses containing an IPv6 literal value --------- Co-authored-by: fdutton <fdutton@noreply>
Co-authored-by: fdutton <fdutton@noreply>
Co-authored-by: fdutton <fdutton@noreply>
…d `items`. (#710) * Adds support for the Draft 2020-12 interpretation of `prefixItems` and `items`. * Enables unit-tests that were mistakenly disabled * The contains tests now work --------- Co-authored-by: fdutton <fdutton@noreply>
* Corrects malformed tests Resolves #711 * Corrects malformed tests Resolves #711 --------- Co-authored-by: Faron Dutton <[email protected]>
Resolves #713 Co-authored-by: Faron Dutton <[email protected]>
#716) Resolves #715 Co-authored-by: Faron Dutton <[email protected]>
Corrects #678 #516 #197 Co-authored-by: Faron Dutton <[email protected]>
Co-authored-by: Michael Steinbacher <[email protected]>
Resolves #727 Signed-off-by: Andres Almiray <[email protected]>
Resolves #729 Co-authored-by: Faron Dutton <[email protected]>
* Removes need for network access when executing unit-tests Resolves #729 * Replaces the use of HashSet due to poor performance * Precomputes keyword versions * Reduces the number of redundant calls to CollectorContext.getInstance() * Delays detecting the schema version until actually needed. --------- Co-authored-by: Faron Dutton <[email protected]>
* Updates tests from JSON Schema Test Suite Resolves #732 * Corrects case-sensitivity issue --------- Co-authored-by: Faron Dutton <[email protected]>
* Updates tests from JSON Schema Test Suite Resolves #732 * Corrects case-sensitivity issue * Enables unit-tests for 'not' keyword Resolves #734 --------- Co-authored-by: Faron Dutton <[email protected]>
Resolves #737 Co-authored-by: Faron Dutton <[email protected]>
…cense Version 2.0 (#741) Modifications are based on the instructions found at https://infra.apache.org/licensing-howto.html and using Apache Spark as an example. Summary of changes: * Updated LICENSE, NOTICE and pom.xml * Removed code copied from Apache Commons Lang * Updated code copied from Apache Commons Validator, removed all modifications and moved into a separate, shaded package * Refactored format validators to used the updated, unmodified code from Apache Commons Validator Resolves #551 Co-authored-by: Faron Dutton <[email protected]>
Co-authored-by: simatosc <[email protected]>
* Enables unit-tests for the unevaluatedItems keyword. Resolves #748 * Delete UnEvaluatedPropertiesValidator.java Git failed to recognize that the file was renamed. --------- Co-authored-by: Faron Dutton <[email protected]>
Co-authored-by: simatosc <[email protected]>
Resolves #752 Co-authored-by: Faron Dutton <[email protected]>
…#1152) * Fix NPE when walking a missing node that will have missing properties * Change to make expectation clearer
* Spanish translations * Adding 'es' to list of supported locales, and adding tests
* Refactor to remove ErrorMessageType * Remove failFast from MessageSourceValidationMessage builder * Remove hard coded instance location for the error message * Rename ValidationMessage to Error * Rename JsonSchemaWalker to Walker * Rename JsonSchemaValidator to Validator * Rename JsonValidator to KeywordValidator and fix class hierarchy * Move keyword and keyword validators to keyword package * Rename SpecVersion.VersionFlag to Specification.Version and refactor * Rename SchemaId to DialectId * Rename JsonMetaSchema to Dialect * Refactor dialect and add dialects * Rename JsonMetaSchemaFactory to DialectRegistry * Rename JsonSchema to Schema * Rename JsonSchemaFactory to SchemaRegistry * Refactor SchemaRegistry * Rename SchemaValidatorsConfig to SchemaRegistryConfig and move from ValidationContext to SchemaRegistry and refactor Rename JsonSchemaWalkerListener to SchemaWalkerListener Rename DefaultItemWalkListenerRunner to ItemWalkListenerRunner Rename DefaultKeywordWalkListenerRunner to KeywordWalkListenerRunner Rename DefaultPropertyWalkListenerRunner to PropertyWalkListenerRunner Shift walk configuration to WalkConfig * Rename ValidationContext to SchemaContext * Remove JsonSchemaVersion * Rename JsonSchemaIdValidator to SchemaIdValidator * Rename JsonSchemaRef to SchemaRef * Rename JsonSchemaException to SchemaException * Rename JsonNodePath to NodePath * Rename preloadJsonSchema in KeywordValidator to preloadSchema * Rename JsonNodeAnnotation to Annotation * Rename BaseFormatJsonValidator to BaseFormatValidator * Rename JsonNodeResult to SchemaResult * Rename ValidationResult to Result * Refactor naming * Rename Specification.Version to SpecificationVersion and refactor * Rename ValidatorTypeCode to Keywords * Rename VersionCode to SpecificationVersionRange * Rename ValidatorTypeCode to KeywordType * Move ThresholdMixin to keyword package * Move Vocabulary to vocabulary package * Move ApplyDefaultsStrategy to walk package * Move Format and Formats to format package * Remove AbstractFormat and BaseFormat * Refactor format * Move CachedSupplier to utils package * Rename CachedSupplier to ThreadSafeCachingSupplier and refactor * Move NodePath and PathType to path package * Refactor and fix discriminator * Refactor discriminator * Refactor discriminator * Refactor discriminator * Refactor discriminator * Refactor SchemaLoader * Refactor path type * Rename SchemaResult to InstanceResult * Move SpecificationVersionDetector to test * Move JsonType and TypeFactory to utils package * Rename JsonNodeReader to NodeReader * Refactor SchemaRegistry and ResourceLoaders * Fix UrnTest * Refactor Dialect Registry and Schema Registry * Rename ItemsValidator to ItemsLegacyValidator and ItemsValidator202012 to ItemsValidator * Refactor StringUtils and StringChecker into Strings * Refactor Schema to allow loading input from iri * Refactor Vocabulary rename iri to id * Allow adding keyword to dialect to override vocabulary keywords * Rename JsonNodeUtil to JsonNodeTypes * Remove SetView * Suppress warnings for ThresholdMixinPerfTest * Add propertyDependencies keyword * Rename PROPERTYNAMES KeywordType to PROPERTY_NAMES * Refactor SpecificationVersionRange and rename constants * Fix propertyNames and not messages * Rename VocabularyFactory to VocabularyRegistry * Rename enableSchemaCache to schemaCacheEnabled in SchemaRegistry * Fix discriminator * Fix enum * Rename JsonLocationAware to TokenStreamLocationAware to align with v3 * migration docs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.