REST Data Objects

The data associated with Resources in the RADM are called REST Data Objects (RDOs).

RDOs allow you to explicitly define, at modelling time, the structure of the JSON or XML messages that will be used in your APIs. There are certain recommendations for defining RDO's:
  • The data structures should be simple
  • Attribute names should have obvious meaning to the API consumer
  • Data structures should not be deeply nested

For example, the Customer_RDO contains an Attribute telephoneNumber of type TelephoneNumber_RDO which in turn contains additional typical attributes such as areaCode and countryPhoneCode.