Incomplete json schema generated while generating raml using eclipse plugin


While generating raml using eclipse plugin, and providing swagger and jaxrs annotations as specified in

my raml does contain complete description of schema of custom object in xml format but the json format is incomplete.

The json format schema only contains primitive fields and that only are included in response example.

So my question is

  1. How to include complete data object in json format schema?
  2. And how to include xml schema in example if required?