danielgtaylor / eidolon

Generate JSON or JSON Schema from Refract & MSON data structures
MIT License
6 stars 1 forks source link

Generate JSON schema reference #11

Open Anahkiasen opened 8 years ago

Anahkiasen commented 8 years ago

Currently when dereferencing, and eidolon hits something like this:

+ artist (Artist)

It includes the whole Artist data structure schema inside the property. Would it be possible to make it use $ref like this:

"artist": {
  "$ref": "artist",
}

?