{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zekra-dev/json-schema/zekra-dev-account-delete-request-schema.json",
  "title": "Account-deleteRequest",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zekra-dev-openapi.json#/components/schemas/Account-deleteRequest",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "code": {
      "description": "The 6-digit code from POST /api/me/delete/code.",
      "maxLength": 16,
      "type": "string"
    },
    "password": {
      "description": "The account password. Either it or code is required: a session alone cannot delete an account.",
      "maxLength": 1024,
      "type": "string"
    },
    "testimonials": {
      "description": "Accepted for fadymondy parity; Zekra has no testimonials.",
      "enum": [
        "anonymise",
        "withdraw"
      ],
      "type": "string"
    }
  },
  "type": "object"
}