WorkflowDocumentInfo

  • adhocFields
    Type: array object[]
    required
    Empty object
  • entityMapping
    Type: array object[]
    required
    • entityKey
      Type: string
    • inputKey
      Type: string
  • envelopeKey
    Type: string
    required
  • fieldOverrides
    Type: array object[]
    required
    Empty object
  • key
    Type: string
    required
  • templateFields
    Type: array object[] · TemplateFieldInfo[]
    required
    • key
      Type: string
      required

      Unique identifier for the field

    • type
      Type: stringenum
      required

      Type of the field (form field or e-signature field)

      values
      • TextField
      • CheckBox
      • Image
      • Line
      • Signature
    • widgets
      Type: array object[]
      required

      Visual elements representing this field in the PDF

    • assignment
      Type: object

      Assignment for the field, indicating which participant should fill this field

    • includeIf
      Type: string

      Optional JSONata expression to control field visibility

    • valueExpression
      Type: string

      Optional JSONata expression to dynamically calculate field value from entity data

  • fileId
    Type: string
  • fileName
    Type: string
  • inputs
    Type: array object[] · Input[]
    • key
      Type: string
      required

      Unique identifier for this input

    • schemaKey
      Type: string
      required

      Key of the schema that defines this entity's structure

    • description
      Type: string

      Description of what this input represents

    • name
      Type: string

      Human-readable name for this input

    • required
      Type: boolean

      Whether this entity slot must be populated

    • schemaDefinition
      Type: object

      Inline schema definition (optional)

    • schemaVersion
      Type: string

      Semantic version of the schema this is compatible with

  • roles
    Type: array object[] · TemplateRole[]
    • isRequired
      Type: boolean
      required

      Whether this role must be assigned a participant when using the template

    • key
      Type: string
      required

      Unique identifier for the role

    • name
      Type: string

      Human-readable name for the role

    • roleCategory
      Type: string

      Category or type of role (e.g., 'Signer', 'Approver')

  • templateKey
    Type: string
  • templateVersion
    Type: string