account-reason-creation-1

This event occurs when a new reason for account status change is created.
More information: Account status change reasons

Type: object
Domain: account
Event: reason_creation
Version: 1

|
reason_id required

Title: Reason ID
Description: Reason ID for the change to account status.
Type: integer

name required

Title: Reason name
Description: Reason name for the change to account status.
Type: string
Max length: 60

description

Title: Reason description
Description: Reason description for the change to account status.
Type: string or null
Max length: 80

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Reason created",
    "description": "This event occurs when a new reason for account status change is created. \n More information: <a href='https://developers.pismo.io/pismo-docs/docs/account-status#account-status-change-reasons' target='_blank'>Account status change reasons</a>",
    "required": [
        "reason_id",
        "name"
    ],
    "properties": {
        "reason_id": {
            "type": "integer",
            "title": "Reason ID",
            "description": "Reason ID for the change to account status."
        },
        "name": {
            "type": "string",
            "title": "Reason name",
            "description": "Reason name for the change to account status.",
            "maxLength": 60
        },
        "description": {
            "type": [
                "string",
                "null"
            ],
            "title": "Reason description",
            "description": "Reason description for the change to account status.",
            "maxLength": 80
        }
    }
}