{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/airsign-com-au/json-schema/airsign-com-au-session-from-template-response-schema.json",
  "title": "SessionFromTemplateResponse",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/airsign-com-au-api-docs-openapi.json#/components/schemas/SessionFromTemplateResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "sessionId": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "selfSignOnly": {
      "type": "boolean"
    },
    "expiryDays": {
      "type": [
        "integer",
        "null"
      ]
    },
    "expiryDate": {
      "type": [
        "string",
        "null"
      ]
    },
    "reminderEnabled": {
      "type": "boolean"
    },
    "reminderFrequency": {
      "$ref": "#/$defs/ReminderFrequency"
    },
    "senderProfileId": {
      "type": [
        "string",
        "null"
      ]
    },
    "overrideCompletionEmailRecipients": {
      "type": [
        "string",
        "null"
      ]
    },
    "overrideAttachPdf": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "overrideAttachCertificate": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "overrideCreateCombinedDoc": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "overrideAttachCombinedDoc": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "overrideCustomCompletionMessage": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string"
    },
    "completedDate": {
      "type": [
        "string",
        "null"
      ]
    },
    "updatedAt": {
      "type": "string"
    },
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fileId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileType": {
            "type": "string"
          },
          "namespace": {
            "type": "string"
          },
          "zones": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/Zone"
            }
          },
          "sessionId": {
            "type": "string"
          },
          "importedZones": {
            "type": "boolean"
          }
        }
      }
    },
    "recipients": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RecipientSummary"
      }
    },
    "passwordRecipients": {
      "type": "array",
      "description": "Recipients that need an access password (only when sent and a recipient has `requireAccessPassword`).",
      "items": {
        "$ref": "#/$defs/PasswordRecipient"
      }
    },
    "tagIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "PasswordRecipient": {
      "type": "object",
      "properties": {
        "recipientId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        }
      }
    },
    "RecipientSummary": {
      "type": "object",
      "properties": {
        "recipientId": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "signingOrder": {
          "type": "integer"
        }
      }
    },
    "ReminderFrequency": {
      "type": "string",
      "enum": [
        "daily",
        "weekly",
        "monthly",
        "quarterly"
      ]
    },
    "Zone": {
      "type": "object",
      "description": "A placed field on a document page.",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "page": {
          "type": "integer"
        },
        "recipientId": {
          "type": "string"
        },
        "x": {
          "type": "number"
        },
        "y": {
          "type": "number"
        },
        "w": {
          "type": "number"
        },
        "h": {
          "type": "number"
        }
      }
    }
  }
}