{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-account-deletion-scheduled-schema.json",
  "title": "AccountDeletionScheduled",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendly-now-account-api-openapi.yml#/components/schemas/AccountDeletionScheduled",
  "properties": {
    "deletionScheduledAt": {
      "format": "date-time",
      "type": "string"
    },
    "purgeAfter": {
      "description": "Signing in again before this cancels the deletion.",
      "format": "date-time",
      "type": "string"
    },
    "storeSubscription": {
      "description": "A Sendly Pro the App Store or Google Play sold, which deleting the account does not cancel; null when there is none. Tell the person the message.",
      "properties": {
        "message": {
          "description": "Where the person cancels it. Plain text, no link.",
          "type": "string"
        },
        "store": {
          "enum": [
            "app_store",
            "play_store"
          ],
          "type": "string"
        }
      },
      "required": [
        "store",
        "message"
      ],
      "type": [
        "object",
        "null"
      ]
    },
    "success": {
      "enum": [
        true
      ],
      "type": "boolean"
    }
  },
  "required": [
    "success",
    "deletionScheduledAt",
    "purgeAfter",
    "storeSubscription"
  ],
  "type": "object"
}