{
    "components": {
        "schemas": {
            "AcaActionMetadataDto": {
                "properties": {
                    "cbAvailable": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "modifiableSections": {
                        "$ref": "#/components/schemas/AcaModifiableSectionsDto"
                    },
                    "nextVersionAvailable": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaAdvanceEafrd5MilLineDto": {
                "properties": {
                    "balanceUncleared": {
                        "nullable": true,
                        "type": "number"
                    },
                    "balanceUnused": {
                        "nullable": true,
                        "type": "number"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "totalLine": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaAdvanceEafrdLineDto": {
                "properties": {
                    "balanceCleared": {
                        "nullable": true,
                        "type": "number"
                    },
                    "budgetCode": {
                        "maxLength": 8,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "totalLine": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "typeOfInterventionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AcaAdvanceEagfLineDto": {
                "properties": {
                    "annexVISectorName": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "balanceCleared": {
                        "nullable": true,
                        "type": "number"
                    },
                    "balanceUsed": {
                        "nullable": true,
                        "type": "number"
                    },
                    "budgetCode": {
                        "maxLength": 8,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "budgetDescription": {
                        "maxLength": 400,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "lineType": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "totalLine": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaAdvancesEafrdListMetadataDto": {
                "properties": {
                    "currency": {
                        "maxLength": 3,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "files": {
                        "items": {
                            "$ref": "#/components/schemas/AcaFileDownloadDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "financialYear": {
                        "maxLength": 4,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfToi": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AcaAdvancesEagfInsideCspListMetadataDto": {
                "properties": {
                    "currency": {
                        "maxLength": 3,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "files": {
                        "items": {
                            "$ref": "#/components/schemas/AcaFileDownloadDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "financialYear": {
                        "maxLength": 4,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfSectors": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AcaAnnualAccountsDto": {
                "properties": {
                    "assignedRevenue": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "expenditure": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "interventionStorage": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaAnnualAccountsSignedMetadataDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nameAndSurname": {
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "payingAgencyCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "payingAgencyName": {
                        "nullable": true,
                        "type": "string"
                    },
                    "signingAllowed": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaAnnualDeclarationLineDto": {
                "properties": {
                    "amount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "budgetCode": {
                        "maxLength": 40,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "budgetDescription": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "differenceExplanationAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "differenceExplanationLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaDifferenceExplanationLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "finalDiscrepancy": {
                        "nullable": true,
                        "type": "number"
                    },
                    "fundId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "originalDiscrepancy": {
                        "nullable": true,
                        "type": "number"
                    },
                    "sumOfDeclarationsAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalLine": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaCreateDto": {
                "properties": {
                    "comments": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "financialPeriodId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "languageId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "nationalReference": {
                        "maxLength": 250,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "payingAgencyId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "required": [
                    "financialPeriodId",
                    "languageId",
                    "payingAgencyId"
                ],
                "type": "object"
            },
            "AcaCreateMetadataDto": {
                "properties": {
                    "financialPeriods": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "languages": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "payingAgencies": {
                        "items": {
                            "$ref": "#/components/schemas/AcaPayAgencyDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AcaDebtorLedgerLineDto": {
                "properties": {
                    "balanceOctoberPrevYear": {
                        "nullable": true,
                        "type": "number"
                    },
                    "fundId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "totalCorrections": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalInterest": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalIrrecoverable": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalLine": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "totalNewCases": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalOctoberCurrentYear": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalRecoveries": {
                        "nullable": true,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "AcaDifferenceExplanationLineDto": {
                "properties": {
                    "explainedAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "typeOfDifferenceId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AcaFileContentDto": {
                "properties": {
                    "acaVersion": {
                        "$ref": "#/components/schemas/AcaVersionDto"
                    },
                    "content": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fileName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fileStatus": {
                        "maxLength": 40,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isTestFile": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "listOfErrors": {
                        "items": {
                            "$ref": "#/components/schemas/AcaFileErrorDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "uploadBy": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "uploadDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AcaFileDownloadDto": {
                "properties": {
                    "attachmentName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "funds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AcaFileDto": {
                "properties": {
                    "acaVersion": {
                        "$ref": "#/components/schemas/AcaVersionDto"
                    },
                    "errors": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fileStatus": {
                        "maxLength": 40,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isTestFile": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "listOfErrors": {
                        "items": {
                            "$ref": "#/components/schemas/AcaFileErrorDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "uploadBy": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "uploadDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "warnings": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AcaFileErrorDto": {
                "properties": {
                    "businessRule": {
                        "maxLength": 40,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "businessRuleSet": {
                        "maxLength": 40,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "errorMessage": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "errorType": {
                        "maxLength": 40,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "lineNumber": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AcaFinancialInstrumentsLineDto": {
                "properties": {
                    "budgetCode": {
                        "maxLength": 12,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "declaredAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "eligibleAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "paidAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalLine": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "typeOfInterventionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AcaFinancialInstrumentsListMetadataDto": {
                "properties": {
                    "currency": {
                        "maxLength": 3,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "files": {
                        "items": {
                            "$ref": "#/components/schemas/AcaFileDownloadDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "financialYear": {
                        "maxLength": 4,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfToi": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AcaMDCoordinatingBodyDto": {
                "properties": {
                    "availablePas": {
                        "items": {
                            "$ref": "#/components/schemas/AcaPayAgencyDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "finYear": {
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "finYearPre": {
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "idsSelectedPas": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "msName": {
                        "nullable": true,
                        "type": "string"
                    },
                    "nameAndSurname": {
                        "nullable": true,
                        "type": "string"
                    },
                    "nameCb": {
                        "maxLength": 250,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameDirectorCb": {
                        "maxLength": 250,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "noReservationsComments": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reservations": {
                        "enum": [
                            "NO_RESERVATIONS",
                            "NO_RESERVATIONS_COMMENTS",
                            "RESERVATIONS"
                        ],
                        "nullable": true,
                        "type": "string"
                    },
                    "reservationsComments": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "selectedPACodes": {
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "signatureDate": {
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AcaMDPayingAgencyDto": {
                "properties": {
                    "codePa": {
                        "nullable": true,
                        "type": "string"
                    },
                    "directorPa": {
                        "maxLength": 250,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "eafrdExpenditure": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "finYear": {
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "finYearPre": {
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "governanceSystemsFunctioning": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "measuresImplemented": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nameAndSurname": {
                        "nullable": true,
                        "type": "string"
                    },
                    "namePa": {
                        "maxLength": 250,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "noReservationsComments": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "overpayments": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "paymentsLegal": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "paymentsOperationsRegulation": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "qualityReliabilityReporting": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "reservations": {
                        "enum": [
                            "NO_RESERVATIONS",
                            "NO_RESERVATIONS_COMMENTS",
                            "RESERVATIONS"
                        ],
                        "nullable": true,
                        "type": "string"
                    },
                    "reservationsComments": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "signatureDate": {
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "supportSchemesRegulation": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaModifiableSectionsDto": {
                "properties": {
                    "accountingAndFinancialInstrumentsActive": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "annualDeclarationEafrdActive": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "annualDeclarationEagfActive": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "debtorLedgerActive": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "mdCoordinationBodyActive": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "mdPayingAgencyActive": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "publicStorageActive": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaPayAgencyDto": {
                "properties": {
                    "code": {
                        "maxLength": 16,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "description": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "listOfFund": {
                        "items": {
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AcaPersonInChargeDto": {
                "properties": {
                    "beginDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "email": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "endDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "languageId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "name": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "phone": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "email",
                    "name"
                ],
                "type": "object"
            },
            "AcaSectionSignedDto": {
                "properties": {
                    "date": {
                        "nullable": true,
                        "type": "string"
                    },
                    "name": {
                        "nullable": true,
                        "type": "string"
                    },
                    "section": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AcaSummaryDto": {
                "properties": {
                    "cci": {
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "financialPeriodId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "payingAgencyCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "payingAgencyTitle": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previousNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "statusDate": {
                        "description": "Status date",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AcaVersionDto": {
                "properties": {
                    "acaAnnualAccountsDto": {
                        "$ref": "#/components/schemas/AcaAnnualAccountsDto"
                    },
                    "acaAnnualAccountsSignedMetadataDto": {
                        "$ref": "#/components/schemas/AcaAnnualAccountsSignedMetadataDto"
                    },
                    "coordinatingBodyDto": {
                        "$ref": "#/components/schemas/AcaMDCoordinatingBodyDto"
                    },
                    "history": {
                        "items": {
                            "$ref": "#/components/schemas/SfcObjectStatusHistoryDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfAdvanceEafrd5MilLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaAdvanceEafrd5MilLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfAdvanceEafrdLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaAdvanceEafrdLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfAdvanceEagfInsideCspLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaAdvanceEagfLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfAdvanceEagfOutsideCspLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaAdvanceEagfLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfAdvanceEagfOutsideCspWine5MilLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaAdvanceEagfLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfAnnualDeclarationLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaAnnualDeclarationLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDebtorLedgerLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaDebtorLedgerLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocument": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFinancialInstrumentsLines": {
                        "items": {
                            "$ref": "#/components/schemas/AcaFinancialInstrumentsLineDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "payingAgencyDto": {
                        "$ref": "#/components/schemas/AcaMDPayingAgencyDto"
                    },
                    "summaryDto": {
                        "$ref": "#/components/schemas/AcaSummaryDto"
                    },
                    "versionInfo": {
                        "$ref": "#/components/schemas/VersionInfoDto"
                    }
                },
                "type": "object"
            },
            "AcaVersionInfoMetadataDto": {
                "properties": {
                    "sourceLanguageList": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AcaVersionObservationDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isEcUser": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nameAndSurname": {
                        "maxLength": 300,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "text": {
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AcaVersionSearchDto": {
                "properties": {
                    "allPayingAgencies": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "comments": {
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "financialPeriodId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "payingAgencyId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusModificationDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AcaVersionSearchMetadataDto": {
                "properties": {
                    "canCreate": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AcaXmlObjectListMetadataDto": {
                "properties": {
                    "currency": {
                        "maxLength": 3,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "files": {
                        "items": {
                            "$ref": "#/components/schemas/AcaFileDownloadDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "financialYear": {
                        "maxLength": 4,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AppliedValidationRulesDto": {
                "properties": {
                    "cci": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfValidationResult": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationResultDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AresDocumentDto": {
                "properties": {
                    "aresRegistrationNumber": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfAresItemIds": {
                        "items": {
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CciSearchResultDto": {
                "properties": {
                    "accountingYearId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "cci": {
                        "maxLength": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionDecisionDate": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionDecisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ecId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "enablingConditionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fullVersion": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fundId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "link": {
                        "maxLength": 1000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "objectType": {
                        "maxLength": 4,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "specificType": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CompareChapterDto": {
                "properties": {
                    "fromChapter": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "representation": {
                        "nullable": true,
                        "type": "string"
                    },
                    "section": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "toChapter": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "CompareDto": {
                "properties": {
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "representation": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DocumentAttachmentDto": {
                "properties": {
                    "attachmentTypeCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 16,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "containsTextKeyword": {
                        "description": "In case the document was loaded by having the extra text parameter, this flag indicates if the attachement contains the text",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isEncrypted": {
                        "description": "is encrypted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "isHidden": {
                        "description": "flag to indicate that an attachments need to be hidden. (after the document was sent)",
                        "type": "boolean"
                    },
                    "isSystemGenerated": {
                        "description": "system property to indicate if attachment was generated by the system (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "language": {
                        "description": "The language id. This can be provided by the referenceData languages.",
                        "format": "int64",
                        "type": "integer"
                    },
                    "masterDocumentAttachmentId": {
                        "description": "A document attachment might be linked to a \"parent\" documentAttachment",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sfcLargeObject": {
                        "$ref": "#/components/schemas/LargeObjectDto"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "attachmentTypeCode",
                    "isHidden",
                    "language",
                    "title"
                ],
                "type": "object"
            },
            "DocumentAuthorityRestrictionDto": {
                "properties": {
                    "authorityTypeId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "required": [
                    "authorityTypeId"
                ],
                "type": "object"
            },
            "DocumentAuthorityTypeRestrictionMetaDataDto": {
                "description": "list of possible document authority type restrictions. Will only be populted for the referring document types having the 'restrict read' option. The list is indentifiable through the documentTypeId",
                "properties": {
                    "documentTypeId": {
                        "description": "the Id of the document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleAuthorityRestrictions": {
                        "description": "the list of possible document AuthorityRestrictions for this document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "DocumentDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "description": "For Member State Documents, the Country is automatically set at creation with the Country of the Node creating the Document and cannot be modified.For Commission Documents, the Commission user can select a specific Country or none meaning \"All Countries\".",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfRepliesFromDocument": {
                        "description": "In case the document can have a reply then this listOfRepliesFromDocument will contain the replying documents",
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "parentDocumentId": {
                        "description": "In case this document is a reply to a received Document. parentDocumentId is the id of the received document.",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentEditable": {
                        "description": "flag that indicates if the documents (which is sent) is updateable. When this is true the user can hide/show the attachments",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentRefreshable": {
                        "description": "flag that indicates if the documents (which is sent) is refreshable. When this is true the user can refresh the attachments from Ares",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "documentDate",
                    "documentTypeId",
                    "title"
                ],
                "type": "object"
            },
            "DocumentDtoMetadata": {
                "properties": {
                    "canCreate": {
                        "description": "Indicates if the user can create a document",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "isUserAnAuditAgent": {
                        "description": "Indicates if the user is an Audit Agent",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAuthorityTypeRestrictionMetaData": {
                        "description": "list of possible document authority type restrictions. Will only be populted for the referring document types having the 'restrict read' option. The list is indentifiable through the documentTypeId",
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityTypeRestrictionMetaDataDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentLinkMetaData": {
                        "description": "list of possible document links. Will only be populated for the referring document types. The list is indentifiable through the documentTypeId",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkMetaDataDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypeMeta": {
                        "description": "list of possible document types meta for the listOfDocumentTypes",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypeMetaForCurrentDocType": {
                        "description": "list of possible document types meta for the current document type",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypes": {
                        "description": "list of possible document types for creation",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypesForThisGroup": {
                        "description": "list of possible document types for this specific document group",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypesSendable": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentTypeSendableDtoMetadata"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfReferringDocumentTypes": {
                        "description": "list of referred doc types (the part of ids of possible document types for creation that are referred document types)",
                        "items": {
                            "description": "list of referred doc types (the part of ids of possible document types for creation that are referred document types)",
                            "format": "int64",
                            "readOnly": true,
                            "type": "integer"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "showCciLink": {
                        "description": "Indicates if the column \"CciLink(s)\" should be shown or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "showExtraFields": {
                        "description": "Indicates if the column \"Extra Fields\" should be shown or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentLinkDto": {
                "description": "List of CCIs linked to this document that have been deleted",
                "properties": {
                    "accountingPeriod": {
                        "maxLength": 6,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "cci": {
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "decisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fund": {
                        "maxLength": 8,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "mainObjectId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "objectTitle": {
                        "description": "title for the cci in case of a referring document (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectType": {
                        "maxLength": 4,
                        "minLength": 0,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "readOnly": true,
                "required": [
                    "id",
                    "objectType"
                ],
                "type": "object"
            },
            "DocumentLinkMetaDataDto": {
                "description": "list of possible document links. Will only be populated for the referring document types. The list is indentifiable through the documentTypeId",
                "properties": {
                    "documentTypeId": {
                        "description": "the Id of the document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleLinks": {
                        "description": "the list of possible document links for this document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "description": "the Id of the object type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "DocumentMetaDataDto": {
                "properties": {
                    "documentTypeMetaDataCode": {
                        "maxLength": 12,
                        "minLength": 0,
                        "type": "string"
                    },
                    "value": {
                        "description": "The string representation or the metadata. In case metadata has multiple values they are separated by a semicolon. The default maximum length of the metadata is specified in this DTO but can be further restricted in the metadata directory definition (maxChars)",
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "documentTypeMetaDataCode"
                ],
                "type": "object"
            },
            "DocumentTypeSendableDtoMetadata": {
                "properties": {
                    "documentTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sendable": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentWithVersionInfoDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "description": "For Member State Documents, the Country is automatically set at creation with the Country of the Node creating the Document and cannot be modified.For Commission Documents, the Commission user can select a specific Country or none meaning \"All Countries\".",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfRepliesFromDocument": {
                        "description": "In case the document can have a reply then this listOfRepliesFromDocument will contain the replying documents",
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersion": {
                        "description": "The version of the object where this document was created (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersionId": {
                        "description": "The id of the object where this document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "parentDocumentId": {
                        "description": "In case this document is a reply to a received Document. parentDocumentId is the id of the received document.",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentEditable": {
                        "description": "flag that indicates if the documents (which is sent) is updateable. When this is true the user can hide/show the attachments",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentRefreshable": {
                        "description": "flag that indicates if the documents (which is sent) is refreshable. When this is true the user can refresh the attachments from Ares",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "documentDate",
                    "documentTypeId",
                    "title"
                ],
                "type": "object"
            },
            "ECASSignerDataDto": {
                "properties": {
                    "signaturePageUrl": {
                        "description": "The signature page URL",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "signatureRequestId": {
                        "description": "The signature request ID",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EditablePagesDto": {
                "type": "object"
            },
            "EditableSectionsDto": {
                "type": "object"
            },
            "ExportExtraDto": {
                "properties": {
                    "annexAnnualPlan": {
                        "description": "A flag indicating if the Annex for the Annual plan export option is available on the user actions menu. This would be Decisional Annex T7 for ETC and T10 for IJG",
                        "nullable": true,
                        "type": "boolean"
                    },
                    "annexPriorityPlan": {
                        "description": "A flag indicating if the Annex for the Priority plan export option is available on the user actions menu. This would be Decisional Annex T10 for ETC and T11 for IJG",
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ExtraDataDto": {
                "properties": {
                    "name": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "refData": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "value": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LargeObjectDto": {
                "description": "actual file(aka large object) information. Should not be provided when the content doesn't need to be updated",
                "properties": {
                    "contentCrc": {
                        "description": "the \"SHA-256\" hash will be automatically calculated (Read-Only)",
                        "maxLength": 512,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "filename": {
                        "description": "Temporary filename on the server. This filename will be returned with a previous call to the server to save the document (/temp-attachment) ",
                        "maxLength": 512,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "lobName": {
                        "description": "The lobname is the actual name of the file. This lobname will only be looked at in case a \"filename\" was provided",
                        "example": "file_name_example.pdf",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "lobSize": {
                        "description": "size is automatically calculated from the provided file (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "mimeType": {
                        "description": "when not provided, the mimetype will be guessed from the file extension",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "MetadataDto": {
                "properties": {
                    "canImportFromExcel": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "compareChaptersDto": {
                        "items": {
                            "$ref": "#/components/schemas/CompareChapterDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "compareDto": {
                        "items": {
                            "$ref": "#/components/schemas/CompareDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "disabledFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "editablePagesDto": {
                        "$ref": "#/components/schemas/EditablePagesDto"
                    },
                    "editableSectionsDto": {
                        "$ref": "#/components/schemas/EditableSectionsDto"
                    },
                    "exportExtraDto": {
                        "$ref": "#/components/schemas/ExportExtraDto"
                    },
                    "nextActionsDtoList": {
                        "items": {
                            "$ref": "#/components/schemas/NextActionsDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "MvoSummaryDto": {
                "properties": {
                    "cci": {
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNodeCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "statusDate": {
                        "description": "Status date",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "NextActionsDto": {
                "properties": {
                    "actionCode": {
                        "maxLength": 3,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "confirmationRequired": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hideActionButton": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "inMoreActionsButton": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ReferenceDataDto": {
                "properties": {
                    "code": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "description": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "extraData": {
                        "items": {
                            "$ref": "#/components/schemas/ExtraDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "i18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "messageId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "ReferenceDataDtoInterface": {
                "description": "list of possible document types meta for the current document type",
                "properties": {
                    "code": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "ReturnEcModificationDto": {
                "properties": {
                    "listOfAresDocuments": {
                        "items": {
                            "$ref": "#/components/schemas/AresDocumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "modifiableSections": {
                        "$ref": "#/components/schemas/AcaModifiableSectionsDto"
                    },
                    "reason": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "reason"
                ],
                "type": "object"
            },
            "ReturnMsModificationDto": {
                "properties": {
                    "reason": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "reason"
                ],
                "type": "object"
            },
            "SendActionMetadataDto": {
                "properties": {
                    "attachmentDownloadUrl": {
                        "description": "The attachment download base url. The {docAttId} from the listOfDocumentAttachments needs to be appended to get the full url for download.",
                        "example": "12345/general/documents/12346/attachments",
                        "maxLength": 2048,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfDocumentAttachments": {
                        "description": "list of snapshot attachments. This will only be returned on the highest MS node.",
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "lowerMsNode": {
                        "description": "Indicates if the current node is a lower MS node or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "requiresEuloginSignature": {
                        "description": "Indication whether the eulogin signature is required for this action or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SendDocumentDtoMetadata": {
                "properties": {
                    "actionId": {
                        "description": "Indicates the Send Document Action id linked to this Object type",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "requiresEuloginSignature": {
                        "description": "Indication whether the eulogin signature is required for this action or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SfcObjectStatusHistoryDto": {
                "properties": {
                    "actionId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "comments": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "email": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nameAndSurname": {
                        "maxLength": 512,
                        "minLength": 0,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "statusId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "required": [
                    "actionId",
                    "currentNodeId",
                    "email",
                    "nameAndSurname",
                    "previousNodeId",
                    "statusId"
                ],
                "type": "object"
            },
            "TempFileDto": {
                "properties": {
                    "filename": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TocDto": {
                "properties": {
                    "code": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "crcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "disabled": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hasContent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "helpI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "highlighted": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hintI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "key": {
                        "maxLength": 1024,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameArguments": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "orderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "orderByChar": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "parentTocId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "staticItem": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "subtitle1I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "subtitle2I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "titleArguments": {
                        "maxLength": 3000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "titleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tocItemArguments": {
                        "maxLength": 1000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tocItemOrderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "tooltipI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "url": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ValidationResultDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "orderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "resultI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "ruleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "severityCode": {
                        "maxLength": 5,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "severityI18nCode": {
                        "description": "Denormalization of the serverityCode to be able to immediately translate the severity code.",
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "validationResultParameters": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationResultParameterDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "validationRuleCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ValidationResultParameterDto": {
                "properties": {
                    "type": {
                        "nullable": true,
                        "type": "string"
                    },
                    "value": {
                        "nullable": true,
                        "type": "object"
                    }
                },
                "type": "object"
            },
            "VersionInfoDto": {
                "properties": {
                    "comments": {
                        "description": "Comments",
                        "maxLength": 1000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionDecisionDate": {
                        "description": "Commission decision date",
                        "format": "date",
                        "readOnly": true,
                        "type": "string"
                    },
                    "commissionDecisionNumber": {
                        "description": "The commission decision number",
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "description": "Current node id",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "eligibleFromDate": {
                        "description": "Eligible from date",
                        "format": "date",
                        "readOnly": true,
                        "type": "string"
                    },
                    "eligibleToDate": {
                        "description": "Eligible until date",
                        "format": "date",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "englishTitle": {
                        "description": "The title of the programme in english",
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "financialPeriod": {
                        "description": "The financial year of the action plan",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "languageId": {
                        "description": "The source language identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "nationalReference": {
                        "maxLength": 250,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "originalNodeId": {
                        "description": "Original node id",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Owner node id",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "programmeVersion": {
                        "description": "The programme version",
                        "maxLength": 6,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "statusDate": {
                        "description": "Status date",
                        "format": "date-time",
                        "type": "string"
                    },
                    "statusId": {
                        "description": "Status id",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "version": {
                        "description": "The version of the action plan",
                        "format": "int32",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "description": "The  work version of the action plan",
                        "format": "int32",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    }
                },
                "required": [
                    "commissionDecisionDate",
                    "eligibleFromDate",
                    "statusDate"
                ],
                "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 aca-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 aca-api",
        "version": "3.2.0"
    },
    "openapi": "3.0.1",
    "paths": {
        "/aca-api/aca-versions": {
            "get": {
                "description": "Returns the list of Annual Accounts & Management Declaration(s) Version that are relevant to the external user/system calling this\r\n   * method. The user/system is identified through the common Sfc2021 Authenticator.",
                "operationId": "searchAcaVersions",
                "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/AcaVersionSearchDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Find Annual Accounts & Management Declaration(s) Versions",
                "tags": [
                    "ACA Main: REST API for ACA Version"
                ]
            },
            "post": {
                "description": "This method should be used when a user requests the creation of a ACA object in the SFC system",
                "operationId": "createAcaVersion",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcaCreateDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaVersionSearchDto"
                                }
                            }
                        },
                        "description": "ACA created"
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaVersionSearchDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Add a new ACA",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/get-ecas-signature-url": {
            "get": {
                "description": "Get ecas signature URL",
                "operationId": "getSignUrl",
                "parameters": [
                    {
                        "in": "query",
                        "name": "callback",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "mdSection",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "objectId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ECASSignerDataDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Get ecas signature URL",
                "tags": [
                    "aca-search-controller"
                ]
            }
        },
        "/aca-api/aca-versions/search-metadata": {
            "get": {
                "description": "Returns the meta data contains a flag stating if the user can create a new Annual Accounts & Management Declaration(s) version.",
                "operationId": "searchAcaVersionsMetadata",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaVersionSearchMetadataDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Returns the search screen meta data.",
                "tags": [
                    "ACA Main: REST API for ACA Version"
                ]
            }
        },
        "/aca-api/aca-versions/validation-rules/{acaVerId}": {
            "get": {
                "description": "Returns the applied validation rules for the ACA Version with the given id.",
                "operationId": "getAppliedValidationRules",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "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": "version not found"
                    }
                },
                "summary": "Returns the applied validation rules for the ACA Version.",
                "tags": [
                    "aca-request-main-controller"
                ]
            }
        },
        "/aca-api/aca-versions/version-create-metadata": {
            "get": {
                "description": "Get all metadata needed for the Annual Accounts & Management Declaration(s) create action",
                "operationId": "getVersionInformationCreateMetadata",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaCreateMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get Annual Accounts & Management Declaration(s) create metadata",
                "tags": [
                    "ACA Main: REST API for ACA Version"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}": {
            "get": {
                "description": "Returns the ACA project for a given id.",
                "operationId": "findAcaProjectVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaVersionDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaVersionDto"
                                }
                            }
                        },
                        "description": "version not found"
                    }
                },
                "summary": "Find an ACA project by id",
                "tags": [
                    "ACA Main: REST API for ACA Version"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/CAN": {
            "post": {
                "description": "This use case occurs when a user wants to cancel a ACA version with documents sent to the Commission and without any previous work version in status âRevision requested by ECâ. The notification utility will be called to notify the Commission of the cancel of the version.",
                "operationId": "cancel",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Cancel executed"
                    }
                },
                "summary": "Cancel ACA Version",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/CRE": {
            "post": {
                "description": "This method should be used when a user wants to create a new version of a ACA project. A new version needs to be created when on the last version a revision was requested by the Commission for modification.",
                "operationId": "createNewAcaProjectVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaVersionSearchDto"
                                }
                            }
                        },
                        "description": "Create New Version executed"
                    }
                },
                "summary": "Create New Version of a ACA project",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/DEL": {
            "post": {
                "description": "This method should be used when a user wants to delete a ACA version from the system",
                "operationId": "delete",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Delete executed"
                    }
                },
                "summary": "Delete ACA Version",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/PSE": {
            "post": {
                "description": "This method should be used when a user on the highest MS Node wants to indicate that the Annual Accounts & Management Declaration(s) project version can be prepared for sending to the Commission",
                "operationId": "prepareForSendToEc",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Prepare for Send executed"
                    }
                },
                "summary": "Prepare for Send to EC ACA Version",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/REO": {
            "post": {
                "description": "This use case occurs 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": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Reopen executed"
                    }
                },
                "summary": "Reopen ACA Version",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/RME": {
            "post": {
                "description": "This method should be used when a user wants to return the ACA Version sent by the Member State because it is incomplete or incorrect and needs to be modified. The notification utility will be called to notify the return to the Member State.",
                "operationId": "returnByEcForModification",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "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 ACA Version by EC for Modification",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/RME/metadata": {
            "get": {
                "description": "Returns metadata for Return ACA Version by EC for Modification",
                "operationId": "getRmeMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaActionMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Metadata for Return ACA Version by EC for Modification",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/RMM": {
            "post": {
                "description": "This method should be used when a user wants to return the Annual Accounts & Management Declaration(s) project sent by the Region because it is incomplete or incorrect and needs to be modified. The notification utility will be called to notify the return to the Region.",
                "operationId": "returnByMsForModification",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnMsModificationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "return by MS executed"
                    }
                },
                "summary": "Return Annual Accounts & Management Declaration(s) project by MS for Modification",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/SMO": {
            "post": {
                "description": "This method should be used when the Commission has already returned the Accounts version back to the MS but still wants to modify which elements can be modified by the MS in their next Annual Accounts version ",
                "operationId": "setModifiableElements",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcaModifiableSectionsDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "set elements executed"
                    }
                },
                "summary": "Set Modifiable Elements",
                "tags": [
                    "ACA custom actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/SMO/metadata": {
            "get": {
                "description": "Returns metadata for the Set Modifiable Elements action",
                "operationId": "getSetModifiableElementsMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaActionMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Metadata for Set Modifiable Elements",
                "tags": [
                    "ACA custom actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/SND": {
            "post": {
                "description": "This method should be used when a user is ready to send its recorded data on a ACA version to the Commission or to an upper Node. The notification utility will be called to notify the Commission or the upper Node of the sending of the version.",
                "operationId": "sendToEc",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "callback",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "signatureId",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Send executed"
                    }
                },
                "summary": "Send to EC the ACA",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/SND/metadata": {
            "get": {
                "operationId": "getSendMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/SendActionMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get metadata to send Annual Accounts & Management Declaration(s) project",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/actions/VAL": {
            "post": {
                "description": "This method should be used when a user requests an overall validation of the information related to a version of the Annual Accounts & Management Declaration(s) Version",
                "operationId": "validate",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Validation executed"
                    }
                },
                "summary": "Validate ACA Version",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts": {
            "get": {
                "description": "Load Annual Accounts information.",
                "operationId": "getAnnualAccounts",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaAnnualAccountsDto"
                                }
                            }
                        },
                        "description": "Annual Accounts information to specified ACA version."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaAnnualAccountsDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Load Annual Accounts information.",
                "tags": [
                    "aca-annual-accounts-controller"
                ]
            },
            "put": {
                "description": "Update Annual Accounts information.",
                "operationId": "saveAnnualAccounts",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcaAnnualAccountsDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaAnnualAccountsDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update Annual Accounts information.",
                "tags": [
                    "aca-annual-accounts-controller"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eafrd": {
            "get": {
                "description": "Retrieves the details of the advances EAFRD",
                "operationId": "getAdvancesEafrd",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaAdvanceEafrdLineDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Advances EAFRD details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAFRD"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eafrd-above": {
            "get": {
                "description": "Retrieves the details of the advances EAFRD above 5 million",
                "operationId": "getAdvancesEafrd5Mil",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaAdvanceEafrd5MilLineDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Advances EAFRD above 5 million details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAFRD above 5 million"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eafrd-above/list-metadata": {
            "get": {
                "description": "Load metadata needed for displaying advances EAFRD above 5 million details",
                "operationId": "getAdvancesEafrd5MilMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaXmlObjectListMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Load metadata needed for displaying advances EAFRD above 5 million details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAFRD above 5 million"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eafrd/list-metadata": {
            "get": {
                "description": "Load metadata needed for displaying advances EAFRD details",
                "operationId": "getAdvancesEafrdMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaAdvancesEafrdListMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Load metadata needed for displaying advances EAFRD details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAFRD"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eagf/inside-csp": {
            "get": {
                "description": "Retrieves the details of the advances EAGF - inside CSP",
                "operationId": "getAdvancesEagfInsideCsp",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaAdvanceEagfLineDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Advances EAGF - Inside CSP details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAGF / Inside CSP"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eagf/inside-csp/list-metadata": {
            "get": {
                "description": "Load metadata needed for displaying advances EAGF - inside CSP details",
                "operationId": "getAdvancesEagfInsideCspMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaAdvancesEagfInsideCspListMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Load metadata needed for displaying advances EAGF - inside CSP details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAGF / Inside CSP"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eagf/outside-csp": {
            "get": {
                "description": "Retrieves the details of the advances EAGF - outside CSP",
                "operationId": "getAdvancesEagfOutsideCsp",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaAdvanceEagfLineDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Advances EAGF - Outside CSP details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAGF / Outside CSP"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eagf/outside-csp-wine": {
            "get": {
                "description": "Retrieves the details of the advances EAGF - outside CSP wine above 5 million",
                "operationId": "getAdvancesEagfOutsideCspWine",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaAdvanceEagfLineDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Advances EAGF - Outside CSP Wine above 5 million details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAGF / Outside CSP Wine"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eagf/outside-csp-wine/list-metadata": {
            "get": {
                "description": "Load metadata needed for displaying advances EAGF - outside CSP wine above 5 million details",
                "operationId": "getAdvancesEagfOutsideCspWineMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaXmlObjectListMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Load metadata needed for displaying advances EAGF - outside CSP wine above 5 million details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAGF / Outside CSP Wine"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/advances-eagf/outside-csp/list-metadata": {
            "get": {
                "description": "Load metadata needed for displaying advances EAGF - outside CSP details",
                "operationId": "getAdvancesEagfOutsideCspMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaXmlObjectListMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Load metadata needed for displaying advances EAGF - outside CSP details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Advances EAGF / Outside CSP"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/financial-instruments": {
            "get": {
                "description": "Retrieves the details of the Financial Instruments",
                "operationId": "getFinancialInstruments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaFinancialInstrumentsLineDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Financial Instruments details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Financial Instruments"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/accounting-financial-instrument/financial-instruments/list-metadata": {
            "get": {
                "description": "Load metadata needed for displaying Financial Instruments details",
                "operationId": "getFinancialInstrumentsMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaFinancialInstrumentsListMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Load metadata needed for displaying Financial Instruments details",
                "tags": [
                    "ACA Annual accounts /  Accounting/Financial Instrument / Financial Instruments"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/annual-declaration": {
            "get": {
                "description": "Retrieves the details of the annual declaration and difference explanation",
                "operationId": "getAnnualDeclaration",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaAnnualDeclarationLineDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Annual declaration and difference explanation",
                "tags": [
                    "ACA Annual accounts / Annual declaration"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/annual-declaration/list-metadata": {
            "get": {
                "description": "Load metadata needed for displaying Annual declaration and difference explanation",
                "operationId": "getAnnualDeclarationMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaXmlObjectListMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Load metadata needed for displaying Annual declaration and difference explanation",
                "tags": [
                    "ACA Annual accounts / Annual declaration"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/debtor-ledger": {
            "get": {
                "description": "Retrieves the details of the debtor ledger",
                "operationId": "getDebtorLedger",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaDebtorLedgerLineDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Debtor ledger details",
                "tags": [
                    "ACA Annual accounts / Debtor ledger"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/debtor-ledger/list-metadata": {
            "get": {
                "description": "Load metadata needed for displaying Debtor ledger details",
                "operationId": "getDebtorLedgerMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaXmlObjectListMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Load metadata needed for displaying Debtor ledger details",
                "tags": [
                    "ACA Annual accounts / Debtor ledger"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/metadata": {
            "get": {
                "description": "Load Annual Accounts signature metadata information.",
                "operationId": "getAnnualAccountsSignatureMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaAnnualAccountsSignedMetadataDto"
                                }
                            }
                        },
                        "description": "Annual Accounts signature metadata information to specified ACA version."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaAnnualAccountsSignedMetadataDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Load Annual Accounts signature metadata information.",
                "tags": [
                    "aca-annual-accounts-controller"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/annual-accounts/sign": {
            "post": {
                "description": "Sign annual declaration  with ECAS signature.",
                "operationId": "signAnnualAccounts",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "callback",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "signatureId",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaSectionSignedDto"
                                }
                            }
                        },
                        "description": "signature information to specified declaration."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaSectionSignedDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Sign annual declaration with ECAS signature.",
                "tags": [
                    "aca-annual-accounts-controller"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/general/history": {
            "get": {
                "description": "Returns a history of all actions performed against the ACA version and the resulting status.",
                "operationId": "getStatusHistory",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/SfcObjectStatusHistoryDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Retrieves the Status History",
                "tags": [
                    "0.3 - General / History"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/general/observations": {
            "get": {
                "description": "Returns a list of all the Observations in a conversation.",
                "operationId": "getListOfObservations",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaVersionObservationDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get List of Observations",
                "tags": [
                    "0.5 - General / Observations"
                ]
            },
            "post": {
                "description": "Creates a new Observation",
                "operationId": "createObservations",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcaVersionObservationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaVersionObservationDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create new Observation",
                "tags": [
                    "0.5 - General / Observations"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/general/officials": {
            "get": {
                "description": "Retrieves a list of all the officials in charge",
                "operationId": "getOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaPersonInChargeDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get list of Officials in charge",
                "tags": [
                    "0.2 - General / Officials in charge"
                ]
            },
            "post": {
                "description": "Creates a new Official in charge",
                "operationId": "createOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcaPersonInChargeDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create a new Official",
                "tags": [
                    "0.2 - General / Officials in charge"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/general/officials/{offId}": {
            "delete": {
                "description": "Deletes an existing Official in charge",
                "operationId": "deleteOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "offId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Delete an Official",
                "tags": [
                    "0.2 - General / Officials in charge"
                ]
            },
            "get": {
                "description": "Retrieves the information for the official in charge specified",
                "operationId": "getOfficial",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "offId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Read Official in charge",
                "tags": [
                    "0.2 - General / Officials in charge"
                ]
            },
            "put": {
                "description": "Updates the information for the Official specified",
                "operationId": "updateOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "offId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcaPersonInChargeDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update Official in charge",
                "tags": [
                    "0.2 - General / Officials in charge"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/general/validation-results": {
            "get": {
                "description": "The list shows the results of the last validation action execution",
                "operationId": "getValidationResults",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationResultDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Retrieves the list of validation results",
                "tags": [
                    "0.1 - General / Version information"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/general/version-info": {
            "get": {
                "description": "Read ACA version information",
                "operationId": "getVersionInformation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/VersionInfoDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Read version information",
                "tags": [
                    "00.1 - General / Version information"
                ]
            },
            "put": {
                "description": "Update ACA version information",
                "operationId": "updateVersionInformation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/VersionInfoDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/VersionInfoDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update version information",
                "tags": [
                    "00.1 - General / Version information"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/general/version-info/metadata": {
            "get": {
                "description": "Get all metadata needed for the ACA Version information view",
                "operationId": "getVersionInformationMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaVersionInfoMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get ACA Version information metadata",
                "tags": [
                    "00.1 - General / Version information"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/management-declaration/md-coordinating-body": {
            "get": {
                "description": "Get management declaration coordinating body",
                "operationId": "getMDCoordinatingBody",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaMDCoordinatingBodyDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get management declaration coordinating body",
                "tags": [
                    "2.2 - Management declaration(s) / Management declaration Coordinating Body"
                ]
            },
            "put": {
                "description": "Update management declaration Coordinating Body",
                "operationId": "updateMDCoordinatingBody",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcaMDCoordinatingBodyDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaMDCoordinatingBodyDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update management declaration Coordinating Body",
                "tags": [
                    "2.2 - Management declaration(s) / Management declaration Coordinating Body"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/management-declaration/md-coordinating-body/metadata": {
            "get": {
                "description": "Get management declaration coordinating body metadata",
                "operationId": "getMDCoordinatingBodyMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaMDCoordinatingBodyDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get management declaration coordinating body metadata",
                "tags": [
                    "2.2 - Management declaration(s) / Management declaration Coordinating Body metadata"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/management-declaration/md-paying-agency": {
            "get": {
                "description": "Get management declaration paying agency",
                "operationId": "getMDPayingAgency",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaMDPayingAgencyDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get management declaration paying agency",
                "tags": [
                    "2.1 - Management declaration(s) / Management declaration Paying Agency"
                ]
            },
            "put": {
                "description": "Update management declaration paying agency",
                "operationId": "updateMDPayingAgency",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AcaMDPayingAgencyDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaMDPayingAgencyDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Update management declaration paying agency",
                "tags": [
                    "2.1 - Management declaration(s) / Management declaration Paying Agency"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/management-declaration/md-paying-agency/metadata": {
            "get": {
                "description": "Get management declaration Paying agency metadata",
                "operationId": "getMDPayingAgencyMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaMDCoordinatingBodyDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get management declaration Paying agency metadata",
                "tags": [
                    "2.1 - Management declaration(s) / Management declaration Paying agency metadata"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/management-declaration/{mdSection}/sign": {
            "post": {
                "description": "Sign management declaration  with ECAS signature.",
                "operationId": "signAcaDeclaration",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "mdSection",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "callback",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "signatureId",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaSectionSignedDto"
                                }
                            }
                        },
                        "description": "signature information to specified declaration."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaSectionSignedDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Sign management declaration with ECAS signature.",
                "tags": [
                    "aca-management-declaration-controller"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/metadata": {
            "get": {
                "description": "Get all possible actions related with the status of a ACA identified by a given id",
                "operationId": "actionsMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/NextActionsDto"
                                }
                            }
                        },
                        "description": "OK"
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/MetadataDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Get all possible actions",
                "tags": [
                    "ACA Workflow actions"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVerId}/summary": {
            "get": {
                "description": "Returns the data to complete the header of the object: status, status date, modification date, modification user, current node, previous node and owner node",
                "operationId": "summary",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVerId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/MvoSummaryDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Returns the information to fill the summary header of the object.",
                "tags": [
                    "ACA Summary"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVersionId}/files": {
            "get": {
                "description": "View uploaded XML file to the ACA version.",
                "operationId": "getFiles",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaFileDto"
                                }
                            }
                        },
                        "description": "One or more uploaded XML files to specified ACA version."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AcaFileDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "View uploaded XML file to the ACA version.",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVersionId}/files/{fileId}": {
            "get": {
                "description": "Load uploaded XML file details.",
                "operationId": "getFileDetails",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "fileId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaFileDto"
                                }
                            }
                        },
                        "description": "An uploaded XML file to specified ACA version."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaFileDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Load uploaded XML file details.",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVersionId}/files/{fileId}/content": {
            "get": {
                "description": "Load uploaded XML file content.",
                "operationId": "getFileWithContent",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "fileId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaFileContentDto"
                                }
                            }
                        },
                        "description": "An uploaded XML file to specified ACA version."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AcaFileContentDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Load uploaded XML file content.",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/aca-api/aca-versions/{acaVersionId}/snapshot-crc": {
            "post": {
                "operationId": "updateCrcAca",
                "parameters": [
                    {
                        "in": "path",
                        "name": "acaVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "string"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "tags": [
                    "ACA Main: REST API for ACA Version"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/annual-accounts/public-storage": {
            "get": {
                "description": "Returns the list of DocumentDto for a given documentable object id.",
                "operationId": "getDocuments_1",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Find the list of Public Storage Documents linked to a specific documentable object",
                "tags": [
                    "Annual Accounts / Public Storage"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/annual-accounts/public-storage/metadata": {
            "get": {
                "description": "Provides the specific metadata for the Public Storage Documents section.",
                "operationId": "getDocumentsMetadataAca_2",
                "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 Public Storage Documents",
                "tags": [
                    "Annual accounts / Public storage"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/general/documents": {
            "get": {
                "description": "Returns the list of DocumentDto for a given documentable object id.",
                "operationId": "getDocumentsAca",
                "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": [
                    "0.4 - General / Documents"
                ]
            },
            "post": {
                "description": "Inserts a document if the user has the permission.",
                "operationId": "insertDocumentAca",
                "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": [
                    "0.4 - General / Documents"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/general/documents/metadata": {
            "get": {
                "description": "Provides the specific metadata for the documents section.",
                "operationId": "getDocumentsMetadataAca_1",
                "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": [
                    "0.4 - General / Documents"
                ]
            }
        },
        "/aca-api/aca-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": "deleteDocumentAca",
                "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": [
                    "0.4 - General / Documents"
                ]
            },
            "get": {
                "description": "Gets the document if the user has the permission.",
                "operationId": "getDocumentsAcaIdDocIdAca",
                "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": [
                    "0.4 - General / Documents"
                ]
            },
            "put": {
                "description": "Updates the document if the user has the permission.",
                "operationId": "updateDocumentAca",
                "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": [
                    "0.4 - General / Documents"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/general/documents/{documentId}/attachments/{docAttId}": {
            "delete": {
                "description": "Delete a specific document attachment object.",
                "operationId": "deleteAcaDocumentAttachment",
                "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": {
                        "description": "successful operation"
                    },
                    "404": {
                        "description": "documentable object not found"
                    }
                },
                "summary": "Delete a specific document attachment object",
                "tags": [
                    "00.4 - General / Documents"
                ]
            },
            "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": "downloadDocumentAttachementAca",
                "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": [
                    "0.4 - General / Documents"
                ]
            }
        },
        "/aca-api/aca-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": "refreshDocumentAca",
                "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": [
                    "0.4 - General / Documents"
                ]
            }
        },
        "/aca-api/aca-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": "sendDocumentAca",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "callback",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "signatureId",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Sends the document",
                "tags": [
                    "0.4 - General / Documents"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/general/documents/{documentId}/send/metadata": {
            "get": {
                "description": "It return the metadata info for the Send action 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": [
                    "0.4 - General / Documents"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/general/mandatory-documents": {
            "get": {
                "description": "Returns the last version of mandatory documents uploaded against this or previous documentable object versions",
                "operationId": "getMandatoryDocumentsAca",
                "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": [
                    "0.4 - General / Documents"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/management-declaration/annexed-documents": {
            "get": {
                "description": "Returns the list of DocumentDto for a given documentable object id.",
                "operationId": "getDocuments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Find the list of Public Storage Documents linked to a specific documentable object",
                "tags": [
                    "Annual Accounts / Public Storage"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/management-declaration/annexed-documents/metadata": {
            "get": {
                "description": "Provides the specific metadata for the Public Storage Documents section.",
                "operationId": "getDocumentsMetadataAca",
                "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 Public Storage Documents",
                "tags": [
                    "Annual accounts / Public storage"
                ]
            }
        },
        "/aca-api/aca-versions/{id}/tocs": {
            "get": {
                "description": "Returns the Table of Contents entries of ACA Version for a given ACA Version id.",
                "operationId": "getTocsAca",
                "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": "Aca not found"
                    }
                },
                "summary": "Get the table of contents",
                "tags": [
                    "ACA Main: REST API for ACA Version"
                ]
            }
        },
        "/aca-api/cci-search": {
            "get": {
                "description": "Returns a list of objects that are relevant to the specified cci.",
                "operationId": "searchCci",
                "parameters": [
                    {
                        "in": "query",
                        "name": "cci",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/CciSearchResultDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Search for a specific cci",
                "tags": [
                    "Cci Search"
                ]
            }
        },
        "/aca-api/commission-reference-document/{commissionReferenceNumber}": {
            "get": {
                "description": "Provides the commission reference document in a documentDto model. (only to be used by EC users)",
                "operationId": "getCommissionReferenceDocument",
                "parameters": [
                    {
                        "in": "path",
                        "name": "commissionReferenceNumber",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "commission reference document not found"
                    }
                },
                "summary": "gets a commission reference document",
                "tags": [
                    "HRS"
                ]
            }
        },
        "/aca-api/get-ecas-signature-url": {
            "get": {
                "description": "Retrieves the Ecas signature url",
                "operationId": "getEcasSignatureUrl",
                "parameters": [
                    {
                        "in": "query",
                        "name": "actionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "callback",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "documentId",
                        "required": false,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "objectId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ECASSignerDataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Gets the Ecas signature url",
                "tags": [
                    "Ecas signature"
                ]
            }
        },
        "/aca-api/probe/liveness": {
            "get": {
                "description": "Returns the health state of the ACA service",
                "operationId": "testApiLiveness",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "additionalProperties": {
                                        "type": "string"
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Liveness page",
                "tags": [
                    "Liveness"
                ]
            }
        },
        "/aca-api/reference-data/paying-agencies": {
            "get": {
                "description": "Returns the list of all active and closed Paying Agencies as reference data.",
                "operationId": "listOfActiveAndClosedPayingAgencies",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ReferenceDataDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Active and closed Paying Agencies",
                "tags": [
                    "ACA Reference Data"
                ]
            }
        },
        "/aca-api/temp-attachment": {
            "post": {
                "description": "Allow to save a file on the server.The returned filename can then be used when manipulating the objects where a file needs to be attached.",
                "operationId": "saveToTempFile",
                "requestBody": {
                    "content": {
                        "multipart/form-data": {
                            "schema": {
                                "properties": {
                                    "file": {
                                        "format": "binary",
                                        "type": "string"
                                    }
                                },
                                "required": [
                                    "file"
                                ],
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TempFileDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Saves a given multipart file into a temporary file on the server",
                "tags": [
                    "Files upload"
                ]
            }
        }
    },
    "security": [
        {
            "sfcBearerAuthentication": [
                "read",
                "write"
            ]
        }
    ],
    "servers": [
        {
            "url": "http://sfc2021.net1.cec.eu.int:8080/sfc2021"
        }
    ]
}