Use "$ref" to point to models instead of "type"
Merge pull request #25 from webron/patch-1

Use "$ref" to point to models instead of "type"