The format is based on Keep a Changelog.
pom.xml
: updated dependency version
FormatValidator
: switched tojson-validation
2.0, addedformat
typeuri-template
JSONSchema
: switched to shared error display function inkjson-core
pom.xml
: updated dependency versions- tests: make allowance for Windows File URLs
pom.xml
: updated dependency versions
- almost all classes: Switched from
jsonutil
library tokjson-core
, and fromyaml-simple
tokjson-yaml
pom.xml
: updated dependency versions
build.yml
,deploy.yml
: converted project to GitHub Actions
Parser
: added filter mechanism, withAuthorizationFilter
andRedirectionFilter
pom.xml
: updated Kotlin version to 1.9.24
.travis.yml
FormatValidator
: improved error reporting for custom format validationsParser
: split errors from examples and format validations into separate lists
pom.xml
: updated dependency version
Parser
: added option to validate examples and default
JSONReader
: improved handling of jar and other opaque URIs (thanks @dhealio)
pom.xml
: updated dependency versions
Parser
: fixed bug in$ref
Parser
: fixed bug in use of URN as$id
Parser
: added file URL to error messagespom.xml
: updated to Kotlin 1.8.22
pom.xml
: updated dependency versions
pom.xml
: updated dependency versions
JSONSchema
: minor change toNot
schema (to help with codegen)
pom.xml
: bumped dependency versions
pom.xml
: bumped dependency versions
pom.xml
: bumped dependency versions
JSONReader
: added cache check topreLoad()
forPath
Parser
: improved error reporting on invalidpattern
pom.xml
: bumped dependency version
Parser
,JSONReader
: added extended resolver mechanism (helps with http/s)
InoutDetails
: new
AdditionalItemsSchema
: fixed recursion bug inhashCode()
andequals()
AdditionalPropertiesSchema
: fixed recursion bug inhashCode()
andequals()
Parser
: madejsonReader
publicly-accessible
pom.xml
: updated to Kotlin 1.5.20
pom.xml
: bumped dependency version
pom.xml
: bumped dependency version
pom.xml
: bumped dependency version
pom.xml
: bumped dependency version
pom.xml
: bumped dependency version
pom.xml
: bumped dependency versions
JSONSchema
,JSONReader
,Parser
: Updated string reading functions to take URI; added tests
JSONSchema
,JSONReader
,Parser
: Added functions to read schema from string
pom.xml
: updated dependency versionsFormatValidator
: Added regex format validation
pom.xml
: updated dependency version- tests: switched test suite tests to use draft-07 files
Parser
: add identifier for draft 2020-12NumberValidator
,Parser
: fixed bugs in floating pointTypeValidator
: fixed interpretation of integerAdditionalPropertiesSchema
,PatternPropertiesSchema
: fixed bug in Regex handlingParser
: addedcontains
,minContains
andmaxContains
Parser
: addedminProperties
andmaxProperties
AdditionalItemsSchema
: fixed bugNumberValidator
: fixed bug inmultipleOf
Parser
: addedpropertyNames
pom.xml
: updated dependency (with consequent changes)
ContainsValidator
: newPropertiesValidator
: newPropertyNamesSchema
: new
PatternValidator
: bug fix - wrong function usedParser
,JSONReader
: minor optimisation - use of $id
Parser
: adding handling ofuniqueItems
UniqueItemsValidator
: newpom.xml
: updated dependency version
FormatValidator
: addedint32
andint64
FormatValidator
: allow multiple delegating validatorsFormatValidator
: bug fixpom.xml
: updated dependency versions
FormatValidator
: changed handling of format duration, added json-pointer and relative-json-pointer
Parser
: changed handling of nonstandard formats to better reflect spec.Parser
: added handling of $ref in description (controlled by option)
JSONReader
: minor improvements to usage ofPath
Parser
: added handling of nonstandard formats
JSONReader
: allow ".yml" as alternative to ".yaml" file extensionJSONReader
: added ability to specify files usingPath
README.md
: added badges, expanded documentationpom.xml
: updated dependency versions
Parser
: minor change to handling of extension mapping
ExtensionSchema
: allows "x-something" extension data to be stored in schema
pom.xml
: bumped dependency versionREADME.md
: minor additions
Parser
: added ability to add custom validations
DelegatingValidator
: new
pom.xml
: updated version ofyaml-simple
Parser
: makeparseSchema()
public
- tests against meta-schema
- allow the use of YAML to define schema
pom.xml
: switched tojson-pointer
pom.xml
: update to Kotlin 1.4.0
items
: extended form with array of schemaadditionalItems
,additionalProperties
,patternProperties
minItems
,maxItems
format
types:uri
,uri-reference
,ipv4
,ipv6
if
/then
/else
schema constructs
- simplified interface to
validate()
- code generation classes - moved to separate project
json-kotlin-schema-codegen
- Multiple changes, including separation of
validate
,validateBasic
,validateDetailed
and their respective output classes
- Fix bug in handling of identically-named nested classes in code generation
- Allow for identically-named nested classes in code generation
- Fix bug in handling of nested classes in code generation
- change handling of schema id uri
- Change handling of schema id URI
- Sanitise class names on code generation
- Fix non-alphanumeric directory names on code generation
- allow specification of custom parser during code generation
- added initial version of code generation
- added copyright notice, removed dependency on
json-kotlin
- all files: initial version (work in progress)