malort
malort copied to clipboard
can it easily support custom schemas like json-schema.org?
Can I provide my own schema mapping without contributing to malort?
For example: http://json-schema.org/draft-04/schema https://github.com/opendata/Hunting-and-Fishing/blob/master/schemas/1.0a/fishing.json
To clarify: you're asking if Malort could take a bunch of JSON that you don't know anything about, and produce a valid json-schema?
Hmmmmmmmmmmmmmmmmmmmmmmmmm this is an interesting request! I've always thought of Malort as a tool to go from JSON -> Relational DB schema, but there's no reason we couldn't target json-schema as well.
Yeah, that'd be super awesome!
Or json-schema to Relational DB schema!
Cool idea - see https://github.com/snowplow/schema-guru/ for a tool we worked on that does this