{
    "components": {
        "schemas": {
            "AdditionalNationalFinancingDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "excessJustification": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "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"
                    },
                    "nationalFinancing": {
                        "nullable": true,
                        "type": "number"
                    },
                    "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "toiId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AggregatedValueByInterventionDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "calculated": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "category": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "categoryDescription": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "categoryI18n": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionTypeCode": {
                        "maxLength": 20,
                        "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sector": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AggregatedValueByTypeOfInterventionTypeDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "calculated": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "category": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "categoryDescription": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "categoryI18n": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionTypeCode": {
                        "maxLength": 20,
                        "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sector": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AggregatedValueOtherDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "calculated": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "outputIndicatorGroup": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "outputIndicatorGroupDescription": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "outputIndicatorGroupI18n": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AlternativeValue1346ADto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "category": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "excessJustification": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "excessJustificationTranslation": {
                        "$ref": "#/components/schemas/ETranslationDto"
                    },
                    "figures": {
                        "items": {
                            "$ref": "#/components/schemas/AlternativeValueFiguresDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "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"
                    },
                    "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"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaGroup": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sector": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AlternativeValue1346BDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "category": {
                        "nullable": true,
                        "type": "string"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "excessJustification": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "excessJustificationTranslation": {
                        "$ref": "#/components/schemas/ETranslationDto"
                    },
                    "expenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "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"
                    },
                    "numberOfOutputs": {
                        "nullable": true,
                        "type": "number"
                    },
                    "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaGroup": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "ratio": {
                        "nullable": true,
                        "type": "number"
                    },
                    "ratioExpenditureNumberOfOutputs": {
                        "nullable": true,
                        "type": "number"
                    },
                    "sector": {
                        "nullable": true,
                        "type": "string"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AlternativeValueFiguresDto": {
                "properties": {
                    "average": {
                        "nullable": true,
                        "type": "number"
                    },
                    "expenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "financialYear": {
                        "nullable": true,
                        "type": "integer"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    }
                },
                "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"
                    },
                    "listOfLabelValue": {
                        "items": {
                            "$ref": "#/components/schemas/AppliedValidationRulesLabelValueDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfValidationResult": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationResultDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AppliedValidationRulesLabelValueDto": {
                "properties": {
                    "key": {
                        "nullable": true,
                        "type": "string"
                    },
                    "referenceId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "value": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AprAccountingPeriodDto": {
                "properties": {
                    "active": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "code": {
                        "nullable": true,
                        "type": "string"
                    },
                    "description": {
                        "nullable": true,
                        "type": "string"
                    },
                    "fromDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "submitFromDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "submitToDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "type": {
                        "nullable": true,
                        "type": "string"
                    },
                    "untilDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AprCommonReportFieldsDto": {
                "properties": {
                    "accountingPeriodCode": {
                        "maxLength": 64,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "accountingPeriodPrevYear": {
                        "maxLength": 64,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "accountingPeriodPrevYear2Digits": {
                        "maxLength": 64,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "accountingPeriodYear": {
                        "maxLength": 64,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "accountingPeriodYear2Digits": {
                        "maxLength": 64,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "accountingPeriodYearVal": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "reportFullVersion": {
                        "maxLength": 64,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "reportTitle": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AprCreateDto": {
                "properties": {
                    "accountingPeriodId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "cci": {
                        "maxLength": 15,
                        "minLength": 15,
                        "nullable": true,
                        "type": "string"
                    },
                    "comments": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryLanguageTitle": {
                        "additionalProperties": {
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "object"
                    },
                    "cspVersion": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "englishTitle": {
                        "maxLength": 500,
                        "minLength": 0,
                        "type": "string"
                    },
                    "language": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "monitoringCommitteeApprovalDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "nationalReference": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tabLabel": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "accountingPeriodId",
                    "englishTitle"
                ],
                "type": "object"
            },
            "AprCreateMetadataDto": {
                "properties": {
                    "accountingPeriod": {
                        "items": {
                            "$ref": "#/components/schemas/AprAccountingPeriodDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfCountryLanguages": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfProgrammes": {
                        "items": {
                            "$ref": "#/components/schemas/CspVersionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "mappedProgrammes": {
                        "additionalProperties": {
                            "items": {
                                "$ref": "#/components/schemas/CspVersionDto"
                            },
                            "type": "array",
                            "uniqueItems": true
                        },
                        "nullable": true,
                        "type": "object"
                    }
                },
                "type": "object"
            },
            "AprFileContentDto": {
                "properties": {
                    "aprVersion": {
                        "$ref": "#/components/schemas/AprVersionDto"
                    },
                    "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/AprFileErrorDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "uploadBy": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "uploadDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AprFileDto": {
                "properties": {
                    "aprVersion": {
                        "$ref": "#/components/schemas/AprVersionDto"
                    },
                    "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/AprFileErrorDto"
                        },
                        "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"
            },
            "AprFileErrorDto": {
                "properties": {
                    "businessRule": {
                        "maxLength": 40,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "businessRuleSet": {
                        "maxLength": 40,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "catsCode": {
                        "maxLength": 8,
                        "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"
            },
            "AprMvoSummaryDto": {
                "properties": {
                    "accountingPeriod": {
                        "$ref": "#/components/schemas/AprAccountingPeriodDto"
                    },
                    "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"
            },
            "AprNarrativeDto": {
                "properties": {
                    "narrative": {
                        "enum": [
                            "DEROGATION",
                            "HORIZONTAL_ASPECTS",
                            "STATE_SO1",
                            "STATE_SO2",
                            "STATE_SO3",
                            "STATE_SO4",
                            "STATE_SO5",
                            "STATE_SO6",
                            "STATE_SO7",
                            "STATE_SO8",
                            "STATE_SO9",
                            "STATE_SUMMARY",
                            "STATE_XCO",
                            "UNKNOWN"
                        ],
                        "nullable": true,
                        "type": "string"
                    },
                    "richText": {
                        "$ref": "#/components/schemas/RichTextDto"
                    },
                    "richTextTranslation": {
                        "$ref": "#/components/schemas/ETranslationDto"
                    }
                },
                "type": "object"
            },
            "AprPersonInChargeDto": {
                "properties": {
                    "beginDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "email": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "endDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "key": {
                        "description": "Key to be used in the table compare",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "languageId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "name": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "phone": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "email",
                    "name"
                ],
                "type": "object"
            },
            "AprQuantitativeDto": {
                "properties": {
                    "aggregatedValuesByIntervention": {
                        "items": {
                            "$ref": "#/components/schemas/AggregatedValueByInterventionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "aggregatedValuesByTypeOfIntervention": {
                        "items": {
                            "$ref": "#/components/schemas/AggregatedValueByTypeOfInterventionTypeDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "cottonInfo": {
                        "$ref": "#/components/schemas/CottonInfoDto"
                    },
                    "header": {
                        "$ref": "#/components/schemas/HeaderDto"
                    },
                    "listOfAdditionalNationalFinancing": {
                        "items": {
                            "$ref": "#/components/schemas/AdditionalNationalFinancingDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfAlternativeValuesArticle1346A": {
                        "items": {
                            "$ref": "#/components/schemas/AlternativeValue1346ADto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfAlternativeValuesArticle1346B": {
                        "items": {
                            "$ref": "#/components/schemas/AlternativeValue1346BDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFinancialInstruments": {
                        "items": {
                            "$ref": "#/components/schemas/FinancialInstrumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputDps": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputDpDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputDpsGrouped": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputDpResponseDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputRds": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputRdDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputRdsGrouped": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputRdResponseDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputSectorals": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputSectoralDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputSectoralsGrouped": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputSectoralResponseDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfResultIndicators": {
                        "items": {
                            "$ref": "#/components/schemas/ResultIndicatorDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfTransitionalNationalAids": {
                        "items": {
                            "$ref": "#/components/schemas/TransitionalNationalAidDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "oilseedsInfo": {
                        "$ref": "#/components/schemas/OilseedsInfoDto"
                    },
                    "otherAggregatedValues": {
                        "items": {
                            "$ref": "#/components/schemas/AggregatedValueOtherDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AprQuantitativeRealisedOutputsDto": {
                "properties": {
                    "header": {
                        "$ref": "#/components/schemas/HeaderDto"
                    },
                    "listOfAdditionalNationalFinancing": {
                        "items": {
                            "$ref": "#/components/schemas/AdditionalNationalFinancingDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputDps": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputDpDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputRds": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputRdDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfRealisedOutputSectorals": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputSectoralDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AprRichTextDto": {
                "properties": {
                    "aprObjectId": {
                        "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"
                    },
                    "text": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "textTranslation": {
                        "$ref": "#/components/schemas/ETranslationDto"
                    }
                },
                "type": "object"
            },
            "AprSearchMetaDataDto": {
                "properties": {
                    "canCreate": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AprSummaryDto": {
                "properties": {
                    "richText": {
                        "$ref": "#/components/schemas/RichTextDto"
                    },
                    "summary": {
                        "enum": [
                            "SUMMARY_OF_EVALUATIONS",
                            "UNKNOWN"
                        ],
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AprVerSearchDto": {
                "properties": {
                    "accountingPeriodId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "cci": {
                        "description": "Programme Cci",
                        "example": "2023BE06AFSP001",
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "englishTitle": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusModificationDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "tabLabel": {
                        "nullable": true,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AprVersionDto": {
                "properties": {
                    "accountingPeriodId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "aprVersionInfoDto": {
                        "$ref": "#/components/schemas/AprVersionInfoDto"
                    },
                    "cci": {
                        "description": "Programme Cci",
                        "example": "2023BE06AFSP001",
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "cspVersionDto": {
                        "$ref": "#/components/schemas/CspVersionDto"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "englishTitle": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "listOfDocumentDto": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfNarrativeDto": {
                        "items": {
                            "$ref": "#/components/schemas/AprNarrativeDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfSummaryDto": {
                        "items": {
                            "$ref": "#/components/schemas/AprSummaryDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "quantitativeDto": {
                        "$ref": "#/components/schemas/AprQuantitativeDto"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusModificationDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "tabLabel": {
                        "nullable": true,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AprVersionInfoDto": {
                "properties": {
                    "accPeriod": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "amendmentJustification": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "cci": {
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "comments": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    },
                    "commissionDecisionDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionDecisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "cspFullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "currentNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "eligibleFromDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "eligibleToDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "englishTitle": {
                        "maxLength": 255,
                        "minLength": 0,
                        "type": "string"
                    },
                    "firstYear": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "languageId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "lastYear": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "mapLanguageTitle": {
                        "additionalProperties": {
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "object"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/AprVersionInfoMetadataDto"
                    },
                    "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"
                    },
                    "monitoringCommitteeApprovalDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "msDecisionDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "msDecisionEntryIntoForceDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "msDecisionNumber": {
                        "maxLength": 60,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nationalReference": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nonSubstantialTransfer": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "previousNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "statusDate": {
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "version": {
                        "format": "int32",
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "type": "integer"
                    }
                },
                "required": [
                    "comments",
                    "englishTitle",
                    "firstYear",
                    "lastYear",
                    "version",
                    "workVersion"
                ],
                "type": "object"
            },
            "AprVersionInfoMetadataDto": {
                "properties": {
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "listOfCountryLanguages": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AprVersionObservationDto": {
                "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": 100,
                        "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"
            },
            "AresDocumentDto": {
                "properties": {
                    "aresRegistrationNumber": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "listOfAresItemIds": {
                        "items": {
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AresDocumentListDto": {
                "properties": {
                    "listOfAresDocuments": {
                        "items": {
                            "$ref": "#/components/schemas/AresDocumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CancelDto": {
                "properties": {
                    "reason": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "reason"
                ],
                "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"
            },
            "CottonInfoDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "beneficiariesNumber": {
                        "nullable": true,
                        "type": "number"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "hectaresNumber": {
                        "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"
                    },
                    "paymentPerHectare": {
                        "nullable": true,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "CreateNewVersionDto": {
                "properties": {
                    "basedOnWithdrawnVersion": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "CspVersionDto": {
                "properties": {
                    "cci": {
                        "maxLength": 15,
                        "minLength": 15,
                        "nullable": true,
                        "type": "string"
                    },
                    "englishTitle": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "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": 15,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "decisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fund": {
                        "maxLength": 8,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "mainObjectId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "objectTitle": {
                        "description": "title for the cci in case of a referring document (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectType": {
                        "maxLength": 4,
                        "minLength": 0,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "readOnly": true,
                "required": [
                    "id",
                    "objectType"
                ],
                "type": "object"
            },
            "DocumentLinkMetaDataDto": {
                "description": "list of possible document links. Will only be populated for the referring document types. The list is indentifiable through the documentTypeId",
                "properties": {
                    "documentTypeId": {
                        "description": "the Id of the document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleLinks": {
                        "description": "the list of possible document links for this document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "description": "the Id of the object type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "DocumentMetaDataDto": {
                "properties": {
                    "documentTypeMetaDataCode": {
                        "maxLength": 12,
                        "minLength": 0,
                        "type": "string"
                    },
                    "value": {
                        "description": "The string representation or the metadata. In case metadata has multiple values they are separated by a semicolon. The default maximum length of the metadata is specified in this DTO but can be further restricted in the metadata directory definition (maxChars)",
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "documentTypeMetaDataCode"
                ],
                "type": "object"
            },
            "DocumentSearchDto": {
                "properties": {
                    "codelang": {
                        "maxLength": 2,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "country": {
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "direction": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentType": {
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "jsonMetadata": {
                        "description": "Json representation of the list of metadata linked to this document (if any)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "lastStatus": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "lastVersion": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "links": {
                        "maxLength": 32767,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "objectSubtype": {
                        "maxLength": 6,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sentBy": {
                        "description": "SentBy user",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "status": {
                        "maxLength": 3,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "statusId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "tabLabel": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "totalAttachmentSize": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "required": [
                    "documentDate"
                ],
                "type": "object"
            },
            "DocumentSearchParams": {
                "properties": {
                    "attachmentTitle": {
                        "description": "the title of a document attachment. Only documents having an attachment containing the title specified will be returned",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "empty": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "languageIds": {
                        "description": "the language ids of a document attachment. Only documents having an attachment in one of the specified languages will be returned",
                        "items": {
                            "description": "the language ids of a document attachment. Only documents having an attachment in one of the specified languages will be returned",
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "page": {
                        "default": 0,
                        "description": "The page of the search results to be returned",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "query": {
                        "description": "the RSQL query to search",
                        "nullable": true,
                        "type": "string"
                    },
                    "size": {
                        "default": 1000,
                        "description": "The size of each page of the search results",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sort": {
                        "default": "-modificationDate",
                        "description": "The sort string. This string consists of comma separated field names that will be used for ascending sorting.In case descending sorting is desired the field name should be prefixed with a \"-\"",
                        "example": "title,-modificationDate",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "text": {
                        "description": "a partial text to search in document attachments",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DocumentTypeSendableDtoMetadata": {
                "properties": {
                    "documentTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sendable": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentWithVersionInfoDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "description": "For Member State Documents, the Country is automatically set at creation with the Country of the Node creating the Document and cannot be modified.For Commission Documents, the Commission user can select a specific Country or none meaning \"All Countries\".",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfRepliesFromDocument": {
                        "description": "In case the document can have a reply then this listOfRepliesFromDocument will contain the replying documents",
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersion": {
                        "description": "The version of the object where this document was created (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersionId": {
                        "description": "The id of the object where this document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "parentDocumentId": {
                        "description": "In case this document is a reply to a received Document. parentDocumentId is the id of the received document.",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentEditable": {
                        "description": "flag that indicates if the documents (which is sent) is updateable. When this is true the user can hide/show the attachments",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentRefreshable": {
                        "description": "flag that indicates if the documents (which is sent) is refreshable. When this is true the user can refresh the attachments from Ares",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "documentDate",
                    "documentTypeId",
                    "title"
                ],
                "type": "object"
            },
            "ECASSignerDataDto": {
                "properties": {
                    "signaturePageUrl": {
                        "description": "The signature page URL",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "signatureRequestId": {
                        "description": "The signature request ID",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EditablePagesDto": {
                "type": "object"
            },
            "EditableSectionsDto": {
                "type": "object"
            },
            "ETranslationDto": {
                "properties": {
                    "status": {
                        "nullable": true,
                        "type": "string"
                    },
                    "targetLanguage": {
                        "nullable": true,
                        "type": "string"
                    },
                    "translatedText": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "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": 100,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "refData": {
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "value": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "FinancialInstrumentDto": {
                "properties": {
                    "amountInAdditionToEafrd": {
                        "$ref": "#/components/schemas/InstrumentsPlusGrantsDto"
                    },
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "competitiveTenderBodies": {
                        "$ref": "#/components/schemas/InstrumentsForBodiesDto"
                    },
                    "directAwardBodies": {
                        "$ref": "#/components/schemas/InstrumentsForBodiesDto"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "eligibleExpenditure": {
                        "$ref": "#/components/schemas/InstrumentsPlusGrantsDto"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "financialInstrumentName": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "financialSupportType": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interestAndGains": {
                        "nullable": true,
                        "type": "number"
                    },
                    "interventionType": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionTypeCode": {
                        "maxLength": 20,
                        "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "nullable": true,
                        "type": "string"
                    },
                    "puaCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaNameEnglish": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "returnedResources": {
                        "nullable": true,
                        "type": "number"
                    },
                    "total": {
                        "nullable": true,
                        "type": "number"
                    },
                    "totalOutput": {
                        "nullable": true,
                        "type": "number"
                    },
                    "unitOfMeasurement": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "HeaderDto": {
                "properties": {
                    "cci": {
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "currency": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "financialYear": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "InstrumentsDto": {
                "properties": {
                    "equity": {
                        "nullable": true,
                        "type": "number"
                    },
                    "guarantee": {
                        "nullable": true,
                        "type": "number"
                    },
                    "loans": {
                        "nullable": true,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "InstrumentsForBodiesDto": {
                "properties": {
                    "holdingFunds": {
                        "$ref": "#/components/schemas/InstrumentsDto"
                    },
                    "specificFunds": {
                        "$ref": "#/components/schemas/InstrumentsDto"
                    }
                },
                "type": "object"
            },
            "InstrumentsPlusGrantsDto": {
                "properties": {
                    "equity": {
                        "nullable": true,
                        "type": "number"
                    },
                    "grants": {
                        "nullable": true,
                        "type": "number"
                    },
                    "guarantee": {
                        "nullable": true,
                        "type": "number"
                    },
                    "loans": {
                        "nullable": true,
                        "type": "number"
                    }
                },
                "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"
            },
            "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"
            },
            "OilseedsCottonAndTransitionalNationalAidDto": {
                "properties": {
                    "cottonInfo": {
                        "$ref": "#/components/schemas/CottonInfoDto"
                    },
                    "oilseedsInfo": {
                        "$ref": "#/components/schemas/OilseedsInfoDto"
                    },
                    "transitionalNationalAid": {
                        "items": {
                            "$ref": "#/components/schemas/TransitionalNationalAidDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "OilseedsInfoDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "hectaresNumber": {
                        "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"
                    }
                },
                "type": "object"
            },
            "RealisedOutputDpDto": {
                "properties": {
                    "annexVISectorCode": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "annexVISectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "annexVISectorName": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "excessJustification": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "excessJustificationTranslation": {
                        "$ref": "#/components/schemas/ETranslationDto"
                    },
                    "expenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "expenditureDeclaredInAnnualAccount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "financialDiscipline": {
                        "nullable": true,
                        "type": "number"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "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"
                    },
                    "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "penalties": {
                        "nullable": true,
                        "type": "number"
                    },
                    "puaCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaGroup": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaNameEnglish": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "realisedUnitAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "reductionAndCapping": {
                        "nullable": true,
                        "type": "number"
                    },
                    "referenceUnitAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "sectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "toiId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitAmountRatio": {
                        "nullable": true,
                        "type": "number"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RealisedOutputDpResponseDto": {
                "properties": {
                    "addNationalFinancingExpenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "addNationalFinancingTotals": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputTotalDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "grossRealisedExpenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "realisedOutputs": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputDpDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "toiId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "totals": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputTotalDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "RealisedOutputRdDto": {
                "properties": {
                    "advancesInFinancialYear": {
                        "nullable": true,
                        "type": "number"
                    },
                    "advancesInPreviousFinancialYear": {
                        "nullable": true,
                        "type": "number"
                    },
                    "annexVISectorCode": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "annexVISectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "annexVISectorName": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "contributionRate": {
                        "nullable": true,
                        "type": "number"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "excessJustification": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "excessJustificationTranslation": {
                        "$ref": "#/components/schemas/ETranslationDto"
                    },
                    "expenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "expenditureDeclaredInAnnualAccount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "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"
                    },
                    "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "penalties": {
                        "nullable": true,
                        "type": "number"
                    },
                    "puaCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaGroup": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaNameEnglish": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "realisedUnitAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "recovered": {
                        "nullable": true,
                        "type": "number"
                    },
                    "recoveredFromClosedPeriod": {
                        "nullable": true,
                        "type": "number"
                    },
                    "referenceUnitAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "sectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "toiId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitAmountRatio": {
                        "nullable": true,
                        "type": "number"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RealisedOutputRdResponseDto": {
                "properties": {
                    "addNationalFinancingExpenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "addNationalFinancingTotals": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputTotalDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "grossRealisedExpenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "realisedOutputs": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputRdDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "toiId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "totals": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputTotalDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "RealisedOutputSectoralDto": {
                "properties": {
                    "advancesInFinancialYear": {
                        "nullable": true,
                        "type": "number"
                    },
                    "advancesInPreviousFinancialYear": {
                        "nullable": true,
                        "type": "number"
                    },
                    "annexVISectorCode": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "annexVISectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "annexVISectorName": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "budgetCode": {
                        "maxLength": 27,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "category": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "excessJustification": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "excessJustificationTranslation": {
                        "$ref": "#/components/schemas/ETranslationDto"
                    },
                    "expenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "expenditureDeclaredInAnnualAccount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "limitationOnProportion": {
                        "nullable": true,
                        "type": "number"
                    },
                    "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"
                    },
                    "output": {
                        "nullable": true,
                        "type": "number"
                    },
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "penalties": {
                        "nullable": true,
                        "type": "number"
                    },
                    "puaCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaGroup": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "puaNameEnglish": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "realisedUnitAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "referenceUnitAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "sector": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "toiId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitAmountRatio": {
                        "nullable": true,
                        "type": "number"
                    },
                    "unitId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RealisedOutputSectoralResponseDto": {
                "properties": {
                    "addNationalFinancingExpenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "addNationalFinancingTotals": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputTotalDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "annexVISectorCode": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "annexVISectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "annexVISectorName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "grossRealisedExpenditure": {
                        "nullable": true,
                        "type": "number"
                    },
                    "interventionCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "interventionName": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "realisedOutputs": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputSectoralDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "sectorId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "toiId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "totals": {
                        "items": {
                            "$ref": "#/components/schemas/RealisedOutputTotalDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "RealisedOutputTotalDto": {
                "properties": {
                    "outputIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "outputTotal": {
                        "nullable": true,
                        "type": "number"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "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"
            },
            "ResultIndicatorDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "category": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "code": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "comment": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commentTranslation": {
                        "$ref": "#/components/schemas/ETranslationDto"
                    },
                    "commonTargetIndicator": {
                        "$ref": "#/components/schemas/ResultTargetIndicatorDto"
                    },
                    "denominatorIsCommonContextIndicator": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "denominatorTargetIndicator": {
                        "$ref": "#/components/schemas/ResultTargetIndicatorDto"
                    },
                    "denominatorValue": {
                        "nullable": true,
                        "type": "number"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isCumulative": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "isFixedDenominator": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "isPerformanceReview": {
                        "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"
                    },
                    "numeratorCategory": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "numeratorCategoryI18n": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "numeratorTargetIndicator": {
                        "$ref": "#/components/schemas/ResultTargetIndicatorDto"
                    },
                    "numeratorValue": {
                        "nullable": true,
                        "type": "number"
                    },
                    "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"
                    },
                    "sector": {
                        "maxLength": 50,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sectorI18n": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sectorOtherName": {
                        "maxLength": 500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ResultTargetIndicatorDto": {
                "properties": {
                    "achievement": {
                        "nullable": true,
                        "type": "number"
                    },
                    "milestone": {
                        "nullable": true,
                        "type": "number"
                    },
                    "ratio": {
                        "nullable": true,
                        "type": "number"
                    },
                    "resultIndicatorCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "resultIndicatorDescription": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "resultIndicatorExtraI18Description": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "resultIndicatorI18Description": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "unit": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReturnEcModificationDto": {
                "properties": {
                    "listOfAresDocuments": {
                        "items": {
                            "$ref": "#/components/schemas/AresDocumentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "reason": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "reason"
                ],
                "type": "object"
            },
            "ReturnMsModificationDto": {
                "properties": {
                    "reason": {
                        "maxLength": 2000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "reason"
                ],
                "type": "object"
            },
            "RichTextDto": {
                "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"
                    },
                    "text": {
                        "maxLength": 3116480,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "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": {
                    "childrenCrcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "code": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "crcValue": {
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "disabled": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hasContent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "helpI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "highlighted": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "hintI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "key": {
                        "maxLength": 1024,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameArguments": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "nameI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "orderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "orderByChar": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "parentTocId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "staticItem": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "subtitle1I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "subtitle2I18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "titleArguments": {
                        "maxLength": 3000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "titleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tocItemArguments": {
                        "maxLength": 1000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tocItemOrderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "tooltipI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "url": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TransitionalNationalAidDto": {
                "properties": {
                    "aprVersionId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "beneficiariesNumber": {
                        "nullable": true,
                        "type": "number"
                    },
                    "customUnit": {
                        "maxLength": 200,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "fileName": {
                        "maxLength": 277,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "financialEnvelope": {
                        "nullable": true,
                        "type": "number"
                    },
                    "grantedAmount": {
                        "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"
                    },
                    "realisedUnitAmount": {
                        "nullable": true,
                        "type": "number"
                    },
                    "sector": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "unitOfMeasurement": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "unitsNumber": {
                        "nullable": true,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "ValidateActionResultDto": {
                "properties": {
                    "validated": {
                        "description": "Validated flag indicates if the validation was successful or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ValidationResultDto": {
                "properties": {
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "orderBy": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "resultI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "ruleI18nCode": {
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "severityCode": {
                        "maxLength": 5,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "severityI18nCode": {
                        "description": "Denormalization of the serverityCode to be able to immediately translate the severity code.",
                        "maxLength": 128,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "validationResultParameters": {
                        "items": {
                            "$ref": "#/components/schemas/ValidationResultParameterDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "validationRuleCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ValidationResultParameterDto": {
                "properties": {
                    "type": {
                        "description": "Type of the parameter",
                        "enum": [
                            "BIGDECIMAL",
                            "DATE",
                            "DATE_TIME",
                            "I18N",
                            "I18N_LIST",
                            "LONG",
                            "STRING"
                        ],
                        "nullable": true,
                        "type": "string"
                    },
                    "value": {
                        "description": "Value of the parameter. Note that for BIGDECIMAL the value is returned as a string to avoid the limitation in precission that can happen in the JSON or in the client application language. For example depending on the type: STRING('abc'), I18N('fund.ESF'), I18N_LIST('fund.ESF,fund.CF'), LONG( 1234 ), BIGDECIMAL('123.12'), DATE('2024-03-14'), DATE_TIME('2024-03-14T14:06:57.275651600')",
                        "nullable": true,
                        "type": "object"
                    }
                },
                "type": "object"
            }
        },
        "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 apr-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 apr-api",
        "version": "3.43.0"
    },
    "openapi": "3.0.1",
    "paths": {
        "/apr-api/apr-versions": {
            "get": {
                "description": "Returns the list of aprVersions that are relevant to the external user/system calling this method.\nThe user/system is identified through the common Sfc2021 Authenticator.",
                "operationId": "searchAprVersions",
                "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/AprVerSearchDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Find APR Versions",
                "tags": [
                    "apr-search-controller"
                ]
            },
            "post": {
                "operationId": "aprVersions",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AprCreateDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprVersionDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/apr-create-metadata": {
            "get": {
                "operationId": "getVersionInformationCreateMetadata",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprCreateMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/apr-create-metadata/{financilPeriodId}": {
            "get": {
                "operationId": "getVersionInformationCreateMetadata_1",
                "parameters": [
                    {
                        "in": "path",
                        "name": "financilPeriodId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprCreateMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/export": {
            "get": {
                "description": "Export into MS Excel a list of APR versions basing on the roles of the actor.",
                "operationId": "exportAprList",
                "parameters": [
                    {
                        "in": "query",
                        "name": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "sort",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Export list of APR versions in excel format",
                "tags": [
                    "apr-search-controller"
                ]
            }
        },
        "/apr-api/apr-versions/search-metadata": {
            "get": {
                "description": "Returns the meta data to create an Annual Performance Report version.\nContains a flag stating if the user can create a new Annual Performance Report version.",
                "operationId": "searchAprMetadata",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprSearchMetaDataDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Returns the meta data to create an APR version.",
                "tags": [
                    "APR Main: REST API for APR Version"
                ]
            }
        },
        "/apr-api/apr-versions/validation-rules/{aprVerId}": {
            "get": {
                "description": "Returns the applied validation rules for the Annual Performance Report version with the given Annual Performance Report id.",
                "operationId": "aprAppliedValidationRules",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVerId",
                        "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": "AprVersion not found"
                    }
                },
                "summary": "Returns the applied validation rules for the APR version.",
                "tags": [
                    "APR Main: REST API for APR Version"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVerId}/tocs": {
            "get": {
                "description": "Returns the Table of Contents entries of APR Version for a given APR Version id.",
                "operationId": "getTocsApr",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVerId",
                        "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": "AprVersion not found"
                    }
                },
                "summary": "Get ToCs",
                "tags": [
                    "APR Main: REST API for APR Version"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}": {
            "get": {
                "description": "AprVersionDto aggregates all dto sections of an Annual Performance Report ",
                "operationId": "getAprVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprVersionDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create an instance of AprVersionDto for the report",
                "tags": [
                    "APR Main: REST API for APR Version"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/ACC": {
            "post": {
                "description": "This use case occurs when a user wants to accept an Annual Performance Report.\nThe notification utility will be called to notify the acceptance of the decision by the Commission to the Member State and to the Back-Office.",
                "operationId": "acceptDecision",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AresDocumentListDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Accept APR",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/ADM": {
            "post": {
                "description": "This use case occurs when a user wants to admit an Annual Performance Report version.",
                "operationId": "admit",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AresDocumentListDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Action executed"
                    },
                    "400": {
                        "description": "Invalid input"
                    }
                },
                "summary": "Admit the annual performance report",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/CAN": {
            "post": {
                "description": "This method should be used when the EC wants to cancel an Annual Performance Report version",
                "operationId": "cancel",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CancelDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Cancel executed"
                    }
                },
                "summary": "Cancel APR",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/CRE": {
            "post": {
                "description": "This use case occurs when a user wants to create a new version of an Annual Performance Report for CAP Strategic Plan supported by the EAGF and EAFRD.",
                "operationId": "createNewVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateNewVersionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprVerSearchDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create new APR version",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/DEL": {
            "post": {
                "description": "This use case occurs when a user wants to delete an Annual Performance Report version from the system.",
                "operationId": "deleteVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Delete executed"
                    }
                },
                "summary": "Delete APR",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/NAD": {
            "post": {
                "description": "This use case occurs when a user does not want to admit an Annual Performance Report version.",
                "operationId": "nonAdmit",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AresDocumentListDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "description": "Action executed"
                    },
                    "400": {
                        "description": "Invalid input"
                    }
                },
                "summary": "Non-admit the annual performance report",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/PSE": {
            "post": {
                "description": "This method should be used when a user wants to indicate that the Annual Performance Report version can be prepared for sending to the upper Node.",
                "operationId": "prepareForSendToEc",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Prepare for Send executed"
                    }
                },
                "summary": "Prepare APR for Send to the upper Node",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/REO": {
            "post": {
                "description": "This method should be used when a Commission user wants to undo the last action.\nThe 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": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Reopen executed"
                    }
                },
                "summary": "Reopen APR",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/RME": {
            "post": {
                "description": "This use case occurs when a user wants to return the Annual Performance Report version sent by the Member State because it is incomplete or incorrect and needs to be modified.\nThe notification utility will be called to notify the return to the Member State.",
                "operationId": "returnByCommissionForModification",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnEcModificationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Return APR to MS for modifications",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/RMM": {
            "post": {
                "description": "This use case occurs when a user wants to return the Annual Performance Report version sent by the Region because it is incomplete or incorrect and needs to be modified.\nThe notification utility will be called to notify the return to the Region.",
                "operationId": "returnByMemberStateForModification",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnMsModificationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Return APR by MS for modification",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/RMT": {
            "post": {
                "description": "This use case occurs when a user wants to return the Annual Performance Report version sent by the Member State because it is incomplete or incorrect and needs to be modified.\nThe notification utility will be called to notify the return to the Member State.",
                "operationId": "requestReturnByMemberState",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/ReturnMsModificationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Return for technical correction",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/SND": {
            "post": {
                "description": "This method should be used when a user is ready to send its recorded data on an Annual Performance Report version to the Commission or to an upper Node.\nThe notification utility will be called to notify the Commission or the upper Node of the sending of the version.",
                "operationId": "send",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "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 APR",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/SND/metadata": {
            "get": {
                "description": "This method should be used when a user is ready to send its recorded data on an Annual Performance Report version to the Commission or to an upper Node.\nThe notification utility will be called to notify the Commission or the upper Node of the sending of the version.",
                "operationId": "getSendMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/SendActionMetadataDto"
                                }
                            }
                        },
                        "description": "Send executed"
                    }
                },
                "summary": "Get the metadata needed to Send APR",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/VAL": {
            "post": {
                "description": "This use case occurs when a user requests an overall validation of the information related to a version of the Annual Performance Report.",
                "operationId": "validateVersion",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ValidateActionResultDto"
                                }
                            }
                        },
                        "description": "Validation executed returning the validation status in the response."
                    }
                },
                "summary": "Validate APR",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/actions/{actionCode}": {
            "post": {
                "description": "Execute a specific Action on a given object identified by a given Annual Performance Report version id",
                "operationId": "actions",
                "parameters": [
                    {
                        "in": "path",
                        "name": "actionCode",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "description": "Action executed"
                    },
                    "400": {
                        "description": "Invalid input"
                    }
                },
                "summary": "Execute an action on an Annual Performance Report version",
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/common-report-fields": {
            "get": {
                "operationId": "getCommonReportFields",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprCommonReportFieldsDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "APR Main: REST API for APR Version"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/files": {
            "get": {
                "description": "View uploaded XML file to the APR.",
                "operationId": "getDeclarationFiles",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprFileDto"
                                }
                            }
                        },
                        "description": "One or more uploaded XML files to specified APR."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AprFileDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "View uploaded XML file to the APR.",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/files/{fileId}": {
            "get": {
                "description": "Load uploaded XML file details.",
                "operationId": "getDeclarationFile",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "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/AprFileDto"
                                }
                            }
                        },
                        "description": "An uploaded XML file to specified APR."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprFileDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Load uploaded XML file details.",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/files/{fileId}/content": {
            "get": {
                "description": "Load uploaded XML file content.",
                "operationId": "getDeclarationFileContent",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "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/AprFileContentDto"
                                }
                            }
                        },
                        "description": "An uploaded XML file to specified APR."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprFileContentDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Load uploaded XML file content.",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/general/history": {
            "get": {
                "operationId": "getStatusHistory",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/SfcObjectStatusHistoryDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/general/observations": {
            "get": {
                "operationId": "getVersionObservation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AprVersionObservationDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            },
            "post": {
                "operationId": "createVersionObservation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AprVersionObservationDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprVersionObservationDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/general/officials": {
            "get": {
                "operationId": "getOfficials",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AprPersonInChargeDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            },
            "post": {
                "operationId": "createOfficial",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AprPersonInChargeDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/general/officials/{personInChargeId}": {
            "delete": {
                "operationId": "deleteOfficial",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "personInChargeId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "boolean"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            },
            "get": {
                "operationId": "getOfficials_1",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "personInChargeId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            },
            "put": {
                "operationId": "updateOfficial",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "personInChargeId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AprPersonInChargeDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprPersonInChargeDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/general/validation-results": {
            "get": {
                "operationId": "getValidationResults",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/general/version-info": {
            "get": {
                "operationId": "getVersionInformation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprVersionInfoDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            },
            "put": {
                "operationId": "updateVersionInformation",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AprVersionInfoDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprVersionInfoDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/general/version-info-metadata": {
            "get": {
                "operationId": "getVersionInformationMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprVersionInfoMetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-general-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/narrative/{section}": {
            "get": {
                "operationId": "getNarrative",
                "parameters": [
                    {
                        "description": "The Annual Performance Report identifier",
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "description": "The narrative section",
                        "in": "path",
                        "name": "section",
                        "required": true,
                        "schema": {
                            "enum": [
                                "derogation",
                                "horizontal-aspects",
                                "specific-objective-eight",
                                "specific-objective-five",
                                "specific-objective-four",
                                "specific-objective-nine",
                                "specific-objective-one",
                                "specific-objective-seven",
                                "specific-objective-six",
                                "specific-objective-three",
                                "specific-objective-two",
                                "specific-objective-xco",
                                "state-summary"
                            ],
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprRichTextDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-narrative-controller"
                ]
            },
            "post": {
                "operationId": "saveNarrative",
                "parameters": [
                    {
                        "description": "The Annual Performance Report identifier",
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "description": "The narrative section",
                        "in": "path",
                        "name": "section",
                        "required": true,
                        "schema": {
                            "enum": [
                                "derogation",
                                "horizontal-aspects",
                                "specific-objective-eight",
                                "specific-objective-five",
                                "specific-objective-four",
                                "specific-objective-nine",
                                "specific-objective-one",
                                "specific-objective-seven",
                                "specific-objective-six",
                                "specific-objective-three",
                                "specific-objective-two",
                                "specific-objective-xco",
                                "state-summary"
                            ],
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RichTextDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RichTextDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-narrative-controller"
                ]
            },
            "put": {
                "operationId": "saveNarrative_1",
                "parameters": [
                    {
                        "description": "The Annual Performance Report identifier",
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "description": "The narrative section",
                        "in": "path",
                        "name": "section",
                        "required": true,
                        "schema": {
                            "enum": [
                                "derogation",
                                "horizontal-aspects",
                                "specific-objective-eight",
                                "specific-objective-five",
                                "specific-objective-four",
                                "specific-objective-nine",
                                "specific-objective-one",
                                "specific-objective-seven",
                                "specific-objective-six",
                                "specific-objective-three",
                                "specific-objective-two",
                                "specific-objective-xco",
                                "state-summary"
                            ],
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RichTextDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RichTextDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-narrative-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/alternative-unit-amounts/article-134-6-a": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getAlternativeValuesArticle1346A",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AlternativeValue1346ADto"
                                }
                            }
                        },
                        "description": "2.4.1. Alternative values provided by Article 134(6)(a)."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AlternativeValue1346ADto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.4.1. Alternative values provided by Article 134(6)(a).",
                "tags": [
                    "2.4. Alternative unit amounts of reference."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/alternative-unit-amounts/article-134-6-a/{alternativeUnitAmountId}/comments": {
            "put": {
                "description": "Update APR data.",
                "operationId": "updateAlternativeValueArticle1346AComments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "alternativeUnitAmountId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "string"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "description": "2.4.1 Alternative unit amount - update comments."
                    },
                    "400": {
                        "description": "Invalid input"
                    }
                },
                "summary": "2.4.1 Alternative unit amount - update comments.",
                "tags": [
                    "2.4. Alternative unit amounts of reference."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/alternative-unit-amounts/article-134-6-b": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getAlternativeValuesArticle1346B",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AlternativeValue1346ADto"
                                }
                            }
                        },
                        "description": "2.4.2. Alternative values provided by Article 134(6)(b)."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AlternativeValue1346BDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.4.2. Alternative values provided by Article 134(6)(b).",
                "tags": [
                    "2.4. Alternative unit amounts of reference."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/alternative-unit-amounts/article-134-6-b/{alternativeUnitAmountId}/comments": {
            "put": {
                "description": "Update APR data.",
                "operationId": "updateAlternativeValueArticle1346BComments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "alternativeUnitAmountId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "string"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "description": "2.4.2 Alternative unit amount - update comments."
                    },
                    "400": {
                        "description": "Invalid input"
                    }
                },
                "summary": "2.4.2 Alternative unit amount - update comments.",
                "tags": [
                    "2.4. Alternative unit amounts of reference."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/other-info": {
            "get": {
                "description": "Load APR data.",
                "operationId": "otherInfo",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/OilseedsCottonAndTransitionalNationalAidDto"
                                }
                            }
                        },
                        "description": "2.6. Information on oilseeds, cotton and transitional national aid."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/OilseedsCottonAndTransitionalNationalAidDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.6. Information on oilseeds, cotton and transitional national aid.",
                "tags": [
                    "2.6. Information on oilseeds, cotton and transitional national aid."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/other-info/cotton": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getCottonInfo",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CottonInfoDto"
                                }
                            }
                        },
                        "description": "2.6.2. Information on cotton."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/CottonInfoDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.6.2. Information on cotton.",
                "tags": [
                    "2.6. Information on oilseeds, cotton and transitional national aid."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/other-info/oilseeds": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getOilseedsInfo",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/OilseedsInfoDto"
                                }
                            }
                        },
                        "description": "2.6.1. Information on oilseeds."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/OilseedsInfoDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.6.1. Information on oilseeds.",
                "tags": [
                    "2.6. Information on oilseeds, cotton and transitional national aid."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/other-info/transitional-national-aid": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getTransitionalNationalAids",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/TransitionalNationalAidDto"
                                }
                            }
                        },
                        "description": "2.6.3. Information on transitional national aid."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/TransitionalNationalAidDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.6.3. Information on transitional national aid.",
                "tags": [
                    "2.6. Information on oilseeds, cotton and transitional national aid."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/aggregated-values/interventions": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getAggregatedValueByInterventions",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AggregatedValueByInterventionDto"
                                }
                            }
                        },
                        "description": "2.3.1. Aggregated values of output indicators by interventions and units of measurement."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AggregatedValueByInterventionDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.3.1. Aggregated values of output indicators by interventions and units of measurement.",
                "tags": [
                    "2.3. Realised outputs - aggregated value."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/aggregated-values/others": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getAggregatedValueOthers",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AggregatedValueOtherDto"
                                }
                            }
                        },
                        "description": "2.3.3. Other aggregated values of output indicators."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AggregatedValueOtherDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.3.3. Other aggregated values of output indicators.",
                "tags": [
                    "2.3. Realised outputs - aggregated value."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/aggregated-values/type-of-interventions": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getAggregatedValueByInterventionTypes",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AggregatedValueByTypeOfInterventionTypeDto"
                                }
                            }
                        },
                        "description": "2.3.2. Aggregated values of output indicators by types of intervention and units of measurement."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AggregatedValueByTypeOfInterventionTypeDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.3.2. Aggregated values of output indicators by types of intervention and units of measurement.",
                "tags": [
                    "2.3. Realised outputs - aggregated value."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/unit-amounts": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getRealisedOutputs",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprQuantitativeRealisedOutputsDto"
                                }
                            }
                        },
                        "description": "2.2.1. Realised outputs - unit amounts. Direct Payment interventions."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprQuantitativeRealisedOutputsDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.2. Realised outputs - unit amounts.",
                "tags": [
                    "2.2. Realised outputs - unit amounts - additional national financing."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/unit-amounts/additional-national-financing": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getRealisedOutputAdditionalNationalFinancings",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AdditionalNationalFinancingDto"
                                }
                            }
                        },
                        "description": "2.2.4. Realised outputs - unit amounts. Additional national financing."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/AdditionalNationalFinancingDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.2.4. Realised outputs - unit amounts. Additional national financing.",
                "tags": [
                    "2.2. Realised outputs - unit amounts - additional national financing."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/unit-amounts/dp": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getRealisedOutputDps",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RealisedOutputDpDto"
                                }
                            }
                        },
                        "description": "2.2.1. Realised outputs - unit amounts. Direct Payment interventions."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/RealisedOutputDpResponseDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.2.1. Realised outputs - unit amounts. Direct Payment interventions.",
                "tags": [
                    "2.2. Realised outputs - unit amounts - additional national financing."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/unit-amounts/rd": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getRealisedOutputRds",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RealisedOutputRdDto"
                                }
                            }
                        },
                        "description": "2.2.3. Realised outputs - unit amounts. Rural development interventions."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/RealisedOutputRdResponseDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.2.3. Realised outputs - unit amounts. Rural development interventions.",
                "tags": [
                    "2.2. Realised outputs - unit amounts - additional national financing."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/unit-amounts/sectoral": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getRealisedOutputSectorals",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RealisedOutputSectoralDto"
                                }
                            }
                        },
                        "description": "2.2.2. Realised outputs - unit amounts. Sectoral interventions."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/RealisedOutputSectoralResponseDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.2.2. Realised outputs - unit amounts. Sectoral interventions.",
                "tags": [
                    "2.2. Realised outputs - unit amounts - additional national financing."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/realised-outputs/{realisedOutputId}/comments": {
            "put": {
                "description": "Update APR data.",
                "operationId": "updateRealisedOutputComments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "realisedOutputId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "string"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "description": "2.2. Realised outputs - update comments."
                    },
                    "400": {
                        "description": "Invalid input"
                    }
                },
                "summary": "2.2. Realised outputs - update comments.",
                "tags": [
                    "2.2. Realised outputs - unit amounts - additional national financing."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/result-indicators": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getResultIndicatorDtos",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/ResultIndicatorDto"
                                }
                            }
                        },
                        "description": "2.1 Achieved values of result indicators."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/ResultIndicatorDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.1 Achieved values of result indicators.",
                "tags": [
                    "2.1 Achieved values of result indicators."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/result-indicators/{resultIndicatorId}/comments": {
            "put": {
                "description": "Update APR data.",
                "operationId": "updateResultIndicatorComments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "resultIndicatorId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "string"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        },
                        "description": "2.1 Achieved values of result indicators - update comments."
                    },
                    "400": {
                        "description": "Invalid input"
                    }
                },
                "summary": "2.1 Achieved values of result indicators - update comments.",
                "tags": [
                    "2.1 Achieved values of result indicators."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/quantitative/use-of-financial-instruments": {
            "get": {
                "description": "Load APR data.",
                "operationId": "getFinancialInstruments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/FinancialInstrumentDto"
                                }
                            }
                        },
                        "description": "2.5. Use of financial instruments in rural development interventions."
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/FinancialInstrumentDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "2.5. Use of financial instruments in rural development interventions.",
                "tags": [
                    "2.5. Use of financial instruments in rural development interventions."
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/summary": {
            "get": {
                "description": "Returns the data to complete the header of the object: cci, status, status date, modification date, modification user, current node, previous node and owner node",
                "operationId": "summary",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/AprMvoSummaryDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Returns the information to fill the summary header of the object.",
                "tags": [
                    "APR Main: REST API for APR Version",
                    "APR Summary"
                ]
            }
        },
        "/apr-api/apr-versions/{aprVersionId}/summary-of-evaluations": {
            "get": {
                "operationId": "getSummaryOfEvaluations",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RichTextDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-summary-controller"
                ]
            },
            "post": {
                "operationId": "saveSummaryOfEvaluations",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RichTextDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RichTextDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-summary-controller"
                ]
            },
            "put": {
                "operationId": "saveSummaryOfEvaluations_1",
                "parameters": [
                    {
                        "in": "path",
                        "name": "aprVersionId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/RichTextDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/RichTextDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-summary-controller"
                ]
            }
        },
        "/apr-api/apr-versions/{id}/general/documents": {
            "get": {
                "description": "Returns the list of DocumentDto for a given documentable object id.",
                "operationId": "getDocumentsDib",
                "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",
                    "0.4 General - Documents annexed to this programme version"
                ]
            },
            "post": {
                "description": "Inserts a document if the user has the permission.",
                "operationId": "insertDocument",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DocumentDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Inserts a new document",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-versions/{id}/general/documents/metadata": {
            "get": {
                "description": "Provides the specific metadata for the documents section.",
                "operationId": "getDocumentsMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDtoMetadata"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDtoMetadata"
                                }
                            }
                        },
                        "description": "documentable object not found"
                    }
                },
                "summary": "metadata for the documents",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-versions/{id}/general/documents/{documentId}": {
            "delete": {
                "description": "Deletes the document when the document is not sent and the user needs to have the permission to delete the document.",
                "operationId": "deleteDocument",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Deletes the document",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            },
            "get": {
                "description": "Gets the document if the user has the permission.",
                "operationId": "getDocument",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Retrieves the document",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            },
            "put": {
                "description": "Updates the document if the user has the permission.",
                "operationId": "updateDocument",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DocumentDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Updates the document",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-versions/{id}/general/documents/{documentId}/attachments/{docAttId}": {
            "delete": {
                "description": "Delete a specific document attachment object.",
                "operationId": "deleteAprDocumentAttachment",
                "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": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            },
            "get": {
                "description": "Returns the document attachment from the database as a outputStream in the response. The user needs to have access to be able to download the attachment.",
                "operationId": "downloadDocumentAttachment",
                "parameters": [
                    {
                        "in": "path",
                        "name": "docAttId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "format": "binary",
                                    "type": "string"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Download document attachment file",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-versions/{id}/general/documents/{documentId}/refresh": {
            "put": {
                "description": "Updates the document with the latest information from Ares. The main purpose is to upload additional translation that might have been added in Ares afterwards. (By the creator or de DMO)",
                "operationId": "refreshDocument",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Refresh the document",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-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": "sendDocumentApr",
                "parameters": [
                    {
                        "description": "Optional callback for web application use only; It's the URL that was used by EU Login to redirect the browser to after the signature operation took place",
                        "in": "query",
                        "name": "callback",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Optional signature ID for web application use only; It's the id returned be eu-login after the signature operation took place",
                        "in": "query",
                        "name": "signatureId",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Sends the document",
                "tags": [
                    "0.4 General - Documents annexed to this programme version",
                    "General / Documents"
                ]
            }
        },
        "/apr-api/apr-versions/{id}/general/documents/{documentId}/send/metadata": {
            "get": {
                "description": "It return the metadata info for the Send aciton of Document.",
                "operationId": "getSendDocumentMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/SendDocumentDtoMetadata"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Metadata for the Send action in documents",
                "tags": [
                    "0.4 General - Documents annexed to this programme version",
                    "General / Documents"
                ]
            }
        },
        "/apr-api/apr-versions/{id}/general/mandatory-documents": {
            "get": {
                "description": "Returns the last version of mandatory documents uploaded against this or previous documentable object versions",
                "operationId": "getMandatoryDocuments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentWithVersionInfoDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentWithVersionInfoDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "documentable object not found"
                    }
                },
                "summary": "Find the mandatory documents",
                "tags": [
                    "0.4 General - Documents annexed to this programme version"
                ]
            }
        },
        "/apr-api/apr-versions/{id}/metadata": {
            "get": {
                "operationId": "actions_1",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/MetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-actions-controller"
                ]
            }
        },
        "/apr-api/commission-reference-document/{commissionReferenceNumber}": {
            "get": {
                "description": "Provides the commission reference document in a documentDto model. (only to be used by EC users)The documentTypeId can optionally be given to determine if the rendition version is needed or the original version.",
                "operationId": "getCommissionReferenceDocument",
                "parameters": [
                    {
                        "in": "path",
                        "name": "commissionReferenceNumber",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "documentTypeId",
                        "required": false,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "commission reference document not found"
                    }
                },
                "summary": "gets a commission reference document",
                "tags": [
                    "HRS"
                ]
            }
        },
        "/apr-api/document-search": {
            "post": {
                "description": "Returns a list of documents that match the specified criteria.",
                "operationId": "searchAllDocuments",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DocumentSearchParams"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentSearchDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Search for documents",
                "tags": [
                    "Global Document Search"
                ]
            }
        },
        "/apr-api/document-search/download-all": {
            "post": {
                "description": "Downloads a zip file with all attachments matching the search criteria.",
                "operationId": "downloadAllDocuments",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DocumentSearchParams"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Download all documents",
                "tags": [
                    "Global Document Search"
                ]
            }
        },
        "/apr-api/etranslation/errorcallback": {
            "post": {
                "operationId": "receiveCallbackErrorETranslation",
                "parameters": [
                    {
                        "in": "query",
                        "name": "error-code",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "error-message",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "external-reference",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "request-id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-e-translation-controller"
                ]
            }
        },
        "/apr-api/etranslation/httpdestination": {
            "post": {
                "operationId": "receiveTranslatedFileETranslation",
                "parameters": [
                    {
                        "in": "query",
                        "name": "external-reference",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "request-id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "target-language",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-e-translation-controller"
                ]
            }
        },
        "/apr-api/etranslation/okcallback": {
            "post": {
                "operationId": "receiveCallbackETranslation",
                "parameters": [
                    {
                        "in": "query",
                        "name": "external-reference",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "request-id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "target-language",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "translated-text",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "tags": [
                    "apr-e-translation-controller"
                ]
            }
        },
        "/apr-api/etranslation/updatePendingTranslations": {
            "get": {
                "description": "Internal service to update pending or in error ETranslation",
                "operationId": "updatePendingTranslations",
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                },
                "summary": "Request new translations for pending or in error ETranslation request",
                "tags": [
                    "apr-e-translation-controller"
                ]
            }
        },
        "/apr-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"
                ]
            }
        },
        "/apr-api/probe/liveness": {
            "get": {
                "description": "Returns the health state of the apr service",
                "operationId": "testApiLiveness",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "additionalProperties": {
                                        "type": "string"
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Liveness page",
                "tags": [
                    "event"
                ]
            }
        },
        "/apr-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"
                ]
            }
        },
        "/apr-api/{id}/global-search/documents/{documentId}": {
            "get": {
                "description": "Gets the document if the user has the permission with the extra option to flag any attachemnts containing the specified text.",
                "operationId": "getDocumentWithTextMarkup",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "text",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/DocumentDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Retrieves document details for a global search document result",
                "tags": [
                    "Global Document Search"
                ]
            }
        },
        "/apr-api/{id}/global-search/documents/{documentId}/attachments/{docAttId}": {
            "get": {
                "description": "Returns the text of a document attachment from the database and highlights the text specified (if the attachment contains it",
                "operationId": "downloadHighlightedDocumentAttachment",
                "parameters": [
                    {
                        "in": "path",
                        "name": "docAttId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "text",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Highlight text in an attachment",
                "tags": [
                    "Global Document Search"
                ]
            }
        }
    },
    "security": [
        {
            "sfcBearerAuthentication": [
                "read",
                "write"
            ]
        }
    ],
    "servers": [
        {
            "url": "http://sfc2021.net1.cec.eu.int:8080/sfc2021"
        }
    ]
}