Lista de System Events

La tabla a continuación documenta el system events que puede ser planteado 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.

Todo events contiene 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

InformeDeEstadoDePagoDuplicadoRecibido

Publicado cuando 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"
    }
  }
}

Mensaje Inválido Recibido

Publicado cuando hay un problema técnico con el mensaje recibido 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"
    }
  }
}

AjusteDeLiquidezRecibido

Publicado cuando 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"
    }
  }
}

Posición De Liquidez Recibida

Publicado cuando 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"
    }
  }
}

Informe De Estado De Pago Huérfano Recibido

Publicado cuando 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"
    }
  }
}

Mensaje Saliente Problema Técnico

Publicado cuando 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"
    }
  }
}

ParticipanteNoDisponibleRecibido

Publicado cuando se recibe una notificación de disponibilidad 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"
    },
    "participantId": {
      "type": "string"
    },
    "rawMessage": {
      "type": "string"
    }
  }
}

Error De Correlación De Esquema

Publicado cuando 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

Publicado cuando un mensaje destinado al 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"
    }
  }
}