{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/pagopa/main/json-schema/pagopa-single-flow-created-response-schema.json", "title": "SingleFlowCreatedResponse", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/pagopa-fdr-psp-openapi.yml#/components/schemas/SingleFlowCreatedResponse", "type": "object", "properties": { "status": { "$ref": "#/$defs/ReportingFlowStatusEnum" }, "revision": { "type": "integer", "description": "The revision (or version) of the flow.", "format": "int64" }, "created": { "$ref": "#/$defs/Instant" }, "updated": { "$ref": "#/$defs/Instant" }, "fdr": { "type": "string", "description": "The unique identifier of the flow." }, "fdrDate": { "$ref": "#/$defs/Instant" }, "regulation": { "type": "string", "description": "The description related to the regulation payment related to the flow." }, "regulationDate": { "$ref": "#/$defs/LocalDate" }, "bicCodePouringBank": { "type": "string", "description": "The BIC code of the bank where the regulation payment related to the flow will be poured." }, "sender": { "$ref": "#/$defs/Sender" }, "receiver": { "$ref": "#/$defs/Receiver" }, "computedTotPayments": { "type": "integer", "description": "The computed total number of payments included in the flow during the compilation.", "format": "int64" }, "computedSumPayments": { "pattern": "^\\d{1,2147483647}[.]\\d{1,2}?$", "type": "number", "description": "The computed total amount of payments calculated in the flow during the compilation.", "format": "double" }, "totPayments": { "type": "integer", "description": "The total number of payments to be included in the flow during the flow compilation.", "format": "int64" }, "sumPayments": { "pattern": "^\\d{1,2147483647}[.]\\d{1,2}?$", "type": "number", "description": "The total amount of payments to be calculated in the flow during the flow compilation.", "format": "double" } }, "$defs": { "Instant": { "type": "string", "format": "date-time" }, "LocalDate": { "type": "string", "format": "date" }, "Receiver": { "required": [ "id", "organizationId", "organizationName" ], "type": "object", "properties": { "id": { "pattern": "^(.{1,35})$", "type": "string", "description": "The identifier of the Creditor Institution receiver entity.
In the XML request for SOAP primitives, this field is mappable with the tag [FlussoRiversamento.istitutoRicevente.identificativoUnivocoRicevente.codiceIdentificativoUnivoco]." }, "organizationId": { "pattern": "^(.{1,35})$", "type": "string", "description": "The domain identifier of the Creditor Institution receiver entity.
In the XML request for SOAP primitives, this field is mappable with the tag [NodoInviaFlussoRendicontazione.identificativoDominio]." }, "organizationName": { "pattern": "^(.{1,140})$", "type": "string", "description": "The fiscal name of the Creditor Institution receiver entity.
In the XML request for SOAP primitives, this field is mappable with the tag [FlussoRiversamento.istitutoRicevente.denominazioneRicevente]." } } }, "ReportingFlowStatusEnum": { "enum": [ "CREATED", "INSERTED", "PUBLISHED" ], "type": "string" }, "Sender": { "required": [ "type", "id", "pspId", "pspName", "pspBrokerId", "channelId" ], "type": "object", "properties": { "type": { "$ref": "#/$defs/SenderTypeEnum" }, "id": { "pattern": "^(.{1,35})$", "type": "string", "description": "The identifier of the PSP sender entity.
In the XML request for SOAP primitives, this field is mappable with the tag [FlussoRiversamento.istitutoMittente.identificativoUnivocoMittente.codiceIdentificativoUnivoco]." }, "pspId": { "pattern": "^(.{1,35})$", "type": "string", "description": "The domain identifier of the PSP sender entity.
In the XML request for SOAP primitives, this field is mappable with the tag [NodoInviaFlussoRendicontazione.identificativoPSP]." }, "pspName": { "pattern": "^(.{3,70})$", "type": "string", "description": "The fiscal name of the PSP sender entity.
In the XML request for SOAP primitives, this field is mappable with the tag [FlussoRiversamento.istitutoMittente.denominazioneMittente]." }, "pspBrokerId": { "pattern": "^(.{1,35})$", "type": "string", "description": "The domain identifier of the PSP sender entity's Broker.
In the XML request for SOAP primitives, this field is mappable with the tag [NodoInviaFlussoRendicontazione.identificativoIntermediarioPSP]." }, "channelId": { "pattern": "^(.{1,35})$", "type": "string", "description": "The identifier of the PSP sender entity's Channel.
In the XML request for SOAP primitives, this field is mappable with the tag [NodoInviaFlussoRendicontazione.identificativoCanale]." }, "password": { "pattern": "^(\\w{8,15})$", "type": "string", "description": "The password of the PSP sender entity's Channel.
In the XML request for SOAP primitives, this field is mappable with the tag [NodoInviaFlussoRendicontazione.password].", "deprecated": true } } }, "SenderTypeEnum": { "enum": [ "LEGAL_PERSON", "ABI_CODE", "BIC_CODE" ], "type": "string" } } }