{
    "components": {
        "schemas": {
            "AcceptDecisionDto": {
                "properties": {
                    "eligibilityEndDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "eligibilityStartDate": {
                        "format": "date",
                        "type": "string"
                    }
                },
                "required": [
                    "eligibilityEndDate",
                    "eligibilityStartDate"
                ],
                "type": "object"
            },
            "AppliedValidationRulesDto": {
                "properties": {
                    "cci": {
                        "maxLength": 15,
                        "minLength": 0,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 10,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "maxLength": 15,
                        "minLength": 0,
                        "type": "string"
                    },
                    "listOfLabelValue": {
                        "items": {
                            "$ref": "#/components/schemas/AppliedValidationRulesLabelValueDto"
                        },
                        "type": "array"
                    },
                    "listOfValidationResult": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationResultDto"
                        },
                        "type": "array"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AppliedValidationRulesLabelValueDto": {
                "properties": {
                    "key": {
                        "type": "string"
                    },
                    "referenceId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AresDocumentDto": {
                "properties": {
                    "aresRegistrationNumber": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    },
                    "listOfAresItemIds": {
                        "items": {
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CommissionDecisionDto": {
                "description": "list of CommissionDecisions.",
                "properties": {
                    "decisionDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "decisionNumber": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "CompareChapterDto": {
                "properties": {
                    "fromChapter": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "representation": {
                        "type": "string"
                    },
                    "section": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "toChapter": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "CompareDto": {
                "properties": {
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "representation": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CreateNewVersionDto": {
                "properties": {
                    "basedOnWithdrawnVersion": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "CspSearchMetaDataDto": {
                "properties": {
                    "canCreate": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentAttachmentDto": {
                "properties": {
                    "attachmentTypeCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 16,
                        "minLength": 0,
                        "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",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "isEncrypted": {
                        "description": "is encrypted (read-only)",
                        "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)",
                        "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",
                        "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",
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleAuthorityRestrictions": {
                        "description": "the list of possible document AuthorityRestrictions for this document type",
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "DocumentDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "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",
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "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"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "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",
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "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",
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "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",
                        "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",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "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",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "isUserAnAuditAgent": {
                        "description": "Indicates if the user is an Audit Agent",
                        "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"
                        },
                        "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"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypeMeta": {
                        "description": "list of possible document types meta for the listOfDocumentTypes",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypeMetaForCurrentDocType": {
                        "description": "list of possible document types meta for the current document type",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypes": {
                        "description": "list of possible document types for creation",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypesForThisGroup": {
                        "description": "list of possible document types for this specific document group",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypesSendable": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentTypeSendableDtoMetadata"
                        },
                        "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"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "showCciLink": {
                        "description": "Indicates if the column \"CciLink(s)\" should be shown or not",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "showExtraFields": {
                        "description": "Indicates if the column \"Extra Fields\" should be shown or not",
                        "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,
                        "type": "string"
                    },
                    "cci": {
                        "maxLength": 51,
                        "minLength": 0,
                        "type": "string"
                    },
                    "decisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "type": "string"
                    },
                    "fund": {
                        "maxLength": 8,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "mainObjectId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "objectTitle": {
                        "description": "title for the cci in case of a referring document (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectType": {
                        "maxLength": 4,
                        "minLength": 0,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "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",
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleLinks": {
                        "description": "the list of possible document links for this document type",
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "description": "the Id of the object type",
                        "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,
                        "type": "string"
                    }
                },
                "required": [
                    "documentTypeMetaDataCode"
                ],
                "type": "object"
            },
            "DocumentTypeSendableDtoMetadata": {
                "properties": {
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "sendable": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentWithVersionInfoDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "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",
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "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"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersion": {
                        "description": "The version of the object where this document was created (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersionId": {
                        "description": "The id of the object where this document was created (read-only)",
                        "format": "int64",
                        "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",
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "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",
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "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",
                        "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",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "documentDate",
                    "documentTypeId",
                    "title"
                ],
                "type": "object"
            },
            "EditablePagesDto": {
                "type": "object"
            },
            "EditableSectionsDto": {
                "type": "object"
            },
            "EuContributionPerYearByMeasureDto": {
                "properties": {
                    "euContributionPerYear": {
                        "$ref": "#/components/schemas/EuContributionPerYearDto"
                    },
                    "measureCode": {
                        "type": "string"
                    },
                    "measureDescription": {
                        "type": "string"
                    },
                    "total": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "EuContributionPerYearDto": {
                "properties": {
                    "y2021": {
                        "type": "number"
                    },
                    "y2022": {
                        "type": "number"
                    },
                    "y2023": {
                        "type": "number"
                    },
                    "y2024": {
                        "type": "number"
                    },
                    "y2025": {
                        "type": "number"
                    },
                    "y2026": {
                        "type": "number"
                    },
                    "y2027": {
                        "type": "number"
                    }
                },
                "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",
                        "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",
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ExtraDataDto": {
                "properties": {
                    "name": {
                        "maxLength": 100,
                        "minLength": 0,
                        "type": "string"
                    },
                    "refData": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "type": "array"
                    },
                    "value": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "FinancialContributionMeasureDto": {
                "properties": {
                    "measureCode": {
                        "type": "string"
                    },
                    "measureDescription": {
                        "type": "string"
                    },
                    "measureId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "FinancialContributionMeasureEditDto": {
                "properties": {
                    "notSelected": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "selected": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "FinancialContributionMeasuresDto": {
                "properties": {
                    "measures": {
                        "items": {
                            "$ref": "#/components/schemas/FinancialContributionMeasureDto"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "FinancialContributionMeasuresEditDto": {
                "properties": {
                    "notselected": {
                        "items": {
                            "$ref": "#/components/schemas/FinancialContributionMeasureDto"
                        },
                        "type": "array"
                    },
                    "selected": {
                        "items": {
                            "$ref": "#/components/schemas/FinancialContributionMeasureDto"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "IpardCreateDto": {
                "properties": {
                    "cci": {
                        "maxLength": 15,
                        "minLength": 15,
                        "type": "string"
                    },
                    "comments": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    },
                    "firstYear": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "languageId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "lastYear": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "mapLanguageTitle": {
                        "additionalProperties": {
                            "type": "string"
                        },
                        "type": "object"
                    },
                    "tabLabel": {
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "firstYear",
                    "languageId",
                    "lastYear",
                    "title"
                ],
                "type": "object"
            },
            "IpardCreateMetadataDto": {
                "properties": {
                    "cci": {
                        "items": {
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "firstYear": {
                        "items": {
                            "format": "int32",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "lastYear": {
                        "items": {
                            "format": "int32",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "listOfCountryLanguages": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "IpardDto": {
                "properties": {
                    "cci": {
                        "description": "Programme Cci",
                        "example": "2023BE06AFSP001",
                        "type": "string"
                    },
                    "clericalEditorialCorrections": {
                        "type": "boolean"
                    },
                    "commissionDecisionDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "commissionDecisionNumber": {
                        "type": "string"
                    },
                    "currentNode": {
                        "description": "Translated current node description",
                        "example": "European Commission",
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "englishTitle": {
                        "type": "string"
                    },
                    "euContributionPerYearByMeasureDtos": {
                        "items": {
                            "$ref": "#/components/schemas/EuContributionPerYearByMeasureDto"
                        },
                        "type": "array"
                    },
                    "euContributionPerYearDto": {
                        "$ref": "#/components/schemas/EuContributionPerYearDto"
                    },
                    "financialContributionMeasuresDto": {
                        "$ref": "#/components/schemas/FinancialContributionMeasuresDto"
                    },
                    "fullVersion": {
                        "type": "string"
                    },
                    "fundIdList": {
                        "description": "List of funds by id",
                        "example": "EAFRD, EAGF",
                        "items": {
                            "description": "List of funds by id",
                            "format": "int64",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "ipardFinancialAnnualByMeasureDtos": {
                        "items": {
                            "$ref": "#/components/schemas/IpardFinancialAnnualByMeasureDto"
                        },
                        "type": "array"
                    },
                    "ipardVersionDto": {
                        "$ref": "#/components/schemas/IpardVersionDto"
                    },
                    "ipardVersionInfoDto": {
                        "$ref": "#/components/schemas/IpardVersionInfoDto"
                    },
                    "leadingDgCode": {
                        "description": "Leading Dg of the programme version, initially this will be the same code as the dg code used in the cci",
                        "example": "05",
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nextVersionId": {
                        "description": "pointer to the next version for this programme",
                        "format": "int64",
                        "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",
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "previousNode": {
                        "description": "Translated previous node description",
                        "example": "Belgium",
                        "type": "string"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "programmeVersionType": {
                        "description": "Type indicator for this programme version",
                        "example": "IJG",
                        "type": "string"
                    },
                    "status": {
                        "description": "Translated status description",
                        "example": "Sent",
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "statusModificationDate": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "tabLabel": {
                        "description": "Label used for the programme version in the frontend",
                        "example": "2023BE06AFSP001 - 1.0",
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "IpardFinancialAnnualByMeasureDto": {
                "properties": {
                    "ipardFinancialAnnualDtoList": {
                        "items": {
                            "$ref": "#/components/schemas/IpardFinancialAnnualDto"
                        },
                        "type": "array"
                    },
                    "measureCode": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "IpardFinancialAnnualDoeDto": {
                "properties": {
                    "contributionRate": {
                        "type": "number"
                    },
                    "measureId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "year": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "IpardFinancialAnnualDto": {
                "properties": {
                    "eligibleCost": {
                        "type": "number"
                    },
                    "euContribution": {
                        "type": "number"
                    },
                    "euContributionPer": {
                        "type": "number"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "nationalCont": {
                        "type": "number"
                    },
                    "nationalContPer": {
                        "type": "number"
                    },
                    "privateContribution": {
                        "type": "number"
                    },
                    "privateContributionPer": {
                        "type": "number"
                    },
                    "total": {
                        "type": "boolean"
                    },
                    "totalPubExpPer": {
                        "type": "number"
                    },
                    "totalPublicExpenditure": {
                        "type": "number"
                    },
                    "year": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "IpardFinancialAnnualEditDto": {
                "properties": {
                    "euContribution": {
                        "type": "number"
                    },
                    "privateContribution": {
                        "type": "number"
                    },
                    "totalPublicExpenditure": {
                        "type": "number"
                    },
                    "year": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "IpardFinancialAnnualMeasureEditDto": {
                "properties": {
                    "ipardFinancialAnnualEditDtoList": {
                        "items": {
                            "$ref": "#/components/schemas/IpardFinancialAnnualEditDto"
                        },
                        "type": "array"
                    },
                    "measureCode": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "IpardVersionDto": {
                "properties": {
                    "cci": {
                        "description": "Programme Cci",
                        "example": "2023BE06AFSP001",
                        "type": "string"
                    },
                    "clericalEditorialCorrections": {
                        "type": "boolean"
                    },
                    "commissionDecisionDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "commissionDecisionNumber": {
                        "type": "string"
                    },
                    "currentNode": {
                        "description": "Translated current node description",
                        "example": "European Commission",
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "englishTitle": {
                        "type": "string"
                    },
                    "fullVersion": {
                        "type": "string"
                    },
                    "fundIdList": {
                        "description": "List of funds by id",
                        "example": "EAFRD, EAGF",
                        "items": {
                            "description": "List of funds by id",
                            "format": "int64",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "leadingDgCode": {
                        "description": "Leading Dg of the programme version, initially this will be the same code as the dg code used in the cci",
                        "example": "05",
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nextVersionId": {
                        "description": "pointer to the next version for this programme",
                        "format": "int64",
                        "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",
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "previousNode": {
                        "description": "Translated previous node description",
                        "example": "Belgium",
                        "type": "string"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "programmeVersionType": {
                        "description": "Type indicator for this programme version",
                        "example": "IJG",
                        "type": "string"
                    },
                    "status": {
                        "description": "Translated status description",
                        "example": "Sent",
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "statusModificationDate": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "tabLabel": {
                        "description": "Label used for the programme version in the frontend",
                        "example": "2023BE06AFSP001 - 1.0",
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "IpardVersionInfoDto": {
                "properties": {
                    "amendmentJustification": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    },
                    "cci": {
                        "type": "string"
                    },
                    "comments": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    },
                    "commissionDecisionDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "commissionDecisionId": {
                        "description": "Commission Decision ID",
                        "format": "int64",
                        "type": "integer"
                    },
                    "commissionDecisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "eligibleFromDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "eligibleToDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "englishTitle": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "firstYear": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "ipardVersionInfoMetadataDto": {
                        "$ref": "#/components/schemas/IpardVersionInfoMetadataDto"
                    },
                    "languageId": {
                        "description": "The source language identifier",
                        "format": "int64",
                        "readOnly": true,
                        "type": "integer"
                    },
                    "lastYear": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "mapLanguageTitle": {
                        "additionalProperties": {
                            "type": "string"
                        },
                        "type": "object"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "msDecisionDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "msDecisionEntryIntoForceDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "msDecisionNumber": {
                        "maxLength": 60,
                        "minLength": 0,
                        "type": "string"
                    },
                    "nonSubstantialTransfer": {
                        "type": "boolean"
                    },
                    "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",
                        "type": "integer"
                    },
                    "statusDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "version": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "required": [
                    "comments",
                    "englishTitle",
                    "firstYear",
                    "lastYear",
                    "version",
                    "workVersion"
                ],
                "type": "object"
            },
            "IpardVersionInfoMetadataDto": {
                "properties": {
                    "firstYear": {
                        "items": {
                            "format": "int32",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "lastYear": {
                        "items": {
                            "format": "int32",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "listOfCcis": {
                        "items": {
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "listOfCountryLanguages": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "type": "array"
                    }
                },
                "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,
                        "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,
                        "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,
                        "type": "string"
                    },
                    "lobSize": {
                        "description": "size is automatically calculated from the provided file (read-only)",
                        "format": "int64",
                        "readOnly": true,
                        "type": "integer"
                    },
                    "mimeType": {
                        "description": "when not provided, the mimetype will be guessed from the file extension",
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LinkToCommissionActionMetadataDto": {
                "properties": {
                    "listOfCommissionDecisions": {
                        "description": "list of CommissionDecisions.",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionDto"
                        },
                        "readOnly": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "LinkToCommissionDto": {
                "properties": {
                    "commissionDecisionNumber": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "MetadataDto": {
                "properties": {
                    "canImportFromExcel": {
                        "type": "boolean"
                    },
                    "compareChaptersDto": {
                        "items": {
                            "$ref": "#/components/schemas/CompareChapterDto"
                        },
                        "type": "array"
                    },
                    "compareDto": {
                        "items": {
                            "$ref": "#/components/schemas/CompareDto"
                        },
                        "type": "array"
                    },
                    "disabledFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "editablePagesDto": {
                        "$ref": "#/components/schemas/EditablePagesDto"
                    },
                    "editableSectionsDto": {
                        "$ref": "#/components/schemas/EditableSectionsDto"
                    },
                    "exportExtraDto": {
                        "$ref": "#/components/schemas/ExportExtraDto"
                    },
                    "nextActionsDtoList": {
                        "items": {
                            "$ref": "#/components/schemas/NextActionsDto"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NextActionsDto": {
                "properties": {
                    "actionCode": {
                        "maxLength": 3,
                        "minLength": 0,
                        "type": "string"
                    },
                    "confirmationRequired": {
                        "type": "boolean"
                    },
                    "hideActionButton": {
                        "type": "boolean"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "inMoreActionsButton": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PrgVerSearchDto": {
                "properties": {
                    "cci": {
                        "description": "Programme Cci",
                        "example": "2023BE06AFSP001",
                        "type": "string"
                    },
                    "clericalEditorialCorrections": {
                        "type": "boolean"
                    },
                    "commissionDecisionDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "commissionDecisionNumber": {
                        "type": "string"
                    },
                    "currentNode": {
                        "description": "Translated current node description",
                        "example": "European Commission",
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "englishTitle": {
                        "type": "string"
                    },
                    "fullVersion": {
                        "type": "string"
                    },
                    "fundIdList": {
                        "description": "List of funds by id",
                        "example": "EAFRD, EAGF",
                        "items": {
                            "description": "List of funds by id",
                            "format": "int64",
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "leadingDgCode": {
                        "description": "Leading Dg of the programme version, initially this will be the same code as the dg code used in the cci",
                        "example": "05",
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nextVersionId": {
                        "description": "pointer to the next version for this programme",
                        "format": "int64",
                        "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",
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "previousNode": {
                        "description": "Translated previous node description",
                        "example": "Belgium",
                        "type": "string"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "programmeVersionType": {
                        "description": "Type indicator for this programme version",
                        "example": "IJG",
                        "type": "string"
                    },
                    "status": {
                        "description": "Translated status description",
                        "example": "Sent",
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "statusModificationDate": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "tabLabel": {
                        "description": "Label used for the programme version in the frontend",
                        "example": "2023BE06AFSP001 - 1.0",
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "ProgrammePersonInChargeDto": {
                "properties": {
                    "beginDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "email": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "endDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "key": {
                        "description": "Key to be used in the table compare",
                        "readOnly": true,
                        "type": "string"
                    },
                    "languageId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "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",
                        "type": "integer"
                    },
                    "phone": {
                        "maxLength": 50,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "email",
                    "name"
                ],
                "type": "object"
            },
            "ProgrammeVersionObservationDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "isEcUser": {
                        "type": "boolean"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nameAndSurname": {
                        "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",
                        "type": "integer"
                    },
                    "text": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReferenceDataDto": {
                "properties": {
                    "code": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "description": {
                        "maxLength": 500,
                        "minLength": 0,
                        "type": "string"
                    },
                    "extraData": {
                        "items": {
                            "$ref": "#/components/schemas/ExtraDataDto"
                        },
                        "type": "array"
                    },
                    "i18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "messageId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "ReferenceDataDtoInterface": {
                "description": "list of possible document types meta for the current document type",
                "properties": {
                    "code": {
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "RejectActionMetadataDto": {
                "properties": {
                    "listOfCommissionDecisions": {
                        "description": "list of CommissionDecisions.",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionDto"
                        },
                        "readOnly": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "RejectWithCommisionDto": {
                "properties": {
                    "commissionDecisionNumber": {
                        "description": "The commission decision number to link the programme to.",
                        "example": "C(2021)12345",
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "commissionDecisionNumber"
                ],
                "type": "object"
            },
            "ReturnEcModificationDto": {
                "properties": {
                    "listOfAresDocuments": {
                        "items": {
                            "$ref": "#/components/schemas/AresDocumentDto"
                        },
                        "type": "array"
                    },
                    "reason": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReturnMsModificationDto": {
                "properties": {
                    "reason": {
                        "type": "string"
                    }
                },
                "required": [
                    "reason"
                ],
                "type": "object"
            },
            "ReturnWithCommisionDto": {
                "properties": {
                    "commissionDecisionNumber": {
                        "description": "The commission decision number to link the programme to.",
                        "example": "C(2021)12345",
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "commissionDecisionNumber"
                ],
                "type": "object"
            },
            "ReturnWithDecisionActionMetadataDto": {
                "properties": {
                    "listOfCommissionDecisions": {
                        "description": "list of CommissionDecisions.",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionDto"
                        },
                        "readOnly": true,
                        "type": "array"
                    }
                },
                "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,
                        "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"
                        },
                        "readOnly": true,
                        "type": "array"
                    },
                    "lowerMsNode": {
                        "description": "Indicates if the current node is a lower MS node or not",
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "requiresEuloginSignature": {
                        "description": "Indication whether the eulogin signature is required for this action or not",
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SendDocumentDtoMetadata": {
                "properties": {
                    "actionId": {
                        "description": "Indicates the Send Document Action id linked to this Object type",
                        "format": "int64",
                        "readOnly": true,
                        "type": "integer"
                    },
                    "requiresEuloginSignature": {
                        "description": "Indication whether the eulogin signature is required for this action or not",
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SfcObjectStatusHistoryDto": {
                "properties": {
                    "actionId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "comments": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "email": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "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",
                        "type": "integer"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "statusId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "required": [
                    "actionId",
                    "currentNodeId",
                    "email",
                    "nameAndSurname",
                    "previousNodeId",
                    "statusId"
                ],
                "type": "object"
            },
            "TocDto": {
                "properties": {
                    "childrenCrcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "type": "string"
                    },
                    "code": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "crcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "type": "string"
                    },
                    "disabled": {
                        "type": "boolean"
                    },
                    "hasContent": {
                        "type": "boolean"
                    },
                    "helpI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "highlighted": {
                        "type": "boolean"
                    },
                    "hintI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "key": {
                        "maxLength": 1024,
                        "minLength": 0,
                        "type": "string"
                    },
                    "nameArguments": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "orderBy": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "orderByChar": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    },
                    "parentTocId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "staticItem": {
                        "type": "boolean"
                    },
                    "subtitle1I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "subtitle2I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "titleArguments": {
                        "maxLength": 3000,
                        "minLength": 0,
                        "type": "string"
                    },
                    "titleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "tocItemArguments": {
                        "maxLength": 1000,
                        "minLength": 0,
                        "type": "string"
                    },
                    "tocItemOrderBy": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "tooltipI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "url": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ValidateActionResultDto": {
                "properties": {
                    "validated": {
                        "description": "Validated flag indicates if the validation was successful or not",
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ValidationResultDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "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",
                        "type": "integer"
                    },
                    "orderBy": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "resultI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "ruleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "severityCode": {
                        "maxLength": 5,
                        "minLength": 0,
                        "type": "string"
                    },
                    "severityI18nCode": {
                        "description": "Denormalization of the serverityCode to be able to immediately translate the severity code.",
                        "maxLength": 128,
                        "minLength": 0,
                        "type": "string"
                    },
                    "validationResultParameters": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationResultParameterDto"
                        },
                        "type": "array"
                    },
                    "validationRuleCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ValidationResultParameterDto": {
                "properties": {
                    "type": {
                        "description": "Type of the parameter",
                        "enum": [
                            "BIGDECIMAL",
                            "DATE",
                            "DATE_TIME",
                            "I18N",
                            "I18N_LIST",
                            "LONG",
                            "STRING"
                        ],
                        "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')",
                        "type": "object"
                    }
                },
                "type": "object"
            },
            "WithdrawDto": {
                "properties": {
                    "listOfAresDocuments": {
                        "items": {
                            "$ref": "#/components/schemas/AresDocumentDto"
                        },
                        "type": "array"
                    }
                },
                "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 capplan-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 capplan-api",
        "version": "3.35.0"
    },
    "openapi": "3.0.1",
    "paths": {
        "/capplan-api/ipard-versions": {
            "get": {
                "description": "Returns the list of ipardVersions that are relevant to the external user/system calling this\r\n   * method. The user/system is identified through the common Sfc2014Authenticator.",
                "operationId": "searchCspVersions",
                "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/IpardVersionDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Find the list of IPARD Versions",
                "tags": [
                    "IPARD Main: REST API for IPARD Version"
                ]
            },
            "post": {
                "operationId": "ipardVersions",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/IpardCreateDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/IpardVersionDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/export": {
            "get": {
                "description": "Export into MS Excel a list of IPARD programmes basing on the roles of the actor.",
                "operationId": "exportIPARDList",
                "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 list of IPARD programmes in excel format",
                "tags": [
                    "IPARD Main: REST API for IPARD Version"
                ]
            }
        },
        "/capplan-api/ipard-versions/financial-contribution/{id}/financial-annual": {
            "post": {
                "operationId": "setFinancialsAnnuals",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/IpardFinancialAnnualMeasureEditDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/IpardFinancialAnnualDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-financial-contribution-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/financial-contribution/{id}/financial-annual-doe/{year}": {
            "get": {
                "operationId": "getFinancialsAnnuals_1",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "year",
                        "required": true,
                        "schema": {
                            "format": "int32",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/IpardFinancialAnnualDoeDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-financial-contribution-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/financial-contribution/{id}/financial-annual/{measureCode}": {
            "get": {
                "operationId": "getFinancialsAnnuals",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "measureCode",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/IpardFinancialAnnualDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-financial-contribution-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/financial-contribution/{id}/measures-in-use": {
            "get": {
                "operationId": "getMeasuresInUse",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/FinancialContributionMeasuresDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-financial-contribution-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/financial-contribution/{id}/measures-in-use/edit": {
            "get": {
                "operationId": "getMeasuresForEdit",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/FinancialContributionMeasuresEditDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-financial-contribution-controller"
                ]
            },
            "post": {
                "operationId": "updateMeasures",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/FinancialContributionMeasureEditDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-financial-contribution-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/financial-contribution/{id}/total-eu-contribution-year": {
            "get": {
                "operationId": "getTotalEuContrPerYear",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/EuContributionPerYearDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-financial-contribution-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/financial-contribution/{id}/total-eu-contribution-year-measure": {
            "get": {
                "operationId": "getTotalEuContrPerMeasYear",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/EuContributionPerYearByMeasureDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-financial-contribution-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/ipard-create-metadata": {
            "get": {
                "operationId": "getIpardActionService",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/IpardCreateMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/search-metadata": {
            "get": {
                "operationId": "searchCspMetadata",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CspSearchMetaDataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "IPARD Main: REST API for IPARD Version"
                ]
            }
        },
        "/capplan-api/ipard-versions/validation-rules/{prgVerId}": {
            "get": {
                "description": "Returns the applied validation rules for IPARD with the given Programme Version id.",
                "operationId": "programmeVersionValidationRules",
                "parameters": [
                    {
                        "in": "path",
                        "name": "prgVerId",
                        "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": "IPARD not found"
                    }
                },
                "summary": "Returns the applied validation rules for IPARD",
                "tags": [
                    "IPARD Main: REST API for IPARD Version"
                ]
            }
        },
        "/capplan-api/ipard-versions/{id}/general/documents": {
            "get": {
                "description": "Returns the list of DocumentDto for a given documentable object id.",
                "operationId": "getDocumentsCsp",
                "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": [
                    "Documents: REST API for documents"
                ]
            },
            "post": {
                "description": "Inserts a document if the user has the permission.",
                "operationId": "insertDocument",
                "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": [
                    "Documents: REST API for documents"
                ]
            }
        },
        "/capplan-api/ipard-versions/{id}/general/documents/metadata": {
            "get": {
                "description": "Provides the specific metadata for the documents section.",
                "operationId": "getDocumentsMetadata",
                "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": [
                    "Documents: REST API for documents"
                ]
            }
        },
        "/capplan-api/ipard-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": "deleteDocument",
                "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": [
                    "Documents: REST API for documents"
                ]
            },
            "get": {
                "description": "Gets the document if the user has the permission.",
                "operationId": "getDocument",
                "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": [
                    "Documents: REST API for documents"
                ]
            },
            "put": {
                "description": "Updates the document if the user has the permission.",
                "operationId": "updateDocument",
                "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": [
                    "Documents: REST API for documents"
                ]
            }
        },
        "/capplan-api/ipard-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": "downloadDocumentAttachment",
                "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": [
                    "Documents: REST API for documents"
                ]
            }
        },
        "/capplan-api/ipard-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": "refreshDocument",
                "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": [
                    "Documents: REST API for documents"
                ]
            }
        },
        "/capplan-api/ipard-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": "sendDocument",
                "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": [
                    "Documents: REST API for documents"
                ]
            }
        },
        "/capplan-api/ipard-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",
                    "Documents: REST API for documents"
                ]
            }
        },
        "/capplan-api/ipard-versions/{id}/general/mandatory-documents": {
            "get": {
                "description": "Returns the last version of mandatory documents uploaded against this or previous documentable object versions",
                "operationId": "getMandatoryDocuments",
                "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": [
                    "Documents: REST API for documents"
                ]
            }
        },
        "/capplan-api/ipard-versions/{id}/metadata": {
            "get": {
                "operationId": "actions",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/MetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{id}/tocs": {
            "get": {
                "description": "Returns the Table of Contents entries of IPARD Version for a given IPARD Version id.",
                "operationId": "getTocsIpard",
                "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": "CspVersion not found"
                    }
                },
                "summary": "Get ToCs",
                "tags": [
                    "IPARD Main: REST API for IPARD Version"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}": {
            "get": {
                "description": "IpardDto aggregate all dto sections of a IPARD ",
                "operationId": "getIpardVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/IpardDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create a IpardDto for the report",
                "tags": [
                    "IPARD Main: REST API for IPARD Version"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/ACC": {
            "post": {
                "description": "This use case occurs when a user wants to accept the decision taken on a IPARD. When the decision has been taken the commitment can be initiated. The notification utility will be called to notify the acceptance of the decision by the Commission to the Member State and to the Back-Office.",
                "operationId": "acceptDecision",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcceptDecisionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Accept Decision on a IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/AMD": {
            "post": {
                "description": "This method should be used when a user wants to accept the MS decision on a IPARD version previously sent to the Commission. In this case the last applied Commission decision is still valid and no new Commission decision is required. The notification utility will be called to notify the acceptance of the MS decision by the Commission to the Member State and to the Back-Office.",
                "operationId": "acceptMsDecision",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Accept MS decision executed"
                    }
                },
                "summary": "Accept MS decision on a IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/CAN": {
            "post": {
                "description": "This use case occurs when a user wants to cancel a IPARD version with documents sent to the Commission or with a previous version Returned by the Commission for Modification, before it reaches a first Adoption by the Commission",
                "operationId": "cancelVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Cancel executed"
                    }
                },
                "summary": "Cancel a IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/CRE": {
            "post": {
                "description": "This use case occurs when a user wants to create a new version of a IPARD. A new version needs to be created when the last version was adopted by the Commission or by the Member State, when the last version was not adopted by the Commission, when the last version was returned by the Commission for modification, when the last version was withdrawn at the request of the MS by the Commission or when the last version was cancelled by the Member State.",
                "operationId": "createNewVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateNewVersionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/PrgVerSearchDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create a new IPARD version",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/DEL": {
            "post": {
                "description": "This use case occurs when a user wants to delete a IPARD version from the system.",
                "operationId": "deleteVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Delete executed"
                    }
                },
                "summary": "Delete a IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/LCD": {
            "post": {
                "description": "This use case occurs when a user wants to adopt a IPARD version by linking it to a Commission Decision. The notification utility will be called to notify the Member State that the Programme was adopted.",
                "operationId": "linkVersionToCommissionDecision",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/LinkToCommissionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Link a IPARD to a Commission Decision",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/LCD/metadata": {
            "get": {
                "operationId": "getLinkToComdecMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/LinkToCommissionActionMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Metadata needed to link a IPARD to Commission Decision",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/PSE": {
            "post": {
                "description": "This method should be used when a user on the highest MS Node wants to indicate that the IPARD version can be prepared for sending to the Commission",
                "operationId": "prepareForSendToEc",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Prepare for Send executed"
                    }
                },
                "summary": "Prepare IPARD for Send to EC",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/RCD": {
            "post": {
                "description": "This use case occurs when a user wants to reject a specific version of a IPARD and link it to a Commission Decision. The notification utility will be called to notify the Member State that the Programme was rejected with Commission Decision.",
                "operationId": "rejectVersionWithCommissionDecision",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RejectWithCommisionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Reject a IPARD with a Commission Decision",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/RCD/metadata": {
            "get": {
                "operationId": "getRejectMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RejectActionMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Metadata needed to reject a IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/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": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Reopen executed"
                    }
                },
                "summary": "Reopen IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/RME": {
            "post": {
                "description": "This use case occurs when a user wants to return the IPARD 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. This action will stop the clock of the internal process.",
                "operationId": "returnByCommissionForModification",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnEcModificationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Return a IPARD to MS for Modifications with Official Observations",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/RMM": {
            "post": {
                "description": "This use case occurs when a user wants to return the IPARD 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": "returnByMemberStateForModification",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnMsModificationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Return a IPARD by MS for Modification",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/RMR": {
            "post": {
                "description": "This method should be used when a user wants to return the IPARD version sent by the Member State because it is incomplete or incorrect after an initial return and re-submission and still needs to be modified. The notification utility will be called to notify the return to the Member State. These observations will stop the internal clock of the process. This action will only be allowed when the working version is > 0, which means at least returned ones.",
                "operationId": "returnByEcForModificationWithRamaininFollowUpObservations",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "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 a IPARD by EC for Modification with Remaining/Follow-up Observations",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/RMT": {
            "post": {
                "description": "This method should be used when a user wants to return the IPARD version sent by the Member State because some clerical/technical errors have to be corrected. The notification utility will be called to notify the return to the Member State. The comments will not stop the internal clock of the process, so a quick return of the object is expected. This action might occur in any moment of the process.",
                "operationId": "returnByEcForModificationWithTechnicalOutstandingComments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "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 a IPARD by EC for Modification with Technical/Outstanding Comments",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/RWC": {
            "post": {
                "description": "This use case occurs when a user wants to return a specific version of a IPARD and link it to a Commission Decision. The notification utility will be called to notify the Member State that the Programme was returned with Commission Decision.",
                "operationId": "returnVersionWithCommissionDecision",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnWithCommisionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Return a IPARD with a Commission Decision",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/RWC/metadata": {
            "get": {
                "operationId": "getReturnWithCommissionDecisionMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ReturnWithDecisionActionMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Metadata needed to Return a IPARD with Commission Decision",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/SND": {
            "post": {
                "description": "This method should be used when a user is ready to send its recorded data on a IPARD 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": "send",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Send executed"
                    }
                },
                "summary": "Send IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/SND/metadata": {
            "get": {
                "description": "This method should be used when a user is ready to send its recorded data on a IPARD 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": "getSendMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/SendActionMetadataDto"
                                }
                            }
                        },
                        "description": "Send executed"
                    }
                },
                "summary": "Send IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/VAL": {
            "post": {
                "description": "This use case occurs when a user requests an overall validation of the information related to a version of the IPARD.",
                "operationId": "validateVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ValidateActionResultDto"
                                }
                            }
                        },
                        "description": "Validation executed returning the validation status in the response."
                    }
                },
                "summary": "Validate a IPARD",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/actions/WIT": {
            "post": {
                "description": "This use case occurs when a Commission user wants to withdraw a IPARD version and stop the amendment procedure at the request of the MS. The notification utility will be called to notify the withdrawal to the Member State and to the Back-Office.",
                "operationId": "withdrawVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/WithdrawDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Withdraw a IPARD version",
                "tags": [
                    "ipard-actions-controller"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/general/history": {
            "get": {
                "operationId": "getStatusHistory",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/SfcObjectStatusHistoryDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/general/observations": {
            "get": {
                "operationId": "getVersionObservation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ProgrammeVersionObservationDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            },
            "post": {
                "operationId": "postVersionObservation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ProgrammeVersionObservationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ProgrammeVersionObservationDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/general/officials": {
            "get": {
                "operationId": "getOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ProgrammePersonInChargeDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            },
            "post": {
                "operationId": "postOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ProgrammePersonInChargeDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ProgrammePersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/general/officials/{personInChargeId}": {
            "delete": {
                "operationId": "deleteOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "personInChargeId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            },
            "put": {
                "operationId": "putOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "personInChargeId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ProgrammePersonInChargeDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ProgrammePersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/general/validation-results": {
            "get": {
                "operationId": "getValidationResults",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/general/version-info": {
            "get": {
                "operationId": "getVersionInformation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/IpardVersionInfoDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            },
            "put": {
                "operationId": "putVersionInformation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/IpardVersionInfoDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/IpardVersionInfoDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            }
        },
        "/capplan-api/ipard-versions/{ipardVersionId}/general/version-info-metadata": {
            "get": {
                "operationId": "getVersionInformationMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "ipardVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/IpardVersionInfoMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "ipard-general-controler"
                ]
            }
        }
    },
    "security": [
        {
            "sfcBearerAuthentication": [
                "read",
                "write"
            ]
        }
    ],
    "servers": [
        {
            "url": "http://sfc2021.net1.cec.eu.int:8080/sfc2021"
        }
    ]
}