Skip to content

Conversation

albertored
Copy link

Hi, I have added some missing features for correctly parsing JSON schemas Draft 4, in particular:

  • support for type null
  • support for type number
  • support for type as array
  • handling of multipleOf, exclusiveMinimum and exclusiveMaximum for integers and numbers
  • handling of array minItems, maxItems and uniqueItems
  • support for string custom formats
  • handling of allOf, oneOf and anyOf
  • support for schemas with $ref
  • handling of additionalProperties, patternProperties, minProperties and maxProperties
  • handling of additionalItems, minItems and maxItems
  • support for array items as list of schemas
  • support for not

The only missing feature at the moment is the support for dependencies but it is hard to do with StreamData without incurring in FilterTooNarrowError exceptions.

albertored added 30 commits May 31, 2021 18:32
we should use a generator that can understand and adapt to size
otherwise when used in an array with uniqueItems we can incur in
StreamData.TooManyDuplicatesError
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.

1 participant