{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assinafy-com-br/json-schema/assinafy-com-br-notification-preferences-schema.json",
  "title": "NotificationPreferences",
  "description": "Owner-facing document notifications, keyed by notification type. `true` means the e-mail is sent.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assinafy-com-br-users-api-openapi.yml#/components/schemas/NotificationPreferences",
  "properties": {
    "DocumentCompleted": {
      "description": "Every signer has signed and the document is certified.",
      "type": "boolean"
    },
    "SignerDeclined": {
      "description": "A signer declined to sign.",
      "type": "boolean"
    },
    "DocumentCancelled": {
      "description": "The document was cancelled.",
      "type": "boolean"
    },
    "DocumentAboutToExpire": {
      "description": "The signature deadline is approaching.",
      "type": "boolean"
    },
    "DocumentExpired": {
      "description": "The signature deadline passed.",
      "type": "boolean"
    },
    "DocumentExpirationReset": {
      "description": "The signature deadline was extended.",
      "type": "boolean"
    },
    "DocumentProcessingFailed": {
      "description": "An uploaded document could not be processed.",
      "type": "boolean"
    },
    "TemplateProcessingFailed": {
      "description": "A template could not be processed.",
      "type": "boolean"
    },
    "SignerWhatsappFailed": {
      "description": "A WhatsApp notification to a signer could not be delivered.",
      "type": "boolean"
    },
    "ContractRenewalNotice": {
      "description": "A tracked contract entered its notice period: it is about to end or to renew.",
      "type": "boolean"
    },
    "ContractExpiring": {
      "description": "A tracked contract ends in 45 or in 30 days.",
      "type": "boolean"
    },
    "ContractExpired": {
      "description": "A tracked contract ended without renewal.",
      "type": "boolean"
    },
    "ContractRenewed": {
      "description": "A tracked contract was auto-renewed into its next term.",
      "type": "boolean"
    }
  },
  "type": "object"
}