Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish implementing basic spec #4

Open
10 tasks
sandersky opened this issue Mar 30, 2019 · 0 comments
Open
10 tasks

Finish implementing basic spec #4

sandersky opened this issue Mar 30, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@sandersky
Copy link
Member

sandersky commented Mar 30, 2019

Currently we are not implement the full JSON spec for the basic types

To-do

  • Add missing object validation
  • Improve documentation to mention importing Flow types
  • Add $ref support
  • Add ability to provide list of valid formats for string so we can flag any typos (maybe an optional second argument on the string method?).
  • Support type that is array of strings? I'm not sure if this is useful other than if we maybe convert things like:
    {"anyOf": [{"type": "number"}, {"type": "string"}]}
    to
    {"type": ["number", "string"]}
    so the output is minimal (this could even be a completely separate utility called minify, whose sole purpose is to make these small optimizations.
  • Make sure enums are fully supported
  • Support media
  • Support sub-schemas
  • Support $schema and make sure validation is applied accordingly
  • Allow validating a value against a given schema
@sandersky sandersky added the enhancement New feature or request label Mar 30, 2019
@sandersky sandersky changed the title Finish implementing spec Finish implementing basic spec Mar 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant