Texecom Event Schemas

JSON Schema Documentation

Account Created Payload

Payload emitted when an identity account is created.

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

Properties

NameType
accountIdString
emailString
accountTypeString
firstNameString
lastNameString

accountId

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

email

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

accountType

Description Type of the account (identity.accounts.account_type).
TypeString
Required Yes
Enum
  • END_USER
  • INSTALLER_USER

firstName

Description First name of the account holder (identity.accounts.first_name).
TypeString
Required Yes

lastName

Description Last name of the account holder (identity.accounts.last_name).
TypeString
Required Yes

Schema

{
    "$id": "https://schemas.texecom-prod.com/v2/events/payload/service/identity/account/created/v1.0.0.json",
    "$schema": "http://json-schema.org/draft-07/schema",
    "title": "Account Created Payload",
    "description": "Payload emitted when an identity account is created.",
    "type": "object",
    "properties": {
        "accountId": {
            "description": "UUID of the account that was created (identity.accounts.account_id).",
            "type": "string",
            "format": "uuid"
        },
        "email": {
            "description": "Email address of the account (identity.accounts.email). Case-insensitive, not unique across accounts.",
            "type": "string",
            "format": "email"
        },
        "accountType": {
            "description": "Type of the account (identity.accounts.account_type).",
            "type": "string",
            "enum": [
                "END_USER",
                "INSTALLER_USER"
            ]
        },
        "firstName": {
            "description": "First name of the account holder (identity.accounts.first_name).",
            "type": "string"
        },
        "lastName": {
            "description": "Last name of the account holder (identity.accounts.last_name).",
            "type": "string"
        }
    },
    "required": [
        "accountId",
        "email",
        "accountType",
        "firstName",
        "lastName"
    ],
    "additionalProperties": false
}