Update SEPA TIS Specs authored by Konrad Botor's avatar Konrad Botor
...@@ -531,6 +531,10 @@ components: ...@@ -531,6 +531,10 @@ components:
document SEPA-MMS User Detailed Functional Specifications for Credit document SEPA-MMS User Detailed Functional Specifications for Credit
Transfer Processing (SCT). Uniqueness is checked. Transfer Processing (SCT). Uniqueness is checked.
example: 8e7070743da24402a7fc290bc62fbcd0 example: 8e7070743da24402a7fc290bc62fbcd0
title:
type: string
description: Payment title
example: Transfer to external account
amount: amount:
type: number type: number
format: double format: double
...@@ -822,26 +826,26 @@ components: ...@@ -822,26 +826,26 @@ components:
- DIS-0002 - DIS-0002
- DIS-0003 - DIS-0003
description: >- description: >-
Error code (1 - document with given ID already exists, 2 - validation error, Error code (1 - document with given ID already exists, 2 -
3 - technical error) validation error, 3 - technical error)
example: DIS-0001 example: DIS-0001
message: message:
type: object type: object
description: >- description: >-
Error message. Can be a simple string or an array of ValidationError objects Error message. Can be a simple string or an array of ValidationError
example: Document with given ID already exists objects example: Document with given ID already exists
ValidationError: ValidationError:
type: object type: object
description: >- description: >-
Validation error object - an array of those objects is passed instead of a Validation error object - an array of those objects is passed instead of
single message in Error object in case of validation error a single message in Error object in case of validation error
required: required:
- field - field
- message - message
properties: properties:
field: field:
type: string type: string
description: name of the field, which failed validation description: 'name of the field, which failed validation'
example: jsonrpc example: jsonrpc
message: message:
type: string type: string
... ...
......