{
  "manifest": {
    "spekkr": 1,
    "id": "kato/account-deletion",
    "name": "Data export and account deletion",
    "summary": "Let people download what you hold about them and delete their account, with a grace period and a test that nothing is left behind.",
    "keywords": [
      "gdpr",
      "ccpa",
      "privacy",
      "right to be forgotten",
      "delete account",
      "data portability"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "kato",
      "name": "Kato"
    },
    "targets": {
      "platforms": [
        "web",
        "backend"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "app_name",
          "label": "App name",
          "default": "Acme",
          "help": "Shown on the pages and in every email."
        },
        {
          "key": "grace_days",
          "label": "Days before a deletion is carried out",
          "default": "14",
          "help": "A whole number. The person can change their mind until then."
        }
      ],
      "options": [
        {
          "key": "admin_requests",
          "label": "Requests handled by staff",
          "default": false,
          "help": "An administrator can start an export or a deletion for someone who asked by email."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        },
        {
          "key": "export_format",
          "label": "Format of the export",
          "choices": [
            "json",
            "json_and_csv"
          ],
          "default": "json",
          "help": "JSON alone, or JSON with a CSV copy of each table."
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance criteria."
      },
      {
        "path": "design.md",
        "about": "Data model, rules and flows."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      }
    ],
    "needs": {
      "accounts": [
        "An email-sending service"
      ],
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/your-data.png",
        "shots/delete-blocked.png",
        "shots/deletion-scheduled.png",
        "shots/sign-in.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL",
        "EMAIL_API_KEY"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.2",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.1.1",
        "date": "2026-11-14",
        "note": "Says \"person\" where it said \"buyer\"."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "Moved from dwrtz/account-deletion."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/delete-blocked.png": "files/shots/delete-blocked.png",
      "shots/deletion-scheduled.png": "files/shots/deletion-scheduled.png",
      "shots/sign-in.png": "files/shots/sign-in.png",
      "shots/your-data.png": "files/shots/your-data.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "kato",
  "uploaded": {
    "shots/delete-blocked.png": {
      "bytes": 76159,
      "type": "image/png"
    },
    "shots/deletion-scheduled.png": {
      "bytes": 65534,
      "type": "image/png"
    },
    "shots/sign-in.png": {
      "bytes": 120244,
      "type": "image/png"
    },
    "shots/your-data.png": {
      "bytes": 228728,
      "type": "image/png"
    }
  }
}
