Lista de System Events

La tabla a continuación documenta los eventos del sistema que pueden ser generados por CSM Service. Los esquemas de carga útil están documentados como Borrador 4 del esquema JSON. Utilice una herramienta como este para una representación visual de la carga útil esquemas.

Todos los eventos contienen alguna información básica de nivel superior y una carga útil. La información de nivel superior se representa como miembros del IPFSystemEvent tipo, y sus cargas útiles están documentadas a continuación.

El esquema para el nivel superior IPFSystemEvent el tipo es el siguiente:

Esquema de nivel superior
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "IPF System Event",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string"
    },
    "level": {
      "type": "string",
      "enum": [ "DEBUG", "INFO", "WARN", "ERROR" ]
    },
    "createdAt": { },
    "version": {
      "$ref": "#/definitions/EventVersion"
    },
    "type": {
      "type": "string",
      "enum": [ "TECHNICAL", "FUNCTIONAL" ]
    },
    "processingContext": {
      "$ref": "#/definitions/ProcessingContext"
    },
    "source": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "payload": {
      "$ref": "#/definitions/Object"
    }
  },
  "definitions": {
    "EventVersion": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "major": {
          "type": "integer"
        },
        "minor": {
          "type": "integer"
        },
        "patch": {
          "type": "integer"
        }
      },
      "required": [ "major", "minor", "patch" ]
    },
    "ProcessingContext": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "associationId": {
          "type": "string"
        },
        "checkpoint": {
          "type": "string"
        },
        "unitOfWorkId": {
          "type": "string"
        },
        "clientRequestId": {
          "type": "string"
        },
        "processingEntity": {
          "type": "string"
        }
      }
    },
    "Object": {
      "type": "object",
      "additionalProperties": false,
      "properties": { }
    }
  }
}

CSM Service System Events

Nombre Descripción Tipo Nivel Esquema de carga útil

DuplicatePaymentStatusReportReceived

Publishedcuando se recibe un informe de estado de pago duplicado

FUNCTIONAL

INFO

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "status" : {
      "type" : "string"
    },
    "rawMessage" : {
      "type" : "string"
    }
  }
}

InvalidMessageReceived

Publishedcuando hay un problema técnico con el mensaje que se recibe de CSM

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "csm" : {
      "type" : "string"
    },
    "description" : {
      "type" : "string"
    },
    "rawMessage" : {
      "type" : "string"
    }
  }
}

LiquidityAdjustmentReceived

Publishedcuando se recibe una notificación de ajuste de liquidez del CSM

FUNCTIONAL

INFO

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "csm" : {
      "type" : "string"
    },
    "rawMessage" : {
      "type" : "string"
    }
  }
}

LiquidityPositionReceived

Publishedcuando se recibe una notificación de posición de liquidez del CSM

FUNCTIONAL

INFO

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "csm" : {
      "type" : "string"
    },
    "rawMessage" : {
      "type" : "string"
    }
  }
}

OrphanPaymentStatusReportReceived

Publishedcuando se recibe un informe de estado de pago que no corresponde a un pago anterior

FUNCTIONAL

WARN

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "csm" : {
      "type" : "string"
    },
    "status" : {
      "type" : "string"
    },
    "rawMessage" : {
      "type" : "string"
    },
    "transactionId" : {
      "type" : "string"
    },
    "description" : {
      "type" : "string"
    }
  }
}

OutgoingMessageTechnicalIssue

Publishedcuando hay un problema técnico con el mensaje enviado al CSM

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "csm" : {
      "type" : "string"
    },
    "reasonCode" : {
      "type" : "string"
    },
    "rawMessage" : {
      "type" : "string"
    }
  }
}

ParticipantDataLoadNotificationReceived

Publishedcuando se recibe una notificación de carga de datos de un participante del CSM

FUNCTIONAL

INFO

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "csm" : {
      "type" : "string"
    },
    "rawMessage" : {
      "type" : "string"
    }
  }
}

ParticipantUnavailableReceived

Publishedcuando se recibe una notificación de participante no disponible del CSM

FUNCTIONAL

INFO

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "csm" : {
      "type" : "string"
    },
    "participantId" : {
      "type" : "string"
    },
    "rawMessage" : {
      "type" : "string"
    }
  }
}

SchemeCorrelationError

Publishedcuando la solicitud de estado no pudo ser correlacionada por el CSM

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "csm" : {
      "type" : "string"
    },
    "description" : {
      "type" : "string"
    }
  }
}

SchemeRuleValidationFailed

Publishedcuando un mensaje destinado a la CSM no pasa la validación

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "reasonCode" : {
      "type" : "string"
    },
    "description" : {
      "type" : "string"
    },
    "expectedValue" : {
      "type" : "string"
    },
    "actualValue" : {
      "type" : "string"
    }
  }
}