{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/slideforge-dev/json-schema/slideforge-dev-deletion-request-response-schema.json",
  "title": "DeletionRequestResponse",
  "description": "What the caller gets back when an erasure is requested.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/slideforge-dev-account-api-openapi.yml#/components/schemas/DeletionRequestResponse",
  "properties": {
    "request_id": {
      "type": "string",
      "title": "Request Id",
      "description": "Reference for this request; quoted in every email about it"
    },
    "state": {
      "type": "string",
      "title": "State",
      "description": "pending_confirmation until the emailed link is clicked"
    },
    "message": {
      "type": "string",
      "title": "Message",
      "description": "What the requester must do next"
    },
    "email_sent_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email Sent To",
      "description": "Where the confirmation was sent"
    }
  },
  "type": "object",
  "required": [
    "request_id",
    "state",
    "message"
  ]
}