{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://base44.com/webhooks/schemas/app.deleted.v1.json",
  "title": "app.deleted.v1",
  "description": "Tombstone identifiers only.\n\nDeletion is **not** erasure: the app moves to trash and is self-serve\nrestorable for 30 days, with unbounded restore through support. A receiver\nthat purges on this event will be wrong for every restored app, which is why\n``app.restored.v1`` exists and why this is documented as a trash signal.",
  "additionalProperties": false,
  "properties": {
    "app_id": {
      "description": "The app the event is about.",
      "type": "string"
    },
    "workspace_id": {
      "description": "The workspace the app belongs to.",
      "type": "string"
    },
    "owner_id": {
      "description": "Opaque platform id of the app's current owner.",
      "type": "string"
    },
    "deleted_at": {
      "description": "When the app was moved to trash (UTC). It can still be restored.",
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "app_id",
    "workspace_id",
    "owner_id",
    "deleted_at"
  ],
  "type": "object",
  "examples": [
    {
      "app_id": "68b0c1d2e3f4a5b6c7d8e9f0",
      "workspace_id": "68a1b2c3d4e5f6a7b8c9d0e1",
      "owner_id": "6899aabbccddeeff00112233",
      "deleted_at": "2026-09-01T10:15:30.123Z"
    }
  ]
}
