{
  "openapi": "3.0.0",
  "paths": {
    "/accounting/v2/contacts": {
      "get": {
        "operationId": "getContactsV2",
        "parameters": [
          {
            "name": "page",
            "required": false,
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "schema": {
              "enum": [
                5,
                10,
                20,
                50,
                100
              ],
              "type": "number"
            }
          },
          {
            "name": "lastModifiedAt",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rawData",
            "required": false,
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "companyId",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "environmentName",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-API-KEY",
            "description": "API key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ACCOUNT-KEY",
            "description": "Account key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/BaseResponseDto"
                    },
                    {
                      "properties": {
                        "data": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/ContactResponseDtoV2"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "accounting"
        ]
      },
       "post": {
        "operationId": "createContactV2",
        "parameters": [
          {
            "name": "X-API-KEY",
            "description": "API key",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "X-ACCOUNT-KEY",
            "description": "Account key",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "required": true
            },
            {
              "name": "companyId",
              "required": false,
              "in": "query",
              "schema": {
                "type": "string"
              }
            },
            {
              "name": "environmentName",
              "required": false,
              "in": "query",
              "schema": {
                "type": "string"
              }
            }
          ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactRequestDtoV2"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/BaseResponseDto"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/ContactResponseDtoV2"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "accounting"
        ]
      }
    },
    "/accounting/v2/contacts/{contactId}": {
      "get": {
        "operationId": "getContactV2",
        "parameters": [
          {
            "name": "contactId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "companyId",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "environmentName",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rawData",
            "required": false,
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "X-API-KEY",
            "description": "API key",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "X-ACCOUNT-KEY",
            "description": "Account key",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/BaseResponseDto"
                    },
                    {
                      "properties": {
                        "data": {
                          "type": "object",
                          "$ref": "#/components/schemas/ContactResponseDtoV2"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "accounting"
        ]
      },
      "put": {
        "operationId": "putContactV2",
        "parameters": [
          {
            "name": "contactId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-API-KEY",
            "description": "API key",
            "required": true,
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ACCOUNT-KEY",
            "description": "Account key",
            "required": true,
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactRequestDtoV2"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/BaseResponseDto"
                    },
                    {
                      "properties": {
                        "data": {
                          "type": "object",
                          "$ref": "#/components/schemas/ContactResponseDtoV2"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "accounting"
        ]
      },
      "patch": {
        "operationId": "patchContactV2",
        "parameters": [
          {
            "name": "contactId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-API-KEY",
            "description": "API key",
            "required": true,
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ACCOUNT-KEY",
            "description": "Account key",
            "required": true,
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactRequestDtoV2"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/BaseResponseDto"
                    },
                    {
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/ContactResponseDtoV2"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "accounting"
        ]
      }
    },
    "/accounting/v2/dimensions": {
      "get": {
        "operationId": "getDimensionsV2",
        "parameters": [
          {
            "name": "companyId",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "environmentName",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rawData",
            "required": false,
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "X-API-KEY",
            "description": "API key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ACCOUNT-KEY",
            "description": "Account key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/BaseResponseDto"
                    },
                    {
                      "properties": {
                        "data": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/DimensionMetaResponseDto"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "accounting"
        ]
      }
    },
    "/accounting/v2/dimensions/{dimension}": {
      "get": {
        "operationId": "getDimensionsByDimension",
        "parameters": [
          {
            "name": "companyId",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "environmentName",
            "required": false,
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rawData",
            "required": false,
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "page",
            "required": false,
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "required": false,
            "in": "query",
            "schema": {
              "enum": [5, 10, 20, 50, 100],
              "type": "number"
            }
          },
          {
            "name": "X-API-KEY",
            "description": "API key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-ACCOUNT-KEY",
            "description": "Account key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/BaseResponseDto"
                    },
                    {
                      "properties": {
                        "data": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/DimensionResponseDtoV2"
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "accounting"
        ]
      }
    }

  },
  "info": {
    "title": "Maesn unified API",
    "description": "The Maesn unified API description",
    "version": "2.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "maesn",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://api.maesn.dev"
    }
  ],
  "components": {
    "schemas": {
      "PaginationResponseV2": {
        "type": "object",
        "properties": {
          "total": {
            "type": "number",
            "example": 125
          },
          "perPage": {
            "type": "number",
            "example": 50
          },
          "currentPage": {
            "type": "number",
            "example": 1
          },
          "totalPages": {
            "type": "number",
            "example": 3
          }
        }
      },
      "MetaResponseV2": {
        "type": "object",
        "properties": {
          "warnings": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "Field not used by target system"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/PaginationResponseV2"
          }
        }
      },
      "BaseResponseDto": {
        "type": "object",
        "properties": {
          "meta": {
            "$ref": "#/components/schemas/MetaResponseV2"
          },
          "data": {
            "oneOf": [
              {
                "type": "object"
              },
              {
                "type": "array"
              }
            ]
          }
        }
      },
      "AccountCommonDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "db32-4f56-8a9b-1234567890ab"
          },
          "code": {
            "type": "string",
            "example": "200"
          },
          "name": {
            "type": "string",
            "example": "EXPENSE"
          },
          "number": {
            "type": "number",
            "example": 4900
          }
        }
      },
      "AddressBookingProposal": {
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "example": "Berlin"
          }
        }
      },
      "BookingProposalRequestDtoV2": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "23a24449-6v28-446e-bb12-3f428073fc"
          },
          "addresses ": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddressBookingProposal"
            }
          },
          "bankAccount": {
            "$ref": "#/components/schemas/BankAccountCommonDto"
          },
          "bookingProposalDate": {
            "type": "string",
            "example": "2025-07-14T00:00:00Z"
          },
          "contact": {
            "$ref": "#/components/schemas/ContactCommonDto"
          },
          "currency": {
            "type": "string",
            "example": "EUR"
          },
          "deliveryDate": {
            "type": "string",
            "example": "2025-07-26T00:00:00Z"
          },
          "discountPaymentDate": {
            "type": "string",
            "example": "2025-07-16T00:00:00Z"
          },
          "discountPaymentDate2": {
            "type": "string",
            "example": "2025-07-18T00:00:00Z"
          },
          "dueDate": {
            "type": "string",
            "example": "2025-07-24T00:00:00Z"
          },
          "journalCode": {
            "type": "string",
            "example": "60"
          },
          "isPaymentOrder": {
            "type": "boolean",
            "example": "true"
          },
          "ledgerName": {
            "type": "string",
            "example": "Eingangsrechnungen"
          },
          "lineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BookingProposalLineItemRequestDtoV2"
            }
          },
          "notes":{
            "type": "string",
            "example": "Bill for maintenance services"
          },
          "number": {
            "type": "string",
            "example": "1233330"
          },
          "orderId": {
            "type": "string",
            "example": "3344566"
          },
          "paidDate": {
            "type": "string",
            "example": "2025-07-20T00:00:00Z"
          },
          "paymentTermId":{
            "type": "string",
            "example": "03"
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "SUBMITTED",
              "OPEN",
              "PAID",
              "PARTIALLY_PAID",
              "VOIDED",
              "CANCELLED",
              "OVERDUE",
              "DISPUTED"
            ],
            "example": "DRAFT"
          },
          "totalGrossAmount": {
            "type": "number",
            "example": 500
          },
          "vatId": {
            "type": "string",
            "example": "DE987654321"
          }
        }
      },
      "BookingProposalResponseDtoV2": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "23a24449-6v28-446e-bb12-3f428073fc"
          },
          "addresses ": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddressBookingProposal"
            }
          },
          "bankAccount": {
            "$ref": "#/components/schemas/BankAccountCommonDto"
          },
          "bookingProposalDate": {
            "type": "string",
            "example": "2025-07-14T00:00:00Z"
          },
          "contact": {
            "$ref": "#/components/schemas/ContactCommonDto"
          },
          "createdDate": {
            "type": "string",
            "example": "2025-07-14T00:00:00Z"
          },
          "currency": {
            "type": "string",
            "example": "EUR"
          },
          "deliveryDate": {
            "type": "string",
            "example": "2025-07-26T00:00:00Z"
          },
          "discountPaymentDate": {
            "type": "string",
            "example": "2025-07-16T00:00:00Z"
          },
          "discountPaymentDate2": {
            "type": "string",
            "example": "2025-07-18T00:00:00Z"
          },
          "dueDate": {
            "type": "string",
            "example": "2025-07-24T00:00:00Z"
          },
          "files": {
            "type": "array",
            "items": {
              "type": "string",
              "example": "file1.pdf"
            }
          },
          "journalCode": {
            "type": "string",
            "example": "60"
          },
          "isPaymentOrder": {
            "type": "boolean",
            "example": "true"
          },
          "ledgerName": {
            "type": "string",
            "example": "Ausgangsrechnungen"
          },
          "lineItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BookingProposalLineItemResponseDtoV2"
            }
          },
          "notes":{
            "type": "string",
            "example": "Bill for maintenance services"
          },
          "number": {
            "type": "string",
            "example": "1233330"
          },
          "orderId": {
            "type": "string",
            "example": "3344566"
          },
          "paidDate": {
            "type": "string",
            "example": "2021-01-01T00:00:00Z"
          },
          "paymentTermId":{
            "type": "string",
            "example": "03"
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "SUBMITTED",
              "OPEN",
              "PAID",
              "PARTIALLY_PAID",
              "VOIDED",
              "CANCELLED",
              "OVERDUE",
              "DISPUTED"
            ],
            "example": "DRAFT"
          },
          "totalGrossAmount": {
            "type": "number",
            "example": 500
          },
          "updatedDate": {
            "type": "string",
            "example": "2025-07-16T00:00:00Z"
          },
          "vatId": {
            "type": "string",
            "example": "DE987654321"
          }
        }
      },
      "BookingProposalLineItemRequestDtoV2": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "Item-112233"
          },
          "account": {
            "$ref": "#/components/schemas/AccountCommonDto"
          },
          "description": {
            "type": "string",
            "example": "Item A"
          },
          "dimensions": {
            "$ref": "#/components/schemas/DimensionCommonDto"
          },
          "discountAmount": {
            "type": "number",
            "example": 100
          },
          "discountAmount2": {
            "type": "number",
            "example": 50
          },
          "discountPercentage": {
            "type": "number",
            "example": 20
          },
          "discountPercentage2": {
            "type": "number",
            "example": 10
          },
          "taxCode": {
            "type": "string",
            "example": "9"
          },
          "taxRatePercentage": {
            "type": "number",
            "example": 19
          },
          "totalGrossAmount": {
            "type": "number",
            "example": 500
          },
          "totalNetAmount": {
            "type": "number",
            "example": 450
          },
          "type": {
            "type": "string",
            "enum": [
              "PRODUCT",
              "SERVICE"
            ],
            "example": "SERVICE"
          }
        }
      },
      "BookingProposalLineItemResponseDtoV2": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "Item-112233"
          },
          "account": {
            "$ref": "#/components/schemas/AccountCommonDto"
          },
          "createdDate": {
            "type": "string",
            "example": "2025-07-14T00:00:00Z"
          },
          "description": {
            "type": "string",
            "example": "Item A"
          },
          "dimensions": {
            "$ref": "#/components/schemas/DimensionCommonDto"
          },
          "discountAmount": {
            "type": "number",
            "example": 100
          },
          "discountAmount2": {
            "type": "number",
            "example": 50
          },
          "discountPercentage": {
            "type": "number",
            "example": 20
          },
          "discountPercentage2": {
            "type": "number",
            "example": 10
          },
          "taxCode": {
            "type": "string",
            "example": "9"
          },
          "taxRatePercentage": {
            "type": "number",
            "example": 19
          },
          "totalGrossAmount": {
            "type": "number",
            "example": 500
          },
          "totalNetAmount": {
            "type": "number",
            "example": 450
          },
          "type": {
            "type": "string",
            "enum": [
              "PRODUCT",
              "SERVICE"
            ],
            "example": "SERVICE"
          },
          "updatedDate": {
            "type": "string",
            "example": "2025-07-16T00:00:00Z"
          }
        }
      },
      "BankAccountCommonDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "5a6b7f5dw45c1c-403e-ad56-202fbc312414"
          },
          "bic": {
            "type": "string",
            "example": "DEUTDEFF"
          },
          "code": {
            "type": "string",
            "example": "50010517"
          },
          "iban": {
            "type": "string",
            "example": "DE89370400440532013000"
          },
          "number": {
            "type": "number",
            "example": 5407324931
          }
        }
      },
      "ContactCommonDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "eaa28f49-6028-4b6e-bb12-d8f6278073fc"
          },
          "accountNumber": {
            "type": "number",
            "example": 70000
          },
          "name": {
            "type": "string",
            "example": "John Doe"
          }
        }
      },
      "ContactAddressV2": {
        "type": "object",
        "properties": {
          "addressLine1": {
            "type": "string",
            "example": "Lucky street 1"
          },
          "addressLine2": {
            "type": "string",
            "example": "2nd floor"
          },
          "city": {
            "type": "string",
            "example": "Berlin"
          },
          "countryCode": {
            "type": "string",
            "example": "DE"
          },
           "postalCode": {
            "type": "string",
            "example": "10243"
          },
          "type": {
            "type": "string",
            "enum": [
              "BILLING",
              "DELIVERY",
              "PRIVATE",
              "WORK",
              "PICKUP"
            ],
            "example": "BILLING"
          }
        }
      },
      "ContactPersonV2": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "967188f6-8248-4765-b1e8-0f13a3ddb616"
          },
          "emailAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactEmailV2"
            }
          },
          "firstName": {
            "type": "string",
            "example": "John"
          },
          "lastName": {
            "type": "string",
            "example": "Doe"
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactPhoneV2"
            }
          },
          "salutation": {
            "type": "string",
            "example": "Mr"
          }
        }
      },
      "ContactEmailV2": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "example": "john.doe@company.com"
          },
          "type": {
            "type": "string",
            "enum": [
              "BUSINESS",
              "PRIVATE",
              "OFFICE",
              "INVOICE",
              "PAYMENT",
              "OTHER"
            ],
            "example": "BUSINESS"
          }
        }
      },
      "ContactPhoneV2": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "example": "+49 7163307056"
          },
          "type": {
            "type": "string",
            "enum": [
              "BUSINESS",
              "MOBILE",
              "OFFICE",
              "FAX",
              "PRIVATE",
              "OTHER"
            ],
            "example": "MOBILE"
          }
        }
      },
      "ContactResponseDtoV2": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "92c4f3a2-5b8e-4d1b-8a0c-9f6e7d2f3e4b"
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactAddressV2"
            }
          },
          "companyName": {
            "type": "string",
            "example": "maesn"
          },
          "contactPersons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactPersonV2"
            }
          },
          "contactType": {
            "type": "string",
            "enum": [
              "CONTACT_PERSON",
              "COMPANY"
            ],
            "example": "CONTACT_PERSON"
          },
          "createdDate": {
            "type": "string",
            "example": "2025-06-01T11:09:11.533Z"
          },
          "emailAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactEmailV2"
            }
          },
          "isCustomer": {
            "type": "boolean",
            "example": true
          },
          "isSupplier": {
            "type": "boolean",
            "example": false
          },
          "number": {
            "type": "string",
            "example": "1042"
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactPhoneV2"
            }
          },
          "projectId": {
            "type": "string",
            "example": "3"
          },
          "updatedDate": {
            "type": "string",
            "example": "2025-06-01T11:09:11.533Z"
          },
          "website": {
            "type": "string",
            "example": "https://www.maesn.com"
          }
        }
      },
      "ContactRequestDtoV2": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "92c4f3a2-5b8e-4d1b-8a0c-9f6e7d2f3e4b"
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactAddressV2"
            }
          },
          "companyName": {
            "type": "string",
            "example": "maesn"
          },
          "contactPersons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactPersonV2"
            }
          },
          "contactType": {
            "type": "string",
            "enum": [
              "CONTACT_PERSON",
              "COMPANY"
            ],
            "example": "CONTACT_PERSON"
          },
          "emailAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactEmailV2"
            }
          },
          "isCustomer": {
            "type": "boolean",
            "example": true
          },
          "isSupplier": {
            "type": "boolean",
            "example": false
          },
          "number": {
            "type": "string",
            "example": "1042"
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactPhoneV2"
            }
          },
          "projectId": {
            "type": "string",
            "example": "3"
          },
          "website": {
            "type": "string",
            "example": "https://www.maesn.com"
          }
        }, 
        "required": [
          "contactType"
        ]
      },
      "DimensionCommonDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "eaa28f49-6028-4b6e-bb12-d8f6278073fc"
          },
          "code": {
            "type": "string",
            "example": "CS1"
          },
          "dimension": {
            "type": "string",
            "example": "CostCenter"
          },
          "name": {
            "type": "string",
            "example": "Jerde, Greenfelder and Jacobi"
          }
        }

      },
      "DimensionMetaResponseDto": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "example": "Cost center"
          },
          "dimension": {
            "type": "string",
            "example": "CostCenter"
          }
        }
      },
      "DimensionResponseDtoV2": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "example": "08c99551-49ae-4418-9e76-c618d9b21c81"
          },
          "code": {
            "type": "string",
            "example": "CS1"
          },
          "createdDate": {
            "type": "string",
            "example": "2025-06-01T11:09:11.533Z"
          },
          "description": {
            "type": "string",
            "example": "Cost center 1"
          },
          "dimension": {
            "type": "string",
            "example": "CostCenter"
          },
          "name": {
            "type": "string",
            "example": "Jerde, Greenfelder and Jacobi"
          },
          "status": {
            "type": "string",
            "enum": [
              "ACTIVE",
              "ARCHIVED"
            ],
            "example": "ACTIVE"
          },
          "updatedDate": {
            "type": "string",
            "example": "2025-06-01T11:09:11.533Z"
          }
        }
      },
      "FolderManagementDto": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "example": "Accounting"
          },
          "folder": {
            "type": "string",
            "example": "Documents"
          },
          "register": {
            "type": "string",
            "example": "2025 January"
          }
        }
      }
    }
  }
}