snowplow / iglu

Iglu is a machine-readable, open-source schema repository for JSON Schema from the team at Snowplow
http://www.snowplow.io
Apache License 2.0
207 stars 44 forks source link

Common: support references #370

Open chuwy opened 6 years ago

chuwy commented 6 years ago

https://spacetelescope.github.io/understanding-json-schema/structuring.html

This was raised multiple times, mostly in order to reduce boilerplate code, but we never actually considered it closely enough. Now @dilyand found another good application for it in data-modeling with graph-oriented DBs.

Wondering if this should classic JSON Schema $ref or we can use iglu:-protocol to link schemas.

alexanderdean commented 6 years ago

I thought about this a couple of years ago. I think we would have to use $ref with iglu: protocol, and the JSON Schema library (?) would need to natively understand iglu: as a protocol...