malort icon indicating copy to clipboard operation
malort copied to clipboard

can it easily support custom schemas like json-schema.org?

Open okdistribute opened this issue 8 years ago • 3 comments

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

okdistribute avatar Aug 14 '15 21:08 okdistribute

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.

wrobstory avatar Aug 14 '15 21:08 wrobstory

Yeah, that'd be super awesome!

Or json-schema to Relational DB schema!

okdistribute avatar Aug 14 '15 21:08 okdistribute

Cool idea - see https://github.com/snowplow/schema-guru/ for a tool we worked on that does this

alexanderdean avatar Nov 24 '15 02:11 alexanderdean