{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adobe/json-schema/adobe-mega-sign-info-schema.json",
  "title": "MegaSignInfo",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adobe-acrobat-sign-v6-openapi.yml#/components/schemas/MegaSignInfo",
  "type": "object",
  "properties": {
    "groupId": {
      "description": "The unique identifier of the group to which the bulk send will belong to when it is created. If it is not provided during agreement creation the primary group of the creator will be used",
      "type": "string"
    },
    "childAgreementsInfo": {
      "description": "Info corresponding to each child agreement of the bulk send ",
      "type": "object",
      "$ref": "#/$defs/ChildAgreementsInfo"
    },
    "locale": {
      "description": "The locale associated with this agreement - specifies the language for the signing page and emails, for example en_US or fr_FR. If none specified, defaults to the language configured for the agreement sender",
      "type": "string"
    },
    "vaultingInfo": {
      "description": "Vaulting properties that allows Acrobat Sign to securely store documents with a vault provider",
      "type": "object",
      "$ref": "#/$defs/VaultingInfo"
    },
    "securityOption": {
      "description": "Optional security parameters for the bulk send",
      "type": "object",
      "$ref": "#/$defs/MegaSignSecurityOption"
    },
    "postSignOption": {
      "description": "URL and associated properties for the success page the user will be taken to after completing the signing process. Should not be provided in offline agreement creation. Note - A query parameter agreementStatus=completed will be automatically appended to the redirect URL when the agreement is completed",
      "type": "object",
      "$ref": "#/$defs/PostSignOption"
    },
    "singlePdfDownloadSize": {
      "description": "Projected download size (MB) of the PDF document associated with each child agreement",
      "type": "double"
    },
    "ccs": {
      "description": "A list of one or more CCs that will be copied in the bulk send transaction. The CCs will each receive an email at the beginning of the transaction and also when the final document is signed. The email addresses will also receive a copy of the document, attached as a PDF file ",
      "type": "array",
      "items": {
        "$ref": "#/$defs/MegaSignCcInfo"
      }
    },
    "isDocumentRetentionApplied": {
      "description": "Is document retention applied for this resource.  If provided in POST or PUT, it will simply be ignored.",
      "type": "boolean"
    },
    "lastEventDate": {
      "format": "date",
      "description": "The date of the last event that occurred for this bulk send.  Format would be yyyy-MM-dd'T'HH:mm:ssZ. For example, e.g 2016-02-25T18:46:19Z represents UTC time",
      "type": "string"
    },
    "senderEmail": {
      "description": "Email of agreement sender. Only provided in GET. Can not be provided in POST/PUT request. If provided in POST/PUT, it will be ignored",
      "type": "string"
    },
    "numChildren": {
      "description": "The total number of bulk send children associated with the bulk send parent. If provided in POST, it will be ignored. If modified in PUT, it will throw error MODIFYING_IMMUTABLE_FIELDS",
      "type": "integer"
    },
    "id": {
      "description": "The unique identifier of bulk send ",
      "type": "string"
    },
    "state": {
      "description": "State of the bulk send",
      "type": "string",
      "enum": [
        "AUTHORING",
        "IN_PROCESS"
      ]
    },
    "firstReminderDelay": {
      "description": "Integer which specifies the delay in hours before sending the first reminder.<br>This is an optional field. The minimum value allowed is 1 hour and the maximum value can’t be more than the difference of agreement creation and expiry time of the agreement in hours.<br>If this is not specified but the reminder frequency is specified, then the first reminder will be sent based on frequency.<br>i.e. if the reminder is created with frequency specified as daily, the firstReminderDelay will be 24 hours. Cannot be updated in a PUT",
      "type": "integer"
    },
    "signatureType": {
      "description": "Specifies the type of signature you would like to request - written or e-signature. The possible values are <br> ESIGN : Agreement needs to be signed electronically <br>,\nWRITTEN : Agreement will be signed using handwritten signature and signed document will be uploaded into the system",
      "type": "string",
      "enum": [
        "ESIGN",
        "WRITTEN"
      ]
    },
    "externalId": {
      "description": "An arbitrary value from your system, which can be specified at sending time and then later returned or queried. Note: the externalId value is visible to all participants through the API, so should not be used to contain a sensitive token.",
      "type": "object",
      "$ref": "#/$defs/ExternalId"
    },
    "message": {
      "description": "An optional message to the participants, describing what is being sent or why their signature is required",
      "type": "string"
    },
    "reminderFrequency": {
      "description": "Optional parameter that sets how often you want to send reminders to the participants. If it is not specified, the default frequency set for the account will be used",
      "type": "string",
      "enum": [
        "DAILY_UNTIL_SIGNED",
        "WEEKDAILY_UNTIL_SIGNED",
        "EVERY_OTHER_DAY_UNTIL_SIGNED",
        "EVERY_THIRD_DAY_UNTIL_SIGNED",
        "EVERY_FIFTH_DAY_UNTIL_SIGNED",
        "WEEKLY_UNTIL_SIGNED"
      ]
    },
    "redirectOptions": {
      "description": "Enhanced redirect information for the specific page the user will be taken to after completing the signing process. redirectOptions should not be provided in offline agreement creation. Note - A query parameter agreementStatus=declined will be automatically appended to the redirect URL when a participant declines the agreement",
      "type": "array",
      "items": {
        "$ref": "#/$defs/RedirectOption"
      }
    },
    "createdDate": {
      "format": "date",
      "description": "Date when bulk send was created. Format would be yyyy-MM-dd'T'HH:mm:ssZ. For example, e.g 2016-02-25T18:46:19Z represents UTC time",
      "type": "string"
    },
    "participantSetsInfo": {
      "description": "Information about the bulk send participants set.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/BulkParticipantSetInfo"
      }
    },
    "expirationTime": {
      "format": "date",
      "description": "Time after which Agreement expires and needs to be signed before it. Format should be yyyy-MM-dd'T'HH:mm:ssZ. For example, e.g 2016-02-25T18:46:19Z represents UTC time. Should not be provided in offline agreement creation. Agreements in DRAFT and AUTHORING status do not expire. The expiration count down starts when agreement is sent.",
      "type": "string"
    },
    "name": {
      "description": "The name of the agreement that will be used to identify it, in emails, website and other places",
      "type": "string"
    },
    "fileInfos": {
      "description": "A list of one or more files (or references to files) that will be sent out for signature. If more than one file is provided, they will be combined into one PDF before being sent out. Note: Only one of the four parameters in every FileInfo object must be specified",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FileInfo"
      }
    },
    "status": {
      "description": "Status of the bulk send",
      "type": "string",
      "enum": [
        "AUTHORING",
        "IN_PROCESS",
        "CANCELLED",
        "COMPLETED",
        "EXPIRED",
        "PREFILL"
      ]
    }
  },
  "required": [
    "childAgreementsInfo",
    "fileInfos",
    "name",
    "signatureType",
    "state"
  ],
  "$defs": {
    "BulkInfo": {
      "type": "object",
      "properties": {
        "source": {
          "description": "The source for the bulk participants.<br>- FILE: to reference file with participant defined in the ChildAgreementsInfo object.",
          "type": "string",
          "enum": [
            "FILE"
          ]
        }
      },
      "required": [
        "source"
      ]
    },
    "BulkParticipantInfo": {
      "type": "object",
      "properties": {
        "email": {
          "description": "Email of the participant. Currently only supports sender email.",
          "type": "string"
        }
      },
      "required": [
        "email"
      ]
    },
    "BulkParticipantSetInfo": {
      "type": "object",
      "properties": {
        "membersInfo": {
          "description": "Information about the send participants.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/BulkParticipantInfo"
          }
        },
        "role": {
          "description": "Role assumed by members in the set. If this is in response for bulk send created with new CSV format, this information is irrelevant.",
          "type": "string",
          "enum": [
            "SIGNER",
            "APPROVER",
            "FORM_FILLER",
            "ACCEPTOR",
            "CERTIFIED_RECIPIENT"
          ]
        },
        "bulkInfo": {
          "description": "Info about the bulk participants corresponding to each child agreement of the bulk send",
          "type": "object",
          "$ref": "#/$defs/BulkInfo"
        },
        "order": {
          "description": "Index indicating position at which signing group needs to sign.Signing group to sign at first place is assigned a 1 index. Different signingOrder specified in input should form a valid consecutive increasing sequence of integers. Otherwise signing order will be considered invalid.",
          "type": "integer"
        }
      },
      "required": [
        "order",
        "role"
      ]
    },
    "ChildAgreementsInfo": {
      "type": "object",
      "properties": {
        "fileInfo": {
          "description": "File info containing per child agreement information of bulk send.",
          "type": "object",
          "$ref": "#/$defs/MegaSignChildAgreementsFileInfo"
        }
      },
      "required": [
        "fileInfo"
      ]
    },
    "ExternalId": {
      "type": "object",
      "properties": {
        "id": {
          "description": "An arbitrary value from your system, which can be specified at sending time and then later returned or queried. Note: the externalId value is visible to all participants through the API, so should not be used to contain a sensitive token.",
          "type": "string"
        }
      }
    },
    "FileInfo": {
      "type": "object",
      "properties": {
        "notarize": {
          "description": "Indicates that this document needs to be notarized",
          "type": "boolean"
        },
        "transientDocumentId": {
          "description": "ID for a transient document that will be added to the agreement",
          "type": "string"
        },
        "libraryDocumentId": {
          "description": "ID for an existing Library document that will be added to the agreement",
          "type": "string"
        },
        "urlFileInfo": {
          "description": "URL for an external document to add to the agreement",
          "type": "object",
          "$ref": "#/$defs/URLFileInfo"
        }
      }
    },
    "MegaSignCcInfo": {
      "type": "object",
      "properties": {
        "email": {
          "description": "Email of the CC participant of the bulk send.",
          "type": "string"
        }
      }
    },
    "MegaSignChildAgreementsFileInfo": {
      "type": "object",
      "properties": {
        "transientDocumentId": {
          "description": "Transient id of the input file which contains participantSetsInfos. Currently only csv format is suppported. More details about CSV format <a href='https://www.adobe.com/go/documentcloud_megasigncsv'>here</a>  ",
          "type": "string"
        },
        "fileType": {
          "description": "Input type through which participantSetsInfos will be provided. Whichever input type is provided, the values should be provided in its corresponding value object. Currently we are supporting CSV file format for providing Send in Bulk child recipients.",
          "type": "string",
          "enum": [
            "CSV"
          ]
        },
        "childAgreementsInfoFileId": {
          "description": "id of the file containg information about the existing childAgreementsInfo associated with the bulk send. Will be ignored in POST and PUT calls and in the case of GET call, this is the only thing that will be returned. The content of the file can be fetched through GET /megaSigns/{megaSignId}/childAgreementsInfo/{childAgreementsInfoFileId} endpoint.",
          "type": "string"
        }
      },
      "required": [
        "fileType",
        "transientDocumentId"
      ]
    },
    "MegaSignSecurityOption": {
      "type": "object",
      "properties": {
        "externalAuthenticationMethod": {
          "description": "The authentication method for the participants to have access to view and sign the document.",
          "type": "string",
          "enum": [
            "NONE",
            "KBA",
            "PASSWORD",
            "ADOBE_SIGN"
          ]
        },
        "contentProtectionPreference": {
          "description": "The Content Protection Preference will be used to secure the view of the PDF document. It is an optional field",
          "type": "object",
          "$ref": "#/$defs/contentProtectionPreferences"
        },
        "internalAuthenticationMethod": {
          "description": "The authentication method for the participants to have access to view and sign the document.",
          "type": "string",
          "enum": [
            "NONE",
            "KBA",
            "PASSWORD",
            "ADOBE_SIGN"
          ]
        },
        "externalPassword": {
          "description": "The secondary password that will be used to protect signing the document for internal signers. Note that Acrobat Sign will never show this password to anyone, so you will need to separately communicate it to any relevant parties. This password is applied only if password protection is specified for internal signers or all signers",
          "type": "string"
        },
        "internalPassword": {
          "description": "The secondary password that will be used to protect signing the document for external signers. Note that Acrobat Sign will never show this password to anyone, so you will need to separately communicate it to any relevant parties. This password is applied only if password protection is specified for external signers or all signers",
          "type": "string"
        },
        "openPassword": {
          "description": "The secondary password that will be used to secure the PDF document. Note that Acrobat Sign will never show this password to anyone, so you will need to separately communicate it to any relevant parties",
          "type": "string"
        }
      },
      "required": [
        "externalAuthenticationMethod",
        "internalAuthenticationMethod"
      ]
    },
    "PostSignOption": {
      "type": "object",
      "properties": {
        "redirectUrl": {
          "description": "A publicly accessible url to which the user will be sent after successfully completing the signing process",
          "type": "string"
        },
        "redirectDelay": {
          "description": "The delay (in seconds) before the user is taken to the success page. If this value is greater than 0, the user will first see the standard Acrobat Sign success message, and then after a delay will be redirected to your success page",
          "type": "integer"
        }
      }
    },
    "RedirectOption": {
      "description": "Enhanced redirect information for the specific page the user will be taken to after completing the signing process. redirectOptions should not be provided in offline agreement creation",
      "type": "object",
      "properties": {
        "delay": {
          "description": "The delay (in seconds) before the user gets redirected to the specific page associated with an action. If delay is not 0, then the user will first see the standard Acrobat Sign message, and then after the delay will be redirect to the specified page",
          "type": "integer"
        },
        "action": {
          "description": "The specific action that this redirect applies to. Allowed action is DECLINED : Participant has rejected the agreement. More actions to be added in a future release",
          "type": "string",
          "enum": [
            "DECLINED"
          ]
        },
        "url": {
          "description": "The publicly accessible URL which the user will be redirected to",
          "type": "string"
        }
      },
      "required": [
        "action",
        "url"
      ]
    },
    "URLFileInfo": {
      "type": "object",
      "properties": {
        "name": {
          "description": "The original system file name of the document being sent",
          "type": "string"
        },
        "mimeType": {
          "description": "The mime type of the referenced file, used to determine if the file can be accepted and the necessary conversion steps can be performed",
          "type": "string"
        },
        "url": {
          "description": "A publicly accessible URL for retrieving the raw file content",
          "type": "string"
        }
      },
      "required": [
        "mimeType",
        "name",
        "url"
      ]
    },
    "VaultingInfo": {
      "type": "object",
      "properties": {
        "enabled": {
          "description": "For accounts set up for document vaulting and the option to enable per agreement, this determines whether the document is to be vaulted",
          "type": "boolean"
        }
      }
    },
    "contentProtectionPreferences": {
      "type": "object",
      "properties": {
        "external": {
          "description": "Specifies the Content Protection Preference for External users you would like to request . The possible values are <br> ENABLE : Enable Content Protection, <br>\nDISABLE: Disable Content Protection",
          "type": "string",
          "enum": [
            "ENABLE",
            "DISABLE"
          ]
        },
        "internal": {
          "description": "Specifies the Content Protection Preference for Internal users you would like to request . The possible values are <br> ENABLE : Enable Content Protection, <br>\nDISABLE: Disable Content Protection",
          "type": "string",
          "enum": [
            "ENABLE",
            "DISABLE"
          ]
        }
      }
    }
  }
}