{
  "openapi": "3.0.1",
  "info": {
    "title": "Loopario API v1",
    "description": "V1.2612021938",
    "contact": {
      "name": "Loopario API",
      "url": "https://www.loopario.com/#comp-ksa5jsiq",
      "email": "info@loopario.com"
    },
    "version": "1"
  },
  "paths": {
    "/Auth/JwtAuthenticate": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Authenticates an API user. Will return JWT token information and a refresh token cookie.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AuthenticateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        },
        "deprecated": true
      }
    },
    "/Auth/RefreshToken": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Call to refresh JWT tokens. Will return a new valid JWT token and a new refresh token, when current refresh token hasn't expired yet.",
        "responses": {
          "200": {
            "description": "Success"
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/DeleteDemoTracker": {
      "get": {
        "tags": [
          "Tracker"
        ],
        "summary": "Deletes the static Demo Tracker (04290006000012A00051300).",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/GetSerializationCodes": {
      "get": {
        "tags": [
          "Tracker"
        ],
        "summary": "Returns an array of new serialization codes, which are intended to use for pallet production.",
        "parameters": [
          {
            "name": "amount",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetSerializationCodesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSerializationCodesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSerializationCodesResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/CreateScanTransaction": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Creates a new Transaction Event (only possible, if pallets have been connected to a transaction number via \"CreateScan\" before)",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScanTransactionEventRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScanTransactionEventRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScanTransactionEventRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScanTransactionEventRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/CreateScan": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Performs a new Scan Event.Generates a new Tracker, when the given Id doesn't belong to an existing Tracker.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ScanEventRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScanEventRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScanEventRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScanEventRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CreateScanResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateScanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateScanResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/LinkGraiSscc": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Links a GRAI with a given SSCC. This also unlinks an already existing SSCC from the GRAI.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGraiSsccRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGraiSsccRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGraiSsccRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGraiSsccRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/UnlinkGraiOrSscc": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Unlinks a GRAI or SSCC.",
        "requestBody": {
          "description": "GRAI or SSCC",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "string"
              }
            },
            "application/json": {
              "schema": {
                "type": "string"
              }
            },
            "text/json": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/UnlinkGraiOrSsccAdvanced": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Unlinks a GRAI or SSCC. Offers additional parameters compared to \"UnlinkGraiOrSscc\".",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UnlinkGraiOrSsccRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UnlinkGraiOrSsccRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UnlinkGraiOrSsccRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UnlinkGraiOrSsccRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/LinkBrain": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Links a GRAI with a given BRAIN.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGraiBrainRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGraiBrainRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGraiBrainRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LinkGraiBrainRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/UnlinkGraiOrBrain": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Unlinks a BRAIN or GRAI from each other.",
        "requestBody": {
          "description": "GRAI or BRAIN Id",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "string"
              }
            },
            "application/json": {
              "schema": {
                "type": "string"
              }
            },
            "text/json": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultCode"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/GetOwnTrackers": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Returns a list with all owned tracker.",
        "requestBody": {
          "description": "Request may contain optional filters.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetOwnTrackerRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetOwnTrackerRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetOwnTrackerRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetOwnTrackerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetOwnTrackerResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOwnTrackerResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOwnTrackerResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/GetLoadCarrier": {
      "get": {
        "tags": [
          "Tracker"
        ],
        "summary": "Returns a load carrier by its identifier code.",
        "parameters": [
          {
            "name": "palletCode",
            "in": "query",
            "description": "Identifier code for the requested load carrier.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetLoadCarrierResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLoadCarrierResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLoadCarrierResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/GetOwnLoadCarriers": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Returns a list with all owned load carriers.",
        "requestBody": {
          "description": "Request may contain optional filters.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetOwnLoadCarriersRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetOwnLoadCarriersRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetOwnLoadCarriersRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetOwnLoadCarriersRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetOwnLoadCarriersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOwnLoadCarriersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOwnLoadCarriersResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/GetLoadCarrierHistory": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Returns a list with all tracking events of a load carrier. Tracking events will be ordered descending by EventTime by default.",
        "requestBody": {
          "description": "PalletCode + optional parameters for pagination and ordering.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/GetLoadCarrierHistoryRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetLoadCarrierHistoryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GetLoadCarrierHistoryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GetLoadCarrierHistoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GetLoadCarrierHistoryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLoadCarrierHistoryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLoadCarrierHistoryResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/SetPalletStatus": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Sets the status of a pallet to \"READY\" (e.g. after it has been repaired), to \"DAMAGED\" (e.g. when the pallet has been damaged) or to \"DEAD\", if it is not able to repair a pallet.",
        "responses": {
          "410": {
            "description": "Client Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/ReportPallets": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Sets the status of a pallet to \"DAMAGED\".",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "Client Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/Tracker/ReportPalletsAdvanced": {
      "post": {
        "tags": [
          "Tracker"
        ],
        "summary": "Sets the status of a pallet to \"DAMAGED\".",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ReportPalletsRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportPalletsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportPalletsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReportPalletsRequest"
              }
            }
          }
        },
        "responses": {
          "410": {
            "description": "Client Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    }
  },
  "components": {
    "schemas": {
      "AIInvoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "multiBookingToDoFile": {
            "$ref": "#/components/schemas/MultiBookingToDoFile"
          },
          "multiBookingToDoFileId": {
            "type": "string",
            "format": "uuid"
          },
          "invoiceNumber": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "sender": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "receiver": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "initiatorIsSender": {
            "type": "boolean"
          },
          "aiModel": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "partnerMatches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AIInvoicePartner"
            },
            "nullable": true
          },
          "locationMatches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AIInvoiceLocation"
            },
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AITransactionItem"
            },
            "nullable": true
          },
          "customProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AIInvoiceCustomProperty"
            },
            "nullable": true
          },
          "exchangeRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeRelation"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIInvoiceCustomProperty": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "aiInvoice": {
            "$ref": "#/components/schemas/AIInvoice"
          },
          "aiInvoiceId": {
            "type": "string",
            "format": "uuid"
          },
          "key": {
            "maxLength": 100,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "value": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AIInvoiceLocation": {
        "type": "object",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "locationId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "aiInvoiceId": {
            "type": "string",
            "format": "uuid"
          },
          "aiInvoice": {
            "$ref": "#/components/schemas/AIInvoice"
          },
          "similarity": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AIInvoicePartner": {
        "type": "object",
        "properties": {
          "clearingAccount": {
            "$ref": "#/components/schemas/ClearingAccount"
          },
          "exchangeAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "aiInvoiceId": {
            "type": "string",
            "format": "uuid"
          },
          "aiInvoice": {
            "$ref": "#/components/schemas/AIInvoice"
          },
          "similarity": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "AIStatus": {
        "enum": [
          "NotProcessed",
          "Processing",
          "Successfull",
          "Error"
        ],
        "type": "string"
      },
      "AITransactionItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "aiInvoice": {
            "$ref": "#/components/schemas/AIInvoice"
          },
          "aiInvoiceId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierName": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "receivedCount": {
            "type": "integer",
            "format": "int32"
          },
          "sentCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ActiveCompany": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "transactionPropertyDefinitions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomTransactionPropertyDefinition"
            },
            "nullable": true
          },
          "restrictions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsageLimit"
            },
            "nullable": true
          },
          "exchangeDocumentTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDocumentTemplate"
            },
            "nullable": true
          },
          "starterCodeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "claims": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "appConfig": {
            "$ref": "#/components/schemas/SmartphoneAppConfiguration"
          },
          "identityProviderConfiguration": {
            "$ref": "#/components/schemas/IdentityProviderConfiguration"
          },
          "clearingNotificationGlobalDefault": {
            "$ref": "#/components/schemas/ClearingNotificationGlobalDefault"
          },
          "companyNo": {
            "type": "integer",
            "format": "int32"
          },
          "companyTel": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "companyShortName": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "houseNumber": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryIso": {
            "type": "string",
            "nullable": true
          },
          "logoFile": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "float"
          },
          "longitude": {
            "type": "number",
            "format": "float"
          },
          "countryLanguage": {
            "$ref": "#/components/schemas/Language"
          },
          "companyProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyProperty"
            },
            "nullable": true
          },
          "companyLocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyLocation"
            },
            "nullable": true
          },
          "contactPersons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactPerson"
            },
            "nullable": true,
            "readOnly": true
          },
          "rentalListings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RentalListing"
            },
            "nullable": true
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Label"
            },
            "nullable": true
          },
          "permissionGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionGroup"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AppFeatureConfigurationExchange": {
        "enum": [
          "CreateExchangeManually",
          "CreateInternalExchange",
          "CreateExchangeApp",
          "ConfirmExchangeApp",
          "ConfirmDisposition",
          "CreateDisposition"
        ],
        "type": "string"
      },
      "AppFeatureConfigurationTracking": {
        "enum": [
          "SingleCapture",
          "MultiCapture",
          "Delivery",
          "LinkUnlink",
          "SetStatus",
          "ReplaceId"
        ],
        "type": "string"
      },
      "AppSendReceiveAccess": {
        "enum": [
          "None",
          "SendLoadCarriers",
          "ReceiveLoadCarriers",
          "SendAndReceiveLoadCarriers"
        ],
        "type": "string"
      },
      "ApplicationUser": {
        "type": "object",
        "properties": {
          "userName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Asset": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "linkedAssets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Asset"
            },
            "nullable": true
          },
          "parentAsset": {
            "$ref": "#/components/schemas/Asset"
          },
          "parentAssetId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "AuthenticateRequest": {
        "required": [
          "password",
          "username"
        ],
        "type": "object",
        "properties": {
          "username": {
            "minLength": 1,
            "type": "string"
          },
          "password": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AutoConfirmationDayUnit": {
        "enum": [
          "CalendarDays",
          "WorkingDays"
        ],
        "type": "string"
      },
      "AutoStatusMode": {
        "enum": [
          "SinceLastAddition",
          "SinceLastRemoval",
          "SinceInit"
        ],
        "type": "string"
      },
      "BillingCalculation": {
        "enum": [
          "LoadCarrierTypePrice",
          "ConfigurationPrice"
        ],
        "type": "string"
      },
      "BillingConfiguration": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "startDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataProvider": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "calculation": {
            "$ref": "#/components/schemas/BillingCalculation"
          },
          "billingConfigurationLoadCarrierTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingConfigurationLoadCarrierType"
            },
            "nullable": true
          },
          "billingConfigurationCompanyLocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingConfigurationCompanyLocation"
            },
            "nullable": true
          },
          "billingConfigurationCompanyRelationships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillingConfigurationCompanyRelationship"
            },
            "nullable": true
          },
          "loadCarrierTypeSelectionMode": {
            "$ref": "#/components/schemas/SelectionMode"
          },
          "companyLocationSelectionMode": {
            "$ref": "#/components/schemas/SelectionMode"
          },
          "companyRelationshipSelectionMode": {
            "$ref": "#/components/schemas/SelectionMode"
          },
          "invoiceCreatedIdentifier": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "invoiceCanceledIdentifier": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "billingType": {
            "$ref": "#/components/schemas/BillingType"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "billingSchedule": {
            "$ref": "#/components/schemas/BillingSchedule"
          }
        },
        "additionalProperties": false
      },
      "BillingConfigurationCompanyLocation": {
        "type": "object",
        "properties": {
          "billingConfigurationId": {
            "type": "string",
            "format": "uuid"
          },
          "companyLocationId": {
            "type": "string",
            "format": "uuid"
          },
          "billingConfiguration": {
            "$ref": "#/components/schemas/BillingConfiguration"
          },
          "companyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          }
        },
        "additionalProperties": false
      },
      "BillingConfigurationCompanyRelationship": {
        "type": "object",
        "properties": {
          "billingConfigurationId": {
            "type": "string",
            "format": "uuid"
          },
          "companyRelationshipId": {
            "type": "string",
            "format": "uuid"
          },
          "billingConfiguration": {
            "$ref": "#/components/schemas/BillingConfiguration"
          },
          "companyRelationship": {
            "$ref": "#/components/schemas/CompanyRelationship"
          }
        },
        "additionalProperties": false
      },
      "BillingConfigurationLoadCarrierType": {
        "type": "object",
        "properties": {
          "billingConfigurationId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "billingConfiguration": {
            "$ref": "#/components/schemas/BillingConfiguration"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          }
        },
        "additionalProperties": false
      },
      "BillingSchedule": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "isActive": {
            "type": "boolean"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "billingConfigurationId": {
            "type": "string",
            "format": "uuid"
          },
          "scheduledTime": {
            "type": "string",
            "format": "time",
            "nullable": true
          },
          "delayDays": {
            "type": "integer",
            "format": "int32"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "billingConfiguration": {
            "$ref": "#/components/schemas/BillingConfiguration"
          }
        },
        "additionalProperties": false
      },
      "BillingType": {
        "enum": [
          "Sales",
          "Interest",
          "Fee",
          "Clearing"
        ],
        "type": "string"
      },
      "ClearingAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "relationship": {
            "$ref": "#/components/schemas/CompanyRelationship"
          },
          "relationshipId": {
            "type": "string",
            "format": "uuid",
            "deprecated": true
          },
          "initiatorCompany": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "initiatorCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "mediatorCompanyLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "clearingAccountMetrics": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingAccountMetric"
            },
            "nullable": true
          },
          "exchangeAccountGroupId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "exchangeAccountGroup": {
            "$ref": "#/components/schemas/ExchangeAccountGroup"
          },
          "locationApiRestrictions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingAccountLocationApiRestriction"
            },
            "nullable": true,
            "readOnly": true
          },
          "freetextsEnteredByInitiator": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "freetextsEnteredByPartner": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "clearingTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransaction"
            },
            "nullable": true
          },
          "notificationSettingInitiator": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingNotificationSetting"
          },
          "notificationSettingInitiatorId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "notificationSettingPartner": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingNotificationSetting"
          },
          "notificationSettingPartnerId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "lastInheritedClearingNotificationExecution": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "signatureNecessary": {
            "type": "boolean"
          },
          "allowBookingsFromPartner": {
            "type": "boolean"
          },
          "allowOrdersFromPartner": {
            "type": "boolean"
          },
          "allowReleasesFromPartner": {
            "type": "boolean"
          },
          "exchangeApiRestriction": {
            "$ref": "#/components/schemas/ExchangeApiRestriction"
          },
          "allowSeeingAnnouncedBookingsByPartner": {
            "type": "boolean"
          },
          "exchangeTransactionBookingValidTill": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "daysDelayForAutoConfirmation": {
            "type": "integer",
            "format": "int32"
          },
          "autoConfirmationDayUnit": {
            "$ref": "#/components/schemas/AutoConfirmationDayUnit"
          },
          "daysDelayForAutoConfirmationOfCorrections": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "clearingMethodType": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingMethod"
          },
          "usesTimeSlotManagement": {
            "type": "boolean"
          },
          "blockAnonymousAccess": {
            "type": "boolean"
          },
          "attachPdfToExchangeEmail": {
            "type": "boolean"
          },
          "internalNote": {
            "maxLength": 512,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearingAccount.ClearingMethod": {
        "enum": [
          "None",
          "Manual",
          "Weblink"
        ],
        "type": "string"
      },
      "ClearingAccount.ClearingNotificationSetting": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "clearingNotificationEnabledDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationCycle": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "notificationTriggerType": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingNotificationSetting.NotificationTrigger"
          },
          "lastClearingNotificationExecution": {
            "type": "string",
            "format": "date-time"
          },
          "reminderEnabledDate": {
            "type": "string",
            "format": "date-time"
          },
          "reminderAfterDays": {
            "type": "integer",
            "format": "int32"
          },
          "lastReminderExecution": {
            "type": "string",
            "format": "date-time"
          },
          "clearingUpdateSummariesEnabledDate": {
            "type": "string",
            "format": "date-time"
          },
          "language": {
            "$ref": "#/components/schemas/Language"
          },
          "filter": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingNotificationSetting.AccountLinkFilter"
          },
          "noticeText": {
            "maxLength": 500,
            "type": "string",
            "nullable": true
          },
          "noticePosition": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingNotificationSetting.NoticeTextPosition"
          }
        },
        "additionalProperties": false
      },
      "ClearingAccount.ClearingNotificationSetting.AccountLinkFilter": {
        "enum": [
          "None",
          "EndOfLastMonth"
        ],
        "type": "string"
      },
      "ClearingAccount.ClearingNotificationSetting.NoticeTextPosition": {
        "enum": [
          "Top",
          "Bottom"
        ],
        "type": "string"
      },
      "ClearingAccount.ClearingNotificationSetting.NotificationTrigger": {
        "enum": [
          "Daily",
          "DaysOfWeek",
          "Monthly"
        ],
        "type": "string"
      },
      "ClearingAccountLocationApiRestriction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "clearingAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "companyLocationId": {
            "type": "string",
            "format": "uuid"
          },
          "restriction": {
            "$ref": "#/components/schemas/ExchangeApiRestriction"
          },
          "clearingAccount": {
            "$ref": "#/components/schemas/ClearingAccount"
          },
          "companyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          }
        },
        "additionalProperties": false
      },
      "ClearingAccountMetric": {
        "type": "object",
        "properties": {
          "clearingAccountMetricId": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "clearingAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "openTransactionsInitiator": {
            "type": "integer",
            "format": "int32"
          },
          "openTransactionsPartner": {
            "type": "integer",
            "format": "int32"
          },
          "outstandingConfirmationsInitiator": {
            "type": "integer",
            "format": "int32"
          },
          "outstandingConfirmationsPartner": {
            "type": "integer",
            "format": "int32"
          },
          "companyLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "companyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "clearingAccount": {
            "$ref": "#/components/schemas/ClearingAccount"
          }
        },
        "additionalProperties": false
      },
      "ClearingNotificationGlobalDefault": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "company": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "clearingNotificationEnabledDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationCycle": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "notificationTriggerType": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingNotificationSetting.NotificationTrigger"
          },
          "language": {
            "$ref": "#/components/schemas/Language"
          },
          "filter": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingNotificationSetting.AccountLinkFilter"
          },
          "noticeTexts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingNotificationGlobalNoticeText"
            },
            "nullable": true
          },
          "noticeTextPosition": {
            "$ref": "#/components/schemas/ClearingAccount.ClearingNotificationSetting.NoticeTextPosition"
          }
        },
        "additionalProperties": false
      },
      "ClearingNotificationGlobalNoticeText": {
        "type": "object",
        "properties": {
          "language": {
            "$ref": "#/components/schemas/Language"
          },
          "text": {
            "maxLength": 500,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearingTransaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "relationId": {
            "type": "string",
            "format": "uuid"
          },
          "relation": {
            "$ref": "#/components/schemas/ExchangeRelation"
          },
          "exchangeId": {
            "type": "string",
            "format": "uuid"
          },
          "exchange": {
            "$ref": "#/components/schemas/Exchange"
          },
          "transactionOrigin": {
            "$ref": "#/components/schemas/ExchangeOrigin"
          },
          "transactionType": {
            "$ref": "#/components/schemas/ExchangeType"
          },
          "locationData": {
            "$ref": "#/components/schemas/Location"
          },
          "locationDataId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "clearingAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "loadCarrier": {
            "type": "string",
            "nullable": true
          },
          "loadCarrierTypeCorrected": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierTypeCorrectedId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "currentLoadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "currentLoadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "dateFirstReaction": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateCleared": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastUpdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "originalDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "runningTransactionNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "orderReference": {
            "$ref": "#/components/schemas/ExchangeDemandOrderPosition"
          },
          "orderReferenceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "startCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "startCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true,
            "deprecated": true
          },
          "startArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "startAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "deprecated": true
          },
          "startFreeText": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "destinationCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "destinationCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true,
            "deprecated": true
          },
          "destinationArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "destinationAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "deprecated": true
          },
          "destinationFreeText": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "destinationLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "destinationLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "startLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "startLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "countRework": {
            "type": "integer",
            "format": "int32",
            "deprecated": true
          },
          "countOriginalRework": {
            "type": "integer",
            "format": "int32",
            "deprecated": true
          },
          "countPartner": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "deprecated": true
          },
          "countInitiator": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "deprecated": true
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransactionEvent"
            },
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "orderNumber": {
            "type": "string",
            "nullable": true
          },
          "infoTransaction": {
            "type": "boolean"
          },
          "internalTransaction": {
            "type": "boolean"
          },
          "correctedComment": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransaction.CommentItem"
            },
            "nullable": true
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransactionFile"
            },
            "nullable": true
          },
          "transactionCreator": {
            "$ref": "#/components/schemas/Company"
          },
          "transactionCreatorId": {
            "type": "integer",
            "format": "int64",
            "nullable": true,
            "deprecated": true
          },
          "clearingStatusCreator": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "clearingStatusPartner": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "clearingStatusCreatorTransmitted": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "clearingStatusPartnerTransmitted": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "currentStepCreator": {
            "$ref": "#/components/schemas/ExchangeClearingStep"
          },
          "currentStepPartner": {
            "$ref": "#/components/schemas/ExchangeClearingStep"
          },
          "isZeroBooking": {
            "type": "boolean",
            "readOnly": true
          },
          "isEligibleForMatching": {
            "type": "boolean",
            "readOnly": true
          },
          "isCancelled": {
            "type": "boolean",
            "readOnly": true
          },
          "isReviewed": {
            "type": "boolean",
            "readOnly": true
          },
          "customProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomTransactionProperty"
            },
            "nullable": true
          },
          "loadCarrierStatus": {
            "$ref": "#/components/schemas/LoadCarrierStatus"
          },
          "loadCarrierStatusId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "signature": {
            "$ref": "#/components/schemas/Signature"
          },
          "signatureId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "signatureCreator": {
            "$ref": "#/components/schemas/Signature"
          },
          "signatureCreatorId": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "deprecated": true
          },
          "signaturePartner": {
            "$ref": "#/components/schemas/Signature"
          },
          "signaturePartnerId": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "deprecated": true
          },
          "signatureDriver": {
            "$ref": "#/components/schemas/Signature"
          },
          "signatureDriverId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "userInitiator": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "userInitiatorId": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "userPartner": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "userPartnerId": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "importEntries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CsvImportEntry"
            },
            "nullable": true
          },
          "ownerIsCreator": {
            "type": "boolean"
          },
          "ownerIsInitiator": {
            "type": "boolean"
          },
          "ownerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "ownerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "ownerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "ownerAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerFreeText": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "partnerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "partnerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "partnerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "partnerAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerFreeText": {
            "type": "string",
            "nullable": true
          },
          "ownerCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "partnerCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "countOriginal": {
            "type": "integer",
            "format": "int32"
          },
          "ownerClearingStatus": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "partnerClearingStatus": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "ownerClearingStatusTransmitted": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "partnerClearingStatusTransmitted": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "ownerCurrentStep": {
            "$ref": "#/components/schemas/ExchangeClearingStep"
          },
          "partnerCurrentStep": {
            "$ref": "#/components/schemas/ExchangeClearingStep"
          },
          "ownerSignature": {
            "$ref": "#/components/schemas/Signature"
          },
          "ownerSignatureId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerSignature": {
            "$ref": "#/components/schemas/Signature"
          },
          "partnerSignatureId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerUser": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "ownerUserId": {
            "type": "string",
            "nullable": true
          },
          "partnerUser": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "partnerUserId": {
            "type": "string",
            "nullable": true
          },
          "closedCount": {
            "type": "integer",
            "format": "int32"
          },
          "closedLoadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "closedLoadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "closedOwnerCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "closedOwnerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "closedOwnerAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "closedPartnerCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "closedPartnerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "closedPartnerAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "finalized": {
            "type": "boolean"
          },
          "exchangePeriodClosingItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangePeriodClosingItem"
            },
            "nullable": true
          },
          "sourcePeriod": {
            "$ref": "#/components/schemas/ExchangePeriod"
          },
          "sourcePeriodId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "inventoryMatchingId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "inventoryMatching": {
            "$ref": "#/components/schemas/InventoryMatching"
          },
          "countAdjustedByAI": {
            "type": "boolean"
          },
          "forwardedFromTransactionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "forwardedFromTransaction": {
            "$ref": "#/components/schemas/ClearingTransaction"
          },
          "forwardedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransaction"
            },
            "nullable": true,
            "readOnly": true
          },
          "invoiceDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceDetail"
            },
            "nullable": true,
            "readOnly": true
          },
          "cancellationInvoiceDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceDetail"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ClearingTransaction.CommentItem": {
        "type": "object",
        "properties": {
          "authorName": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearingTransactionEvent": {
        "type": "object",
        "properties": {
          "eventTime": {
            "type": "string",
            "format": "date-time"
          },
          "eventType": {
            "$ref": "#/components/schemas/ClearingTransactionEventType"
          },
          "eventCreatorId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "eventCreatorUserId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "originCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "originCompanyName": {
            "type": "string",
            "nullable": true
          },
          "transmitted": {
            "type": "boolean"
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransactionFile"
            },
            "nullable": true
          },
          "signature": {
            "$ref": "#/components/schemas/Signature"
          },
          "signatureId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClearingTransactionEventType": {
        "enum": [
          "TransactionCreatedEvent",
          "TransactionUpdatedEvent"
        ],
        "type": "string"
      },
      "ClearingTransactionFile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "generatedFileName": {
            "type": "string",
            "nullable": true
          },
          "originalFileName": {
            "type": "string",
            "nullable": true
          },
          "attachedByAI": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Company": {
        "type": "object",
        "properties": {
          "companyNo": {
            "type": "integer",
            "format": "int32"
          },
          "companyTel": {
            "type": "string",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "companyShortName": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "houseNumber": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryIso": {
            "type": "string",
            "nullable": true
          },
          "logoFile": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "float"
          },
          "longitude": {
            "type": "number",
            "format": "float"
          },
          "countryLanguage": {
            "$ref": "#/components/schemas/Language"
          },
          "companyProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyProperty"
            },
            "nullable": true
          },
          "companyLocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyLocation"
            },
            "nullable": true
          },
          "contactPersons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactPerson"
            },
            "nullable": true,
            "readOnly": true
          },
          "rentalListings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RentalListing"
            },
            "nullable": true
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Label"
            },
            "nullable": true
          },
          "permissionGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionGroup"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompanyArea": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "maxLength": 64,
            "type": "string",
            "nullable": true
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "companyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "companyLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "isDeleted": {
            "type": "boolean",
            "readOnly": true
          },
          "deletedTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CompanyLocation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "$ref": "#/components/schemas/Company"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "reference": {
            "maxLength": 64,
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "houseNumber": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "float"
          },
          "longitude": {
            "type": "number",
            "format": "float"
          },
          "point": {
            "$ref": "#/components/schemas/Point"
          },
          "contactPersons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContactPerson"
            },
            "nullable": true,
            "readOnly": true
          },
          "companyAreas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyArea"
            },
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "companyLocationContactPersons": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyLocationContactPerson"
            },
            "nullable": true,
            "readOnly": true
          },
          "companyLocationGroupId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "companyLocationGroup": {
            "$ref": "#/components/schemas/CompanyLocationGroup"
          },
          "tierKey": {
            "$ref": "#/components/schemas/TierKey"
          },
          "isDeleted": {
            "type": "boolean",
            "readOnly": true
          },
          "deletedTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CompanyLocationContactPerson": {
        "type": "object",
        "properties": {
          "companyLocationId": {
            "type": "string",
            "format": "uuid"
          },
          "contactPersonId": {
            "type": "string",
            "format": "uuid"
          },
          "contactPerson": {
            "$ref": "#/components/schemas/ContactPerson"
          },
          "companyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          }
        },
        "additionalProperties": false
      },
      "CompanyLocationGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "company": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "tierKey1": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "tierKey2": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "tierKey3": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CompanyProperty": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "$ref": "#/components/schemas/Company"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "CompanyRelationship": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "initiatorCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "initiatorCompany": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "partnerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "exchangeAccountId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "exchangeAccount": {
            "$ref": "#/components/schemas/ClearingAccount"
          },
          "trackingAccountId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "trackingAccount": {
            "$ref": "#/components/schemas/TrackingAccount"
          },
          "labels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Label"
            },
            "nullable": true
          },
          "companyRelationshipLabels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyRelationshipLabel"
            },
            "nullable": true,
            "readOnly": true
          },
          "permissionGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionGroup"
            },
            "nullable": true
          },
          "permissionGroupCompanyRelationships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionGroupCompanyRelationship"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CompanyRelationshipLabel": {
        "type": "object",
        "properties": {
          "companyRelationshipId": {
            "type": "string",
            "format": "uuid"
          },
          "labelId": {
            "type": "string",
            "format": "uuid"
          },
          "companyRelationship": {
            "$ref": "#/components/schemas/CompanyRelationship"
          },
          "label": {
            "$ref": "#/components/schemas/Label"
          }
        },
        "additionalProperties": false
      },
      "ContactPerson": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "maxLength": 200,
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "maxLength": 200,
            "type": "string",
            "nullable": true
          },
          "company": {
            "$ref": "#/components/schemas/Company"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "isDefault": {
            "type": "boolean"
          },
          "isContactForExchange": {
            "type": "boolean"
          },
          "isContactForTracking": {
            "type": "boolean"
          },
          "emailDeliveryStatus": {
            "$ref": "#/components/schemas/EmailDeliveryStatus"
          },
          "companyLocations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyLocation"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Coordinate": {
        "type": "object",
        "properties": {
          "x": {
            "type": "number",
            "format": "double"
          },
          "y": {
            "type": "number",
            "format": "double"
          },
          "z": {
            "type": "number",
            "format": "double"
          },
          "m": {
            "type": "number",
            "format": "double"
          },
          "coordinateValue": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "isValid": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CoordinateEqualityComparer": {
        "type": "object",
        "additionalProperties": false
      },
      "CoordinateSequence": {
        "type": "object",
        "properties": {
          "dimension": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "measures": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "spatial": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "ordinates": {
            "$ref": "#/components/schemas/Ordinates"
          },
          "hasZ": {
            "type": "boolean",
            "readOnly": true
          },
          "hasM": {
            "type": "boolean",
            "readOnly": true
          },
          "zOrdinateIndex": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "mOrdinateIndex": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "first": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "last": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "count": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CoordinateSequenceFactory": {
        "type": "object",
        "properties": {
          "ordinates": {
            "$ref": "#/components/schemas/Ordinates"
          }
        },
        "additionalProperties": false
      },
      "Coordinates": {
        "type": "object",
        "properties": {
          "latitude": {
            "type": "number",
            "format": "float"
          },
          "longitude": {
            "type": "number",
            "format": "float"
          }
        },
        "additionalProperties": false
      },
      "CreateScanResponse": {
        "type": "object",
        "properties": {
          "successfullyScanned": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Array of codes, which have been successfully scanned.",
            "nullable": true
          },
          "failedToScan": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Array of codes, which couldn't be scanned.\r\nFailure reasons: invalid code.",
            "nullable": true
          },
          "succeeded": {
            "type": "boolean",
            "description": "True, when the request was processed successfully.\r\nFalse, in any other case."
          },
          "error": {
            "type": "string",
            "description": "May contain an error message, when request couln't be processed successfully.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CsvImportEntry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "importHash": {
            "type": "string",
            "nullable": true
          },
          "creatorId": {
            "type": "integer",
            "format": "int64"
          },
          "creator": {
            "$ref": "#/components/schemas/Company"
          },
          "type": {
            "$ref": "#/components/schemas/CsvImportEntry.ImportType"
          },
          "importedAt": {
            "type": "string",
            "format": "date-time"
          },
          "clearingTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransaction"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CsvImportEntry.ImportType": {
        "enum": [
          "Import",
          "AutoMatching"
        ],
        "type": "string"
      },
      "CustomFieldType": {
        "enum": [
          "Text",
          "File"
        ],
        "type": "string"
      },
      "CustomPropertyDisplayMode": {
        "enum": [
          "Default",
          "Pinned",
          "Column"
        ],
        "type": "string"
      },
      "CustomPropertyFieldType": {
        "enum": [
          "Text",
          "Checkbox",
          "SelectList"
        ],
        "type": "string"
      },
      "CustomTransactionProperty": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "key": {
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "isCheckbox": {
            "type": "boolean",
            "deprecated": true
          },
          "clearingTransactionId": {
            "type": "string",
            "format": "uuid"
          },
          "clearingTransaction": {
            "$ref": "#/components/schemas/ClearingTransaction"
          },
          "visibility": {
            "$ref": "#/components/schemas/TransactionPropertyVisibility"
          }
        },
        "additionalProperties": false
      },
      "CustomTransactionPropertyDefinition": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "defaultValue": {
            "type": "string",
            "nullable": true
          },
          "visibility": {
            "$ref": "#/components/schemas/TransactionPropertyVisibility"
          },
          "fieldType": {
            "$ref": "#/components/schemas/CustomPropertyFieldType"
          },
          "isCheckbox": {
            "type": "boolean",
            "deprecated": true
          },
          "options": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomTransactionPropertyOption"
            },
            "nullable": true
          },
          "activeCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "displayMode": {
            "$ref": "#/components/schemas/CustomPropertyDisplayMode"
          },
          "isPinned": {
            "type": "boolean",
            "deprecated": true
          },
          "isAIEnabled": {
            "type": "boolean"
          },
          "isPdfExportEnabled": {
            "type": "boolean"
          },
          "aiContextInformation": {
            "maxLength": 500,
            "type": "string",
            "nullable": true
          },
          "activeCompany": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "required": {
            "$ref": "#/components/schemas/TransactionPropertyDefinitionRequired"
          },
          "featureAssignment": {
            "$ref": "#/components/schemas/TransactionPropertyDefinitionFeatureAssignment"
          }
        },
        "additionalProperties": false
      },
      "CustomTransactionPropertyOption": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "definitionId": {
            "type": "string",
            "format": "uuid"
          },
          "definition": {
            "$ref": "#/components/schemas/CustomTransactionPropertyDefinition"
          },
          "text": {
            "maxLength": 200,
            "type": "string",
            "nullable": true
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DataType": {
        "enum": [
          "TemperatureCurrent",
          "TemperatureMin",
          "TemperatureMax",
          "Shock",
          "MotionStart",
          "MotionStop",
          "FreeFall",
          "Voltage",
          "Battery",
          "Location",
          "ToilTrackerEvent",
          "StatusAdded",
          "StatusRemoved",
          "Deactivate",
          "Reactivate",
          "NotSet"
        ],
        "type": "string"
      },
      "DeliveryTimeKind": {
        "enum": [
          "None",
          "Time",
          "TimeWindow"
        ],
        "type": "string"
      },
      "Dimension": {
        "enum": [
          "Point",
          "Curve",
          "A",
          "Collapse",
          "Dontcare",
          "True",
          "False"
        ],
        "type": "string"
      },
      "ElevationModel": {
        "type": "object",
        "properties": {
          "extent": {
            "$ref": "#/components/schemas/Envelope"
          }
        },
        "additionalProperties": false
      },
      "EmailDeliveryStatus": {
        "enum": [
          "NoRecipient",
          "NotSent",
          "SentSuccessfully",
          "DeliveryError"
        ],
        "type": "string"
      },
      "Envelope": {
        "type": "object",
        "properties": {
          "isNull": {
            "type": "boolean",
            "readOnly": true
          },
          "width": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "height": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "diameter": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "minX": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "maxX": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "minY": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "maxY": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "area": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "minExtent": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "maxExtent": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "centre": {
            "$ref": "#/components/schemas/Coordinate"
          }
        },
        "additionalProperties": false
      },
      "EventSource": {
        "enum": [
          "Tracker",
          "App",
          "TransactionWebJob",
          "Platform"
        ],
        "type": "string"
      },
      "Exchange": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "referenceNumber": {
            "maxLength": 120,
            "type": "string",
            "nullable": true
          },
          "orderNumber": {
            "maxLength": 160,
            "type": "string",
            "nullable": true
          },
          "scope": {
            "$ref": "#/components/schemas/ExchangeScope"
          },
          "type": {
            "$ref": "#/components/schemas/ExchangeType"
          },
          "exchangeDate": {
            "type": "string",
            "format": "date-time"
          },
          "exchangeDateOriginal": {
            "type": "string",
            "format": "date-time"
          },
          "ownerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "ownerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "partnerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerFreeText": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "ownerIsSender": {
            "type": "boolean"
          },
          "ownerIsCreator": {
            "type": "boolean"
          },
          "ownerClearingStatus": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "ownerClearingStatusTransmitted": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "ownerDisplayClearingStatus": {
            "$ref": "#/components/schemas/ExchangeDisplayClearingStatus"
          },
          "ownerClearingStep": {
            "$ref": "#/components/schemas/ExchangeClearingStep"
          },
          "partnerClearingStatus": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "partnerClearingStatusTransmitted": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "partnerDisplayClearingStatus": {
            "$ref": "#/components/schemas/ExchangeDisplayClearingStatus"
          },
          "partnerClearingStep": {
            "$ref": "#/components/schemas/ExchangeClearingStep"
          },
          "isZeroExchange": {
            "type": "boolean"
          },
          "origin": {
            "$ref": "#/components/schemas/ExchangeOrigin"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "ownerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "ownerArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "partnerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "partnerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "partnerArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "clearingTransaction": {
            "$ref": "#/components/schemas/ClearingTransaction"
          },
          "exchangeMatches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatch"
            },
            "nullable": true,
            "deprecated": true
          },
          "exchangeMatch": {
            "$ref": "#/components/schemas/ExchangeMatch"
          },
          "exchangeMatchId": {
            "type": "string",
            "format": "uuid",
            "nullable": true,
            "readOnly": true
          },
          "isEditable": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeAccountGroup": {
        "type": "object",
        "properties": {
          "exchangeAccountGroupId": {
            "type": "string",
            "format": "uuid"
          },
          "tierKey1": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "tierKey2": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "tierKey3": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "initiatorCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "initiatorCompany": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "clearingAccounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingAccount"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeAccountLink": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeTenantLinkId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeTenantLink": {
            "$ref": "#/components/schemas/ExchangeTenantLink"
          },
          "exchangeAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeAccount": {
            "$ref": "#/components/schemas/ClearingAccount"
          },
          "locationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "location": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "externalLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "externalExchangeAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "externalPartnerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "ownerStatus": {
            "$ref": "#/components/schemas/ExchangeAccountLinkStatus"
          },
          "partnerStatus": {
            "$ref": "#/components/schemas/ExchangeAccountLinkStatus"
          }
        },
        "additionalProperties": false
      },
      "ExchangeAccountLinkStatus": {
        "enum": [
          "PendingAcceptance",
          "Active",
          "Deactivated"
        ],
        "type": "string"
      },
      "ExchangeApiRestriction": {
        "enum": [
          "AcceptNewTransactions",
          "DisposeNewTransactions",
          "RejectNewTransactions"
        ],
        "type": "string"
      },
      "ExchangeClearingStatus": {
        "enum": [
          "Open",
          "Corrected",
          "Accepted",
          "Locked",
          "Canceled",
          "Disposed",
          "AutoAccepted",
          "AcceptedByCreator",
          "Declined"
        ],
        "type": "string"
      },
      "ExchangeClearingStep": {
        "enum": [
          "Announced",
          "Open",
          "InDiscussion",
          "Completed"
        ],
        "type": "string"
      },
      "ExchangeDemandOrder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "orderNumber": {
            "type": "string",
            "nullable": true
          },
          "account": {
            "$ref": "#/components/schemas/ClearingAccount"
          },
          "accountId": {
            "type": "string",
            "format": "uuid"
          },
          "recurringOrderId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "recurringOrder": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrder"
          },
          "recurringOrderExecutionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "recurringOrderExecution": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrderExecution"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/ExchangeDemandOrderStatus"
          },
          "creatorUser": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "creatorUserId": {
            "type": "string",
            "nullable": true
          },
          "partnerContactPerson": {
            "$ref": "#/components/schemas/ContactPerson"
          },
          "partnerContactPersonId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "ownerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "ownerCompanyAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerCompanyArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "partnerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "partnerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "partnerCompanyAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerCompanyArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "partnerFreeText": {
            "type": "string",
            "nullable": true
          },
          "ownerIsCreator": {
            "type": "boolean"
          },
          "positions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandOrderPosition"
            },
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/ExchangeDemandOrderType"
          },
          "customProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandOrderCustomProperty"
            },
            "nullable": true
          },
          "reconfirmationRequired": {
            "type": "boolean"
          },
          "createTransactionAsDisposed": {
            "type": "boolean"
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandOrderFile"
            },
            "nullable": true
          },
          "events": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandOrderEvent"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandOrderCustomProperty": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "visibility": {
            "$ref": "#/components/schemas/TransactionPropertyVisibility"
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandOrderEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "orderId": {
            "type": "string",
            "format": "uuid"
          },
          "order": {
            "$ref": "#/components/schemas/ExchangeDemandOrder"
          },
          "positionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "eventTime": {
            "type": "string",
            "format": "date-time"
          },
          "eventType": {
            "$ref": "#/components/schemas/ExchangeDemandOrderEventType"
          },
          "actorCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "actorCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "actorUserId": {
            "type": "string",
            "nullable": true
          },
          "actorUser": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "actorContactPersonId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "actorContactPerson": {
            "$ref": "#/components/schemas/ContactPerson"
          },
          "statusOld": {
            "$ref": "#/components/schemas/ExchangeDemandOrderStatusNew"
          },
          "statusNew": {
            "$ref": "#/components/schemas/ExchangeDemandOrderStatusNew"
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandOrderEventChange"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandOrderEventChange": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "eventId": {
            "type": "string",
            "format": "uuid"
          },
          "event": {
            "$ref": "#/components/schemas/ExchangeDemandOrderEvent"
          },
          "field": {
            "$ref": "#/components/schemas/ExchangeDemandOrderField"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "loadCarrierQuality": {
            "type": "string",
            "nullable": true
          },
          "oldValue": {
            "type": "string",
            "nullable": true
          },
          "newValue": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandOrderEventType": {
        "enum": [
          "Created",
          "CreatedByRecurringOrder",
          "Confirmed",
          "ConfirmedWithDeviation",
          "Reconfirmed",
          "Declined",
          "Revoked"
        ],
        "type": "string"
      },
      "ExchangeDemandOrderField": {
        "enum": [
          "DesiredDeliveryDate",
          "ConfirmedDeliveryDate",
          "ItemCount",
          "ItemConfirmedCount",
          "ItemAdded",
          "ItemRemoved",
          "StartCompanyArea",
          "DestinationCompanyArea",
          "StartFreeText",
          "DestinationFreeText"
        ],
        "type": "string"
      },
      "ExchangeDemandOrderFile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "generatedFileName": {
            "type": "string",
            "nullable": true
          },
          "originalFileName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandOrderItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "confirmedCount": {
            "type": "integer",
            "format": "int32"
          },
          "deliveredCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "loadCarrierQuality": {
            "type": "string",
            "nullable": true
          },
          "position": {
            "$ref": "#/components/schemas/ExchangeDemandOrderPosition"
          },
          "positionId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandOrderPosition": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "order": {
            "$ref": "#/components/schemas/ExchangeDemandOrder"
          },
          "orderId": {
            "type": "string",
            "format": "uuid"
          },
          "desiredDeliveryDate": {
            "type": "string",
            "format": "date-time"
          },
          "desiredDeliveryTimeKind": {
            "$ref": "#/components/schemas/DeliveryTimeKind"
          },
          "desiredDeliveryWindowEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "confirmedDeliveryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "confirmedDeliveryTimeKind": {
            "$ref": "#/components/schemas/DeliveryTimeKind"
          },
          "confirmedDeliveryWindowEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deliveryDurationMinutes": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "statusNew": {
            "$ref": "#/components/schemas/ExchangeDemandOrderStatusNew"
          },
          "transactionReference": {
            "$ref": "#/components/schemas/ClearingTransaction"
          },
          "transactionReferenceId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandOrderItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandOrderStatus": {
        "enum": [
          "Open",
          "Modified",
          "Confirmed",
          "Declined",
          "Revoked"
        ],
        "type": "string"
      },
      "ExchangeDemandOrderStatusNew": {
        "enum": [
          "Open",
          "ReconfirmationRequired",
          "AcceptedWithChanges",
          "Confirmed",
          "Declined",
          "Revoked"
        ],
        "type": "string"
      },
      "ExchangeDemandOrderType": {
        "enum": [
          "Order",
          "Release"
        ],
        "type": "string"
      },
      "ExchangeDemandRecurringOrder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "exchangeAccountId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeAccount": {
            "$ref": "#/components/schemas/ClearingAccount"
          },
          "ownerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "ownerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "ownerCompanyAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerCompanyArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "partnerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "partnerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "partnerCompanyAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerCompanyArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "partnerFreeText": {
            "type": "string",
            "nullable": true
          },
          "ownerIsCreator": {
            "type": "boolean"
          },
          "createdByUserId": {
            "type": "string",
            "nullable": true
          },
          "createdByUser": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "partnerContactPersonId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerContactPerson": {
            "$ref": "#/components/schemas/ContactPerson"
          },
          "type": {
            "$ref": "#/components/schemas/ExchangeDemandOrderType"
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "customProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandRecurringOrderCustomProperty"
            },
            "nullable": true
          },
          "reconfirmationRequired": {
            "type": "boolean"
          },
          "startDate": {
            "type": "string",
            "format": "date"
          },
          "interval": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrderInterval"
          },
          "endDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "leadTimeDays": {
            "maximum": 60,
            "minimum": 0,
            "type": "integer",
            "format": "int32"
          },
          "timeZoneId": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "isActive": {
            "type": "boolean"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "failureReason": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrderFailureReason"
          },
          "errorMessage": {
            "maxLength": 2000,
            "type": "string",
            "nullable": true
          },
          "failedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "nextDeliveryDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "nextCreationAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedByUserId": {
            "type": "string",
            "nullable": true
          },
          "updatedByUser": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandRecurringOrderItem"
            },
            "nullable": true
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandRecurringOrderDocument"
            },
            "nullable": true
          },
          "executions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandRecurringOrderExecution"
            },
            "nullable": true
          },
          "generatedOrders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeDemandOrder"
            },
            "nullable": true
          },
          "isDeleted": {
            "type": "boolean",
            "readOnly": true
          },
          "deletedTimestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandRecurringOrderCustomProperty": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "visibility": {
            "$ref": "#/components/schemas/TransactionPropertyVisibility"
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandRecurringOrderDocument": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "recurringOrderId": {
            "type": "string",
            "format": "uuid"
          },
          "recurringOrder": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrder"
          },
          "generatedFileName": {
            "type": "string",
            "nullable": true
          },
          "originalFileName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandRecurringOrderExecution": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "recurringOrderId": {
            "type": "string",
            "format": "uuid"
          },
          "recurringOrder": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrder"
          },
          "scheduledDeliveryDate": {
            "type": "string",
            "format": "date"
          },
          "desiredDeliveryAt": {
            "type": "string",
            "format": "date-time"
          },
          "scheduledCreationAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrderExecutionStatus"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time"
          },
          "failureReason": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrderFailureReason"
          },
          "errorMessage": {
            "maxLength": 2000,
            "type": "string",
            "nullable": true
          },
          "generatedOrder": {
            "$ref": "#/components/schemas/ExchangeDemandOrder"
          }
        },
        "additionalProperties": false
      },
      "ExchangeDemandRecurringOrderExecutionStatus": {
        "enum": [
          "Succeeded",
          "Failed",
          "Skipped"
        ],
        "type": "string"
      },
      "ExchangeDemandRecurringOrderFailureReason": {
        "enum": [
          "NoLoadCarriers",
          "ExchangeAccountMissing",
          "ExchangeAccountLocked",
          "PartnerOrdersNotAllowed",
          "PartnerReleasesNotAllowed",
          "LocationUnavailable",
          "LoadCarrierTypeUnavailable"
        ],
        "type": "string"
      },
      "ExchangeDemandRecurringOrderInterval": {
        "enum": [
          "Daily",
          "Weekly",
          "EveryTwoWeeks",
          "Monthly"
        ],
        "type": "string"
      },
      "ExchangeDemandRecurringOrderItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "recurringOrderId": {
            "type": "string",
            "format": "uuid"
          },
          "recurringOrder": {
            "$ref": "#/components/schemas/ExchangeDemandRecurringOrder"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierQuality": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ExchangeDisplayClearingStatus": {
        "enum": [
          "Open",
          "Corrected",
          "Accepted",
          "Locked",
          "Canceled",
          "Disposed",
          "AutoAccepted",
          "AcceptedByCreator",
          "Declined",
          "PendingFeedback"
        ],
        "type": "string"
      },
      "ExchangeDocumentTemplate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/ExchangeDocumentTemplateType"
          },
          "activeCompany": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "activeCompanyId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "ExchangeDocumentTemplateType": {
        "enum": [
          "CMR",
          "Voucher"
        ],
        "type": "string"
      },
      "ExchangeMatch": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeTenantLinkId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeTenantLink": {
            "$ref": "#/components/schemas/ExchangeTenantLink"
          },
          "exchangeAccountLinkId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeAccountLink": {
            "$ref": "#/components/schemas/ExchangeAccountLink"
          },
          "matchingRuleId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "matchingRule": {
            "$ref": "#/components/schemas/ExchangeMatchingRule"
          },
          "ruleParameterValue": {
            "type": "string",
            "nullable": true
          },
          "partnerRuleParameterValue": {
            "type": "string",
            "nullable": true
          },
          "normalizedRuleParameterValue": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ExchangeMatchStatus"
          },
          "score": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "earliestExchangeDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "latestExchangeDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "dateCreated": {
            "type": "string",
            "format": "date-time"
          },
          "dateAccepted": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateCleared": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "positions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatchPosition"
            },
            "nullable": true
          },
          "comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatchComment"
            },
            "nullable": true
          },
          "exchangeMatchExchanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatchExchange"
            },
            "nullable": true,
            "readOnly": true
          },
          "exchangeMatchPartnerExchange": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatchPartnerExchange"
            },
            "nullable": true,
            "readOnly": true
          },
          "ownerExchangeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true,
            "readOnly": true
          },
          "partnerExchangeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true,
            "readOnly": true
          },
          "partnerExchanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PartnerExchange"
            },
            "nullable": true
          },
          "ownerExchanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Exchange"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchComment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeMatchId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeMatch": {
            "$ref": "#/components/schemas/ExchangeMatch"
          },
          "exchangeMatchLoadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "exchangeMatchLoadCarrierType": {
            "$ref": "#/components/schemas/ExchangeMatchLoadCarrierType"
          },
          "authorName": {
            "maxLength": 256,
            "type": "string",
            "nullable": true
          },
          "ownerIsAuthor": {
            "type": "boolean"
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatchCommentFile"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchCommentFile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeMatchCommentId": {
            "type": "string",
            "format": "uuid"
          },
          "comment": {
            "$ref": "#/components/schemas/ExchangeMatchComment"
          },
          "originalFileName": {
            "maxLength": 260,
            "type": "string",
            "nullable": true
          },
          "generatedFileName": {
            "maxLength": 50,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchExchange": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeMatchId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeMatch": {
            "$ref": "#/components/schemas/ExchangeMatch"
          },
          "exchangeId": {
            "type": "string",
            "format": "uuid"
          },
          "exchange": {
            "$ref": "#/components/schemas/Exchange"
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchLoadCarrierType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeTenantLinkId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeTenantLink": {
            "$ref": "#/components/schemas/ExchangeTenantLink"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "partnerName": {
            "type": "string",
            "nullable": true
          },
          "defaultLoadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatchLoadCarrierTypeItem"
            },
            "nullable": true,
            "readOnly": true
          },
          "loadCarrierTypeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true,
            "readOnly": true
          },
          "externalLoadCarrierTypeIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchLoadCarrierTypeItem": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "exchangeMatchLoadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeMatchLoadCarrierType": {
            "$ref": "#/components/schemas/ExchangeMatchLoadCarrierType"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchPartnerExchange": {
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeMatchId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeMatch": {
            "$ref": "#/components/schemas/ExchangeMatch"
          },
          "partnerExchangeId": {
            "type": "string",
            "format": "uuid"
          },
          "partnerExchange": {
            "$ref": "#/components/schemas/PartnerExchange"
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchPosition": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeMatchId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeMatch": {
            "$ref": "#/components/schemas/ExchangeMatch"
          },
          "exchangeMatchLoadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeMatchLoadCarrierType": {
            "$ref": "#/components/schemas/ExchangeMatchLoadCarrierType"
          },
          "ownerAcceptedCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ownerAcceptedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "partnerAcceptedCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "partnerAcceptedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ExchangeMatchPositionStatus"
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchPositionStatus": {
        "enum": [
          "Open",
          "AutoAccepted",
          "Accepted"
        ],
        "type": "string"
      },
      "ExchangeMatchStatus": {
        "enum": [
          "Open",
          "InDiscussion",
          "Accepted",
          "AutoAccepted",
          "Cleared"
        ],
        "type": "string"
      },
      "ExchangeMatchingRule": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "exchangeTenantLinkId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangeTenantLink": {
            "$ref": "#/components/schemas/ExchangeTenantLink"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "ownerFieldKey": {
            "type": "string",
            "nullable": true
          },
          "partnerFieldKey": {
            "type": "string",
            "nullable": true
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32"
          },
          "ownerStatus": {
            "$ref": "#/components/schemas/ExchangeMatchingRuleStatus"
          },
          "partnerStatus": {
            "$ref": "#/components/schemas/ExchangeMatchingRuleStatus"
          }
        },
        "additionalProperties": false
      },
      "ExchangeMatchingRuleStatus": {
        "enum": [
          "Pending",
          "Active",
          "Rejected"
        ],
        "type": "string"
      },
      "ExchangeOrigin": {
        "enum": [
          "Import",
          "App",
          "Manual",
          "Api",
          "Generated"
        ],
        "type": "string"
      },
      "ExchangePeriod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "closingDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isClosed": {
            "type": "boolean",
            "readOnly": true
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "company": {
            "$ref": "#/components/schemas/ActiveCompany"
          }
        },
        "additionalProperties": false
      },
      "ExchangePeriodClosingItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "exchangePeriodId": {
            "type": "string",
            "format": "uuid"
          },
          "clearingTransactionId": {
            "type": "string",
            "format": "uuid"
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "countDifferenceToPreviousPeriod": {
            "type": "integer",
            "format": "int32"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "exchangePeriod": {
            "$ref": "#/components/schemas/ExchangePeriod"
          },
          "clearingTransaction": {
            "$ref": "#/components/schemas/ClearingTransaction"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "ownerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "partnerCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "partnerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "partnerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "partnerAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "ownerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "ownerAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeRelation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "processLeadingLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "processLeadingLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "exchanges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransaction"
            },
            "nullable": true
          },
          "aiInvoices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AIInvoice"
            },
            "nullable": true
          },
          "voucher": {
            "$ref": "#/components/schemas/Voucher"
          }
        },
        "additionalProperties": false
      },
      "ExchangeScope": {
        "enum": [
          "BookInOut",
          "Internal",
          "External"
        ],
        "type": "string"
      },
      "ExchangeTenantLink": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenant"
          },
          "externalTenantId": {
            "type": "integer",
            "format": "int32"
          },
          "externalOwnerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "ownerStatus": {
            "$ref": "#/components/schemas/ExchangeAccountLinkStatus"
          },
          "partnerStatus": {
            "$ref": "#/components/schemas/ExchangeAccountLinkStatus"
          },
          "rules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatchingRule"
            },
            "nullable": true
          },
          "exchangeMatchLoadCarrierTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeMatchLoadCarrierType"
            },
            "nullable": true
          },
          "accountLinks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExchangeAccountLink"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExchangeType": {
        "enum": [
          "Default",
          "ForwardBalance",
          "Sale",
          "Clearing",
          "Fee",
          "NoChange",
          "NegativeVerification",
          "OpeningBalance",
          "GroupageReport",
          "PickupOrder",
          "OrderRelease",
          "Correction",
          "WriteOff",
          "AIReconciliationCorrection"
        ],
        "type": "string"
      },
      "Geometry": {
        "type": "object",
        "properties": {
          "factory": {
            "$ref": "#/components/schemas/GeometryFactory"
          },
          "userData": {
            "nullable": true
          },
          "srid": {
            "type": "integer",
            "format": "int32"
          },
          "geometryType": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "ogcGeometryType": {
            "$ref": "#/components/schemas/OgcGeometryType"
          },
          "precisionModel": {
            "$ref": "#/components/schemas/PrecisionModel"
          },
          "coordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "coordinates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Coordinate"
            },
            "nullable": true,
            "readOnly": true
          },
          "numPoints": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "numGeometries": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isSimple": {
            "type": "boolean",
            "readOnly": true
          },
          "isValid": {
            "type": "boolean",
            "readOnly": true
          },
          "isEmpty": {
            "type": "boolean",
            "readOnly": true
          },
          "area": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "length": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "centroid": {
            "$ref": "#/components/schemas/Point"
          },
          "interiorPoint": {
            "$ref": "#/components/schemas/Point"
          },
          "pointOnSurface": {
            "$ref": "#/components/schemas/Point"
          },
          "dimension": {
            "$ref": "#/components/schemas/Dimension"
          },
          "boundary": {
            "$ref": "#/components/schemas/Geometry"
          },
          "boundaryDimension": {
            "$ref": "#/components/schemas/Dimension"
          },
          "envelope": {
            "$ref": "#/components/schemas/Geometry"
          },
          "envelopeInternal": {
            "$ref": "#/components/schemas/Envelope"
          },
          "isRectangle": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "GeometryFactory": {
        "type": "object",
        "properties": {
          "precisionModel": {
            "$ref": "#/components/schemas/PrecisionModel"
          },
          "coordinateSequenceFactory": {
            "$ref": "#/components/schemas/CoordinateSequenceFactory"
          },
          "srid": {
            "type": "integer",
            "format": "int32"
          },
          "elevationModel": {
            "$ref": "#/components/schemas/ElevationModel"
          },
          "geometryServices": {
            "$ref": "#/components/schemas/NtsGeometryServices"
          }
        },
        "additionalProperties": false
      },
      "GeometryOverlay": {
        "type": "object",
        "additionalProperties": false
      },
      "GeometryRelate": {
        "type": "object",
        "additionalProperties": false
      },
      "GetLoadCarrierHistoryRequest": {
        "type": "object",
        "properties": {
          "palletCode": {
            "type": "string",
            "description": "Identifier of the load carrier.",
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "description": "(Optional) Enables pagination and sets the page size.",
            "format": "int32",
            "nullable": true
          },
          "pageNumber": {
            "type": "integer",
            "description": "(Optional) Just return this page of tracking events. PageSize must be set.",
            "format": "int32",
            "nullable": true
          },
          "eventTimeStart": {
            "type": "string",
            "description": "(Optional) Return only tracking events whose event time was at or after this DateTime.",
            "format": "date-time",
            "nullable": true
          },
          "eventTimeEnd": {
            "type": "string",
            "description": "(Optional) Return only tracking events whose event time was before this DateTime.",
            "format": "date-time",
            "nullable": true
          },
          "orderAscending": {
            "type": "boolean",
            "description": "(Optional) Sets ordering type to ascending."
          }
        },
        "additionalProperties": false
      },
      "GetLoadCarrierHistoryResponse": {
        "type": "object",
        "properties": {
          "trackingEventHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackingEvent"
            },
            "description": "Array of tracking events for a given (owned) load carrier. Tracking events will be ordered descending by EventTime by default.",
            "nullable": true
          },
          "totalEvents": {
            "type": "integer",
            "description": "Contains number of total events (could be used for pagination).s",
            "format": "int32"
          },
          "succeeded": {
            "type": "boolean",
            "description": "True, when the request was processed successfully.\r\nFalse, in any other case."
          },
          "error": {
            "type": "string",
            "description": "May contain an error message, when request couln't be processed successfully.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetLoadCarrierResponse": {
        "type": "object",
        "properties": {
          "loadCarrier": {
            "$ref": "#/components/schemas/LoadCarrier"
          },
          "succeeded": {
            "type": "boolean",
            "description": "True, when the request was processed successfully.\r\nFalse, in any other case."
          },
          "error": {
            "type": "string",
            "description": "May contain an error message, when request couln't be processed successfully.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetOwnLoadCarriersRequest": {
        "type": "object",
        "properties": {
          "createTimeStart": {
            "type": "string",
            "description": "Return only load carriers whose creation datetime was at or after this DateTime.",
            "format": "date-time",
            "nullable": true
          },
          "createTimeEnd": {
            "type": "string",
            "description": "Return only load carrier whose creation datetime was before this DateTime.",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetOwnLoadCarriersResponse": {
        "type": "object",
        "properties": {
          "loadCarriers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrier"
            },
            "description": "Array of owned load carriers.",
            "nullable": true
          },
          "succeeded": {
            "type": "boolean",
            "description": "True, when the request was processed successfully.\r\nFalse, in any other case."
          },
          "error": {
            "type": "string",
            "description": "May contain an error message, when request couln't be processed successfully.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetOwnTrackerRequest": {
        "type": "object",
        "properties": {
          "lastTransferStart": {
            "type": "string",
            "description": "Return only trackers whose last transfer was at or after this DateTime.",
            "format": "date-time",
            "nullable": true
          },
          "lastTransferEnd": {
            "type": "string",
            "description": "Return only trackers whose last transfer was before this DateTime.",
            "format": "date-time",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/Tracker.FeatureType"
          }
        },
        "additionalProperties": false
      },
      "GetOwnTrackerResponse": {
        "type": "object",
        "properties": {
          "trackers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tracker"
            },
            "description": "Array of owned trackers.",
            "nullable": true
          },
          "succeeded": {
            "type": "boolean",
            "description": "True, when the request was processed successfully.\r\nFalse, in any other case."
          },
          "error": {
            "type": "string",
            "description": "May contain an error message, when request couln't be processed successfully.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSerializationCodesResponse": {
        "type": "object",
        "properties": {
          "serializationCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Array of new serialization codes. Each code is intended to use for pallet production and remains inactive until production validation.",
            "nullable": true
          },
          "succeeded": {
            "type": "boolean",
            "description": "True, when the request was processed successfully.\r\nFalse, in any other case."
          },
          "error": {
            "type": "string",
            "description": "May contain an error message, when request couln't be processed successfully.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IdentityProviderConfiguration": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "company": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "providerType": {
            "$ref": "#/components/schemas/IdentityProviderType"
          },
          "providerTenantId": {
            "type": "string",
            "nullable": true
          },
          "defaultClaims": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IdentityProviderType": {
        "enum": [
          "None",
          "EntraId"
        ],
        "type": "string"
      },
      "InventoryArrival": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "inventoryReport": {
            "$ref": "#/components/schemas/InventoryReport"
          },
          "inventoryReportId": {
            "type": "string",
            "format": "uuid"
          },
          "loadingInfo": {
            "$ref": "#/components/schemas/LoadingInfo"
          },
          "inventoryArrivalLoads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InventoryArrivalLoad"
            },
            "nullable": true,
            "readOnly": true
          },
          "inventoryMatching": {
            "$ref": "#/components/schemas/InventoryMatching"
          }
        },
        "additionalProperties": false
      },
      "InventoryArrivalLoad": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "inventoryArrival": {
            "$ref": "#/components/schemas/InventoryArrival"
          },
          "inventoryArrivalId": {
            "type": "string",
            "format": "uuid"
          },
          "demandReportEntry": {
            "$ref": "#/components/schemas/InventoryReportEntry"
          },
          "demandReportEntryId": {
            "type": "string",
            "format": "uuid"
          },
          "loadingSpaceAmount": {
            "type": "integer",
            "format": "int32"
          },
          "demandAmount": {
            "type": "integer",
            "format": "int32"
          },
          "bottomLoadCarrierAmount": {
            "type": "integer",
            "format": "int32"
          },
          "information": {
            "maxLength": 500,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InventoryMatching": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "matchingDate": {
            "type": "string",
            "format": "date"
          },
          "inventoryMatchingBatch": {
            "$ref": "#/components/schemas/InventoryMatchingBatch"
          },
          "inventoryMatchingBatchId": {
            "type": "string",
            "format": "uuid"
          },
          "shipment": {
            "$ref": "#/components/schemas/InventoryShipment"
          },
          "shipmentId": {
            "type": "string",
            "format": "uuid"
          },
          "arrival": {
            "$ref": "#/components/schemas/InventoryArrival"
          },
          "arrivalId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "InventoryMatchingBatch": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "matchingDate": {
            "type": "string",
            "format": "date"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "sentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "matchings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InventoryMatching"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InventoryReport": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "reportingDate": {
            "type": "string",
            "format": "date"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "companyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "companyLocationId": {
            "type": "string",
            "format": "uuid"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "sentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "comment": {
            "maxLength": 500,
            "type": "string",
            "nullable": true
          },
          "loadingInfo": {
            "$ref": "#/components/schemas/LoadingInfo"
          },
          "entries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InventoryReportEntry"
            },
            "nullable": true
          },
          "shipments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InventoryShipment"
            },
            "nullable": true
          },
          "arrivals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InventoryArrival"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InventoryReportEntry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierQuality": {
            "type": "string",
            "nullable": true
          },
          "inventoryReport": {
            "$ref": "#/components/schemas/InventoryReport"
          },
          "inventoryReportId": {
            "type": "string",
            "format": "uuid"
          },
          "inventoryAmount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "surplusAmount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "demandAmount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "loadingSpaceAmount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "bottomLoadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "bottomLoadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "bottomLoadCarrierAmount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "shipmentLoads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InventoryShipmentLoad"
            },
            "nullable": true
          },
          "arrivalLoads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InventoryArrivalLoad"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InventoryShipment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "inventoryReport": {
            "$ref": "#/components/schemas/InventoryReport"
          },
          "inventoryReportId": {
            "type": "string",
            "format": "uuid"
          },
          "loadingInfo": {
            "$ref": "#/components/schemas/LoadingInfo"
          },
          "transporterInfo": {
            "$ref": "#/components/schemas/TransporterInfo"
          },
          "inventoryShipmentLoads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InventoryShipmentLoad"
            },
            "nullable": true,
            "readOnly": true
          },
          "inventoryMatching": {
            "$ref": "#/components/schemas/InventoryMatching"
          }
        },
        "additionalProperties": false
      },
      "InventoryShipmentLoad": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "inventoryShipment": {
            "$ref": "#/components/schemas/InventoryShipment"
          },
          "inventoryShipmentId": {
            "type": "string",
            "format": "uuid"
          },
          "surplusReportEntry": {
            "$ref": "#/components/schemas/InventoryReportEntry"
          },
          "surplusReportEntryId": {
            "type": "string",
            "format": "uuid"
          },
          "loadingSpaceAmount": {
            "type": "integer",
            "format": "int32"
          },
          "surplusAmount": {
            "type": "integer",
            "format": "int32"
          },
          "bottomLoadCarrierAmount": {
            "type": "integer",
            "format": "int32"
          },
          "information": {
            "maxLength": 500,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Invoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "cancelledDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "billingConfigurationId": {
            "type": "string",
            "format": "uuid"
          },
          "billingPeriodStart": {
            "type": "string",
            "format": "date"
          },
          "billingPeriodEnd": {
            "type": "string",
            "format": "date"
          },
          "identifier": {
            "maxLength": 30,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "creatorCompanyLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "recipientCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "recipientLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "currency": {
            "$ref": "#/components/schemas/InvoiceCurrency"
          },
          "status": {
            "$ref": "#/components/schemas/InvoiceStatus"
          },
          "statusDetails": {
            "maxLength": 250,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "externalReference": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "invoiceDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceDetail"
            },
            "nullable": true,
            "readOnly": true
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "creatorCompanyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "recipientCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "recipientLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "billingConfiguration": {
            "$ref": "#/components/schemas/BillingConfiguration"
          }
        },
        "additionalProperties": false
      },
      "InvoiceCurrency": {
        "enum": [
          "EUR",
          "USD",
          "CZK",
          "HUF",
          "DKK",
          "PLN",
          "NOK",
          "SEK",
          "CHF"
        ],
        "type": "string"
      },
      "InvoiceDetail": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "invoiceId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "pricePerUnit": {
            "type": "number",
            "format": "double"
          },
          "invoiceDetailExchangeTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceDetailExchangeTransaction"
            },
            "nullable": true
          },
          "invoiceDetailCancellationExchangeTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvoiceDetailCancellationExchangeTransaction"
            },
            "nullable": true
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "invoice": {
            "$ref": "#/components/schemas/Invoice"
          },
          "clearingTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransaction"
            },
            "nullable": true,
            "readOnly": true
          },
          "cancellationClearingTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransaction"
            },
            "nullable": true,
            "readOnly": true
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          }
        },
        "additionalProperties": false
      },
      "InvoiceDetailCancellationExchangeTransaction": {
        "type": "object",
        "properties": {
          "invoiceDetailId": {
            "type": "string",
            "format": "uuid"
          },
          "clearingTransactionId": {
            "type": "string",
            "format": "uuid"
          },
          "invoiceDetail": {
            "$ref": "#/components/schemas/InvoiceDetail"
          },
          "clearingTransaction": {
            "$ref": "#/components/schemas/ClearingTransaction"
          }
        },
        "additionalProperties": false
      },
      "InvoiceDetailExchangeTransaction": {
        "type": "object",
        "properties": {
          "invoiceDetailId": {
            "type": "string",
            "format": "uuid"
          },
          "clearingTransactionId": {
            "type": "string",
            "format": "uuid"
          },
          "invoiceDetail": {
            "$ref": "#/components/schemas/InvoiceDetail"
          },
          "clearingTransaction": {
            "$ref": "#/components/schemas/ClearingTransaction"
          }
        },
        "additionalProperties": false
      },
      "InvoiceStatus": {
        "enum": [
          "CreationPending",
          "Created",
          "CreationUnknownError",
          "CreationAborted",
          "CancellationPending",
          "Canceled",
          "CancellationUnknownError",
          "CancellationAborted"
        ],
        "type": "string"
      },
      "Label": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "maxLength": 25,
            "type": "string",
            "nullable": true
          },
          "description": {
            "maxLength": 200,
            "type": "string",
            "nullable": true
          },
          "group": {
            "maxLength": 25,
            "type": "string",
            "nullable": true
          },
          "color": {
            "maxLength": 7,
            "type": "string",
            "nullable": true
          },
          "icon": {
            "maxLength": 75,
            "type": "string",
            "nullable": true
          },
          "creatorId": {
            "type": "integer",
            "format": "int64"
          },
          "creator": {
            "$ref": "#/components/schemas/Company"
          },
          "companyRelationships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyRelationship"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Language": {
        "enum": [
          "DE",
          "EN",
          "FR",
          "ES",
          "DA",
          "SK",
          "PL",
          "CS",
          "HU",
          "IT"
        ],
        "type": "string"
      },
      "LinkGraiBrainRequest": {
        "required": [
          "brain",
          "grai"
        ],
        "type": "object",
        "properties": {
          "grai": {
            "minLength": 1,
            "type": "string",
            "description": "The GRAI of a load carrier."
          },
          "brain": {
            "minLength": 1,
            "type": "string",
            "description": "The BRAIN Id."
          }
        },
        "additionalProperties": false
      },
      "LinkGraiSsccRequest": {
        "required": [
          "grai",
          "sscc"
        ],
        "type": "object",
        "properties": {
          "grai": {
            "minLength": 1,
            "type": "string",
            "description": "The GRAI of a load carrier."
          },
          "sscc": {
            "minLength": 1,
            "type": "string",
            "description": "The SSCC (Serial Shipping Container Code)."
          },
          "eventTime": {
            "type": "string",
            "description": "(Optional) Time, when the scan event happened. Default value is the current server time. Format is ISO 8601 standard.        \r\nExample:\r\n    \"2020-02-03 08:50:54.499421Z\" (UTC)",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoadCarrier": {
        "type": "object",
        "properties": {
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "ownerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "owningPartnerId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "loadCarrierStatuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierStatus"
            },
            "nullable": true
          },
          "loadCarrierLoadCarrierStatus": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierLoadCarrierStatus"
            },
            "nullable": true
          },
          "trackingAccounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackingAccount"
            },
            "nullable": true
          },
          "currentTrackerId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "currentTracker": {
            "$ref": "#/components/schemas/Tracker"
          },
          "currentPartnerRelationship": {
            "$ref": "#/components/schemas/CompanyRelationship"
          },
          "currentPartnerRelationshipId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "currentPartnerCompanyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "currentPartnerCompanyLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "internalId": {
            "type": "string",
            "nullable": true
          },
          "sscc": {
            "type": "string",
            "nullable": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time"
          },
          "quality": {
            "type": "number",
            "format": "double"
          },
          "movements": {
            "type": "integer",
            "format": "int32"
          },
          "handlings": {
            "type": "integer",
            "format": "int32"
          },
          "currentTransaction": {
            "$ref": "#/components/schemas/Transaction"
          },
          "currentTransactionId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "loadCarrierCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierCustomField"
            },
            "nullable": true
          },
          "trackingEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackingEvent"
            },
            "nullable": true
          },
          "statusUpdatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "linkedAssets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Asset"
            },
            "nullable": true
          },
          "parentAsset": {
            "$ref": "#/components/schemas/Asset"
          },
          "parentAssetId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "LoadCarrierAutoStatusRule": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "timeSpanInDays": {
            "type": "integer",
            "format": "int32"
          },
          "removeOldStatuses": {
            "type": "boolean"
          },
          "newStatus": {
            "$ref": "#/components/schemas/LoadCarrierStatus"
          },
          "newStatusId": {
            "type": "integer",
            "format": "int64"
          },
          "autoStatusMode": {
            "$ref": "#/components/schemas/AutoStatusMode"
          }
        },
        "additionalProperties": false
      },
      "LoadCarrierCustomField": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "loadCarrierId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "customFieldType": {
            "$ref": "#/components/schemas/CustomFieldType"
          },
          "value": {
            "maxLength": 2000,
            "type": "string",
            "nullable": true
          },
          "loadCarrier": {
            "$ref": "#/components/schemas/LoadCarrier"
          }
        },
        "additionalProperties": false
      },
      "LoadCarrierFile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "fileNameGenerated": {
            "type": "string",
            "nullable": true
          },
          "fileNameOriginal": {
            "type": "string",
            "nullable": true
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoadCarrierLoadCarrierStatus": {
        "type": "object",
        "properties": {
          "loadCarrierStatusId": {
            "type": "integer",
            "format": "int64"
          },
          "loadCarrierId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierStatus": {
            "$ref": "#/components/schemas/LoadCarrierStatus"
          },
          "loadCarrier": {
            "$ref": "#/components/schemas/LoadCarrier"
          }
        },
        "additionalProperties": false
      },
      "LoadCarrierStatus": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "notificationPriority": {
            "$ref": "#/components/schemas/NotificationPriority"
          },
          "setOnLinkMode": {
            "$ref": "#/components/schemas/SetOnLinkMode"
          },
          "autoStatusRules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierAutoStatusRule"
            },
            "nullable": true
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "LoadCarrierType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "visibility": {
            "$ref": "#/components/schemas/LoadCarrierVisibility"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "creatorId": {
            "type": "integer",
            "format": "int64"
          },
          "reference": {
            "maxLength": 64,
            "type": "string",
            "nullable": true
          },
          "norm": {
            "type": "string",
            "nullable": true
          },
          "sortIndex": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "width": {
            "type": "integer",
            "format": "int32"
          },
          "height": {
            "type": "integer",
            "format": "int32"
          },
          "length": {
            "type": "integer",
            "format": "int32"
          },
          "weight": {
            "type": "number",
            "format": "float"
          },
          "price": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currency": {
            "$ref": "#/components/schemas/InvoiceCurrency"
          },
          "imageName": {
            "type": "string",
            "nullable": true
          },
          "icon": {
            "type": "string",
            "nullable": true
          },
          "hexColor": {
            "type": "string",
            "nullable": true
          },
          "additionalData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierFile"
            },
            "nullable": true
          },
          "statusList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierStatus"
            },
            "nullable": true
          },
          "isMultipleStatusAllowed": {
            "type": "boolean"
          },
          "supportedFeatures": {
            "$ref": "#/components/schemas/LoadCarrierTypeSupportedFeatures"
          },
          "trackingAccounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackingAccount"
            },
            "nullable": true
          },
          "priceHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierTypePrice"
            },
            "nullable": true
          },
          "materialCo2Status": {
            "$ref": "#/components/schemas/MaterialCo2Status"
          },
          "totalCo2Equivalent": {
            "type": "number",
            "format": "float"
          },
          "isFavorite": {
            "type": "boolean"
          },
          "qualities": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoadCarrierTypePrice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "price": {
            "type": "number",
            "format": "double"
          },
          "validFrom": {
            "type": "string",
            "format": "date-time"
          },
          "validTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "description": {
            "maxLength": 500,
            "type": "string",
            "nullable": true
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "LoadCarrierTypeSupportedFeatures": {
        "enum": [
          "None",
          "Tracking",
          "Exchange",
          "All"
        ],
        "type": "string"
      },
      "LoadCarrierVisibility": {
        "enum": [
          "Inactive",
          "Private",
          "Partners",
          "PartnersRestricted"
        ],
        "type": "string"
      },
      "LoadingInfo": {
        "type": "object",
        "properties": {
          "locationName": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "houseNumber": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "place": {
            "maxLength": 120,
            "type": "string",
            "nullable": true
          },
          "time": {
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "partnerId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "useAlternativeAddress": {
            "type": "boolean"
          },
          "fullAddress": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Location": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "latitude": {
            "type": "number",
            "format": "float"
          },
          "longitude": {
            "type": "number",
            "format": "float"
          },
          "cityName": {
            "type": "string",
            "nullable": true
          },
          "countryName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MaterialCo2Status": {
        "enum": [
          "Auto",
          "OwnValue",
          "Wood",
          "Plastic",
          "Metal"
        ],
        "type": "string"
      },
      "MultiBookingToDoFile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "originalFileName": {
            "type": "string",
            "nullable": true
          },
          "generatedFileName": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "contentType": {
            "type": "string",
            "nullable": true
          },
          "fileSize": {
            "type": "integer",
            "format": "int64"
          },
          "user": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "parsedInvoices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AIInvoice"
            },
            "nullable": true
          },
          "aiStatus": {
            "$ref": "#/components/schemas/AIStatus"
          },
          "owner": {
            "$ref": "#/components/schemas/ActiveCompany"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "isCompleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NotificationPriority": {
        "enum": [
          "NotSet",
          "Critical",
          "Warning",
          "Info",
          "Success"
        ],
        "type": "string"
      },
      "NtsGeometryServices": {
        "type": "object",
        "properties": {
          "geometryOverlay": {
            "$ref": "#/components/schemas/GeometryOverlay"
          },
          "geometryRelate": {
            "$ref": "#/components/schemas/GeometryRelate"
          },
          "coordinateEqualityComparer": {
            "$ref": "#/components/schemas/CoordinateEqualityComparer"
          },
          "defaultSRID": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "defaultCoordinateSequenceFactory": {
            "$ref": "#/components/schemas/CoordinateSequenceFactory"
          },
          "defaultPrecisionModel": {
            "$ref": "#/components/schemas/PrecisionModel"
          },
          "defaultElevationModel": {
            "$ref": "#/components/schemas/ElevationModel"
          }
        },
        "additionalProperties": false
      },
      "OgcGeometryType": {
        "enum": [
          "Point",
          "LineString",
          "Polygon",
          "MultiPoint",
          "MultiLineString",
          "MultiPolygon",
          "GeometryCollection",
          "CircularString",
          "CompoundCurve",
          "CurvePolygon",
          "MultiCurve",
          "MultiSurface",
          "Curve",
          "Surface",
          "PolyhedralSurface",
          "TIN"
        ],
        "type": "string"
      },
      "Ordinates": {
        "enum": [
          "None",
          "Spatial1",
          "Spatial2",
          "XY",
          "Spatial3",
          "XYZ",
          "Spatial4",
          "Spatial5",
          "Spatial6",
          "Spatial7",
          "Spatial8",
          "Spatial9",
          "Spatial10",
          "Spatial11",
          "Spatial12",
          "Spatial13",
          "Spatial14",
          "Spatial15",
          "Spatial16",
          "AllSpatialOrdinates",
          "Measure1",
          "XYM",
          "XYZM",
          "Measure2",
          "Measure3",
          "Measure4",
          "Measure5",
          "Measure6",
          "Measure7",
          "Measure8",
          "Measure9",
          "Measure10",
          "Measure11",
          "Measure12",
          "Measure13",
          "Measure14",
          "Measure15",
          "Measure16",
          "AllMeasureOrdinates",
          "AllOrdinates"
        ],
        "type": "string"
      },
      "PartnerExchange": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "exchangeAccountLinkId": {
            "type": "string",
            "format": "uuid"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "orderNumber": {
            "type": "string",
            "nullable": true
          },
          "exchangeDate": {
            "type": "string",
            "format": "date-time"
          },
          "clearingStatus": {
            "$ref": "#/components/schemas/ExchangeClearingStatus"
          },
          "origin": {
            "$ref": "#/components/schemas/ExchangeOrigin"
          },
          "partnerDisplayClearingStatus": {
            "$ref": "#/components/schemas/ExchangeDisplayClearingStatus"
          },
          "partnerExchangeItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PartnerExchangeItem"
            },
            "nullable": true
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PartnerExchangeFile"
            },
            "nullable": true
          },
          "customProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PartnerExchangeCustomProperty"
            },
            "nullable": true
          },
          "history": {
            "$ref": "#/components/schemas/PartnerExchangeHistory"
          }
        },
        "additionalProperties": false
      },
      "PartnerExchangeCustomProperty": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "partnerExchangeId": {
            "type": "string",
            "format": "uuid"
          },
          "partnerExchange": {
            "$ref": "#/components/schemas/PartnerExchange"
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "fieldType": {
            "$ref": "#/components/schemas/CustomPropertyFieldType"
          }
        },
        "additionalProperties": false
      },
      "PartnerExchangeFile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "partnerExchangeId": {
            "type": "string",
            "format": "uuid"
          },
          "partnerExchange": {
            "$ref": "#/components/schemas/PartnerExchange"
          },
          "generatedFileName": {
            "type": "string",
            "nullable": true
          },
          "originalFileName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PartnerExchangeHistory": {
        "type": "object",
        "properties": {
          "partnerExchangeId": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClearingTransactionEvent"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PartnerExchangeItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "integer",
            "format": "int32"
          },
          "partnerExchange": {
            "$ref": "#/components/schemas/PartnerExchange"
          },
          "partnerExchangeId": {
            "type": "string",
            "format": "uuid"
          },
          "clearingTransactionId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "loadCarrierTypeName": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32"
          },
          "exchangeType": {
            "$ref": "#/components/schemas/ExchangeType"
          }
        },
        "additionalProperties": false
      },
      "PermissionGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "maxLength": 50,
            "type": "string",
            "nullable": true
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "applicationUsers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ApplicationUser"
            },
            "nullable": true
          },
          "permissionGroupApplicationUsers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionGroupApplicationUser"
            },
            "nullable": true,
            "readOnly": true
          },
          "companyRelationships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompanyRelationship"
            },
            "nullable": true
          },
          "permissionGroupCompanyRelationships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionGroupCompanyRelationship"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PermissionGroupApplicationUser": {
        "type": "object",
        "properties": {
          "permissionGroupId": {
            "type": "string",
            "format": "uuid"
          },
          "applicationUserId": {
            "type": "string",
            "nullable": true
          },
          "permissionGroup": {
            "$ref": "#/components/schemas/PermissionGroup"
          },
          "applicationUser": {
            "$ref": "#/components/schemas/ApplicationUser"
          }
        },
        "additionalProperties": false
      },
      "PermissionGroupCompanyRelationship": {
        "type": "object",
        "properties": {
          "permissionGroupId": {
            "type": "string",
            "format": "uuid"
          },
          "companyRelationshipId": {
            "type": "string",
            "format": "uuid"
          },
          "permissionGroup": {
            "$ref": "#/components/schemas/PermissionGroup"
          },
          "companyRelationship": {
            "$ref": "#/components/schemas/CompanyRelationship"
          }
        },
        "additionalProperties": false
      },
      "Point": {
        "type": "object",
        "properties": {
          "coordinateSequence": {
            "$ref": "#/components/schemas/CoordinateSequence"
          },
          "coordinates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Coordinate"
            },
            "nullable": true
          },
          "numPoints": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isEmpty": {
            "type": "boolean",
            "readOnly": true
          },
          "dimension": {
            "$ref": "#/components/schemas/Dimension"
          },
          "boundaryDimension": {
            "$ref": "#/components/schemas/Dimension"
          },
          "x": {
            "type": "number",
            "format": "double"
          },
          "y": {
            "type": "number",
            "format": "double"
          },
          "coordinate": {
            "$ref": "#/components/schemas/Coordinate"
          },
          "geometryType": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "ogcGeometryType": {
            "$ref": "#/components/schemas/OgcGeometryType"
          },
          "boundary": {
            "$ref": "#/components/schemas/Geometry"
          },
          "z": {
            "type": "number",
            "format": "double"
          },
          "m": {
            "type": "number",
            "format": "double"
          },
          "factory": {
            "$ref": "#/components/schemas/GeometryFactory"
          },
          "userData": {
            "nullable": true
          },
          "srid": {
            "type": "integer",
            "format": "int32"
          },
          "precisionModel": {
            "$ref": "#/components/schemas/PrecisionModel"
          },
          "numGeometries": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isSimple": {
            "type": "boolean",
            "readOnly": true
          },
          "isValid": {
            "type": "boolean",
            "readOnly": true
          },
          "area": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "length": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "centroid": {
            "$ref": "#/components/schemas/Point"
          },
          "interiorPoint": {
            "$ref": "#/components/schemas/Point"
          },
          "pointOnSurface": {
            "$ref": "#/components/schemas/Point"
          },
          "envelope": {
            "$ref": "#/components/schemas/Geometry"
          },
          "envelopeInternal": {
            "$ref": "#/components/schemas/Envelope"
          },
          "isRectangle": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PrecisionModel": {
        "type": "object",
        "properties": {
          "isFloating": {
            "type": "boolean",
            "readOnly": true
          },
          "maximumSignificantDigits": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "scale": {
            "type": "number",
            "format": "double"
          },
          "gridSize": {
            "type": "number",
            "format": "double",
            "readOnly": true
          },
          "precisionModelType": {
            "$ref": "#/components/schemas/PrecisionModels"
          }
        },
        "additionalProperties": false
      },
      "PrecisionModels": {
        "enum": [
          "Floating",
          "FloatingSingle",
          "Fixed"
        ],
        "type": "string"
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "RentalListing": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "partners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RentalListingPartner"
            },
            "nullable": true,
            "readOnly": true
          },
          "isPartnerSpecific": {
            "type": "boolean",
            "readOnly": true
          },
          "rentalPeriod": {
            "$ref": "#/components/schemas/RentalPeriod"
          },
          "rentalDataSource": {
            "$ref": "#/components/schemas/RentalSourceType"
          },
          "periodsWithoutFee": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "feePerPeriod": {
            "type": "number",
            "format": "double"
          },
          "maximumFee": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "assignedLoadCarrierTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RentalListingLoadCarrierType"
            },
            "nullable": true,
            "readOnly": true
          },
          "company": {
            "$ref": "#/components/schemas/Company"
          },
          "partnerCompanies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Company"
            },
            "nullable": true,
            "readOnly": true
          },
          "loadCarrierTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierType"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "RentalListingLoadCarrierType": {
        "type": "object",
        "properties": {
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "rentalListingId": {
            "type": "integer",
            "format": "int64"
          },
          "rentalListing": {
            "$ref": "#/components/schemas/RentalListing"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          }
        },
        "additionalProperties": false
      },
      "RentalListingPartner": {
        "type": "object",
        "properties": {
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "rentalListingId": {
            "type": "integer",
            "format": "int64"
          },
          "company": {
            "$ref": "#/components/schemas/Company"
          },
          "rentalListing": {
            "$ref": "#/components/schemas/RentalListing"
          }
        },
        "additionalProperties": false
      },
      "RentalPeriod": {
        "enum": [
          "Daily",
          "Monthly"
        ],
        "type": "string"
      },
      "RentalSourceType": {
        "enum": [
          "Exchange",
          "Tracking"
        ],
        "type": "string"
      },
      "ReportPalletsRequest": {
        "required": [
          "palletCodes"
        ],
        "type": "object",
        "properties": {
          "palletCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Pallets, which should be marked as DAMAGED."
          }
        },
        "additionalProperties": false
      },
      "Restriction": {
        "enum": [
          "AmountAccounts",
          "AmountUsers",
          "AmountLoadCarrierTypes",
          "AmountLabel",
          "AmountLocations",
          "AmountClearingTransactions",
          "AmountLoadCarriersBooked"
        ],
        "type": "string"
      },
      "ResultCode": {
        "type": "object",
        "properties": {
          "succeeded": {
            "type": "boolean",
            "description": "True, when the request was processed successfully.\r\nFalse, in any other case."
          },
          "error": {
            "type": "string",
            "description": "May contain an error message, when request couln't be processed successfully.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScanEventRequest": {
        "required": [
          "location"
        ],
        "type": "object",
        "properties": {
          "deviceId": {
            "type": "string",
            "description": "The unique DeviceId. The Id must consist of the characters a-Z, 0-9, '-' and '_'. Moreover the allowed length is 5-30 characters. It is possible to transfer multiple IDs at once with '|' as a delimiter.\r\nExample: \"ID123|ID124|ID125\"",
            "nullable": true
          },
          "deviceIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The unique DeviceIds. Each Id must be a valid EPAL pallet code or consist of the characters a-Z, 0-9, '-' and '_' (allowed length is 5-30 characters).",
            "nullable": true
          },
          "location": {
            "minLength": 1,
            "type": "string",
            "description": "Contains the Location string, which is a concatenation of latitude and longitude with '|' as a separator.           \r\nExample: \r\n    \"48,88655|9,540714\""
          },
          "eventTime": {
            "type": "string",
            "description": "(Optional) Time, when the scan event happened. Default value is the current server time. Format is ISO 8601 standard.        \r\nExample:\r\n    \"2020-02-03 08:50:54.499421Z\" (UTC)",
            "format": "date-time",
            "nullable": true
          },
          "transactionNumber": {
            "type": "string",
            "description": "(Optional) TransactionNumber, when multiple pallets should be grouped and searchable by a TransactionNumber",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScanTransactionEventRequest": {
        "required": [
          "location",
          "transactionNumber"
        ],
        "type": "object",
        "properties": {
          "transactionNumber": {
            "minLength": 1,
            "type": "string",
            "description": "TransactionNumber, under which the Transaction should be findable"
          },
          "location": {
            "minLength": 1,
            "type": "string",
            "description": "Contains the Location string, which is a concatenation of latitude and longitude with '|' as a separator.           \r\nExample: \r\n    \"48,88655|9,540714\""
          },
          "eventTime": {
            "type": "string",
            "description": "(Optional) Time, when the scan event happened. Default value is the current server time. Format is ISO 8601 standard.        \r\nExample:\r\n    \"2020-02-03 08:50:54.499421Z\" (UTC)",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SelectionMode": {
        "enum": [
          "Inclusive",
          "Exclusive"
        ],
        "type": "string"
      },
      "SetOnLinkMode": {
        "enum": [
          "None",
          "SetOnLink",
          "SetOnUnlink"
        ],
        "type": "string"
      },
      "Signature": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "signedTime": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SmartphoneAppConfiguration": {
        "type": "object",
        "properties": {
          "settings": {
            "$ref": "#/components/schemas/SmartphoneAppSettings"
          },
          "featureConfigurationExchange": {
            "$ref": "#/components/schemas/AppFeatureConfigurationExchange"
          },
          "featureConfigurationTracking": {
            "$ref": "#/components/schemas/AppFeatureConfigurationTracking"
          },
          "accessToBookingMethods": {
            "$ref": "#/components/schemas/AppSendReceiveAccess"
          }
        },
        "additionalProperties": false
      },
      "SmartphoneAppSettings": {
        "type": "object",
        "properties": {
          "mandatorySetStatusOnTrackingEvent": {
            "type": "boolean"
          },
          "skipCommentAndAdditionalPropertiesForInternalTransactions": {
            "type": "boolean"
          },
          "mandatorySetReasonOrStatusOnExchange": {
            "type": "boolean"
          },
          "mandatoryImageForExchange": {
            "type": "boolean"
          },
          "mandatoryOwnSignature": {
            "type": "boolean"
          },
          "mandatoryDriverSignature": {
            "type": "boolean"
          },
          "mandatoryPartnerSignature": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Tenant": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "isDemoTenant": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TierKey": {
        "type": "object",
        "properties": {
          "tierKey1": {
            "type": "string",
            "nullable": true
          },
          "tierKey2": {
            "type": "string",
            "nullable": true
          },
          "tierKey3": {
            "type": "string",
            "nullable": true
          },
          "count": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "Tracker": {
        "type": "object",
        "properties": {
          "runningNumber": {
            "type": "integer",
            "format": "int32"
          },
          "trackerType": {
            "$ref": "#/components/schemas/Tracker.FeatureType"
          },
          "deviceId": {
            "maxLength": 100,
            "type": "string",
            "nullable": true
          },
          "batteryPercent": {
            "type": "integer",
            "format": "int32"
          },
          "shock": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "temperature": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "locationData": {
            "$ref": "#/components/schemas/Location"
          },
          "locationDataId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "companyArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "companyAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerRelationship": {
            "$ref": "#/components/schemas/CompanyRelationship"
          },
          "partnerRelationshipId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerCompanyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "partnerCompanyLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "createTime": {
            "type": "string",
            "format": "date-time"
          },
          "activationTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "locationSince": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastTransfer": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastMovement": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/LoadCarrierStatus"
          },
          "statusId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "ownerId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "activated": {
            "type": "boolean"
          },
          "currentLoadCarrier": {
            "$ref": "#/components/schemas/LoadCarrier"
          }
        },
        "additionalProperties": false
      },
      "Tracker.FeatureType": {
        "enum": [
          "Ident",
          "Beacon",
          "Tracker",
          "Sensor",
          "Logger",
          "SerializationLabel"
        ],
        "type": "string"
      },
      "TrackingAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "webLinkId": {
            "type": "string",
            "format": "uuid"
          },
          "relationship": {
            "$ref": "#/components/schemas/CompanyRelationship"
          },
          "sharedLoadCarriers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrier"
            },
            "nullable": true
          },
          "sharedLoadCarrierTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LoadCarrierType"
            },
            "nullable": true
          },
          "sharedLoadCarrierTypeCategories": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "showTrackerData": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TrackingEvent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "deviceId": {
            "type": "string",
            "nullable": true
          },
          "eventTime": {
            "type": "string",
            "format": "date-time"
          },
          "dataType": {
            "$ref": "#/components/schemas/DataType"
          },
          "data": {
            "type": "string",
            "nullable": true
          },
          "eventSource": {
            "$ref": "#/components/schemas/EventSource"
          },
          "companyArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "companyAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerRelationship": {
            "$ref": "#/components/schemas/CompanyRelationship"
          },
          "partnerRelationshipId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "partnerCompanyLocation": {
            "$ref": "#/components/schemas/CompanyLocation"
          },
          "partnerCompanyLocationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "loadCarrierId": {
            "type": "string",
            "format": "uuid"
          },
          "transaction": {
            "$ref": "#/components/schemas/Transaction"
          },
          "transactionId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "user": {
            "$ref": "#/components/schemas/ApplicationUser"
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "previousEventId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Transaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "transactionNumber": {
            "type": "string",
            "nullable": true
          },
          "requireProofOfDelivery": {
            "type": "boolean"
          },
          "isCanceled": {
            "type": "boolean"
          },
          "initialDate": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdate": {
            "type": "string",
            "format": "date-time"
          },
          "departureTime": {
            "type": "string",
            "format": "date-time"
          },
          "arrivalTime": {
            "type": "string",
            "format": "date-time"
          },
          "arrivalEventSent": {
            "type": "boolean"
          },
          "companyId": {
            "type": "integer",
            "format": "int64"
          },
          "receiverCompany": {
            "$ref": "#/components/schemas/Company"
          },
          "receiverCompanyId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "receiverCompanyArea": {
            "$ref": "#/components/schemas/CompanyArea"
          },
          "receiverCompanyAreaId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "receiverCompanyName": {
            "type": "string",
            "nullable": true
          },
          "receiverContactPerson": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "receiverEmail": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "receiverContactDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Transaction.TransactionContact"
            },
            "nullable": true
          },
          "receiverStreet": {
            "type": "string",
            "nullable": true
          },
          "receiverHouseNumber": {
            "type": "string",
            "nullable": true
          },
          "receiverZipCode": {
            "type": "string",
            "nullable": true
          },
          "receiverCity": {
            "type": "string",
            "nullable": true
          },
          "receiverCountryIso": {
            "type": "string",
            "nullable": true
          },
          "destinationCoordinates": {
            "$ref": "#/components/schemas/Coordinates"
          },
          "trackingEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrackingEvent"
            },
            "nullable": true
          },
          "transactionCountRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionCountRelation"
            },
            "nullable": true
          },
          "transactionLoadCarrierRelations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionLoadCarrierRelation"
            },
            "nullable": true
          },
          "totalAmount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/Transaction.TransactionStatus"
          }
        },
        "additionalProperties": false
      },
      "Transaction.TransactionContact": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "minLength": 1,
            "type": "string"
          },
          "contactPerson": {
            "type": "string",
            "nullable": true
          },
          "transactionId": {
            "type": "integer",
            "format": "int64"
          },
          "transaction": {
            "$ref": "#/components/schemas/Transaction"
          }
        },
        "additionalProperties": false
      },
      "Transaction.TransactionStatus": {
        "enum": [
          "Created",
          "InProgress",
          "ReadyForArrival",
          "Finished",
          "Canceled"
        ],
        "type": "string"
      },
      "TransactionCountRelation": {
        "type": "object",
        "properties": {
          "transactionCountRelationId": {
            "type": "integer",
            "format": "int64"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "loadCarrierType": {
            "$ref": "#/components/schemas/LoadCarrierType"
          },
          "loadCarrierTypeId": {
            "type": "string",
            "format": "uuid"
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "transaction": {
            "$ref": "#/components/schemas/Transaction"
          },
          "transactionId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "TransactionLoadCarrierRelation": {
        "type": "object",
        "properties": {
          "transactionLoadCarrierRelationId": {
            "type": "integer",
            "format": "int64"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "loadCarrier": {
            "$ref": "#/components/schemas/LoadCarrier"
          },
          "loadCarrierId": {
            "type": "string",
            "format": "uuid"
          },
          "transaction": {
            "$ref": "#/components/schemas/Transaction"
          },
          "transactionId": {
            "type": "integer",
            "format": "int64"
          },
          "proofOfDeliveryReceived": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "TransactionPropertyDefinitionFeatureAssignment": {
        "enum": [
          "None",
          "ExchangeTransactions",
          "Orders",
          "Tracking"
        ],
        "type": "string"
      },
      "TransactionPropertyDefinitionRequired": {
        "enum": [
          "NotRequired",
          "RequiredInWeb",
          "RequiredInApp",
          "RequiredExternal",
          "RequiredInternal"
        ],
        "type": "string"
      },
      "TransactionPropertyVisibility": {
        "enum": [
          "Invisible",
          "OnlyForInitiator",
          "Visible",
          "Protected"
        ],
        "type": "string"
      },
      "TransporterInfo": {
        "type": "object",
        "properties": {
          "shipper": {
            "type": "string",
            "nullable": true
          },
          "licensePlate": {
            "type": "string",
            "nullable": true
          },
          "information": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UnlinkGraiOrSsccRequest": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "minLength": 1,
            "type": "string",
            "description": "The GRAI or SSCC."
          },
          "eventTime": {
            "type": "string",
            "description": "(Optional) Time, when the scan event happened. Default value is the current server time. Format is ISO 8601 standard.        \r\nExample:\r\n    \"2020-02-03 08:50:54.499421Z\" (UTC)",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UsageLimit": {
        "type": "object",
        "properties": {
          "restriction": {
            "$ref": "#/components/schemas/Restriction"
          },
          "limit": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "usageLimitType": {
            "$ref": "#/components/schemas/UsageLimitType"
          }
        },
        "additionalProperties": false
      },
      "UsageLimitType": {
        "enum": [
          "None",
          "Monthly",
          "Yearly"
        ],
        "type": "string"
      },
      "Voucher": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "ownerId": {
            "type": "integer",
            "format": "int64"
          },
          "issueDate": {
            "type": "string",
            "format": "date-time"
          },
          "redemptionDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "redemptionNote": {
            "type": "string",
            "nullable": true
          },
          "exchangeRelationId": {
            "type": "string",
            "format": "uuid"
          },
          "owner": {
            "$ref": "#/components/schemas/Company"
          },
          "exchangeRelation": {
            "$ref": "#/components/schemas/ExchangeRelation"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "description": "Bearer Authorization header.",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearer": [ ]
    }
  ]
}