Skip to content

Conversation

prashanthjos
Copy link
Owner

No description provided.

fdutton and others added 30 commits April 8, 2023 13:06
…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]>
Co-authored-by: Michael Steinbacher <[email protected]>
Resolves #727

Signed-off-by: Andres Almiray <[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]>
…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]>
* 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]>
stevehu and others added 30 commits January 14, 2025 21:29
…#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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.