Texecom Event Schemas

JSON Schema Documentation

Account Deleted Payload

Payload emitted when an identity account is deleted. Consumed by the notification.app_devices cleanup pipeline, which requires at least accountId.

$idhttps://schemas.texecom-prod.com/v2/events/payload/service/identity/account/deleted/v1.0.0.json
$schemahttp://json-schema.org/draft-07/schema

Properties

NameType
accountIdString
emailString
accountTypeString

accountId

Description UUID of the account that was deleted (identity.accounts.account_id).
TypeString
Required Yes
Format uuid

email

Description Email address of the account at the time of deletion (identity.accounts.email). Case-insensitive, not unique across accounts.
TypeString
Required No
Format email

accountType

Description Type of the account at the time of deletion (identity.accounts.account_type).
TypeString
Required No
Enum
  • END_USER
  • INSTALLER_USER

Schema

{
    "$id": "https://schemas.texecom-prod.com/v2/events/payload/service/identity/account/deleted/v1.0.0.json",
    "$schema": "http://json-schema.org/draft-07/schema",
    "title": "Account Deleted Payload",
    "description": "Payload emitted when an identity account is deleted. Consumed by the notification.app_devices cleanup pipeline, which requires at least accountId.",
    "type": "object",
    "properties": {
        "accountId": {
            "description": "UUID of the account that was deleted (identity.accounts.account_id).",
            "type": "string",
            "format": "uuid"
        },
        "email": {
            "description": "Email address of the account at the time of deletion (identity.accounts.email). Case-insensitive, not unique across accounts.",
            "type": "string",
            "format": "email"
        },
        "accountType": {
            "description": "Type of the account at the time of deletion (identity.accounts.account_type).",
            "type": "string",
            "enum": [
                "END_USER",
                "INSTALLER_USER"
            ]
        }
    },
    "required": [
        "accountId"
    ],
    "additionalProperties": false
}