Quota status changed

This event occurs when an quota's status changes.

Type: object
Domain: interest-management
Event: status_change_quota
Version: 1

|
external_quota_id required

Title: External Quota ID
Description: Unique quota identifier defined by client. It can be used to redeem quotas.
Type: string
Example:
d0855c6b-b037-4dce-94c5-7a6ffc1800a3

asset_id required

Title: Asset ID
Description: Unique asset identifier defined by Pismo.
Type: string
Example:
d0855c6b-b037-4dce-94c5-7a6ffc1800a3

external_asset_id required

Title: External asset ID
Description: Unique asset short identifier defined by Pismo.
Type: string or null
Example:
kxBHNMCAYDnQav

issuer_id required

Title: Issuer id
Description: Cetip code of registrator of asset. This is part of the asset identifier on the Pismo platform. It needs to be in every API call. An organization can have multiple issuer IDs.
Type: string
Example:
12345678

status required

Title: Quota status
Description: Status of quota
Type: string
Must be one of the following:
REDEEMED

updated_at required

Title: Updated date
Description: Date quota was last updated
Type: string
Format: date-time
Example:
2020-12-29T19:48:25

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Quota status changed",
    "description": "This event occurs when an quota's status changes.",
    "required": [
        "external_quota_id",
        "asset_id",
        "external_asset_id",
        "issuer_id",
        "status",
        "updated_at"
    ],
    "properties": {
        "external_quota_id": {
            "type": "string",
            "title": "External Quota ID",
            "description": "Unique quota identifier defined by client. It can be used to redeem quotas.",
            "examples": [
                "d0855c6b-b037-4dce-94c5-7a6ffc1800a3"
            ]
        },
        "asset_id": {
            "type": "string",
            "title": "Asset ID",
            "description": "Unique asset identifier defined by Pismo.",
            "examples": [
                "d0855c6b-b037-4dce-94c5-7a6ffc1800a3"
            ]
        },
        "external_asset_id": {
            "type": [
                "string",
                "null"
            ],
            "title": "External asset ID",
            "description": "Unique asset short identifier defined by Pismo.",
            "examples": [
                "kxBHNMCAYDnQav"
            ]
        },
        "issuer_id": {
            "type": "string",
            "title": "Issuer id",
            "description": "Cetip code of registrator of asset. This is part of the asset identifier on the Pismo platform. It needs to be in every API call. An organization can have multiple issuer IDs.",
            "examples": [
                "12345678"
            ]
        },
        "status": {
            "type": "string",
            "title": "Quota status",
            "description": "Status of quota",
            "enum": [
                "REDEEMED"
            ]
        },
        "updated_at": {
            "type": "string",
            "title": "Updated date",
            "description": "Date quota was last updated",
            "format": "date-time",
            "examples": [
                "2020-12-29T19:48:25"
            ]
        }
    }
}
{
    "external_quota_id": "d0855c6b-b037-4dce-94c5-7a6ffc1800a3",
    "asset_id": "d0855c6b-b037-4dce-94c5-7a6ffc1800a3",
    "external_asset_id": "kxBHNMCAYDnQav",
    "issuer_id": "12345678",
    "status": "REDEEMED",
    "updated_at": "2020-12-29T19:48:25"
}