Linking Rules

{
  labels: [
    ["invoiceNo.key", "invoiceNo.value"],
    ["total.key", "total.value"],
    
    // Link to same label is allowed.
    ["addressLine", "addressLine"],
  ]
}

Linking rules define which annotations may be linked to which other annotations.

If there are no linking rules defined, any annotation can be linked to any other annotation. It's possible to ignore links that were made in error, so linking rules are most often applied for worker efficiency or more accurate quality measurement.

ParameterTypeDescription
labelsstring array arrayA list of pairs of string labels for valid annotation links. It will prevent other links.