PCI card go-live migration completed

Event generated when a PCI card go-live migration finishes and the result is reported. Result can be either SUCCESS or FAIL.

Type: object
Additional properties: true
Domain: migration
Event: pci_card_go_live_outgoing
Version: 1

|
code required

Title: Migration message code
Description: The code of message for systems
Type: string
Example:
MIGR-0001

message required

Description: Message of Pci Card migration result
Type: string
Example:
Pci Card migrated with success

migration

Description: Identifier sent on start of migration process
Type: object
Additional properties: false
Example:

{
    "id": "migration-id",
    "version_date": "2021-08-11T11:25:00.000Z",
    "phase_id": "Rollout_Jan2022"
}
id required

Description: Migration Identifier
Type: string
Example:
migration-id

version_date required

Description: Version Date of Migration Identifier
Type: string
Format: date-time
Example:
2021-08-11T11:25:00.000Z

phase_id

Description: Identifies migration phase
Type: string
Example:
Rollout_Jan2022

status required

Title: Migration status
Description: If the result of Pci Card Go-Live migration was success or not
Type: string
Must be one of the following:
SUCCESS
FAIL
Example:
SUCCESS
FAIL

entity

Description: Pismo generated Pci Card information
Type: object
Additional properties: true
Example:

{
    "card_id": 10000012,
    "card_hash": "card_hash-value",
    "default_info_generated": [
        "passwordUpdated",
        "passwordTries"
    ]
}
card_id required

Description: Card identifier generated by pismo.
Type: integer
Example:
10000012

card_hash required

Description: Card hash generated by pismo.
Type: string
Example:
card_hash-value

default_info_generated

Type: array
Example:

[
    "passwordUpdated",
    "passwordTries"
]
operation

Title: Migration Operation
Description: If the Pci Card Go-Live migration is a creation or update
Type: string
Must be one of the following:
CREATION
UPDATE
Example:
UPDATE
CREATION

{
    "$schema": "http://json-schema.org/draft-07/schema",
    "$id": "https://pismo.io/events/migration/pci_card_outgoing-1.json",
    "type": "object",
    "title": "PCI card go-live migration completed",
    "description": "Event generated when a PCI card go-live migration finishes and the result is reported. Result can be either `SUCCESS` or `FAIL`.",
    "examples": [
        {
            "operation": "UPDATE",
            "status": "SUCCESS",
            "code": "MIGR-0001",
            "message": "Pci Card migrated with success",
            "migration": {
                "id": "migration-id",
                "version_date": "2021-08-11T11:25:00.000Z",
                "phase_id": "Rollout_Jan2022"
            },
            "entity": {
                "card_id": 10000012,
                "card_hash": "card_hash-value",
                "default_info_generated": [
                    "passwordUpdated",
                    "passwordTries"
                ]
            }
        }
    ],
    "required": [
        "code",
        "message",
        "migration",
        "status"
    ],
    "properties": {
        "code": {
            "$id": "#/properties/code",
            "type": "string",
            "title": "Migration message code",
            "description": "The code of message for systems",
            "examples": [
                "MIGR-0001"
            ]
        },
        "message": {
            "$id": "#/properties/message",
            "type": "string",
            "description": "Message of Pci Card migration result",
            "examples": [
                "Pci Card migrated with success"
            ]
        },
        "migration": {
            "$id": "#/properties/migration",
            "type": "object",
            "description": "Identifier sent on start of migration process",
            "examples": [
                {
                    "id": "migration-id",
                    "version_date": "2021-08-11T11:25:00.000Z",
                    "phase_id": "Rollout_Jan2022"
                }
            ],
            "required": [
                "id",
                "version_date"
            ],
            "properties": {
                "id": {
                    "$id": "#/properties/migration/properties/id",
                    "type": "string",
                    "description": "Migration Identifier",
                    "examples": [
                        "migration-id"
                    ]
                },
                "version_date": {
                    "$id": "#/properties/migration/properties/version_date",
                    "type": "string",
                    "format": "date-time",
                    "description": "Version Date of Migration Identifier",
                    "examples": [
                        "2021-08-11T11:25:00.000Z"
                    ]
                },
                "phase_id": {
                    "$id": "#/properties/migration/properties/phase_id",
                    "type": "string",
                    "description": "Identifies migration phase",
                    "examples": [
                        "Rollout_Jan2022"
                    ]
                }
            },
            "additionalProperties": false
        },
        "status": {
            "$id": "#/properties/status",
            "type": "string",
            "title": "Migration status",
            "description": "If the result of Pci Card Go-Live migration was success or not",
            "enum": [
                "SUCCESS",
                "FAIL"
            ],
            "examples": [
                "SUCCESS",
                "FAIL"
            ]
        },
        "entity": {
            "$id": "#/properties/entity",
            "type": "object",
            "description": "Pismo generated Pci Card information",
            "examples": [
                {
                    "card_id": 10000012,
                    "card_hash": "card_hash-value",
                    "default_info_generated": [
                        "passwordUpdated",
                        "passwordTries"
                    ]
                }
            ],
            "required": [
                "card_id",
                "card_hash"
            ],
            "properties": {
                "card_id": {
                    "$id": "#/properties/entity/properties/card_id",
                    "type": "integer",
                    "description": "Card identifier generated by pismo.",
                    "examples": [
                        10000012
                    ]
                },
                "card_hash": {
                    "$id": "#/properties/entity/properties/card_hash",
                    "type": "string",
                    "description": "Card hash generated by pismo.",
                    "examples": [
                        "card_hash-value"
                    ]
                },
                "default_info_generated": {
                    "$id": "#/properties/entity/properties/default_info_generated",
                    "type": "array",
                    "default": [],
                    "description": "Card default info generated.",
                    "items": {
                        "type": "string",
                        "examples": [
                            "passwordUpdated",
                            "passwordTries"
                        ]
                    }
                }
            },
            "additionalProperties": true
        },
        "operation": {
            "$id": "#/properties/operation",
            "type": "string",
            "title": "Migration Operation",
            "description": "If the Pci Card Go-Live migration is a creation or update",
            "enum": [
                "CREATION",
                "UPDATE"
            ],
            "examples": [
                "UPDATE",
                "CREATION"
            ]
        }
    },
    "additionalProperties": true
}
{
    "operation": "UPDATE",
    "status": "SUCCESS",
    "code": "MIGR-0001",
    "message": "Pci Card migrated with success",
    "migration": {
        "id": "migration-id",
        "version_date": "2021-08-11T11:25:00.000Z",
        "phase_id": "Rollout_Jan2022"
    },
    "entity": {
        "card_id": 10000012,
        "card_hash": "card_hash-value",
        "default_info_generated": [
            "passwordUpdated",
            "passwordTries"
        ]
    }
}