{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elocuenti-com/json-schema/elocuenti-com-template-deleted-response-schema.json",
  "title": "TemplateDeletedResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elocuenti-com-templates-api-openapi.yml#/components/schemas/TemplateDeletedResponse",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/TemplateDeleted"
    },
    "request_id": {
      "type": "string",
      "description": "The identifier of this request. Give it to support if you need help.",
      "title": "Request Id"
    },
    "simulated": {
      "description": "`true` only with a sandbox key: nothing was deleted.",
      "type": "boolean",
      "title": "Simulated"
    }
  },
  "required": [
    "data",
    "request_id"
  ],
  "$defs": {
    "TemplateDeleted": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the template.",
          "title": "Name"
        },
        "language": {
          "type": "string",
          "description": "Its language.",
          "title": "Language"
        },
        "deleted": {
          "type": "boolean",
          "description": "`true`: the template no longer appears in your business.",
          "title": "Deleted"
        },
        "removed_from_whatsapp": {
          "type": "boolean",
          "description": "`true` when it was also removed from WhatsApp. `false` when it never reached WhatsApp (it was a draft), or when WhatsApp refused the business's connection and the template was only hidden here: it can still exist in WhatsApp Manager, where you can remove it by hand.",
          "title": "Removed From Whatsapp"
        }
      },
      "required": [
        "name",
        "language",
        "deleted",
        "removed_from_whatsapp"
      ],
      "description": "The template that was deleted.",
      "title": "TemplateDeleted"
    }
  }
}