Deposit product updated

Type: object
Domain: deposit-product
Event: update
Version: 1

|
product_id required

Title: Product Identifier
Description: Product identifier in the pismo platform. UUID v4 format
Type: string
Example:
2c336e9d-d04f-4fd0-8f6e-25808f48d70c

status required

Title: Status
Description: Deposit product update status. This can be either ACTIVE or INACTIVE
Type: string
Example:
ACTIVE
INACTIVE

previous_status required

Title: Previous Status
Description: The previous status of updated deposit product. This can be CREATED, ACTIVE, or INACTIVE
Type: string
Example:
CREATED
ACTIVE
INACTIVE

updated_at required

Title: Update Datetime
Description: Deposit product update date time. Represented as a RFC3339 timestamp
Type: string
Example:
2024-01-23T18:26:25Z

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "Deposit product updated",
    "required": [
        "product_id",
        "status",
        "previous_status",
        "updated_at"
    ],
    "properties": {
        "product_id": {
            "type": "string",
            "title": "Product Identifier",
            "description": "Product identifier in the pismo platform. UUID v4 format",
            "examples": [
                "2c336e9d-d04f-4fd0-8f6e-25808f48d70c"
            ]
        },
        "status": {
            "type": "string",
            "title": "Status",
            "description": "Deposit product update status. This can be either `ACTIVE` or `INACTIVE`",
            "examples": [
                "ACTIVE",
                "INACTIVE"
            ]
        },
        "previous_status": {
            "type": "string",
            "title": "Previous Status",
            "description": "The previous status of updated deposit product. This can be `CREATED`, `ACTIVE`, or `INACTIVE`",
            "examples": [
                "CREATED",
                "ACTIVE",
                "INACTIVE"
            ]
        },
        "updated_at": {
            "type": "string",
            "title": "Update Datetime",
            "description": "Deposit product update date time. Represented as a RFC3339 timestamp",
            "examples": [
                "2024-01-23T18:26:25Z"
            ]
        }
    }
}
{
    "product_id": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c",
    "status": "ACTIVE",
    "previous_status": "CREATED",
    "updated_at": "2024-01-23T18:26:25Z"
}