ViewSign Cloud On-Premise Input Validation Configuration

    From ViewSonic User Guide Database
    {
      "SspFileIds": [
        "##FileId##"
      ],
      "SendEnvelopeDescription": {
      
     
      "Name": "inputtest.pdf",
      "EmailSubject": "Please sign the enclosed envelope",
      "EmailBody": "Dear #RecipientFirstName# #RecipientLastName#\n\n#PersonalMessage#\n\nPlease sign the envelope #EnvelopeName#\n\nEnvelope will expire at #ExpirationDate#",
      "DisplayedEmailSender": "",
      "EnableReminders": true,
      "FirstReminderDayAmount": 5,
      "RecurrentReminderDayAmount": 3,
      "BeforeExpirationDayAmount": 3,
      "DaysUntilExpire": 28,
      "CallbackUrl": "",
      "StatusUpdateCallbackUrl": "",
      "Steps": [
        {
          "OrderIndex": 1,
          "Recipients": [
            {
              "Email": "##EMAIL##",
              "FirstName": "##NAME##",
              "LastName": "##NAME##",
              "LanguageCode": "en",
              "EmailBodyExtra": "",
              "DisableEmail": false,
              "AddAndroidAppLink": false,
              "AddIosAppLink": false,
              "AddWindowsAppLink": false,
              "AllowDelegation": false,
              "AllowAccessFinishedWorkstep": false,
              "SkipExternalDataValidation": false,
              "AuthenticationMethods": []
            }
          ],
          "EmailBodyExtra": "",
          "RecipientType": "Signer",
          "WorkstepConfiguration": {
            "WorkstepLabel": "inputtest.pdf",
            "SmallTextZoomFactorPercent": 100,
            "FinishAction": {
              "ServerActions": [],
              "ClientActions": []
            },
            "ReceiverInformation": {
              "UserInformation": {
                "FirstName": "##NAME##",
                "LastName": "##NAME##",
                "EMail": "##EMAIL##"
              },
              "TransactionCodePushPluginData": []
            },
            "SenderInformation": {
              "UserInformation": {
                "FirstName": "##NAME##",
                "LastName": "##NAME##",
                "EMail": "##EMAIL##"
              }
            },
            "TransactionCodeConfigurations": [
              {
                "Id": "smsAuthTransactionCodeId",
                "HashAlgorithmIdentifier": "Sha256",
                "Texts": [
                 
                ]
              }
            ],
            "SignatureConfigurations": [],
            "ViewerPreferences": {
              "FinishWorkstepOnOpen": false,
              "VisibleAreaOptions": {
                "AllowedDomain": "*",
                "Enabled": false
              }
            },
            "ResourceUris": {},
            "AuditingToolsConfiguration": {
              "WriteAuditTrail": false,
              "NotificationConfiguration": {}
            },
            "Policy": {
              "GeneralPolicies": {
                "AllowSaveDocument": true,
                "AllowSaveAuditTrail": true,
                "AllowRotatingPages": false,
                "AllowEmailDocument": true,
                "AllowPrintDocument": true,
                "AllowFinishWorkstep": true,
                "AllowRejectWorkstep": true,
                "AllowRejectWorkstepDelegation": false,
                "AllowUndoLastAction": false,
                "AllowAdhocPdfAttachments": false,
                "AllowAdhocSignatures": false,
                "AllowAdhocStampings": false,
                "AllowAdhocFreeHandAnnotations": false,
                "AllowAdhocTypewriterAnnotations": false,
                "AllowAdhocPictureAnnotations": false,
                "AllowAdhocPdfPageAppending": false
              },
              "WorkstepTasks": {
                "PictureAnnotationMinResolution": 0,
                "PictureAnnotationMaxResolution": 0,
                "PictureAnnotationColorDepth": "Color16M",
                "SequenceMode": "NoSequenceEnforced",
                "PositionUnits": "PdfUnits",
                "ReferenceCorner": "Lower_Left",
                  "Tasks": [
                                {
                                    "Forms": [
                                        {
                                            "FormFieldValidation": {
                                                "DecimalPlaces": 2,
                                                "DecimalSeparator": "Comma",
                                                "ThousandsSeparator": "Point",
                                                "Symbol": "€",
                                                "SymbolLocation": "EndWithBlank",
                                                "Range": {
                                                    "From": "-300,00 €",
                                                    "To": "5.000,00 €"
                                                },
                                                "DiscriminatorType": "FormFieldValidationNumber"
                                            },
                                            "IsRequired": false,
                                            "Id": "someNumber",
                                            "PositionPage": 1,
                                            "DocRefNumber": 1,
                                            "Position": {
                                                "PositionX": 71.0,
                                                "PositionY": 712.0
                                            },
                                            "Size": {
                                                "Height": 52.12,
                                                "Width": 100.0
                                            },
                                            "DiscriminatorType": "TextBox"
                                        }
                                    ],
                                    "IsRequired": false,
                                    "Id": "77e47a7d-a995-4668-a5f6-4fdb261f4bdd",
                                    "DisplayName": "",
                                    "DocRefNumber": 1,
                                    "DiscriminatorType": "FormGroup"
                                }
                            ]
                        }
                    },
            "Navigation": {
              "HyperLinks": [],
              "Links": [],
              "LinkTargets": []
            }
          },
          "DocumentOptions": [
            {
              "DocumentReference": "1",
              "IsHidden": false
            }
          ],
          "UseDefaultAgreements": true
        },
        {
          "OrderIndex": 2,
          "Recipients": [
            {
              "Email": "##EMAIL##",
              "FirstName": "##NAME##",
              "LastName": "##NAME##",
              "LanguageCode": "en",
              "EmailBodyExtra": "",
              "DisableEmail": false,
              "AddAndroidAppLink": false,
              "AddIosAppLink": false,
              "AddWindowsAppLink": false,
              "AllowDelegation": false,
              "SkipExternalDataValidation": false,
              "AuthenticationMethods": []
            }
          ],
          "EmailBodyExtra": "",
          "RecipientType": "Cc",
          "DocumentOptions": [],
          "UseDefaultAgreements": false
        }
      ],
    "AddFormFields": {
            "Forms": {
                "1": [
                    {
                        "Value": "",
                        "MaxLength": 0,
                        "IsMultiline": false,
                        "IsPassword": false,
                        "IsFileSelect": false,
                        "IsScrollAllowed": false,
                        "IsComb": false,
                        "TextColor": "Black",
                        "FontSize": 20.0,
                        "FontName": "Arial",
                        "Bold": false,
                        "Italic": false,
                        "TextAlign": "Left",
                        "Name": "someNumber",
                        "ReadOnly": false,
                        "Required": false,
                        "X": 70.8239974975586,
                        "Y": 712.054990234375,
                        "Width": 100.0,
                        "Height": 52.12,
                        "Page": 1,
                        "DiscriminatorType": "AddTextBoxFormFieldDescriptor"
                    }
                ]
            }
        },
      "OverrideFormFieldValues": {
        "Forms": {}
      },
      "AttachSignedDocumentsToEnvelopeLog": false
    }
    }