{
    "components": {
        "schemas": {
            "AppliedValidationRulesDto": {
                "properties": {
                    "cci": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfLabelValue": {
                        "items": {
                            "$ref": "#/components/schemas/AppliedValidationRulesLabelValueDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfValidationResult": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationResultDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AppliedValidationRulesLabelValueDto": {
                "properties": {
                    "key": {
                        "nullable": true,
                        "type": "string"
                    },
                    "referenceId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "value": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AresDocumentDto": {
                "properties": {
                    "aresRegistrationNumber": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfAresItemIds": {
                        "items": {
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CciSearchResultDto": {
                "properties": {
                    "accountingYearId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "cci": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionDecisionDate": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionDecisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ecId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "enablingConditionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fullVersion": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fundId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "link": {
                        "maxLength": 1000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "objectType": {
                        "maxLength": 4,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "specificActionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "specificType": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CompareChapterDto": {
                "properties": {
                    "fromChapter": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "representation": {
                        "nullable": true,
                        "type": "string"
                    },
                    "section": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "toChapter": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "CompareDto": {
                "properties": {
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "representation": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DocumentAttachmentDto": {
                "properties": {
                    "attachmentTypeCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 16,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "containsTextKeyword": {
                        "description": "In case the document was loaded by having the extra text parameter, this flag indicates if the attachement contains the text",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isEncrypted": {
                        "description": "is encrypted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "isHidden": {
                        "description": "flag to indicate that an attachments need to be hidden. (after the document was sent)",
                        "type": "boolean"
                    },
                    "isSystemGenerated": {
                        "description": "system property to indicate if attachment was generated by the system (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "language": {
                        "description": "The language id. This can be provided by the referenceData languages.",
                        "format": "int64",
                        "type": "integer"
                    },
                    "masterDocumentAttachmentId": {
                        "description": "A document attachment might be linked to a \"parent\" documentAttachment",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sfcLargeObject": {
                        "$ref": "#/components/schemas/LargeObjectDto"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "attachmentTypeCode",
                    "isHidden",
                    "language",
                    "title"
                ],
                "type": "object"
            },
            "DocumentAuthorityRestrictionDto": {
                "properties": {
                    "authorityTypeId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "required": [
                    "authorityTypeId"
                ],
                "type": "object"
            },
            "DocumentAuthorityTypeRestrictionMetaDataDto": {
                "description": "list of possible document authority type restrictions. Will only be populted for the referring document types having the 'restrict read' option. The list is indentifiable through the documentTypeId",
                "properties": {
                    "documentTypeId": {
                        "description": "the Id of the document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleAuthorityRestrictions": {
                        "description": "the list of possible document AuthorityRestrictions for this document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "DocumentDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "description": "For Member State Documents, the Country is automatically set at creation with the Country of the Node creating the Document and cannot be modified.For Commission Documents, the Commission user can select a specific Country or none meaning \"All Countries\".",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfRepliesFromDocument": {
                        "description": "In case the document can have a reply then this listOfRepliesFromDocument will contain the replying documents",
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "parentDocumentId": {
                        "description": "In case this document is a reply to a received Document. parentDocumentId is the id of the received document.",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentEditable": {
                        "description": "flag that indicates if the documents (which is sent) is updateable. When this is true the user can hide/show the attachments",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentRefreshable": {
                        "description": "flag that indicates if the documents (which is sent) is refreshable. When this is true the user can refresh the attachments from Ares",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "documentDate",
                    "documentTypeId",
                    "title"
                ],
                "type": "object"
            },
            "DocumentDtoMetadata": {
                "properties": {
                    "canCreate": {
                        "description": "Indicates if the user can create a document",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "isUserAnAuditAgent": {
                        "description": "Indicates if the user is an Audit Agent",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAuthorityTypeRestrictionMetaData": {
                        "description": "list of possible document authority type restrictions. Will only be populted for the referring document types having the 'restrict read' option. The list is indentifiable through the documentTypeId",
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityTypeRestrictionMetaDataDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentLinkMetaData": {
                        "description": "list of possible document links. Will only be populated for the referring document types. The list is indentifiable through the documentTypeId",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkMetaDataDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypeMeta": {
                        "description": "list of possible document types meta for the listOfDocumentTypes",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypeMetaForCurrentDocType": {
                        "description": "list of possible document types meta for the current document type",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypes": {
                        "description": "list of possible document types for creation",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypesForThisGroup": {
                        "description": "list of possible document types for this specific document group",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypesSendable": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentTypeSendableDtoMetadata"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfReferringDocumentTypes": {
                        "description": "list of referred doc types (the part of ids of possible document types for creation that are referred document types)",
                        "items": {
                            "description": "list of referred doc types (the part of ids of possible document types for creation that are referred document types)",
                            "format": "int64",
                            "readOnly": true,
                            "type": "integer"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "showCciLink": {
                        "description": "Indicates if the column \"CciLink(s)\" should be shown or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "showExtraFields": {
                        "description": "Indicates if the column \"Extra Fields\" should be shown or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentLinkDto": {
                "description": "List of CCIs linked to this document that have been deleted",
                "properties": {
                    "accountingPeriod": {
                        "maxLength": 6,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "cci": {
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "decisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fund": {
                        "maxLength": 8,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "mainObjectId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "objectTitle": {
                        "description": "title for the cci in case of a referring document (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectType": {
                        "maxLength": 4,
                        "minLength": 0,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "readOnly": true,
                "required": [
                    "id",
                    "objectType"
                ],
                "type": "object"
            },
            "DocumentLinkMetaDataDto": {
                "description": "list of possible document links. Will only be populated for the referring document types. The list is indentifiable through the documentTypeId",
                "properties": {
                    "documentTypeId": {
                        "description": "the Id of the document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleLinks": {
                        "description": "the list of possible document links for this document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "description": "the Id of the object type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "DocumentMetaDataDto": {
                "properties": {
                    "documentTypeMetaDataCode": {
                        "maxLength": 12,
                        "minLength": 0,
                        "type": "string"
                    },
                    "value": {
                        "description": "The string representation or the metadata. In case metadata has multiple values they are separated by a semicolon. The default maximum length of the metadata is specified in this DTO but can be further restricted in the metadata directory definition (maxChars)",
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "documentTypeMetaDataCode"
                ],
                "type": "object"
            },
            "DocumentSearchDto": {
                "properties": {
                    "codelang": {
                        "maxLength": 2,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "country": {
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "direction": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentType": {
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "jsonMetadata": {
                        "description": "Json representation of the list of metadata linked to this document (if any)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "links": {
                        "maxLength": 32767,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "objectSubtype": {
                        "maxLength": 6,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sentBy": {
                        "description": "SentBy user",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "tabLabel": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "totalAttachmentSize": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "required": [
                    "documentDate"
                ],
                "type": "object"
            },
            "DocumentSearchParams": {
                "properties": {
                    "attachmentTitle": {
                        "description": "the title of a document attachment. Only documents having an attachment containing the title specified will be returned",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "empty": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "languageIds": {
                        "description": "the language ids of a document attachment. Only documents having an attachment in one of the specified languages will be returned",
                        "items": {
                            "description": "the language ids of a document attachment. Only documents having an attachment in one of the specified languages will be returned",
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "page": {
                        "default": 0,
                        "description": "The page of the search results to be returned",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "query": {
                        "description": "the RSQL query to search",
                        "nullable": true,
                        "type": "string"
                    },
                    "size": {
                        "default": 1000,
                        "description": "The size of each page of the search results",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sort": {
                        "default": "-modificationDate",
                        "description": "The sort string. This string consists of comma separated field names that will be used for ascending sorting.In case descending sorting is desired the field name should be prefixed with a \"-\"",
                        "example": "title,-modificationDate",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "text": {
                        "description": "a partial text to search in document attachments",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DocumentTypeSendableDtoMetadata": {
                "properties": {
                    "documentTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sendable": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentWithVersionInfoDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "description": "For Member State Documents, the Country is automatically set at creation with the Country of the Node creating the Document and cannot be modified.For Commission Documents, the Commission user can select a specific Country or none meaning \"All Countries\".",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfRepliesFromDocument": {
                        "description": "In case the document can have a reply then this listOfRepliesFromDocument will contain the replying documents",
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersion": {
                        "description": "The version of the object where this document was created (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersionId": {
                        "description": "The id of the object where this document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "parentDocumentId": {
                        "description": "In case this document is a reply to a received Document. parentDocumentId is the id of the received document.",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentEditable": {
                        "description": "flag that indicates if the documents (which is sent) is updateable. When this is true the user can hide/show the attachments",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentRefreshable": {
                        "description": "flag that indicates if the documents (which is sent) is refreshable. When this is true the user can refresh the attachments from Ares",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "documentDate",
                    "documentTypeId",
                    "title"
                ],
                "type": "object"
            },
            "ECASSignerDataDto": {
                "properties": {
                    "signaturePageUrl": {
                        "description": "The signature page URL",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "signatureRequestId": {
                        "description": "The signature request ID",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EditablePagesDto": {
                "type": "object"
            },
            "EditableSectionsDto": {
                "type": "object"
            },
            "ExportExtraDto": {
                "properties": {
                    "annexAnnualPlan": {
                        "description": "A flag indicating if the Annex for the Annual plan export option is available on the user actions menu. This would be Decisional Annex T7 for ETC and T10 for IJG",
                        "nullable": true,
                        "type": "boolean"
                    },
                    "annexPriorityPlan": {
                        "description": "A flag indicating if the Annex for the Priority plan export option is available on the user actions menu. This would be Decisional Annex T10 for ETC and T11 for IJG",
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "LargeObjectDto": {
                "description": "actual file(aka large object) information. Should not be provided when the content doesn't need to be updated",
                "properties": {
                    "contentCrc": {
                        "description": "the \"SHA-256\" hash will be automatically calculated (Read-Only)",
                        "maxLength": 512,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "filename": {
                        "description": "Temporary filename on the server. This filename will be returned with a previous call to the server to save the document (/temp-attachment) ",
                        "maxLength": 512,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "lobName": {
                        "description": "The lobname is the actual name of the file. This lobname will only be looked at in case a \"filename\" was provided",
                        "example": "file_name_example.pdf",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "lobSize": {
                        "description": "size is automatically calculated from the provided file (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "mimeType": {
                        "description": "when not provided, the mimetype will be guessed from the file extension",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "MetadataDto": {
                "properties": {
                    "canImportFromExcel": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "compareChaptersDto": {
                        "items": {
                            "$ref": "#/components/schemas/CompareChapterDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "compareDto": {
                        "items": {
                            "$ref": "#/components/schemas/CompareDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "disabledFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "editablePagesDto": {
                        "$ref": "#/components/schemas/EditablePagesDto"
                    },
                    "editableSectionsDto": {
                        "$ref": "#/components/schemas/EditableSectionsDto"
                    },
                    "exportExtraDto": {
                        "$ref": "#/components/schemas/ExportExtraDto"
                    },
                    "nextActionsDtoList": {
                        "items": {
                            "$ref": "#/components/schemas/NextActionsDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "MvoSummaryDto": {
                "properties": {
                    "cci": {
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "statusDate": {
                        "description": "Status date",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "NextActionsDto": {
                "properties": {
                    "actionCode": {
                        "maxLength": 3,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "confirmationRequired": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hideActionButton": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "inMoreActionsButton": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PfrVerSearchDto": {
                "properties": {
                    "cci": {
                        "description": "Prefinancing Request Cci",
                        "example": "2021BE05SFPR001",
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNode": {
                        "description": "Translated current node description",
                        "example": "European Commission",
                        "maxLength": 25000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "englishTitle": {
                        "maxLength": 383,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNode": {
                        "description": "Translated previous node description",
                        "example": "Belgium",
                        "maxLength": 25000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "status": {
                        "description": "Translated status description",
                        "example": "Sent",
                        "maxLength": 25000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusModificationDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "PrefinancingRequestCreateDto": {
                "properties": {
                    "cci": {
                        "maxLength": 15,
                        "minLength": 15,
                        "type": "string"
                    },
                    "nationalReference": {
                        "maxLength": 375,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "cci"
                ],
                "type": "object"
            },
            "PrefinancingRequestCreateMetadataDto": {
                "properties": {
                    "listOfProgrammes": {
                        "items": {
                            "$ref": "#/components/schemas/ProgrammeDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "PrefinancingRequestPersonInChargeDto": {
                "properties": {
                    "beginDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "email": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "endDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "key": {
                        "description": "Key to be used in the table compare",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "languageId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "name": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "phone": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "email",
                    "name"
                ],
                "type": "object"
            },
            "PrefinancingRequestRequestDto": {
                "properties": {
                    "balanceAmount": {
                        "description": "Balance of EU share on the day of a request",
                        "nullable": true,
                        "type": "number"
                    },
                    "forecastEndDate": {
                        "description": "End date of the forecast of programme financial needs required with pre-financing request",
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "iban": {
                        "description": "Bank account IBAN",
                        "maxLength": 34,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "paymentNeedsAmount": {
                        "description": "Payment needs (EU Share)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "number"
                    },
                    "provisionalBudgetAmount": {
                        "description": "Provisional (planned) budget",
                        "nullable": true,
                        "type": "number"
                    },
                    "requestedAmount": {
                        "description": "Requested amount",
                        "type": "number"
                    }
                },
                "required": [
                    "iban",
                    "requestedAmount"
                ],
                "type": "object"
            },
            "PrefinancingRequestRequestMetadataDto": {
                "properties": {
                    "existsAcceptedPrefinancingRequestVersion": {
                        "description": "Flag that indicates if there is an accepted prefinancing request version for the same cci.  If so, all fields are mandatory. If not, only 'requested amount' and 'bank account IBAN are mandatory'",
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PrefinancingRequestVersionDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "listOfDocument": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfPersonInCharge": {
                        "items": {
                            "$ref": "#/components/schemas/PrefinancingRequestPersonInChargeDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "prefinancingRequest": {
                        "$ref": "#/components/schemas/PrefinancingRequestRequestDto"
                    },
                    "versionInfo": {
                        "$ref": "#/components/schemas/VersionInfoDto"
                    }
                },
                "type": "object"
            },
            "PrefinancingRequestVersionObservationDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isEcUser": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nameAndSurname": {
                        "maxLength": 300,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "text": {
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PrefinancingRequestVersionsSearchMetaDataDto": {
                "properties": {
                    "canCreate": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ProgrammeDto": {
                "properties": {
                    "cci": {
                        "maxLength": 15,
                        "minLength": 15,
                        "nullable": true,
                        "type": "string"
                    },
                    "englishTitle": {
                        "maxLength": 383,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReferenceDataDtoInterface": {
                "description": "list of possible document types meta for the current document type",
                "properties": {
                    "code": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "ReturnEcModificationDto": {
                "properties": {
                    "listOfAresDocuments": {
                        "items": {
                            "$ref": "#/components/schemas/AresDocumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "reason": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "reason"
                ],
                "type": "object"
            },
            "ReturnMsModificationDto": {
                "properties": {
                    "reason": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "reason"
                ],
                "type": "object"
            },
            "SendActionMetadataDto": {
                "properties": {
                    "attachmentDownloadUrl": {
                        "description": "The attachment download base url. The {docAttId} from the listOfDocumentAttachments needs to be appended to get the full url for download.",
                        "example": "12345/general/documents/12346/attachments",
                        "maxLength": 2048,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfDocumentAttachments": {
                        "description": "list of snapshot attachments. This will only be returned on the highest MS node.",
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "lowerMsNode": {
                        "description": "Indicates if the current node is a lower MS node or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "requiresEuloginSignature": {
                        "description": "Indication whether the eulogin signature is required for this action or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SendDocumentDtoMetadata": {
                "properties": {
                    "actionId": {
                        "description": "Indicates the Send Document Action id linked to this Object type",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "requiresEuloginSignature": {
                        "description": "Indication whether the eulogin signature is required for this action or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SfcObjectStatusHistoryDto": {
                "properties": {
                    "actionId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "comments": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "email": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nameAndSurname": {
                        "maxLength": 512,
                        "minLength": 0,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "statusId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "required": [
                    "actionId",
                    "currentNodeId",
                    "email",
                    "nameAndSurname",
                    "previousNodeId",
                    "statusId"
                ],
                "type": "object"
            },
            "StopPrefinancingRequestDto": {
                "properties": {
                    "listOfAresDocuments": {
                        "items": {
                            "$ref": "#/components/schemas/AresDocumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "TempFileDto": {
                "properties": {
                    "filename": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TocDto": {
                "properties": {
                    "childrenCrcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "code": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "crcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "disabled": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hasContent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "helpI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "highlighted": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hintI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "key": {
                        "maxLength": 1024,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameArguments": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "orderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "orderByChar": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "parentTocId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "staticItem": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "subtitle1I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "subtitle2I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "titleArguments": {
                        "maxLength": 3000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "titleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tocItemArguments": {
                        "maxLength": 1000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tocItemOrderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "tooltipI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "url": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ValidationResultDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "orderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "resultI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "ruleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "severityCode": {
                        "maxLength": 5,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "severityI18nCode": {
                        "description": "Denormalization of the serverityCode to be able to immediately translate the severity code.",
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "validationResultParameters": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationResultParameterDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "validationRuleCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ValidationResultParameterDto": {
                "properties": {
                    "type": {
                        "description": "Type of the parameter",
                        "enum": [
                            "BIGDECIMAL",
                            "DATE",
                            "DATE_TIME",
                            "I18N",
                            "I18N_LIST",
                            "LONG",
                            "STRING"
                        ],
                        "nullable": true,
                        "type": "string"
                    },
                    "value": {
                        "description": "Value of the parameter. Note that for BIGDECIMAL the value is returned as a string to avoid the limitation in precission that can happen in the JSON or in the client application language. For example depending on the type: STRING('abc'), I18N('fund.ESF'), I18N_LIST('fund.ESF,fund.CF'), LONG( 1234 ), BIGDECIMAL('123.12'), DATE('2024-03-14'), DATE_TIME('2024-03-14T14:06:57.275651600')",
                        "nullable": true,
                        "type": "object"
                    }
                },
                "type": "object"
            },
            "VersionInfoDto": {
                "properties": {
                    "cci": {
                        "description": "Prefinancing request Cci",
                        "example": "2021BE05SFPR001",
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "description": "Current node id",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "englishTitle": {
                        "description": "The english title of the programme",
                        "maxLength": 383,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "languageId": {
                        "description": "The source language identifier",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nationalReference": {
                        "description": "National reference for the prefinancing request",
                        "maxLength": 375,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "originalNodeId": {
                        "description": "Original node id",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Owner node id",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "statusDate": {
                        "description": "Status date",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "statusId": {
                        "description": "Status id",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "version": {
                        "description": "The prefinancing request's version",
                        "format": "int32",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "description": "The prefinancing request's work version",
                        "format": "int32",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            }
        },
        "securitySchemes": {
            "sfcBearerAuthentication": {
                "bearerFormat": "JWT",
                "in": "header",
                "scheme": "bearer",
                "type": "http"
            }
        }
    },
    "info": {
        "contact": {
            "email": "EC-SFC2021-INFO@ec.europa.eu",
            "name": "Support",
            "url": "https://ec.europa.eu/sfc/en/2021/webservices"
        },
        "description": "This is the swagger documentation for the prefinancing-request-api for the SFC2021 frontoffice system.  You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/).   ",
        "title": "SFC2021 prefinancing-request-api",
        "version": "3.23.0"
    },
    "openapi": "3.0.1",
    "paths": {
        "/prefinancing-request-api/cci-search": {
            "get": {
                "description": "Returns a list of objects that are relevant to the specified cci.",
                "operationId": "searchCci",
                "parameters": [
                    {
                        "in": "query",
                        "name": "cci",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/CciSearchResultDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Search for a specific cci",
                "tags": [
                    "Cci Search"
                ]
            }
        },
        "/prefinancing-request-api/commission-reference-document/{commissionReferenceNumber}": {
            "get": {
                "description": "Provides the commission reference document in a documentDto model. (only to be used by EC users)The documentTypeId can optionally be given to determine if the rendition version is needed or the original version.",
                "operationId": "getCommissionReferenceDocument",
                "parameters": [
                    {
                        "in": "path",
                        "name": "commissionReferenceNumber",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "documentTypeId",
                        "required": false,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "commission reference document not found"
                    }
                },
                "summary": "gets a commission reference document",
                "tags": [
                    "HRS"
                ]
            }
        },
        "/prefinancing-request-api/document-search": {
            "post": {
                "description": "Returns a list of documents that match the specified criteria.",
                "operationId": "searchAllDocuments",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DocumentSearchParams"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentSearchDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Search for documents",
                "tags": [
                    "Global Document Search"
                ]
            }
        },
        "/prefinancing-request-api/document-search/download-all": {
            "post": {
                "description": "Downloads a zip file with all attachments matching the search criteria.",
                "operationId": "downloadAllDocuments",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DocumentSearchParams"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Download all documents",
                "tags": [
                    "Global Document Search"
                ]
            }
        },
        "/prefinancing-request-api/get-ecas-signature-url": {
            "get": {
                "description": "Retrieves the Ecas signature url",
                "operationId": "getEcasSignatureUrl",
                "parameters": [
                    {
                        "in": "query",
                        "name": "actionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "callback",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "documentId",
                        "required": false,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "objectId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ECASSignerDataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Gets the Ecas signature url",
                "tags": [
                    "Ecas signature"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions": {
            "get": {
                "description": "Returns the list of Prefinancing Request Version that are relevant to the external user/system calling this\r\n   * method. The user/system is identified through the common Sfc2021 Authenticator.",
                "operationId": "searchPrefinancingRequestVersions",
                "parameters": [
                    {
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "default": 0,
                            "format": "int32",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "size",
                        "required": false,
                        "schema": {
                            "format": "int32",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "sort",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/PfrVerSearchDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Find Prefinancing Request Versions",
                "tags": [
                    "Search"
                ]
            },
            "post": {
                "description": "This method should be used when a user requests the creation of a Prefinancing Request object in the SFC system",
                "operationId": "createPrefinancingRequestVersion",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PrefinancingRequestCreateDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestVersionDto"
                                }
                            }
                        },
                        "description": "Prefinancing Request created"
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PfrVerSearchDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Add a new Prefinancing Request",
                "tags": [
                    "Prefinancing Request Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/export": {
            "get": {
                "description": "Export into MS Excel a list of documents.",
                "operationId": "exportcontactUsers",
                "parameters": [
                    {
                        "in": "query",
                        "name": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "sort",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Export Prefinancing Request Versions in excel format",
                "tags": [
                    "Search"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/search-metadata": {
            "get": {
                "description": "Returns the meta data contains a flag stating if the user can create a new Prefinancing Request version.",
                "operationId": "searchPrefinancingRequestVersionsMetadata",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestVersionsSearchMetaDataDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Returns the search screen meta data.",
                "tags": [
                    "Search"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/validation-rules/{pfrVerId}": {
            "get": {
                "description": "Returns the applied validation rules for the `Prefinancing Request Version with the given Prefinancing Request Version id.",
                "operationId": "programmeVersionIjgValidationRules",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AppliedValidationRulesDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AppliedValidationRulesDto"
                                }
                            }
                        },
                        "description": "PrefinancingRequestVersion not found"
                    }
                },
                "summary": "Returns the applied validation rules for the Prefinancing Request Version.",
                "tags": [
                    "Validation rules"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/version-create-metadata": {
            "get": {
                "description": "Get all metadata needed for the prefinancing request create action",
                "operationId": "getVersionInformationCreateMetadata",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestCreateMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get prefinancing request create metadata",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/general/documents": {
            "get": {
                "description": "Returns the list of DocumentDto for a given documentable object id.",
                "operationId": "getDocumentsIjgPrg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "documentable object not found"
                    }
                },
                "summary": "Find the list of Documents linked to a specific documentable object",
                "tags": [
                    "00.5 - General / Documents"
                ]
            },
            "post": {
                "description": "Inserts a document if the user has the permission.",
                "operationId": "insertDocumentIjg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DocumentDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Inserts a new document",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/general/documents/metadata": {
            "get": {
                "description": "Provides the specific metadata for the documents section.",
                "operationId": "getDocumentsMetadataIjg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDtoMetadata"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDtoMetadata"
                                }
                            }
                        },
                        "description": "documentable object not found"
                    }
                },
                "summary": "metadata for the documents",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/general/documents/{documentId}": {
            "delete": {
                "description": "Deletes the document when the document is not sent and the user needs to have the permission to delete the document.",
                "operationId": "deleteDocumentIjg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Deletes the document",
                "tags": [
                    "00.5 - General / Documents"
                ]
            },
            "get": {
                "description": "Gets the document if the user has the permission.",
                "operationId": "getDocumentsIjgIdDocIdPrg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Retrieves the document",
                "tags": [
                    "00.5 - General / Documents"
                ]
            },
            "put": {
                "description": "Updates the document if the user has the permission.",
                "operationId": "updateDocumentIjg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DocumentDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Updates the document",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/general/documents/{documentId}/attachments/{docAttId}": {
            "get": {
                "description": "Returns the document attachment from the database as a outputStream in the response. The user needs to have access to be able to download the attachment.",
                "operationId": "downloadDocumentAttachementIjg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "docAttId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "format": "binary",
                                    "type": "string"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Download document attachment file",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/general/documents/{documentId}/refresh": {
            "put": {
                "description": "Updates the document with the latest information from Ares. The main purpose is to upload additional translation that might have been added in Ares afterwards. (By the creator or de DMO)",
                "operationId": "refreshDocumentIjg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Refresh the document",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/general/documents/{documentId}/send": {
            "post": {
                "description": "Send the document when the document is not sent, when it's not an integral document and the user has the permission to send the document.",
                "operationId": "sendDocumentIjg",
                "parameters": [
                    {
                        "description": "Optional callback for web application use only; It's the URL that was used by EU Login to redirect the browser to after the signature operation took place",
                        "in": "query",
                        "name": "callback",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Optional signature ID for web application use only; It's the id returned be eu-login after the signature operation took place",
                        "in": "query",
                        "name": "signatureId",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Sends the document",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/general/documents/{documentId}/send/metadata": {
            "get": {
                "description": "It return the metadata info for the Send aciton of Document.",
                "operationId": "getSendDocumentMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/SendDocumentDtoMetadata"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Metadata for the Send action in documents",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/general/mandatory-documents": {
            "get": {
                "description": "Returns the last version of mandatory documents uploaded against this or previous documentable object versions",
                "operationId": "getMandatoryDocumentsIjg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentWithVersionInfoDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentWithVersionInfoDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "documentable object not found"
                    }
                },
                "summary": "Find the mandatory documents",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{id}/tocs": {
            "get": {
                "description": "Returns the Table of Contents entries of Prefinancing Request Version for a given Prefinancing Request Version id.",
                "operationId": "getTocsPfr",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/TocDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/TocDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "PrefinancingRequestVersionIjg not found"
                    }
                },
                "summary": "Get the table of contents",
                "tags": [
                    "Table of contents"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}": {
            "get": {
                "description": "Returns the Prefinancing Request Version for a given Prefinancing Request Version id.",
                "operationId": "prefinancingRequestVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestVersionDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestVersionDto"
                                }
                            }
                        },
                        "description": "PrefinancingRequestVersion not found"
                    }
                },
                "summary": "Find Prefinancing Request Version by id",
                "tags": [
                    "Search"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/ACC": {
            "post": {
                "description": "This use case occurs when a user wants to accept a Pre-Financing Request Version sent by the Member State. The notification utility will be called to notify the acceptance by the Commission to the Member State and to the Back-Office.",
                "operationId": "acceptDecision",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Accept Decision executed"
                    }
                },
                "summary": "Accept Decision on Prefinancing Request Version",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/CAN": {
            "post": {
                "description": "This method should be used when a user wants to cancel a Pre-Financing Request version with documents sent to the Commission and without any previous work version in status âRevision requested by ECâ. The notification utility will be called to notify the Commission of the cancel of the version.",
                "operationId": "cancel",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Cancel executed"
                    }
                },
                "summary": "Cancel Prefinancing Request Version",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/CRE": {
            "post": {
                "description": "This method should be used when a user wants to create a new version of a Pre-Financing Request. A new version needs to be created when on the last version a revision was requested by the Commission for modification.",
                "operationId": "createNewVersionPfr",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PfrVerSearchDto"
                                }
                            }
                        },
                        "description": "Create New Version executed"
                    }
                },
                "summary": "Create New Version of a Prefinancing Request",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/DEL": {
            "post": {
                "description": "This method should be used when a user wants to delete a Prefinancing Request version from the system",
                "operationId": "delete",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Delete executed"
                    }
                },
                "summary": "Delete Prefinancing Request Version",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/EDT": {
            "post": {
                "description": "This method should be used when the user would like to return to the OPEN status without actually editing any data",
                "operationId": "edit",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Edit Prefinancing Request Version",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/PSE": {
            "post": {
                "description": "This method should be used when a user on the highest MS Node wants to indicate that the Prefinancing Request version can be prepared for sending to the Commission",
                "operationId": "prepareForSendToEc",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Prepare for Send executed"
                    }
                },
                "summary": "Prepare for Send to EC Prefinancing Request Version",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/REO": {
            "post": {
                "description": "This method should be used when a Commission user wants to undo the last action. The notification utility will be called to notify the reopening by the Commission to the Member State and to the Back-Office.",
                "operationId": "reopen",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Reopen executed"
                    }
                },
                "summary": "Reopen Prefinancing Request Version",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/RME": {
            "post": {
                "description": "This method should be used when a user wants to return the Prefinancing Request Version sent by the Member State because it is incomplete or incorrect and needs to be modified. The notification utility will be called to notify the return to the Member State.",
                "operationId": "returnByEcForModification",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnEcModificationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "return by EC executed"
                    }
                },
                "summary": "Return Prefinancing Request Version by EC for Modification",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/RMM": {
            "post": {
                "description": "This method should be used when a user wants to return the Prefinancing Request Version sent by the Region because it is incomplete or incorrect and needs to be modified. The notification utility will be called to notify the return to the Region.",
                "operationId": "returnByMsForModification",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnMsModificationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "return by MS executed"
                    }
                },
                "summary": "Return Prefinancing Request Version by MS for Modification",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/SND": {
            "post": {
                "description": "This method should be used when a user is ready to send its recorded data on a Prefinancing Request version to the Commission or to an upper Node. The notification utility will be called to notify the Commission or the upper Node of the sending of the version.",
                "operationId": "sendToEc",
                "parameters": [
                    {
                        "description": "Optional callback for web application use only; It's the URL that was used by EU Login to redirect the browser to after the signature operation took place",
                        "in": "query",
                        "name": "callback",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Optional signature ID for web application use only; It's the id returned be eu-login after the signature operation took place",
                        "in": "query",
                        "name": "signatureId",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Send executed"
                    }
                },
                "summary": "Send to EC Prefinancing Request",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/SND/metadata": {
            "get": {
                "operationId": "getSendMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/SendActionMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Send Prefinancing Request metadata",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/STP": {
            "post": {
                "description": "This method should be used when a user wants to stop a Pre-Financing Request Version sent by the Member State. The notification utility will be called to notify the stoppage by the Commission to the Member State and to the Back-Office.",
                "operationId": "stopPrefinancingRequest",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/StopPrefinancingRequestDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Stop pre-financing request executed"
                    }
                },
                "summary": "Stop Pre-Financing Request",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/actions/VAL": {
            "post": {
                "description": "This method should be used when a user requests an overall validation of the information related to a version of the Prefinancing Request Version",
                "operationId": "validate",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Validation executed"
                    }
                },
                "summary": "Validate Prefinancing Request Version",
                "tags": [
                    "Workflow actions"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/general/history": {
            "get": {
                "description": "Returns a history of all actions performed against the Programme version and the resulting status.",
                "operationId": "getStatusHistory",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/SfcObjectStatusHistoryDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Retrieves the Status History",
                "tags": [
                    "00.3 - General / History"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/general/observations": {
            "get": {
                "description": "Returns a list of all the Observations in a conversation.",
                "operationId": "getListOfObservations",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/PrefinancingRequestVersionObservationDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get List of Observations",
                "tags": [
                    "00.5 - General / Observations"
                ]
            },
            "post": {
                "description": "Creates a new Observation",
                "operationId": "postObservations",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PrefinancingRequestVersionObservationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestVersionObservationDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create new Observation",
                "tags": [
                    "00.5 - General / Observations"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/general/officials": {
            "get": {
                "description": "Retrieves a list of all the officials in charge",
                "operationId": "getOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/PrefinancingRequestPersonInChargeDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get list of Officials in charge",
                "tags": [
                    "00.2 - General / Officials in charge"
                ]
            },
            "post": {
                "description": "Creates a new Official in charge",
                "operationId": "postOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PrefinancingRequestPersonInChargeDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create a new Official",
                "tags": [
                    "00.2 - General / Officials in charge"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/general/officials/{offId}": {
            "delete": {
                "description": "Deletes an existing Official in charge",
                "operationId": "deleteOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "offId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Delete an Official",
                "tags": [
                    "00.2 - General / Officials in charge"
                ]
            },
            "get": {
                "description": "Retrieves the information for the official in charge specified",
                "operationId": "getOfficial",
                "parameters": [
                    {
                        "in": "path",
                        "name": "offId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Read Official in charge",
                "tags": [
                    "00.2 - General / Officials in charge"
                ]
            },
            "put": {
                "description": "Updates the information for the Official specified",
                "operationId": "putOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "offId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PrefinancingRequestPersonInChargeDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update Official in charge",
                "tags": [
                    "00.2 - General / Officials in charge"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/general/validation-results": {
            "get": {
                "description": "The list shows the results of the last validation action execution",
                "operationId": "getValidationResults",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationResultDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Retrieves the list of validation results",
                "tags": [
                    "00.1 - General / Version information"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/general/version-info": {
            "get": {
                "description": "Read programme version information",
                "operationId": "getVersionInformation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/VersionInfoDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Read version information",
                "tags": [
                    "00.1 - General / Version information"
                ]
            },
            "put": {
                "description": "Update programme version information",
                "operationId": "putVersionInformation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VersionInfoDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/VersionInfoDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update version information",
                "tags": [
                    "00.1 - General / Version information"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/metadata": {
            "get": {
                "description": "Get all possible actions related with the status of a prefinancing request identified by a given id",
                "operationId": "actionsMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/NextActionsDto"
                                }
                            }
                        },
                        "description": "OK"
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/MetadataDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Get all possible actions",
                "tags": [
                    "Prefinancing Request Version metadata"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/request": {
            "get": {
                "description": "Retrieves prefinancing request",
                "operationId": "getPrefinancingRequest",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestRequestDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get prefinancing request",
                "tags": [
                    "01 - Request"
                ]
            },
            "put": {
                "description": "Updates the prefinancing request",
                "operationId": "putPrefinancingRequest",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PrefinancingRequestRequestDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestRequestDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update prefinancing request",
                "tags": [
                    "01 - Request"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/request/metadata": {
            "get": {
                "description": "Retrieves prefinancing request metadata",
                "operationId": "getPrefinancingRequestMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrefinancingRequestRequestMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get prefinancing request metadata",
                "tags": [
                    "01 - Request"
                ]
            }
        },
        "/prefinancing-request-api/prefinancing-request-versions/{pfrVerId}/summary": {
            "get": {
                "description": "Returns the data to complete the header of the object: cci, status, status date, modification date, modification user, current node, previous node and owner node",
                "operationId": "summaryIjg",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pfrVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/MvoSummaryDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Returns the information to fill the summary header of the object.",
                "tags": [
                    "Prefinancing Request Summary"
                ]
            }
        },
        "/prefinancing-request-api/probe/liveness": {
            "get": {
                "description": "Returns the health state of the prefinancing request service",
                "operationId": "testApiLiveness",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "additionalProperties": {
                                        "type": "string"
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Liveness page",
                "tags": [
                    "Liveness"
                ]
            }
        },
        "/prefinancing-request-api/temp-attachment": {
            "post": {
                "description": "Allow to save a file on the server.The returned filename can then be used when manipulating the objects where a file needs to be attached.",
                "operationId": "saveToTempFile",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "properties": {
                                    "file": {
                                        "format": "binary",
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "file"
                                ],
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TempFileDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Saves a given multipart file into a temporary file on the server",
                "tags": [
                    "Files upload"
                ]
            }
        },
        "/prefinancing-request-api/{id}/global-search/documents/{documentId}": {
            "get": {
                "description": "Gets the document if the user has the permission with the extra option to flag any attachemnts containing the specified text.",
                "operationId": "getDocumentWithTextMarkup",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "text",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Retrieves document details for a global search document result",
                "tags": [
                    "Global Document Search"
                ]
            }
        },
        "/prefinancing-request-api/{id}/global-search/documents/{documentId}/attachments/{docAttId}": {
            "get": {
                "description": "Returns the text of a document attachment from the database and highlights the text specified (if the attachment contains it",
                "operationId": "downloadHighlightedDocumentAttachment",
                "parameters": [
                    {
                        "in": "path",
                        "name": "docAttId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "text",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Highlight text in an attachment",
                "tags": [
                    "Global Document Search"
                ]
            }
        }
    },
    "security": [
        {
            "sfcBearerAuthentication": [
                "read",
                "write"
            ]
        }
    ],
    "servers": [
        {
            "url": "http://sfc2021.net1.cec.eu.int:8080/sfc2021"
        }
    ]
}