{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nice/json-schema/nice-gdpr-erasure-request-schema.json",
  "title": "GdprErasureRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nice-privacy-gdpr-openapi.yml#/components/schemas/GdprErasureRequest",
  "type": "object",
  "properties": {
    "subjectIdentifier": {
      "type": "string",
      "description": "Phone number or email address or userId accord to the subjectIdentifierType"
    },
    "subjectIdentifierType": {
      "type": "string",
      "enum": [
        "PHONENO",
        "EMAIL",
        "USER"
      ]
    }
  },
  "required": [
    "subjectIdentifier",
    "subjectIdentifierType"
  ]
}