{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/namirial/json-schema/namirial-template-get-elements-response-schema.json",
  "title": "TemplateGetElementsResponse",
  "description": "The response model for requesting document elements of a draft or template.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/namirial-template-api-openapi.yml#/components/schemas/TemplateGetElementsResponse",
  "type": "object",
  "properties": {
    "UnassignedElements": {
      "$ref": "#/$defs/TemplateGetElementsElements",
      "description": "The elements which are not assigned to any action."
    },
    "Activities": {
      "description": "The steps for the envelope.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/TemplateGetElementsActivity"
      }
    }
  },
  "$defs": {
    "TemplateGetElementsATrustCertificateSignatureType": {
      "description": "The configuration of the A-Trust certificate signature.",
      "type": "object",
      "properties": {
        "TemplateId": {
          "description": "The identifier of the A-Trust template.",
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsAction": {
      "description": "The action of the activity.",
      "type": "object",
      "properties": {
        "SignAutomatic": {
          "$ref": "#/$defs/TemplateGetElementsSignAutomatic",
          "description": "The definition of the automatic sign action."
        },
        "Sign": {
          "$ref": "#/$defs/TemplateGetElementsSign",
          "description": "The definition of the sign action."
        },
        "SignBulk": {
          "$ref": "#/$defs/TemplateGetElementsSignBulk",
          "description": "The definition of the bulk."
        }
      }
    },
    "TemplateGetElementsActivity": {
      "description": "Defines an activity in the process.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The identifier of the activity.",
          "type": "string"
        },
        "Action": {
          "$ref": "#/$defs/TemplateGetElementsAction",
          "description": "The action assigned to the activity."
        }
      }
    },
    "TemplateGetElementsAllowedSignatureTypes": {
      "description": "The definition of the allowed signature types for the signature.",
      "type": "object",
      "properties": {
        "ClickToSign": {
          "$ref": "#/$defs/TemplateGetElementsClickToSignSignatureType",
          "description": "Allow signing with \"click to sign\"."
        },
        "DrawToSign": {
          "$ref": "#/$defs/TemplateGetElementsDrawToSignSignatureType",
          "description": "Allow signing with \"draw to sign\"."
        },
        "TypeToSign": {
          "$ref": "#/$defs/TemplateGetElementsTypeToSignSignatureType",
          "description": "Allow signing with \"type to sign\"."
        },
        "LocalCertificate": {
          "$ref": "#/$defs/TemplateGetElementsLocalCertificateSignatureType",
          "description": "Allow signing with a local certificate."
        },
        "DisposableCertificate": {
          "$ref": "#/$defs/TemplateGetElementsDisposableCertificateSignatureType",
          "description": "Allow signing with a disposable certificate."
        },
        "SwissComOnDemand": {
          "$ref": "#/$defs/TemplateGetElementsSwissComOnDemandSignatureType",
          "description": "Allow signing with a Swisscom On-Demand certificate."
        },
        "ATrustCertificate": {
          "$ref": "#/$defs/TemplateGetElementsATrustCertificateSignatureType",
          "description": "Allow signing with an A-Trust certificate."
        },
        "Biometric": {
          "$ref": "#/$defs/TemplateGetElementsBiometricSignatureType",
          "description": "Allow signing with a biometric signature."
        },
        "RemoteCertificate": {
          "$ref": "#/$defs/TemplateGetElementsRemoteCertificateSignatureType",
          "description": "Allow signing with a remote certificate."
        },
        "OneTimePassword": {
          "$ref": "#/$defs/TemplateGetElementsOneTimePasswordSignatureType",
          "description": "Allow signing with a one time password (SMS-OTP)."
        },
        "SwedishBankId": {
          "$ref": "#/$defs/TemplateGetElementsSwedishBankIdSignatureType",
          "description": "Allow signing with Swedish BankID."
        },
        "SignaturePlugins": {
          "description": "Allow signing with signature plugins.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsSignaturePluginSignatureType"
          }
        }
      }
    },
    "TemplateGetElementsAttachment": {
      "description": "The configuration of the attachment element.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "The displayed name.",
          "type": "string"
        },
        "DisplayIconType": {
          "description": "The type of the displayed icon.",
          "enum": [
            "Paperclip",
            "Graph",
            "PushPin",
            "Tag"
          ],
          "type": "string"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsAttachmentDefinition",
          "description": "The definition of the attachment element."
        }
      }
    },
    "TemplateGetElementsAttachmentDefinition": {
      "description": "The settings of a positionable element.",
      "type": "object",
      "properties": {
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsBiometricSignatureType": {
      "description": "The configuration of the Biometric signature.",
      "type": "object",
      "properties": {
        "BiometricVerification": {
          "description": "If true, a biometric verification is performed.",
          "type": "boolean"
        },
        "AllowBiometricStoringOnly": {
          "description": "If true, the biometric signature might be stored without verification.",
          "type": "boolean"
        },
        "StoreSignedResponseWithoutBioData": {
          "description": "If true, the signed response is stored without biometric data.",
          "type": "boolean"
        },
        "BiometricServerUserId": {
          "description": "The identifier of the user on the biometric server.",
          "type": "string"
        },
        "SignaturePositioning": {
          "description": "The allowed positioning of the biometric signature.",
          "enum": [
            "WithinField",
            "OnPage",
            "IntersectsWithField"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "BiometricSignaturePositioning",
            "modelAsString": false
          }
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsCheckBox": {
      "description": "The configuration of the check box.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "IsChecked": {
          "description": "If true, the check box is checked.",
          "type": "boolean"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsCheckBoxDefinition",
          "description": "The definition of the check box."
        }
      }
    },
    "TemplateGetElementsCheckBoxDefinition": {
      "description": "The configuration of a check box.",
      "type": "object",
      "properties": {
        "ExportValue": {
          "description": "The value of the check box when it is checked.",
          "type": "string"
        },
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        },
        "ReadOnly": {
          "description": "If true, the element is readonly.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsChoiceItem": {
      "description": "The configuration of the choice item.",
      "type": "object",
      "properties": {
        "ExportValue": {
          "description": "The value of the element when the choice item is selected.",
          "type": "string"
        },
        "DisplayValue": {
          "description": "The displayed value of the choice item.",
          "type": "string"
        }
      }
    },
    "TemplateGetElementsClickToSignSignatureType": {
      "description": "The configuration of the signature image.",
      "type": "object",
      "properties": {
        "UseExternalSignatureImage": {
          "description": "The external signature image mode.",
          "enum": [
            "Optional",
            "Required",
            "Disabled"
          ],
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsClickToSignStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsClickToSignStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayEmail": {
          "description": "If true, the email address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsComboBox": {
      "description": "The configuration of the combo box.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "Value": {
          "description": "The selected value of the combo box.",
          "type": "string"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsComboBoxDefinition",
          "description": "The definition of the combo box."
        }
      }
    },
    "TemplateGetElementsComboBoxDefinition": {
      "description": "The configuration of the combo box.",
      "type": "object",
      "properties": {
        "TextFormat": {
          "$ref": "#/$defs/TemplateGetElementsTextFormat",
          "description": "The configuration of the text format."
        },
        "Items": {
          "description": "A list of items that can be selected for the element.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsChoiceItem"
          }
        },
        "IsEditable": {
          "description": "If true, the combo box is editable.",
          "type": "boolean"
        },
        "ReadOnly": {
          "description": "If true, the element is readonly.",
          "type": "boolean"
        },
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsDate": {
      "description": "The configuration of the predefined element showing the date.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "DateFormat": {
          "description": "The format of the date.",
          "type": "string"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsPredefinedElementDefinition",
          "description": "The definition of the predefined element."
        }
      }
    },
    "TemplateGetElementsDateValidationConfiguration": {
      "description": "The validation rules for dates.",
      "type": "object",
      "properties": {
        "DateFormat": {
          "description": "The format of the dates.",
          "type": "string"
        },
        "Range": {
          "$ref": "#/$defs/TemplateGetElementsFieldValidationRange",
          "description": "The range of the values."
        }
      }
    },
    "TemplateGetElementsDisposableCertificateSignatureType": {
      "description": "The configuration of the DisposableCertificate signature.",
      "type": "object",
      "properties": {
        "IsLongLived": {
          "description": "If true, the disposable certificate is long lived.",
          "type": "boolean"
        },
        "ValidityInSeconds": {
          "format": "int32",
          "description": "The validity of the certificate in seconds.",
          "type": "integer"
        },
        "UseExternalSignatureImage": {
          "description": "The external signature image mode.",
          "enum": [
            "Optional",
            "Required",
            "Disabled"
          ],
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsDisposableCertificateStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsDisposableCertificateStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsDrawToSignSignatureType": {
      "description": "The configuration of the signature image.",
      "type": "object",
      "properties": {
        "UseExternalSignatureImage": {
          "description": "The external signature image mode.",
          "enum": [
            "Optional",
            "Required",
            "Disabled"
          ],
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsDrawToSignStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsDrawToSignStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayEmail": {
          "description": "If true, the email address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsElements": {
      "description": "The configurable elements of the documents.",
      "type": "object",
      "properties": {
        "TextBoxes": {
          "description": "The text boxes.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsTextBox"
          }
        },
        "CheckBoxes": {
          "description": "The check boxes.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsCheckBox"
          }
        },
        "ComboBoxes": {
          "description": "The combo boxes.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsComboBox"
          }
        },
        "RadioButtons": {
          "description": "The radio buttons.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsRadioButtonGroup"
          }
        },
        "ListBoxes": {
          "description": "The list boxes.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsListBox"
          }
        },
        "Signatures": {
          "description": "The signatures.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsSignatureField"
          }
        },
        "Attachments": {
          "description": "The attachments.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsAttachment"
          }
        },
        "PredefinedFieldElements": {
          "$ref": "#/$defs/TemplateGetElementsPredefinedFieldElements",
          "description": "The predefined field elements."
        },
        "LinkConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsLinkConfiguration",
          "description": "The links in the documents."
        },
        "AreaReadConfirmations": {
          "description": "The areas which have to be read.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsReadAreaConfirmation"
          }
        },
        "PageReadConfirmations": {
          "description": "The pages which have to be read.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsReadPagesConfirmation"
          }
        },
        "DocumentReadConfirmations": {
          "description": "The documents which have to be read.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsReadDocumentConfirmation"
          }
        }
      }
    },
    "TemplateGetElementsEmail": {
      "description": "The configuration of the predefined element.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsPredefinedElementDefinition",
          "description": "The definition of the predefined element."
        }
      }
    },
    "TemplateGetElementsFieldValidation": {
      "description": "The configuration of the field validation rules.",
      "type": "object",
      "properties": {
        "Type": {
          "description": "The type of the value.",
          "enum": [
            "None",
            "Date",
            "Email",
            "Number",
            "Phone",
            "Time"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FieldValidationType",
            "modelAsString": false
          }
        },
        "DateValidationConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsDateValidationConfiguration",
          "description": "The validation rules for dates."
        },
        "NumberValidationConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsNumberValidationConfiguration",
          "description": "The validation rules for numbers."
        },
        "PhoneValidationConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsPhoneValidationConfiguration",
          "description": "The validation rules for phone numbers."
        },
        "TimeValidationConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsTimeValidationConfiguration",
          "description": "The validation rules for time values."
        }
      }
    },
    "TemplateGetElementsFieldValidationRange": {
      "description": "The validation rules for a value range.",
      "type": "object",
      "properties": {
        "From": {
          "description": "The lower boundary of the range.",
          "type": "string"
        },
        "To": {
          "description": "The upper boundary of the range.",
          "type": "string"
        }
      }
    },
    "TemplateGetElementsFullName": {
      "description": "The configuration of the predefined element.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsPredefinedElementDefinition",
          "description": "The definition of the predefined element."
        }
      }
    },
    "TemplateGetElementsGivenName": {
      "description": "The configuration of the predefined element.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsPredefinedElementDefinition",
          "description": "The definition of the predefined element."
        }
      }
    },
    "TemplateGetElementsHyperLink": {
      "description": "The definition of the hyperlink element.",
      "type": "object",
      "properties": {
        "Id": {
          "description": "The identifier of the hyperlink.",
          "type": "string"
        },
        "Uri": {
          "description": "The URI of the hyperlink.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsLinkDefinition",
          "description": "The definition of the hyperlink element."
        }
      }
    },
    "TemplateGetElementsInitials": {
      "description": "The configuration of the predefined element showing the initials.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "IncludeMiddleNameInitials": {
          "description": "If true, the initials from the middle names are included as well. \nThe initials are read from the given name. Additional names are expected to be separated by a space.",
          "type": "boolean"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsPredefinedElementDefinition",
          "description": "The definition of the predefined element."
        }
      }
    },
    "TemplateGetElementsLinkConfiguration": {
      "description": "The configuration of the link elements.",
      "type": "object",
      "properties": {
        "HyperLinks": {
          "description": "The list of hyperlink elements.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsHyperLink"
          }
        }
      }
    },
    "TemplateGetElementsLinkDefinition": {
      "description": "The settings of a positionable element.",
      "type": "object",
      "properties": {
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsListBox": {
      "description": "The configuration of the list box.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "PreSelectedItems": {
          "description": "The export values of the items which should be initially selected.",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsListBoxDefinition",
          "description": "The definition of the list box field."
        }
      }
    },
    "TemplateGetElementsListBoxDefinition": {
      "description": "The configuration of the list box.",
      "type": "object",
      "properties": {
        "TextFormat": {
          "$ref": "#/$defs/TemplateGetElementsTextFormat",
          "description": "The configuration of the text format."
        },
        "Items": {
          "description": "A list of items that can be selected for the element.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsChoiceItem"
          }
        },
        "IsMultiSelect": {
          "description": "If true, multiple values of the list box can be selected.",
          "type": "boolean"
        },
        "ReadOnly": {
          "description": "If true, the element is readonly.",
          "type": "boolean"
        },
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsLocalCertificateSignatureType": {
      "description": "The configuration of the LocalCertificate signature.",
      "type": "object",
      "properties": {
        "EnforcePreferredHashAlgorithm": {
          "description": "If true, the usage of the preferred hash algorithm is enforced.",
          "type": "boolean"
        },
        "PreferredHashAlgorithm": {
          "description": "The preferred hash algorithm.",
          "enum": [
            "Sha256",
            "Sha512"
          ],
          "type": "string"
        },
        "UseExternalSignatureImage": {
          "description": "The external signature image mode.",
          "enum": [
            "Optional",
            "Required",
            "Disabled"
          ],
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsLocalCertificateStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsLocalCertificateStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsNumberValidationConfiguration": {
      "description": "The validation rules for numbers.",
      "type": "object",
      "properties": {
        "DecimalDigits": {
          "format": "int32",
          "description": "The expected amount of decimal digits.",
          "type": "integer"
        },
        "Symbol": {
          "description": "The expected symbol.",
          "type": "string"
        },
        "SymbolLocation": {
          "description": "The defined symbol location.",
          "enum": [
            "Start",
            "StartWithBlank",
            "End",
            "EndWithBlank"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "SymbolLocationType",
            "modelAsString": false
          }
        },
        "GroupSeparator": {
          "description": "The expected thousands separator.",
          "enum": [
            "Comma",
            "Point",
            "Apostrophe",
            "Blank",
            "None"
          ],
          "type": "string"
        },
        "DecimalSeparator": {
          "description": "The expected decimal separator.",
          "enum": [
            "Comma",
            "Point",
            "Apostrophe",
            "None"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "DecimalSeparatorType",
            "modelAsString": false
          }
        },
        "Range": {
          "$ref": "#/$defs/TemplateGetElementsFieldValidationRange",
          "description": "The range of the values."
        }
      }
    },
    "TemplateGetElementsOneTimePasswordSignatureType": {
      "description": "The configuration of the OneTimePassword signature.",
      "type": "object",
      "properties": {
        "ValidityInSeconds": {
          "format": "int32",
          "description": "The validity of the password in seconds.",
          "type": "integer"
        },
        "UseExternalSignatureImage": {
          "description": "The external signature image mode.",
          "enum": [
            "Optional",
            "Required",
            "Disabled"
          ],
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsOneTimePasswordStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsOneTimePasswordStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayTransactionId": {
          "description": "If true, the transaction identifier is displayed.",
          "type": "boolean"
        },
        "DisplayTransactionToken": {
          "description": "If true, the transaction token is displayed.",
          "type": "boolean"
        },
        "DisplayPhoneNumber": {
          "description": "If true, the phone number of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsPhoneValidationConfiguration": {
      "description": "The validation rules for phone numbers.",
      "type": "object",
      "properties": {
        "Type": {
          "description": "The format of the phone numbers.",
          "enum": [
            "International",
            "InternationalLeadingZeros",
            "InternationalLeadingPlus"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "PhoneType",
            "modelAsString": false
          }
        }
      }
    },
    "TemplateGetElementsPluginStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayEmail": {
          "description": "If true, the email address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsPosition": {
      "description": "The position of an element on the document.",
      "type": "object",
      "properties": {
        "PageNumber": {
          "format": "int32",
          "description": "The number of the page where the element is located. It starts with 1.",
          "type": "integer"
        },
        "X": {
          "format": "double",
          "description": "The X coordinate in points. It starts from the left.",
          "type": "number"
        },
        "Y": {
          "format": "double",
          "description": "The Y coordinate in points. It starts from the bottom.",
          "type": "number"
        }
      }
    },
    "TemplateGetElementsPredefinedElementDefinition": {
      "description": "The configuration of the predefined element.",
      "type": "object",
      "properties": {
        "TextFormat": {
          "$ref": "#/$defs/TemplateGetElementsTextFormat",
          "description": "The configuration of the text format."
        },
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsPredefinedFieldElements": {
      "description": "Defines the predefined fields which will be added and filled by the system.",
      "type": "object",
      "properties": {
        "TextFields": {
          "description": "The predefined text fields.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsPredefinedText"
          }
        },
        "EmailFields": {
          "description": "The recipient's email fields.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsEmail"
          }
        },
        "InitialsFields": {
          "description": "The recipient's initials fields.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsInitials"
          }
        },
        "GivenNameFields": {
          "description": "The recipient's given name fields.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsGivenName"
          }
        },
        "SurnameFields": {
          "description": "The recipient's surname fields.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsSurname"
          }
        },
        "FullNameFields": {
          "description": "The recipient's full name fields.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsFullName"
          }
        },
        "DateFields": {
          "description": "The current date fields.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsDate"
          }
        }
      }
    },
    "TemplateGetElementsPredefinedText": {
      "description": "The configuration of the element showing the predefined text.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "Value": {
          "description": "The value of the predefined text.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsPredefinedElementDefinition",
          "description": "The definition of the predefined element."
        }
      }
    },
    "TemplateGetElementsRadioButtonDefinition": {
      "description": "The configuration of the radio button group definition.",
      "type": "object",
      "properties": {
        "IsSelectUnison": {
          "description": "If true, radio buttons with the same <code>ExportValue</code> are checked and unchecked together.",
          "type": "boolean"
        },
        "Items": {
          "description": "The list of radiobuttons that belong to the same group.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsRadioButtonItemDefinition"
          }
        }
      }
    },
    "TemplateGetElementsRadioButtonGroup": {
      "description": "The configuration of the radio button group.",
      "type": "object",
      "properties": {
        "GroupName": {
          "description": "The name of the radio button group.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "SelectedItem": {
          "description": "The export value of the selected item of the radio button group.",
          "type": "string"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsRadioButtonDefinition",
          "description": "The definition of the radio button group."
        }
      }
    },
    "TemplateGetElementsRadioButtonItemDefinition": {
      "description": "The configuration of the radio button.",
      "type": "object",
      "properties": {
        "ExportValue": {
          "description": "The value of the element when the radio button is checked.",
          "type": "string"
        },
        "IsChecked": {
          "description": "If true, the radio button is checked by default.",
          "type": "boolean"
        },
        "ReadOnly": {
          "description": "If true, the element is readonly.",
          "type": "boolean"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsReadAreaConfirmation": {
      "description": "The area that has to be read.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The document reference number of the element (starting with 1).",
          "type": "integer"
        },
        "DisplayName": {
          "description": "The displayed name.",
          "type": "string"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "Definition": {
          "$ref": "#/$defs/TemplateGetElementsReadingAreaDefinition",
          "description": "The definition of the area."
        }
      }
    },
    "TemplateGetElementsReadDocumentConfirmation": {
      "description": "Define which document has to be read.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "DisplayName": {
          "description": "The displayed name.",
          "type": "string"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        }
      }
    },
    "TemplateGetElementsReadPagesConfirmation": {
      "description": "Define which page has to be read.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "DisplayName": {
          "description": "The displayed name.",
          "type": "string"
        },
        "PageNumber": {
          "format": "int32",
          "description": "The number of the page that needs to be read.",
          "type": "integer"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        }
      }
    },
    "TemplateGetElementsReadingAreaDefinition": {
      "description": "The settings of a positionable element.",
      "type": "object",
      "properties": {
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsRemoteCertificateSignatureType": {
      "description": "The configuration of the RemoteCertificate signature.",
      "type": "object",
      "properties": {
        "ValidityInSeconds": {
          "format": "int32",
          "description": "The validity of the certificate in seconds.",
          "type": "integer"
        },
        "UseExternalSignatureImage": {
          "description": "The external signature image mode.",
          "enum": [
            "Optional",
            "Required",
            "Disabled"
          ],
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsRemoteCertificateStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsRemoteCertificateStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsSign": {
      "description": "The elements, which are assigned to actions.",
      "type": "object",
      "properties": {
        "SequenceMode": {
          "description": "The sequence mode.",
          "enum": [
            "NoSequenceEnforced",
            "SequenceEnforced"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "ElementSequenceMode",
            "modelAsString": false
          }
        },
        "Elements": {
          "$ref": "#/$defs/TemplateGetElementsElements",
          "description": "The definition of the assigned elements."
        }
      }
    },
    "TemplateGetElementsSignAutomatic": {
      "description": "An automatic signing action.",
      "type": "object",
      "properties": {
        "VisibleSignatures": {
          "description": "The visible signatures define the optional visual representations for automatic signatures.\nIf none are defined, the automatic signatures are applied to the documents without a visual element.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/TemplateGetElementsVisibleSignature"
          }
        }
      }
    },
    "TemplateGetElementsSignBulk": {
      "description": "The elements, which are assigned to actions.",
      "type": "object",
      "properties": {
        "SequenceMode": {
          "description": "The sequence mode.",
          "enum": [
            "NoSequenceEnforced",
            "SequenceEnforced"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "ElementSequenceMode",
            "modelAsString": false
          }
        },
        "Elements": {
          "$ref": "#/$defs/TemplateGetElementsElements",
          "description": "The definition of the assigned elements."
        }
      }
    },
    "TemplateGetElementsSignatureField": {
      "description": "The configuration of the signature field.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the signature.",
          "type": "string"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "DisplayName": {
          "description": "The displayed name.",
          "type": "string"
        },
        "FieldDescription": {
          "description": "The description of the signature.",
          "type": "string"
        },
        "UseExternalTimestampServer": {
          "description": "If true, an timestamp from an external server is embedded into the signature.",
          "type": "boolean"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "AllowedSignatureTypes": {
          "$ref": "#/$defs/TemplateGetElementsAllowedSignatureTypes",
          "description": "The allowed types for the signature."
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsSignatureFieldDefinition",
          "description": "The definition of the signature field."
        },
        "TaskConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsSignatureTaskConfiguration",
          "description": "The configuration of the task."
        }
      }
    },
    "TemplateGetElementsSignatureFieldDefinition": {
      "description": "The settings of a positionable element.",
      "type": "object",
      "properties": {
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsSignaturePluginSignatureType": {
      "description": "The configuration of the signature plugin.",
      "type": "object",
      "properties": {
        "PluginId": {
          "description": "The identifier of the plugin.",
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsPluginStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsSignatureTaskConfiguration": {
      "description": "The configuration of the signature task.",
      "type": "object",
      "properties": {
        "StampImprintDateConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsStampImprintDateConfiguration",
          "description": "The configuration of the stamp imprint date."
        },
        "BatchGroup": {
          "description": "The batch group.",
          "type": "string"
        }
      }
    },
    "TemplateGetElementsSize": {
      "description": "The definition of the size of an element.",
      "type": "object",
      "properties": {
        "Width": {
          "format": "double",
          "description": "The width of the element in points.",
          "type": "number"
        },
        "Height": {
          "format": "double",
          "description": "The height of the element in points.",
          "type": "number"
        }
      }
    },
    "TemplateGetElementsStampImprintDateConfiguration": {
      "description": "The configuration of the stamp imprint date",
      "type": "object",
      "properties": {
        "UseLocalTimezone": {
          "description": "If true, the local timezone is used.",
          "type": "boolean"
        },
        "DateTimeFormat": {
          "description": "The format of the timestamp.",
          "type": "string"
        }
      }
    },
    "TemplateGetElementsSurname": {
      "description": "The configuration of the predefined element.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsPredefinedElementDefinition",
          "description": "The definition of the predefined element."
        }
      }
    },
    "TemplateGetElementsSwedishBankIdSignatureType": {
      "description": "The configuration of the signature.",
      "type": "object",
      "properties": {
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsSwedishBankIdStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsSwedishBankIdStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayTransactionId": {
          "description": "If true, the transaction identifier is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsSwissComOnDemandSignatureType": {
      "description": "The configuration of the Swisscom On-Demand signature.",
      "type": "object",
      "properties": {
        "ValidityInSeconds": {
          "format": "int32",
          "description": "The certificate validity in seconds.",
          "type": "integer"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsSwissComOnDemandStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsSwissComOnDemandStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsTextBox": {
      "description": "The configuration of the text box.",
      "type": "object",
      "properties": {
        "ElementId": {
          "description": "The identifier of the element.",
          "type": "string"
        },
        "Required": {
          "description": "If true, the element is required.",
          "type": "boolean"
        },
        "Value": {
          "description": "The value of the text box.",
          "type": "string"
        },
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "GuidingOrder": {
          "format": "int32",
          "description": "The order of the element.",
          "type": "integer"
        },
        "Source": {
          "description": "The element source from where a field originates.",
          "enum": [
            "Document",
            "AdvancedDocumentTag",
            "UserDefined"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "FormFieldSource",
            "modelAsString": false
          }
        },
        "Validation": {
          "$ref": "#/$defs/TemplateGetElementsFieldValidation",
          "description": "The configuration of the validation rules for the text box value."
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsTextBoxDefinition",
          "description": "The definition of the text box."
        }
      }
    },
    "TemplateGetElementsTextBoxDefinition": {
      "description": "The configuration of the text box.",
      "type": "object",
      "properties": {
        "ReadOnly": {
          "description": "If true, the element is readonly.",
          "type": "boolean"
        },
        "MaxLength": {
          "format": "int32",
          "description": "The maximum length of the text.",
          "type": "integer"
        },
        "IsMultiline": {
          "description": "If true, the text box can have multiple lines.",
          "type": "boolean"
        },
        "IsPassword": {
          "description": "If true, the text box behaves like a password input field and does not show the actually entered characters.",
          "type": "boolean"
        },
        "TextFormat": {
          "$ref": "#/$defs/TemplateGetElementsTextFormat",
          "description": "The configuration of the text format."
        },
        "Position": {
          "$ref": "#/$defs/TemplateGetElementsPosition",
          "description": "The position of the  within the document."
        },
        "Size": {
          "$ref": "#/$defs/TemplateGetElementsSize",
          "description": "The size of the form field."
        }
      }
    },
    "TemplateGetElementsTextFormat": {
      "description": "The configuration of the text format.",
      "type": "object",
      "properties": {
        "TextColor": {
          "description": "The color of the text.\nSix digit hexadecimal color starting with # in #RRGGBB format according to CSS Color Module Level 4, paragraph 5.2.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "double",
          "description": "The size of the font in points.",
          "type": "number"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "Bold": {
          "description": "If true, the bold font is used.",
          "type": "boolean"
        },
        "Italic": {
          "description": "If true, the italic font is used.",
          "type": "boolean"
        },
        "TextAlign": {
          "description": "The alignment of the text. The default alignment is left.",
          "enum": [
            "Left",
            "Center",
            "Right"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "TextAlignment",
            "modelAsString": false
          }
        }
      }
    },
    "TemplateGetElementsTimeValidationConfiguration": {
      "description": "The validation rules for time values.",
      "type": "object",
      "properties": {
        "TimeFormat": {
          "description": "The format of the time values.",
          "type": "string"
        },
        "Range": {
          "$ref": "#/$defs/TemplateGetElementsFieldValidationRange",
          "description": "The range of the values."
        }
      }
    },
    "TemplateGetElementsTypeToSignSignatureType": {
      "description": "The configuration of the signature image.",
      "type": "object",
      "properties": {
        "UseExternalSignatureImage": {
          "description": "The external signature image mode.",
          "enum": [
            "Optional",
            "Required",
            "Disabled"
          ],
          "type": "string"
        },
        "Preferred": {
          "description": "If true, the signature type is set as preferred.",
          "type": "boolean"
        },
        "StampImprintConfiguration": {
          "$ref": "#/$defs/TemplateGetElementsTypeToSignStampImprint",
          "description": "The configuration of the stamp imprint of the signature."
        }
      }
    },
    "TemplateGetElementsTypeToSignStampImprint": {
      "description": "The configuration of the stamp imprint used by multiple signature types.",
      "type": "object",
      "properties": {
        "DisplayExtraInformation": {
          "description": "If true, the extra information is displayed.",
          "type": "boolean"
        },
        "FontName": {
          "description": "The name of the font. The font needs to be installed on the server. \nIf it is not available on the server, a fallback font is used.",
          "type": "string"
        },
        "FontSizeInPt": {
          "format": "int32",
          "description": "The size of the font in points.",
          "type": "integer"
        },
        "DisplayEmail": {
          "description": "If true, the email address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayIp": {
          "description": "If true, the IP address of the signer is displayed.",
          "type": "boolean"
        },
        "DisplayName": {
          "description": "If true, the name of the signer is displayed.",
          "type": "boolean"
        },
        "DisplaySignatureDate": {
          "description": "If true, the timestamp of signing is displayed.",
          "type": "boolean"
        }
      }
    },
    "TemplateGetElementsVisibleSignature": {
      "description": "An automatic signature with a visual appearance on the document.",
      "type": "object",
      "properties": {
        "DocumentNumber": {
          "format": "int32",
          "description": "The reference number of the containing document. It starts with 1.",
          "type": "integer"
        },
        "Id": {
          "description": "The identifier of the signature field.",
          "type": "string"
        },
        "UseExternalTimestampServer": {
          "description": "If true, a timestamp from an external server is embedded into the signature.",
          "type": "boolean"
        },
        "FieldDefinition": {
          "$ref": "#/$defs/TemplateGetElementsSignatureFieldDefinition",
          "description": "The definition of the signature field."
        }
      }
    }
  }
}