Data Format

When using Bulk Load tool, the data to load must conform to the specific rules.

  • The data are in JSON format.
  • One JSON object is one line.
  • One file contains one type of data, either entity or relationship. The file cannot contain both the entity data and the relationship data.

Relationship Data Format

The following syntax shows the format of relationship data:
{"name":"relationship_name","participants":[{"name":"participant_name","fields":
{"key1":"value1","key2":"value2","key3":"value3"}},{"name":"participant_name","fields":{"id":"value"}}]}
Note: If the participant is a TIBCO-Managed entity, the participant must be {"id":"value"}. The plug-in generates the entity with the specified value. If no value is specified, the plug-in randomly assigns a value for the entity.
For example:
{"name":"R1","participants":[{"name":"A","fields":{"key1":"a11","key2":"a2","key3":"a3"}},
{"name":"B","fields":{"id":""}}]}

Entity Data Format

The following syntax shows the format of entity data:
{"name":"entity_name","fields":{"key1":"value1","key2":"value2","key3":"value3"}}
For example:
{"name":"A","fields":{"key1":"a1","key2":"a2","key3":"a3"}}