Fields are markers within a template that indicate where specific information should be inserted. They are defined within your template with double curly braces, for example: {{name}}.

For example, a template:

This Dummy Agreement is entered into by {{name}}.

With data:

{
  "name": "Sherlock Holmes"
}

Will return the document:

This Dummy Agreement is entered into by Sherlock Holmes.

Nested objects

You can use nested objects in the data value. For example, a template:

This Dummy Agreement is entered into by {{person.name}}, currently residing at {{person.address.houseNumber}} {{person.address.streetName}}, {{person.address.city}}.

With a data value:

{
  "person": {
    "name": "Sherlock Holmes",
    "address": {
      "houseNumber": "221b",
      "streetName": "Baker Street",
      "city": "London"
    }
  }
}

Will return the document:

This Dummy Agreement is entered into by Sherlock Holmes, currently residing at 221b Baker Street, London.