Skip to content

Conversation

@prashanthjos
Copy link
Owner

No description provided.

stevehu and others added 30 commits April 18, 2023 19:03
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]>
* Supports relative-json-pointer validation.

Resolves #761

* Supports uri-reference format.

Resolves #763

---------

Co-authored-by: Faron Dutton <[email protected]>
Co-authored-by: Steve Hu <[email protected]>
* Supports relative-json-pointer validation.

Resolves #761

* Supports uri-reference format.

Resolves #763

* Supports iri-refereence format validation.

REsolves # 765

* Supports iri-reference format validation.

Resolves #765

* Supports iri-reference format validation.

Resolves # 765

---------

Co-authored-by: Faron Dutton <[email protected]>
Resolves #767

Co-authored-by: Faron Dutton <[email protected]>
* Fix issue #769 - Add minContains / maxContains correct keywords

* Fix #769 - Remove useless import
justin-tay and others added 30 commits May 26, 2025 14:14
* 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.