Coder Social home page Coder Social logo

compile-to-json-schema's People

Contributors

bjwebb avatar odscjames avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

coryodaniel

compile-to-json-schema's Issues

Preserve ordering

Can we use orderedDict to preserve ordering as much as possible when resolving references

Add Codelist feature

Can pass directory to tool, this contains the code lists.

For any closed codelists, take codes from CSV files and put into ENUM's.

Compatibility with different versions of JSON Schema

It's unclear whether the tool is compatible with newer, or multiple, versions of JSON Schema. This is important because the behaviour of $ref is different between drafts 04โ€“07, and I can't tell whether the tool respects this automatically or not.

Use case: Mode that does not derefernce refs but does everything else?

This may be a use case:

In 360 DEI, we have one schema block repeated 3 times. So it's a ref because that's sensible. But in this block there is a codelist.

Do we want to be able to produce a file with the codelist options included as a ENUM, but with the block still in one definition and with ref's to it? Such a file would be more human readable

Currently we can only produce a file with the same schema repeated 3 times which isn't very clear to humans

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.