{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/contabo/json-schema/contabo-cancel-domain-request-schema.json",
  "title": "CancelDomainRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/contabo-domains-api-openapi.yml#/components/schemas/CancelDomainRequest",
  "type": "object",
  "properties": {
    "reason": {
      "type": "string",
      "description": "Reason for cancelling an domain",
      "enum": [
        "Technical issues / Outages / Performance",
        "Too expensive / price",
        "Product not needed anymore",
        "Bad customer support",
        "Switch to a different Contabo product",
        "Missing features",
        "Other"
      ]
    },
    "reasonText": {
      "type": "string",
      "description": "Reason Text when `Other` reason got selected while cancelling an domain"
    },
    "cancelDate": {
      "format": "date-time",
      "type": "string",
      "description": "Date of cancellation"
    }
  }
}