Optional
foreignThis property is optional. If it is not provided, the foreign key field will be created with the label ‘Related
The label for the foreign key field.
Optional
lookupArray of field ids in the parent table that will become lookup fields in the child table.
The parent table id for the relationship.
Optional
summaryArray of summary field objects which will turn into summary fields in the parent table. When you specify the 'COUNT' accumulation type, you have to specify 0 as the summaryFid (or not set it in the request). 'DISTINCT-COUNT' requires that summaryFid be set to an actual fid.
The unique identifier (dbid) of the table. This will be the child table.