Resolve patternProperty refs during resource expansion when the referenced definition has no type.
Support relationshipRef
.
Require Go 1.21.
Support handlers.handlerSchema
.
Support arrayType
.
The Sanitize
function formats the JSON document using json.Indent
before sanitizing.
Property.Maximum
and Property.Minimum
changed to type (pointer to) json.Number
.
Add helper to propertyTransform
to get values based on path.
Santize
now only removes property pattern
regexes not supported by Go.
Expand properties in arrays of objects.
Expand properties wrapped inside oneOf
.
Allow arbitrary levels of nesting when expanding Definition and Property JSON Pointer references.
Support propertyTransform
and tagging
keywords.
Support relative file://
URLs in JSON Schema document when loading from a file path.
Make JSON Pointer prefix and separator constants public.
Add Sanitize
function.
Add default field to Property.
Correct PropertyJsonPointer.EqualsPath
.
Add PropertySubschema
to handle allOf
, anyO
f and oneOf
keywords.
Add maximum and minimum fields to Property.
Resolve patternProperty refs during resource expansion.
Allow property examples to be array of any. Remove all attempts to rewrite patterns - It is the responsibility of the caller to deal with any regex syntax mismatches.
Remove any negative lookahead from patterns while loading document.
Correct resource handlers JSON tag.
Add Property.IsRequired()
.
Initial release.