Migration go-live error
Event generated when a go-live process is triggered but errors before dispatching the go-live for the desired accounts or cards.
Type: object
Additional properties: true
Domain: migration
Event: go_live_outgoing
Version: 1
code required
Title: Migration error code
Description: The code of message for systems
Type: string
Example:
MIGR-0400
message required
Title: The message schema
Description: Freeform description of the error
Type: string
Example:
Field migration.phase_id is required for the go-live process
Error retrieving accounts for go-live
migration required
Title: Migration Identifiers Object
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" }
id required
Title: Migration Identifier
Type: string
Example:
migration-id
version_date required
Title: Version Date of Migration Identifier
Type: string
Example:
2021-08-11T11:25:00.000Z
status required
Title: Migration status
Description: If the migration result was a success or not
Type: string
Must be one of the following:
SUCCESS
FAIL
Example:
SUCCESS
FAIL
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://pismo.io/events/migration/go_live_outgoing-1.json",
"type": "object",
"title": "Migration go-live error",
"description": "Event generated when a go-live process is triggered but errors before dispatching the go-live for the desired accounts or cards.",
"examples": [
{
"status": "FAIL",
"code": "MIGR-0400",
"message": "Field migration.phase_id is required for the go-live process",
"migration": {
"id": "migration-id",
"version_date": "2021-08-11T11:25:00.000Z"
}
}
],
"required": [
"code",
"message",
"migration",
"status"
],
"properties": {
"code": {
"$id": "#/properties/code",
"type": "string",
"title": "Migration error code",
"description": "The code of message for systems",
"default": "",
"examples": [
"MIGR-0400"
]
},
"message": {
"$id": "#/properties/message",
"type": "string",
"title": "The message schema",
"description": "Freeform description of the error",
"default": "",
"examples": [
"Field migration.phase_id is required for the go-live process",
"Error retrieving accounts for go-live"
]
},
"migration": {
"$id": "#/properties/migration",
"type": "object",
"title": "Migration Identifiers Object",
"description": "Identifier sent on start of migration process",
"default": {},
"examples": [
{
"id": "migration-id",
"version_date": "2021-08-11T11:25:00.000Z"
}
],
"required": [
"id",
"version_date"
],
"properties": {
"id": {
"$id": "#/properties/migration/properties/id",
"type": "string",
"title": "Migration Identifier",
"examples": [
"migration-id"
]
},
"version_date": {
"$id": "#/properties/migration/properties/version_date",
"type": "string",
"title": "Version Date of Migration Identifier",
"examples": [
"2021-08-11T11:25:00.000Z"
]
}
},
"additionalProperties": false
},
"status": {
"$id": "#/properties/status",
"type": "string",
"title": "Migration status",
"description": "If the migration result was a success or not",
"enum": [
"SUCCESS",
"FAIL"
],
"examples": [
"SUCCESS",
"FAIL"
]
}
},
"additionalProperties": true
}
{
"status": "FAIL",
"code": "MIGR-0400",
"message": "Field migration.phase_id is required for the go-live process",
"migration": {
"id": "migration-id",
"version_date": "2021-08-11T11:25:00.000Z"
}
}
Updated 19 days ago