Record Processing Instruction in Generic JSON

The template must declare which element corresponds to a single record (product, entity, etc.). This is done using the "[?Record?]" processing instruction, which applies to the objects in the array. A template must contain exactly one "[?Record?]" processing instruction.

Copy
{
  "Products": [
    {
  "[?Instruction?]": "[?Record?]",
  "ID": "42"
}
  ]
}

Also acceptable:
{
  "Products": [
    {
  "__type": "__record",
  "ID": "42"
}
  ]
}

In this example, STEP extracts data for each product object inside the "Products" array, regardless of the number that exist. "Products" is the record object of the template. The record must not be declared as a repeated element. Although this is a valid template, no data is being supplied by this template, only the record is identified.