AnsweredAssumed Answered

sugarcrm module schema in json

Question asked by Doddy Amijaya on Feb 17, 2016

Hi All,

I am fairly sure I won't find exactly what I need but if someone can point me to a direction where I might be able to get close enough I would appreciate it very much.

I need a way to get the schema (that list all of the stock and custom fields) for a given module, but I need it in JSON format.

 

basically this is what I need:

 

{

  "type":"object",

  "properties": {

    "name": {

      "type": "string"

    },

    "opportunity_date": {

      "type": "date_time"

    },

    "isactive": {

      "type": "boolean"

    }

  }

}

 

once I am got that information I need to use this tool :

http://www.jsonschema2pojo.org/

which resulting the POJO java object.

Outcomes