{
    "components": {
        "schemas": {
            "CommissionDecisionCciDto": {
                "description": "List of CCIs covered by the Commission Decision",
                "properties": {
                    "cci": {
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "dgCode": {
                        "maxLength": 2,
                        "minLength": 2,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "maxLength": 41,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "objectTypeCode": {
                        "maxLength": 3,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 255,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "version": {
                        "maxLength": 8,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CommissionDecisionCreateMetadataDto": {
                "properties": {
                    "listOfCommissionDecisions": {
                        "description": "List of available Commission Decisions",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfCommissionDecisionTypeIds": {
                        "description": "List of Commission Decision type IDs that can be created",
                        "items": {
                            "description": "List of Commission Decision type IDs that can be created",
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfCoveredCcis": {
                        "description": "List of available CCIs the Commission Decision can cover",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionCciDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentTypes": {
                        "description": "List of available Commission Decision document types",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CommissionDecisionDeleteMetadataDto": {
                "properties": {
                    "listOfCorrectingCommissionDecisions": {
                        "description": "List of decisions the Commission Decision is corrected by",
                        "items": {
                            "$ref": "#/components/schemas/CorrectingDecisionHierarchyItemDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfLinkedCcis": {
                        "description": "List of CCIs linked to the Commission Decision",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionCciDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CommissionDecisionDocumentLinkDto": {
                "description": "List of document links for the Commission Decision",
                "properties": {
                    "document": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "CommissionDecisionDto": {
                "description": "List of available Commission Decisions",
                "properties": {
                    "comments": {
                        "description": "Comments",
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionDecisionTypeId": {
                        "default": 143447,
                        "description": "when not provided the default value 143447 for 'Commission Decision' will be taken",
                        "format": "int64",
                        "nullable": true,
                        "title": "The identifier of the Commission Decision Type",
                        "type": "integer"
                    },
                    "correctingCommissionDecisionNumber": {
                        "description": "Commission Decision number for which this decision is a correction for",
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "decisionDate": {
                        "description": "Date of the Commission Decision",
                        "format": "date",
                        "type": "string"
                    },
                    "decisionNumber": {
                        "description": "Commission Decision number",
                        "example": "C(2019)50236",
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "languageId": {
                        "description": "The identifier of the original language of the Commission Decision",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "listOfCoveredCcis": {
                        "description": "List of CCIs covered by the Commission Decision",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionCciDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfSfcDocumentLinks": {
                        "description": "List of document links for the Commission Decision",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionDocumentLinkDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "modificationDate": {
                        "description": "Modification date of the Commission Decision",
                        "format": "date-time",
                        "nullable": 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"
                    },
                    "procedureReference": {
                        "description": "when provided during the creation, documents will automatically be added to SFC using this Procedure Reference to get the documents from Ares",
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "title": "The Decide Procedure Reference",
                        "type": "string"
                    },
                    "tabLabel": {
                        "description": "Label of the tab of Commission Decision in frontend",
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "title": {
                        "description": "Title for Commission Decision",
                        "example": "Example of title",
                        "maxLength": 4000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "decisionDate",
                    "decisionNumber",
                    "title"
                ],
                "type": "object"
            },
            "CommissionDecisionMetadataDto": {
                "properties": {
                    "listOfCommissionDecisions": {
                        "description": "List of available Commission Decisions",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfCommissionDecisionTypeIds": {
                        "description": "List of Commission Decision type IDs that can be edited",
                        "items": {
                            "description": "List of Commission Decision type IDs that can be edited",
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfCorrectingCommissionDecisions": {
                        "description": "The hierarchy of decisions the Commission Decision is corrected by",
                        "items": {
                            "$ref": "#/components/schemas/CorrectingDecisionHierarchyItemDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfCoveredCcis": {
                        "description": "List of available CCIs the Commission Decision can cover",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionCciDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfLinkedCcis": {
                        "description": "List of CCIs linked to the Commission Decision",
                        "items": {
                            "$ref": "#/components/schemas/CommissionDecisionCciDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CommissionDecisionSearchDto": {
                "properties": {
                    "comments": {
                        "description": "Comments",
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionDecisionTypeId": {
                        "description": "Identifies the commission decision type",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "corrected": {
                        "description": "If this decision is corrected by other decisions in the system",
                        "nullable": true,
                        "type": "boolean"
                    },
                    "coveredCcis": {
                        "description": "Covered CCIs",
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "decisionDate": {
                        "description": "Date of the Commission Decision",
                        "format": "date",
                        "type": "string"
                    },
                    "decisionNumber": {
                        "description": "Decision number",
                        "example": "C(2019)50236",
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "languageId": {
                        "description": "The identifier of the original language of the Commission Decision",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "linkedCcis": {
                        "description": "Linked CCIs",
                        "maxLength": 4000,
                        "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"
                    },
                    "originalLanguage": {
                        "description": "Translation of the original language name",
                        "example": "English",
                        "maxLength": 2500,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "tabLabel": {
                        "description": "Label of the tab of Commission Decision in frontend",
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "title": {
                        "description": "Title for Commission Decision",
                        "example": "Example of title",
                        "maxLength": 4000,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "decisionDate",
                    "decisionNumber",
                    "title"
                ],
                "type": "object"
            },
            "CommissionDecisionSearchMetaDataDto": {
                "properties": {
                    "canCreate": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "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"
            },
            "CorrectingDecisionHierarchyItemDto": {
                "properties": {
                    "children": {
                        "description": "List of decisions that correct this decision (if any)",
                        "items": {
                            "$ref": "#/components/schemas/CorrectingDecisionHierarchyItemDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "decisionDate": {
                        "description": "Date of the Commission Decision",
                        "format": "date",
                        "type": "string"
                    },
                    "decisionNumber": {
                        "description": "Commission Decision number",
                        "example": "C(2019)50236",
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "tabLabel": {
                        "description": "Label of the tab of Commission Decision in frontend",
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "decisionDate",
                    "decisionNumber"
                ],
                "type": "object"
            },
            "DocumentAttachmentDto": {
                "properties": {
                    "attachmentTypeCode": {
                        "maxLength": 20,
                        "minLength": 0,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 16,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "containsTextKeyword": {
                        "description": "In case the document was loaded by having the extra text parameter, this flag indicates if the attachement contains the text",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isEncrypted": {
                        "description": "is encrypted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "isHidden": {
                        "description": "flag to indicate that an attachments need to be hidden. (after the document was sent)",
                        "type": "boolean"
                    },
                    "isSystemGenerated": {
                        "description": "system property to indicate if attachment was generated by the system (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "language": {
                        "description": "The language id. This can be provided by the referenceData languages.",
                        "format": "int64",
                        "type": "integer"
                    },
                    "masterDocumentAttachmentId": {
                        "description": "A document attachment might be linked to a \"parent\" documentAttachment",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sfcLargeObject": {
                        "$ref": "#/components/schemas/LargeObjectDto"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "attachmentTypeCode",
                    "isHidden",
                    "language",
                    "title"
                ],
                "type": "object"
            },
            "DocumentAuthorityRestrictionDto": {
                "properties": {
                    "authorityTypeId": {
                        "format": "int64",
                        "type": "integer"
                    }
                },
                "required": [
                    "authorityTypeId"
                ],
                "type": "object"
            },
            "DocumentAuthorityTypeRestrictionMetaDataDto": {
                "description": "list of possible document authority type restrictions. Will only be populted for the referring document types having the 'restrict read' option. The list is indentifiable through the documentTypeId",
                "properties": {
                    "documentTypeId": {
                        "description": "the Id of the document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleAuthorityRestrictions": {
                        "description": "the list of possible document AuthorityRestrictions for this document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "DocumentDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "description": "For Member State Documents, the Country is automatically set at creation with the Country of the Node creating the Document and cannot be modified.For Commission Documents, the Commission user can select a specific Country or none meaning \"All Countries\".",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfRepliesFromDocument": {
                        "description": "In case the document can have a reply then this listOfRepliesFromDocument will contain the replying documents",
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "parentDocumentId": {
                        "description": "In case this document is a reply to a received Document. parentDocumentId is the id of the received document.",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentEditable": {
                        "description": "flag that indicates if the documents (which is sent) is updateable. When this is true the user can hide/show the attachments",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentRefreshable": {
                        "description": "flag that indicates if the documents (which is sent) is refreshable. When this is true the user can refresh the attachments from Ares",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "documentDate",
                    "documentTypeId",
                    "title"
                ],
                "type": "object"
            },
            "DocumentDtoMetadata": {
                "properties": {
                    "canCreate": {
                        "description": "Indicates if the user can create a document",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "isUserAnAuditAgent": {
                        "description": "Indicates if the user is an Audit Agent",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAuthorityTypeRestrictionMetaData": {
                        "description": "list of possible document authority type restrictions. Will only be populted for the referring document types having the 'restrict read' option. The list is indentifiable through the documentTypeId",
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityTypeRestrictionMetaDataDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentLinkMetaData": {
                        "description": "list of possible document links. Will only be populated for the referring document types. The list is indentifiable through the documentTypeId",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkMetaDataDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypeMeta": {
                        "description": "list of possible document types meta for the listOfDocumentTypes",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypeMetaForCurrentDocType": {
                        "description": "list of possible document types meta for the current document type",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypes": {
                        "description": "list of possible document types for creation",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypesForThisGroup": {
                        "description": "list of possible document types for this specific document group",
                        "items": {
                            "$ref": "#/components/schemas/ReferenceDataDtoInterface"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfDocumentTypesSendable": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentTypeSendableDtoMetadata"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfReferringDocumentTypes": {
                        "description": "list of referred doc types (the part of ids of possible document types for creation that are referred document types)",
                        "items": {
                            "description": "list of referred doc types (the part of ids of possible document types for creation that are referred document types)",
                            "format": "int64",
                            "readOnly": true,
                            "type": "integer"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "showCciLink": {
                        "description": "Indicates if the column \"CciLink(s)\" should be shown or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "showExtraFields": {
                        "description": "Indicates if the column \"Extra Fields\" should be shown or not",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentLinkDto": {
                "description": "List of CCIs linked to this document that have been deleted",
                "properties": {
                    "accountingPeriod": {
                        "maxLength": 6,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "cci": {
                        "maxLength": 51,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "decisionNumber": {
                        "maxLength": 20,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fullVersion": {
                        "maxLength": 81,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "fund": {
                        "maxLength": 8,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "id": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "mainObjectId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "objectTitle": {
                        "description": "title for the cci in case of a referring document (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectType": {
                        "maxLength": 4,
                        "minLength": 0,
                        "type": "string"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "readOnly": true,
                "required": [
                    "id",
                    "objectType"
                ],
                "type": "object"
            },
            "DocumentLinkMetaDataDto": {
                "description": "list of possible document links. Will only be populated for the referring document types. The list is indentifiable through the documentTypeId",
                "properties": {
                    "documentTypeId": {
                        "description": "the Id of the document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "listOfPossibleLinks": {
                        "description": "the list of possible document links for this document type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "description": "the Id of the object type",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    }
                },
                "readOnly": true,
                "type": "object"
            },
            "DocumentMetaDataDto": {
                "properties": {
                    "documentTypeMetaDataCode": {
                        "maxLength": 12,
                        "minLength": 0,
                        "type": "string"
                    },
                    "value": {
                        "description": "The string representation or the metadata. In case metadata has multiple values they are separated by a semicolon. The default maximum length of the metadata is specified in this DTO but can be further restricted in the metadata directory definition (maxChars)",
                        "maxLength": 2000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "required": [
                    "documentTypeMetaDataCode"
                ],
                "type": "object"
            },
            "DocumentSearchDto": {
                "properties": {
                    "codelang": {
                        "maxLength": 2,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "country": {
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "direction": {
                        "maxLength": 10,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentType": {
                        "maxLength": 4000,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "jsonMetadata": {
                        "description": "Json representation of the list of metadata linked to this document (if any)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "links": {
                        "maxLength": 32767,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "objectSubtype": {
                        "maxLength": 6,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "objectTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sentBy": {
                        "description": "SentBy user",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "tabLabel": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "totalAttachmentSize": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "version": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "workVersion": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "required": [
                    "documentDate"
                ],
                "type": "object"
            },
            "DocumentSearchParams": {
                "properties": {
                    "attachmentTitle": {
                        "description": "the title of a document attachment. Only documents having an attachment containing the title specified will be returned",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "empty": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "languageIds": {
                        "description": "the language ids of a document attachment. Only documents having an attachment in one of the specified languages will be returned",
                        "items": {
                            "description": "the language ids of a document attachment. Only documents having an attachment in one of the specified languages will be returned",
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "page": {
                        "default": 0,
                        "description": "The page of the search results to be returned",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "query": {
                        "description": "the RSQL query to search",
                        "nullable": true,
                        "type": "string"
                    },
                    "size": {
                        "default": 1000,
                        "description": "The size of each page of the search results",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sort": {
                        "default": "-modificationDate",
                        "description": "The sort string. This string consists of comma separated field names that will be used for ascending sorting.In case descending sorting is desired the field name should be prefixed with a \"-\"",
                        "example": "title,-modificationDate",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "text": {
                        "description": "a partial text to search in document attachments",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DocumentTypeSendableDtoMetadata": {
                "properties": {
                    "documentTypeId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sendable": {
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentWithVersionInfoDto": {
                "properties": {
                    "ackBy": {
                        "description": "user acknowledged by (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackByEmail": {
                        "description": "contact email address of the ackBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "ackDate": {
                        "description": "acknowledge date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "commissionReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "countryId": {
                        "description": "For Member State Documents, the Country is automatically set at creation with the Country of the Node creating the Document and cannot be modified.For Commission Documents, the Commission user can select a specific Country or none meaning \"All Countries\".",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "deletable": {
                        "description": "Indicator if the document can be deleted (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "documentDate": {
                        "format": "date",
                        "type": "string"
                    },
                    "documentGroupId": {
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "documentTypeId": {
                        "format": "int64",
                        "type": "integer"
                    },
                    "editable": {
                        "description": "Indicator if the document can be edited (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "id": {
                        "description": "Object Identifier",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "isReferring": {
                        "description": "Indicator if the document is referred",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "listOfDocumentAttachments": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAttachmentDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentAuthorityRestrictions": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentAuthorityRestrictionDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentLinks": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfDocumentMetaData": {
                        "items": {
                            "$ref": "#/components/schemas/DocumentMetaDataDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "listOfNotValidLinks": {
                        "description": "List of CCIs linked to this document that have been deleted",
                        "items": {
                            "$ref": "#/components/schemas/DocumentLinkDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "listOfRepliesFromDocument": {
                        "description": "In case the document can have a reply then this listOfRepliesFromDocument will contain the replying documents",
                        "items": {
                            "$ref": "#/components/schemas/DocumentDto"
                        },
                        "nullable": true,
                        "readOnly": true,
                        "type": "array"
                    },
                    "localReference": {
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "modificationDate": {
                        "description": "last modification date (read-only)",
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUser": {
                        "description": "last modification user (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "modificationUserEmail": {
                        "description": "email address from last modification user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersion": {
                        "description": "The version of the object where this document was created (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "objectVersionId": {
                        "description": "The id of the object where this document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "optimisticLock": {
                        "description": "This property can be used to detect conflicting updates, and prevent the loss of updates that would be overwritten by a last-commit-wins strategy.",
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "ownerNodeId": {
                        "description": "Node where the document was created (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "parentDocumentId": {
                        "description": "In case this document is a reply to a received Document. parentDocumentId is the id of the received document.",
                        "format": "int64",
                        "nullable": true,
                        "type": "integer"
                    },
                    "repliesToDocument": {
                        "$ref": "#/components/schemas/DocumentDto"
                    },
                    "sendEnabled": {
                        "description": "Indicator if the document can be sent (read-only)",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sent": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "sentBy": {
                        "description": "SentBy user (read-only)",
                        "maxLength": 359,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByEmail": {
                        "description": "contact email address of the sentBy user (read-only)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentByUserId": {
                        "description": "SentBy ecas user id (read-only)",
                        "maxLength": 30,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDate": {
                        "format": "date-time",
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "sentDocumentAcknowledgeable": {
                        "description": "flag that indicates if the documents (which is sent) is to be acknowledged.",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentEditable": {
                        "description": "flag that indicates if the documents (which is sent) is updateable. When this is true the user can hide/show the attachments",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "sentDocumentRefreshable": {
                        "description": "flag that indicates if the documents (which is sent) is refreshable. When this is true the user can refresh the attachments from Ares",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    },
                    "tabLabel": {
                        "description": "The label to use in the tab page (only applicable for STD documents)",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "title": {
                        "maxLength": 256,
                        "minLength": 0,
                        "type": "string"
                    }
                },
                "required": [
                    "documentDate",
                    "documentTypeId",
                    "title"
                ],
                "type": "object"
            },
            "EditablePagesDto": {
                "type": "object"
            },
            "EditableSectionsDto": {
                "type": "object"
            },
            "ExportExtraDto": {
                "properties": {
                    "annexAnnualPlan": {
                        "description": "A flag indicating if the Annex for the Annual plan export option is available on the user actions menu. This would be Decisional Annex T7 for ETC and T10 for IJG",
                        "nullable": true,
                        "type": "boolean"
                    },
                    "annexPriorityPlan": {
                        "description": "A flag indicating if the Annex for the Priority plan export option is available on the user actions menu. This would be Decisional Annex T10 for ETC and T11 for IJG",
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "LargeObjectDto": {
                "description": "actual file(aka large object) information. Should not be provided when the content doesn't need to be updated",
                "properties": {
                    "contentCrc": {
                        "description": "the \"SHA-256\" hash will be automatically calculated (Read-Only)",
                        "maxLength": 512,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "filename": {
                        "description": "Temporary filename on the server. This filename will be returned with a previous call to the server to save the document (/temp-attachment) ",
                        "maxLength": 512,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "lobName": {
                        "description": "The lobname is the actual name of the file. This lobname will only be looked at in case a \"filename\" was provided",
                        "example": "file_name_example.pdf",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    },
                    "lobSize": {
                        "description": "size is automatically calculated from the provided file (read-only)",
                        "format": "int64",
                        "nullable": true,
                        "readOnly": true,
                        "type": "integer"
                    },
                    "mimeType": {
                        "description": "when not provided, the mimetype will be guessed from the file extension",
                        "maxLength": 256,
                        "minLength": 0,
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "MetadataDto": {
                "properties": {
                    "canImportFromExcel": {
                        "nullable": true,
                        "type": "boolean"
                    },
                    "compareChaptersDto": {
                        "items": {
                            "$ref": "#/components/schemas/CompareChapterDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "compareDto": {
                        "items": {
                            "$ref": "#/components/schemas/CompareDto"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "disabledFundIds": {
                        "items": {
                            "format": "int64",
                            "type": "integer"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "editablePagesDto": {
                        "$ref": "#/components/schemas/EditablePagesDto"
                    },
                    "editableSectionsDto": {
                        "$ref": "#/components/schemas/EditableSectionsDto"
                    },
                    "exportExtraDto": {
                        "$ref": "#/components/schemas/ExportExtraDto"
                    },
                    "nextActionsDtoList": {
                        "items": {
                            "$ref": "#/components/schemas/NextActionsDto"
                        },
                        "nullable": true,
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "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"
            },
            "PostSearchDto": {
                "properties": {
                    "page": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "query": {
                        "nullable": true,
                        "type": "string"
                    },
                    "size": {
                        "format": "int32",
                        "nullable": true,
                        "type": "integer"
                    },
                    "sort": {
                        "nullable": true,
                        "type": "string"
                    },
                    "type": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReferenceDataDtoInterface": {
                "description": "List of available Commission Decision document types",
                "properties": {
                    "code": {
                        "nullable": true,
                        "type": "string"
                    }
                },
                "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"
            },
            "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"
            }
        },
        "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 commission-decision-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 commission-decision-api",
        "version": "3.18.0"
    },
    "openapi": "3.0.1",
    "paths": {
        "/commission-decision-api/commission-decisions": {
            "get": {
                "description": "Returns the list of Commission Decisions.",
                "operationId": "search",
                "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"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/CommissionDecisionSearchDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "List/Search Commission Decisions",
                "tags": [
                    "commission-decision-controller"
                ]
            },
            "post": {
                "description": "This method should be used when the user needs a new Commission Decision object to be created in SFC",
                "operationId": "create",
                "parameters": [
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CommissionDecisionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDto"
                                }
                            }
                        },
                        "description": "Commission Decision created successfully"
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    }
                },
                "summary": "Create a new Commission Decision",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/create-metadata": {
            "get": {
                "description": "This method retrieves additional metadata that might be needed when creating a new Commission Decision in the system",
                "operationId": "getCreateMetadata",
                "parameters": [
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionCreateMetadataDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Retrieves information needed to create a new Commission Decision",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/export": {
            "get": {
                "description": "Export into MS Excel a list of Commission Decisions basing on the roles of the actor.",
                "operationId": "export",
                "parameters": [
                    {
                        "in": "query",
                        "name": "query",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "sort",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Export list of Commission Decisions in excel format",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/search": {
            "post": {
                "description": "Returns the list of Commission Decisions.",
                "operationId": "alternativeSearch",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostSearchDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/CommissionDecisionSearchDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "List/Search Commission Decisions",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/search-metadata": {
            "get": {
                "description": "Returns the search meta data that indicate if creation of a new commission decision is allowed for the current user.",
                "operationId": "getSearchMetadata",
                "parameters": [
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionSearchMetaDataDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Returns the search meta data.",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}": {
            "get": {
                "description": "Returns the Commission Decision details for a given id",
                "operationId": "getDecision",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDto"
                                }
                            }
                        },
                        "description": "Commission Decision not found"
                    }
                },
                "summary": "Find Commission Decision by id",
                "tags": [
                    "commission-decision-controller"
                ]
            },
            "put": {
                "description": "Updates the details of the Commission Decision with the given id",
                "operationId": "update",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CommissionDecisionDto"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "400": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDto"
                                }
                            }
                        },
                        "description": "Invalid input"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDto"
                                }
                            }
                        },
                        "description": "Commission Decision not found"
                    }
                },
                "summary": "Update Commission Decision details",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/actions/DEL": {
            "post": {
                "description": "Deletes the Commission Decision with the given id",
                "operationId": "delete",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    },
                    "400": {
                        "description": "Decision cannot be deleted"
                    },
                    "404": {
                        "description": "Commission Decision not found"
                    }
                },
                "summary": "Delete Commission Decision",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/correcting-decisions": {
            "get": {
                "description": "Get the correcting decisions hierarchy by which a given Commission Decision is corrected by",
                "operationId": "getCorrectingDecisionsHierarchy",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CorrectingDecisionHierarchyItemDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get all correcting decisions",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/delete-metadata": {
            "get": {
                "description": "This method retrieves information about objects linked to the Commission Decision and other decisions that might be correcting it. The Decision can be deleted only if the corresponding lists are empty.",
                "operationId": "getDeleteMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDeleteMetadataDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionDeleteMetadataDto"
                                }
                            }
                        },
                        "description": "Commission Decision not found"
                    }
                },
                "summary": "Retrieves information about the Commission Decision that might prevent its deletion",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/display-metadata": {
            "get": {
                "description": "This method retrieves additional information needed to display all the details of a Commission Decision",
                "operationId": "getDisplayMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionMetadataDto"
                                }
                            }
                        },
                        "description": "successful operation"
                    },
                    "404": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/CommissionDecisionMetadataDto"
                                }
                            }
                        },
                        "description": "Commission Decision not found"
                    }
                },
                "summary": "Retrieves information needed to display a Commission Decision",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/general/documents": {
            "get": {
                "description": "Returns the list of DocumentDto for a given documentable object id.",
                "operationId": "getDocuments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/DocumentDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "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": [
                    "commission-decision-document-controller"
                ]
            },
            "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": [
                    "commission-decision-document-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/general/documents/import-from-decide": {
            "post": {
                "description": "The import will remove any previously added DECIDE documents and re-insert the latest documents found in Ares from DECIDE.",
                "operationId": "importDocumentsFromDecide",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Import the documents from Decide",
                "tags": [
                    "commission-decision-document-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{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": [
                    "commission-decision-document-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{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": [
                    "commission-decision-document-controller"
                ]
            },
            "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": [
                    "commission-decision-document-controller"
                ]
            },
            "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": [
                    "commission-decision-document-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/general/documents/{documentId}/attachments/{docAttId}": {
            "get": {
                "description": "Returns the document attachment from the database as a outputStream in the response. The user needs to have access to be able to download the attachment.",
                "operationId": "downloadDocumentAttachment",
                "parameters": [
                    {
                        "in": "path",
                        "name": "docAttId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "format": "binary",
                                    "type": "string"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Download document attachment file",
                "tags": [
                    "commission-decision-document-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{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": [
                    "commission-decision-document-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/general/documents/{documentId}/send": {
            "post": {
                "description": "Send the document when the document is not sent, when it's not an integral document and the user has the permission to send the document.",
                "operationId": "sendDocument",
                "parameters": [
                    {
                        "description": "Optional callback for web application use only; It's the URL that was used by EU Login to redirect the browser to after the signature operation took place",
                        "in": "query",
                        "name": "callback",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Optional signature ID for web application use only; It's the id returned be eu-login after the signature operation took place",
                        "in": "query",
                        "name": "signatureId",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "successful operation"
                    }
                },
                "summary": "Sends the document",
                "tags": [
                    "commission-decision-document-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/general/documents/{documentId}/send/metadata": {
            "get": {
                "description": "It return the metadata info for the Send aciton of Document.",
                "operationId": "getSendDocumentMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "documentId",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/SendDocumentDtoMetadata"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Metadata for the Send action in documents",
                "tags": [
                    "00.5 - General / Documents"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{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": [
                    "commission-decision-document-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/metadata": {
            "get": {
                "description": "Get all possible actions for the Commission Decision with the given id",
                "operationId": "getActionsMetadata",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "type",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "$ref": "#/components/schemas/MetadataDto"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Get all possible actions",
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-api/commission-decisions/{id}/tocs": {
            "get": {
                "operationId": "tocs",
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "format": "int64",
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/TocDto"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "commission-decision-controller"
                ]
            }
        },
        "/commission-decision-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"
                ]
            }
        },
        "/commission-decision-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"
                ]
            }
        },
        "/commission-decision-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"
                ]
            }
        },
        "/commission-decision-api/probe/liveness": {
            "get": {
                "description": "Returns the health state of the commission decision service",
                "operationId": "testApiLiveness",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "additionalProperties": {
                                        "type": "string"
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "successful operation"
                    }
                },
                "summary": "Liveness page",
                "tags": [
                    "commission-decision"
                ]
            }
        },
        "/commission-decision-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"
                ]
            }
        },
        "/commission-decision-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"
                ]
            }
        },
        "/probe/liveness": {
            "get": {
                "operationId": "testLiveness",
                "responses": {
                    "200": {
                        "content": {
                            "*/*": {
                                "schema": {
                                    "additionalProperties": {
                                        "type": "string"
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "tags": [
                    "liveness"
                ]
            }
        }
    },
    "security": [
        {
            "sfcBearerAuthentication": [
                "read",
                "write"
            ]
        }
    ],
    "servers": [
        {
            "url": "http://sfc2021.net1.cec.eu.int:8080/sfc2021"
        }
    ]
}