Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The superset of all the fields for a JSON structure needs to be known
  • The type definition id needs to be provided for each sub-element within the JSON structure
  • If the type definition id is not provided the type definition generator will behave the same way it currently does. For every provided JSON document the system might potentially generate a new type definition.
  • All clients need to know the registered definitions and id's in order to provide the correct id for any given structure within the JSON document

Proposed Type Definition Format

 

Code Block
languagetext
titleExample Type Definition
{
  "fieldName": "previousAddresses",
  "dataType" : "List",
  "@refTypeId": 2
},