{
  "openapi": "3.0.4",
  "info": {
    "title": "UKCustoms.Web.Api",
    "version": "1.0"
  },
  "paths": {
    "/v1/contacts/{contactId}/addresses": {
      "post": {
        "tags": [
          "Addresses"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.CreateAddressDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "401": {
            "description": "Unauthorized"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "get": {
        "tags": [
          "Addresses"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UKCustoms.Api.Models.Addresses.AddressDTO"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/contacts/{contactId}/addresses/{addressId}": {
      "get": {
        "tags": [
          "Addresses"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UKCustoms.Api.Models.Addresses.AddressDTO"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/contacts/{contactId}/addresses/{id}": {
      "delete": {
        "tags": [
          "Addresses"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "put": {
        "tags": [
          "Addresses"
        ],
        "parameters": [
          {
            "name": "contactId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.Addresses.UpdateAddressDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/aes/declarations": {
      "post": {
        "tags": [
          "AES"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.CreateAESDeclaration"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/air-imports/consignments/{awb}": {
      "get": {
        "tags": [
          "Air Imports"
        ],
        "parameters": [
          {
            "name": "awb",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hawb",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "split",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.AirImports.Consignments.SearchAirConsignmentsQueryDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/ais/declarations": {
      "post": {
        "tags": [
          "AIS"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.CreateAISDeclaration"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/cds/exports/{identifier}": {
      "get": {
        "tags": [
          "CDS Exports"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.CDS.Exports.CDSExportDeclarationDetailsByCorrelationIdQueryDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/cds/exports": {
      "get": {
        "tags": [
          "CDS Exports"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ReferenceNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DeclarationType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "MRN",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LRN",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExporterName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExporterEORI",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ImporterName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ImporterEORI",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Badge",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GoodsLocation",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "BorderTransportId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DUCR",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "MCR",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "TeamId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ListExportsResponseDTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "post": {
        "tags": [
          "CDS Exports"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateCDSExport"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateCDSExportResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/cds/exports/{identifier}/submit": {
      "post": {
        "tags": [
          "CDS Exports"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/cds/exports/{id}": {
      "put": {
        "tags": [
          "CDS Exports"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.UpdateCDSExport"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateCDSExportResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/cds/imports": {
      "get": {
        "tags": [
          "CDS Imports"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ReferenceNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DeclarationType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "MRN",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LRN",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExporterName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ExporterEORI",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ImporterName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ImporterEORI",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Badge",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "GoodsLocation",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ArrivalTransportId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "MCR",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AWB",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "HAWB",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SplitReference",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "TeamId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Skip",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Take",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ListImportsResponseDTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "post": {
        "tags": [
          "CDS Imports"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateCDSImport"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateCDSImportResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/cds/imports/{identifier}": {
      "get": {
        "tags": [
          "CDS Imports"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.CDS.Imports.CDSImportDeclarationDetailsByCorrelationIdQueryDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "put": {
        "tags": [
          "CDS Imports"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateCDSImport"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/cds/imports/{identifier}/submit": {
      "post": {
        "tags": [
          "CDS Imports"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/cds/imports/{identifier}/pdf": {
      "get": {
        "tags": [
          "CDS Imports"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/cds/imports/{mrn}/tax": {
      "get": {
        "tags": [
          "CDS Imports"
        ],
        "parameters": [
          {
            "name": "mrn",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.CDS.Imports.GetImportTaxSummaryQueryDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/contacts": {
      "post": {
        "tags": [
          "Contacts"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.CreateContactDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created"
          },
          "401": {
            "description": "Unauthorized"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "get": {
        "tags": [
          "Contacts"
        ],
        "parameters": [
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.ContactDTO"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/contacts/upsert": {
      "post": {
        "tags": [
          "Contacts"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.CreateContactDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/contacts/{id}": {
      "get": {
        "tags": [
          "Contacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.ContactDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "delete": {
        "tags": [
          "Contacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.ContactDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "put": {
        "tags": [
          "Contacts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.UpdateContactDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.ContactDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/elo": {
      "post": {
        "tags": [
          "ELO"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.ELO.CreateELODeclarationDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/elo/{correlationId}": {
      "get": {
        "tags": [
          "ELO"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.ELO.GetELODeclarationQueryDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/elo/{correlationId}/pdf": {
      "get": {
        "tags": [
          "ELO"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ens/declarations": {
      "post": {
        "tags": [
          "ENS"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.CreateENSDeclarationDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateCDSExportResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateCDSExportResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/ens/declarations/{correlationId}": {
      "get": {
        "tags": [
          "ENS"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.ENS.ENSDeclarationDetailsByCorrelationIdQueryDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/gvms": {
      "post": {
        "tags": [
          "GVMS"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.CreateGVMSDeclaration"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/gvms/{correlationId}": {
      "get": {
        "tags": [
          "GVMS"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.GVMS.GetGVMSDetailsQueryDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "put": {
        "tags": [
          "GVMS"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.UpdateGVMSDeclaration"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "patch": {
        "tags": [
          "GVMS"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.PatchGVMSDeclaration"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/gvms/{gmrId}/pdf": {
      "get": {
        "tags": [
          "GVMS"
        ],
        "parameters": [
          {
            "name": "gmrId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ics2/declarations": {
      "post": {
        "tags": [
          "ICS2"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.CreateICS2Declaration"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ics2/declarations/{correlationId}/clone": {
      "post": {
        "tags": [
          "ICS2"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.CloneICS2Declaration"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ics2/declarations/{correlationId}/cancel": {
      "post": {
        "tags": [
          "ICS2"
        ],
        "parameters": [
          {
            "name": "correlationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ncts/v5/departures": {
      "post": {
        "tags": [
          "NCTS v5"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.NCTS.v5.Departures.CreateDepartureCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ncts/v5/departures/{id}/{mrn}/tad": {
      "get": {
        "tags": [
          "NCTS v5"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "mrn",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ncts/v5/departures/{id}/tad": {
      "get": {
        "tags": [
          "NCTS v5"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ping": {
      "get": {
        "tags": [
          "Ping"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "post": {
        "tags": [
          "Ping"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/ping-auth": {
      "get": {
        "tags": [
          "Ping"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "post": {
        "tags": [
          "Ping"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "string"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/products": {
      "get": {
        "tags": [
          "Products"
        ],
        "parameters": [
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.ProductDTO"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "post": {
        "tags": [
          "Products"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.CreateProductDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/products/{identifier}": {
      "get": {
        "tags": [
          "Products"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.ProductDetailsDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    },
    "/v1/products/{id}": {
      "put": {
        "tags": [
          "Products"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.UpdateProductDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "post": {
        "tags": [
          "Products"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.UpdateProductDTO"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "delete": {
        "tags": [
          "Products"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/status": {
      "get": {
        "tags": [
          "Status"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/incidents": {
      "get": {
        "tags": [
          "Status"
        ],
        "parameters": [
          {
            "name": "showResolved",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/incidents/{id}": {
      "get": {
        "tags": [
          "Status"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/standing-data/vehicles": {
      "get": {
        "tags": [
          "Vehicles"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.Vehicles.ListVehiclesQueryDTO"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "post": {
        "tags": [
          "Vehicles"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.Vehicles.CreateVehicleCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/standing-data/vehicles/{id}": {
      "get": {
        "tags": [
          "Vehicles"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.Vehicles.VehicleDetailsQueryDTO"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      },
      "put": {
        "tags": [
          "Vehicles"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.Vehicles.UpdateVehicleCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/warehouse/transactions": {
      "post": {
        "tags": [
          "Warehouse"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UKCustoms.Web.Shared.DTOs.CDS.CreateWarehouseTransactionCommand"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "description": "Accepted"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "429": {
            "description": "Too Many Requests"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Sitpro.HMRC.GVMS.AtaDeclaration": {
        "required": [
          "ataCarnetId"
        ],
        "type": "object",
        "properties": {
          "ataCarnetId": {
            "pattern": "^.{1,200}$",
            "type": "string"
          },
          "sAndSMasterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string",
            "nullable": true
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.CustomsDeclaration": {
        "required": [
          "customsDeclarationId"
        ],
        "type": "object",
        "properties": {
          "customsDeclarationId": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string"
          },
          "customsDeclarationPartId": {
            "pattern": "^[0-9]{1,3}[A-Z]?$",
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string",
            "nullable": true
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.DbcDeclaration": {
        "type": "object",
        "properties": {
          "isOwnVehicle": {
            "type": "boolean"
          },
          "dbcGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.DbcGood"
            },
            "nullable": true
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.DbcGood": {
        "required": [
          "sAndSMasterRefNum"
        ],
        "type": "object",
        "properties": {
          "sAndSMasterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.Direction": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "Sitpro.HMRC.GVMS.EidrDeclaration": {
        "required": [
          "traderEORI"
        ],
        "type": "object",
        "properties": {
          "traderEORI": {
            "pattern": "^[A-Z]{2}[0-9]{12,15}$",
            "type": "string"
          },
          "sAndSMasterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string",
            "nullable": true
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.EmptyVehicle": {
        "type": "object",
        "properties": {
          "isOwnVehicle": {
            "type": "boolean"
          },
          "sAndSMasterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string",
            "nullable": true
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.ExemptedGood": {
        "required": [
          "sAndSMasterRefNum"
        ],
        "type": "object",
        "properties": {
          "sAndSMasterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.ExemptionDeclaration": {
        "type": "object",
        "properties": {
          "exemptedGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.ExemptedGood"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.HaulierType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "Sitpro.HMRC.GVMS.IndirectExportDeclaration": {
        "required": [
          "eadMasterRefNum"
        ],
        "type": "object",
        "properties": {
          "eadMasterRefNum": {
            "pattern": "^\\d{2}[A-Z]{2}[A-Z0-9]{14}$",
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.PlannedCrossing": {
        "required": [
          "routeId"
        ],
        "type": "object",
        "properties": {
          "routeId": {
            "pattern": "^[A-Z0-9-]{1,200}$",
            "type": "string"
          },
          "localDateTimeOfDeparture": {
            "pattern": "^\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d$",
            "type": "string",
            "nullable": true
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.PostGMRSchema": {
        "type": "object",
        "properties": {
          "direction": {
            "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.Direction"
          },
          "haulierType": {
            "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.HaulierType"
          },
          "isUnaccompanied": {
            "type": "boolean"
          },
          "vehicleRegNum": {
            "pattern": "^[A-Z0-9-](?:[A-Z0-9 -]{1,30})?$",
            "type": "string",
            "nullable": true
          },
          "trailerRegistrationNums": {
            "maxItems": 2,
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "containerReferenceNums": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "plannedCrossing": {
            "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.PlannedCrossing"
          },
          "sAndSMasterRefNums": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.SAndSMasterRefNum"
            },
            "nullable": true
          },
          "customsDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.CustomsDeclaration"
            },
            "nullable": true
          },
          "transitDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.TransitDeclaration"
            },
            "nullable": true
          },
          "tirDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.TirDeclaration"
            },
            "nullable": true
          },
          "ataDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.AtaDeclaration"
            },
            "nullable": true
          },
          "eidrDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.EidrDeclaration"
            },
            "nullable": true
          },
          "indirectExportDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.IndirectExportDeclaration"
            },
            "nullable": true
          },
          "emptyVehicle": {
            "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.EmptyVehicle"
          },
          "dbcDeclaration": {
            "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.DbcDeclaration"
          },
          "exemptionDeclaration": {
            "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.ExemptionDeclaration"
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.SAndSMasterRefNum": {
        "type": "object",
        "properties": {
          "masterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.TirDeclaration": {
        "required": [
          "tirCarnetId"
        ],
        "type": "object",
        "properties": {
          "tirCarnetId": {
            "pattern": "^.{1,200}$",
            "type": "string"
          },
          "sAndSMasterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string",
            "nullable": true
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Sitpro.HMRC.GVMS.TransitDeclaration": {
        "required": [
          "transitDeclarationId"
        ],
        "type": "object",
        "properties": {
          "transitDeclarationId": {
            "pattern": "^\\d{2}[A-Z]{2}[A-Z0-9]{14}$",
            "type": "string"
          },
          "isTSAD": {
            "type": "boolean"
          },
          "sAndSMasterRefNum": {
            "pattern": "^[A-Z0-9-)(/]{1,200}$",
            "type": "string",
            "nullable": true
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": { },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "System.ValueTuple`2[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.DateTime, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": {
        "type": "object",
        "additionalProperties": false
      },
      "System.ValueTuple`3[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": {
        "type": "object",
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.AdditionalInformationDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.AdditionalReferenceDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.AddressDTO": {
        "type": "object",
        "properties": {
          "streetNameAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.AuthorisationDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "holder": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.ConsigneeDTO": {
        "type": "object",
        "properties": {
          "streetNameAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.ConsignorDTO": {
        "type": "object",
        "properties": {
          "streetNameAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.ContactPersonDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.ContainerDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "seals": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.CreateAESDeclaration": {
        "type": "object",
        "properties": {
          "sandbox": {
            "type": "boolean"
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "linkedDeclarationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "externalSystemLink": {
            "type": "string",
            "nullable": true
          },
          "representativeStatusCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "jobReference": {
            "type": "string",
            "nullable": true
          },
          "messageType": {
            "type": "string",
            "nullable": true
          },
          "declarationType": {
            "type": "string",
            "nullable": true
          },
          "additionalDeclarationType": {
            "type": "string",
            "nullable": true
          },
          "presentationOfGoodsDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "specificCircumstance": {
            "type": "string",
            "nullable": true
          },
          "security": {
            "type": "boolean"
          },
          "totalInvoiceAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "invoiceCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "authorisationHolders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.AuthorisationDTO"
            },
            "nullable": true
          },
          "customsOfficeOfPresentation": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeOfExport": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeOfExit": {
            "type": "string",
            "nullable": true
          },
          "exporter": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ExporterDTO"
          },
          "declarant": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.DeclarantDTO"
          },
          "representative": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.RepresentativeDTO"
          },
          "internalCurrencyUnit": {
            "type": "string",
            "nullable": true
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "deferredPayment": {
            "type": "string",
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          },
          "countryOfExport": {
            "type": "string",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "additionalSupplyChainActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.SupplyChainActorDTO"
            },
            "nullable": true
          },
          "deliveryTerms": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.DeliveryTermsDTO"
          },
          "warehouseType": {
            "type": "string",
            "nullable": true
          },
          "warehouseId": {
            "type": "string",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.PreviousDocumentDTO"
            },
            "nullable": true
          },
          "supportingDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.SupportingDocumentDTO"
            },
            "nullable": true
          },
          "additionalReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.AdditionalReferenceDTO"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.AdditionalInformationDTO"
            },
            "nullable": true
          },
          "inlandModeOfTransport": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "modeOfTransportAtTheBorder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "referenceNumberUCR": {
            "type": "string",
            "nullable": true
          },
          "carrierIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "consignor": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ConsignorDTO"
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ConsigneeDTO"
          },
          "containers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ContainerDTO"
            },
            "nullable": true
          },
          "goodsLocation": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.GoodsLocationDTO"
          },
          "departureTransportMeans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.TransportMeansDTO"
            },
            "nullable": true
          },
          "countriesOfRouting": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "activeBorderTransportMeans": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.TransportMeansDTO"
          },
          "transportDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.TransportDocumentDTO"
            },
            "nullable": true
          },
          "transportChargesMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ItemDTO"
            },
            "nullable": true
          },
          "estimatedDepartureDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "invoiceNumber": {
            "type": "string",
            "nullable": true
          },
          "mawb": {
            "type": "string",
            "nullable": true
          },
          "boL": {
            "type": "string",
            "nullable": true
          },
          "roadConsignmentNote": {
            "type": "string",
            "nullable": true
          },
          "mBoL": {
            "type": "string",
            "nullable": true
          },
          "airManifestT1": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.DeclarantDTO": {
        "type": "object",
        "properties": {
          "streetNameAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.DeliveryTermsDTO": {
        "type": "object",
        "properties": {
          "incoterms": {
            "type": "string",
            "nullable": true
          },
          "unlocode": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.EconomicOperatorDTO": {
        "type": "object",
        "properties": {
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.AddressDTO"
          },
          "postcodeAddress": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.PostcodeAddressDTO"
          },
          "contactPerson": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ContactPersonDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.ExporterDTO": {
        "type": "object",
        "properties": {
          "streetNameAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.GoodsLocationDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "qualifier": {
            "type": "string",
            "nullable": true
          },
          "authorisationNumber": {
            "type": "string",
            "nullable": true
          },
          "additionalIdentifier": {
            "type": "string",
            "nullable": true
          },
          "unlocode": {
            "type": "string",
            "nullable": true
          },
          "customsOffice": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          },
          "economicOperator": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.EconomicOperatorDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.ItemDTO": {
        "type": "object",
        "properties": {
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "valueCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "statisticalValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          },
          "countryOfExport": {
            "type": "string",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "referenceNumberUCR": {
            "type": "string",
            "nullable": true
          },
          "authorisation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.AuthorisationDTO"
            },
            "nullable": true
          },
          "requestedProcedure": {
            "type": "string",
            "nullable": true
          },
          "previousProcedure": {
            "type": "string",
            "nullable": true
          },
          "additionalProcedures": {
            "type": "string",
            "nullable": true
          },
          "consignor": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ConsignorDTO"
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ConsigneeDTO"
          },
          "additionalSupplyChainActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.SupplyChainActorDTO"
            },
            "nullable": true
          },
          "countryOfOrigin": {
            "type": "string",
            "nullable": true
          },
          "regionOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "descriptionOfGoods": {
            "type": "string",
            "nullable": true
          },
          "cusCode": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "taricAdditionalCodes": {
            "type": "string",
            "nullable": true
          },
          "nationalAdditionalCodes": {
            "type": "string",
            "nullable": true
          },
          "unDangerousGoodsCode": {
            "type": "string",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "netMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "supplementaryUnits": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.PackageDTO"
            },
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ItemPreviousDocumentDTO"
            },
            "nullable": true
          },
          "supportingDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.ItemSupportingDocumentDTO"
            },
            "nullable": true
          },
          "transportDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.TransportDocumentDTO"
            },
            "nullable": true
          },
          "additionalReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.AdditionalReferenceDTO"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AES.AdditionalInformationDTO"
            },
            "nullable": true
          },
          "transportChargesMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.ItemPreviousDocumentDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "goodsItemNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "typeOfPackages": {
            "type": "string",
            "nullable": true
          },
          "numberOfPackages": {
            "type": "string",
            "nullable": true
          },
          "measurementUnitAndQualifier": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.ItemSupportingDocumentDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "documentLineItemNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "issuingAuthorityName": {
            "type": "string",
            "nullable": true
          },
          "validityDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "measurementUnitAndQualifier": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.PackageDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingMarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.PostcodeAddressDTO": {
        "type": "object",
        "properties": {
          "houseNumber": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.PreviousDocumentDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.RepresentativeDTO": {
        "type": "object",
        "properties": {
          "streetNameAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.SupplyChainActorDTO": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "incoterms": {
            "type": "string",
            "nullable": true
          },
          "unlocode": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.SupportingDocumentDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "documentLineItemNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "issuingAuthorityName": {
            "type": "string",
            "nullable": true
          },
          "validityDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.TransportDocumentDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AES.TransportMeansDTO": {
        "type": "object",
        "properties": {
          "typeOfIdentification": {
            "type": "string",
            "nullable": true
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.AdditionAndDeductionDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.AdditionalFiscalReferenceDTO": {
        "type": "object",
        "properties": {
          "roleCode": {
            "type": "string",
            "nullable": true
          },
          "vatNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.AdditionalInformationDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.AdditionalSupplyChainActorDTO": {
        "type": "object",
        "properties": {
          "roleCode": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.AddressDTO": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.AuthorisationHolderDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.BuyerDTO": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.CreateAISDeclaration": {
        "type": "object",
        "properties": {
          "sandbox": {
            "type": "boolean"
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "linkedDeclarationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "externalSystemLink": {
            "type": "string",
            "nullable": true
          },
          "messageType": {
            "type": "string",
            "nullable": true
          },
          "declarationType": {
            "type": "string",
            "nullable": true
          },
          "additionalDeclarationType": {
            "type": "string",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.PreviousDocumentDTO"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AdditionalInformationDTO"
            },
            "nullable": true
          },
          "documentsProduced": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.DocumentProducedDTO"
            },
            "nullable": true
          },
          "ucr": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "deferredPayment": {
            "type": "string",
            "nullable": true
          },
          "warehouseType": {
            "type": "string",
            "nullable": true
          },
          "warehouseId": {
            "type": "string",
            "nullable": true
          },
          "exporter": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.ExporterDTO"
          },
          "importer": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.ImporterDTO"
          },
          "declarant": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.DeclarantDTO"
          },
          "representative": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.RepresntativeDTO"
          },
          "seller": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.SellerDTO"
          },
          "buyer": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.BuyerDTO"
          },
          "additionalSupplyChainActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AdditionalSupplyChainActorDTO"
            },
            "nullable": true
          },
          "personProvidingGuarantee": {
            "type": "string",
            "nullable": true
          },
          "personPayingCustomsDuty": {
            "type": "string",
            "nullable": true
          },
          "deliveryTerms": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.DeliveryTermsDTO"
          },
          "additionsAndDeductions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AdditionAndDeductionDTO"
            },
            "nullable": true
          },
          "invoiceCurrency": {
            "type": "string",
            "nullable": true
          },
          "invoiceAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "internalCurrency": {
            "type": "string",
            "nullable": true
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "transportCostsCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "transportCostsAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "regionOfDestination": {
            "type": "string",
            "nullable": true
          },
          "countryOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.LocationOfGoodsDTO"
          },
          "dateOfAcceptance": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalPackageNumber": {
            "type": "string",
            "nullable": true
          },
          "containerised": {
            "type": "boolean"
          },
          "borderTransportMode": {
            "type": "string",
            "nullable": true
          },
          "inlandModeOfTransport": {
            "type": "string",
            "nullable": true
          },
          "meansOfTransportOnArrivalType": {
            "type": "string",
            "nullable": true
          },
          "meansOfTransportOnArrivalIdentity": {
            "type": "string",
            "nullable": true
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "activeBorderTransportMeansNationality": {
            "type": "string",
            "nullable": true
          },
          "presentationCustomsOffice": {
            "type": "string",
            "nullable": true
          },
          "supervisingCustomsOffice": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeLodgement": {
            "type": "string",
            "nullable": true
          },
          "authorisationHolders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AuthorisationHolderDTO"
            },
            "nullable": true
          },
          "guarantees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.GuaranteeDTO"
            },
            "nullable": true
          },
          "preferredPaymentMethod": {
            "type": "string",
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          },
          "calculationOfTheAmountOfTheImportDuty": {
            "type": "boolean"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.GoodsItemDTO"
            },
            "nullable": true
          },
          "pvA_1A05": {
            "type": "boolean"
          },
          "estimatedDateTimeOfArrival_1D24": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "roRoShipIMO_1D94": {
            "type": "string",
            "nullable": true
          },
          "roRoUnaccompaniedTrailerReg_1D95": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.DeclarantDTO": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.DeliveryTermsDTO": {
        "type": "object",
        "properties": {
          "incoterms": {
            "type": "string",
            "nullable": true
          },
          "unlocode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.DocumentProducedDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.ExporterDTO": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.GoodsItemDTO": {
        "type": "object",
        "properties": {
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "taricAdditionalCodes": {
            "type": "string",
            "nullable": true
          },
          "nationalAdditionalCodes": {
            "type": "string",
            "nullable": true
          },
          "requestedProcedure": {
            "type": "string",
            "nullable": true
          },
          "previousProcedure": {
            "type": "string",
            "nullable": true
          },
          "additionalProcedures": {
            "type": "string",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.ItemPreviousDocumentDTO"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AdditionalInformationDTO"
            },
            "nullable": true
          },
          "documentsProduced": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.ItemDocumentProducedDTO"
            },
            "nullable": true
          },
          "ucr": {
            "type": "string",
            "nullable": true
          },
          "exporter": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.ExporterDTO"
          },
          "seller": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.SellerDTO"
          },
          "buyer": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.BuyerDTO"
          },
          "additionalSupplyChainActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AdditionalSupplyChainActorDTO"
            },
            "nullable": true
          },
          "additionalFiscalReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AdditionalFiscalReferenceDTO"
            },
            "nullable": true
          },
          "taxCalculations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.TaxCalculationDTO"
            },
            "nullable": true
          },
          "totalTaxAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "additionsAndDeductions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AdditionAndDeductionDTO"
            },
            "nullable": true
          },
          "valuationIndicators": {
            "type": "string",
            "nullable": true
          },
          "itemPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "valuationMethod": {
            "type": "string",
            "nullable": true
          },
          "preference": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "valueCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "regionOfDestination": {
            "type": "string",
            "nullable": true
          },
          "countryOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "countryOfOrigin": {
            "type": "string",
            "nullable": true
          },
          "countryOfPreferentialOrigin": {
            "type": "string",
            "nullable": true
          },
          "dateOfAcceptance": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "netMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "supplementaryUnits": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "descriptionOfGoods": {
            "type": "string",
            "nullable": true
          },
          "packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.PackageDTO"
            },
            "nullable": true
          },
          "cusCode": {
            "type": "string",
            "nullable": true
          },
          "typeOfGoods": {
            "type": "string",
            "nullable": true
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "quota": {
            "type": "string",
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          },
          "statisticalValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.GuaranteeDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "grn": {
            "type": "string",
            "nullable": true
          },
          "otherGuaranteeReference": {
            "type": "string",
            "nullable": true
          },
          "accessCode": {
            "type": "string",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "guaranteeCustomsOffice": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.ImporterDTO": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.ItemDocumentProducedDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "issuingAuthorityNameSubmitter": {
            "type": "string",
            "nullable": true
          },
          "issuingAuthorityNameRoleCode": {
            "type": "string",
            "nullable": true
          },
          "dateOfValidity": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "measurementUnitAndQualifier": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.ItemPreviousDocumentDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          },
          "lineId": {
            "type": "string",
            "nullable": true
          },
          "measurementUnitAndQualifier": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "typeOfPackages": {
            "type": "string",
            "nullable": true
          },
          "numberOfPackages": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.LocationOfGoodsDTO": {
        "type": "object",
        "properties": {
          "identification": {
            "type": "string",
            "nullable": true
          },
          "qualifier": {
            "type": "string",
            "nullable": true
          },
          "additionalIdentifier": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.AIS.AddressDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.PackageDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingMarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.PreviousDocumentDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          },
          "lineId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.RepresntativeDTO": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.SellerDTO": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.AIS.TaxCalculationDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "taxBaseUnit": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "taxRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "payableAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "taxPaymentMethod": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Addresses.AddressDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "contactId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Addresses.UpdateAddressDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.AdditionOrDeductionDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "amountCurrency": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.AdditionalFiscalReferenceIdentificationNumberDTO": {
        "type": "object",
        "properties": {
          "roleCode": {
            "type": "string",
            "nullable": true
          },
          "vatIdentificationNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.AdditionalInformationDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.AdditionalSupplyChainActorDTO": {
        "type": "object",
        "properties": {
          "roleCode": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.CreateCDSExport": {
        "type": "object",
        "properties": {
          "sandbox": {
            "type": "boolean"
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "linkedDeclarationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "externalSystemLink": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "declarationType": {
            "type": "string",
            "nullable": true
          },
          "specificCircumstanceIndicator": {
            "type": "string",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.PreviousDocumentDTO"
            },
            "nullable": true
          },
          "mucr": {
            "type": "string",
            "nullable": true
          },
          "ducr": {
            "type": "string",
            "nullable": true
          },
          "rrS01": {
            "type": "boolean"
          },
          "rrS01Description": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "warehouseType": {
            "type": "string",
            "nullable": true
          },
          "warehouseId": {
            "type": "string",
            "nullable": true
          },
          "exporter": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "exporterContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "exporterAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "exporterIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "consigneeIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "consigneeContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "consigneeAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "declarant": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "declarantIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "declarantContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "declarantAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "representative": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "representativeIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "representativeContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "representativeAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "representativeStatusCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "carrier": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "carrierIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "carrierContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "carrierAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "holdersOfAuthorisation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.HolderOfAuthorisationIdentificationNumberDTO"
            },
            "nullable": true
          },
          "fR1": {
            "type": "boolean"
          },
          "fR1VATNumber": {
            "type": "string",
            "nullable": true
          },
          "transportChargesMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "totalInvoice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalInvoiceCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeOfExit": {
            "type": "string",
            "nullable": true
          },
          "countryOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "countryOfRoutingCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "locationOfGoods": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeOfPresentation": {
            "type": "string",
            "nullable": true
          },
          "supervisingCustomsOffice": {
            "type": "string",
            "nullable": true
          },
          "totalGrossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalNetMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalPackages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "containerised": {
            "type": "boolean"
          },
          "modeOfTransportAtBorder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "inlandModeOfTransport": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "typeOfTransportAtDeparture": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "identityOfTransportAtDeparture": {
            "type": "string",
            "nullable": true
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "typeOfActiveMeansOfTransportAtBorder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "identityOfActiveMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "nationalityOfActiveMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "seals": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "guarantees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.GuaranteeDTO"
            },
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ExportItemDTO"
            },
            "nullable": true
          },
          "relatedNCTSDeparture": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.CreateNCTSDepartureLinked"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.CreateCDSExportResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "errorMessages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.CreateCDSImport": {
        "type": "object",
        "properties": {
          "sandbox": {
            "type": "boolean"
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "linkedDeclarationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "externalSystemLink": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "badge": {
            "type": "string",
            "nullable": true
          },
          "csp": {
            "type": "string",
            "nullable": true
          },
          "declarationType": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "representativeStatusCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "exporter": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "exporterContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "exporterAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "exporterIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "importer": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "importerIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "importerContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "importerAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "declarant": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "declarantIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "declarantContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "declarantAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "representative": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "representativeIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "representativeContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "representativeAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "seller": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "sellerIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "sellerContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sellerAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "buyer": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "buyerIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "buyerContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "buyerAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "daN1": {
            "type": "string",
            "nullable": true
          },
          "daN2": {
            "type": "string",
            "nullable": true
          },
          "pva": {
            "type": "boolean"
          },
          "pvavatNumber": {
            "type": "string",
            "nullable": true
          },
          "cashAccountNumber": {
            "type": "string",
            "nullable": true
          },
          "guarantees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.GuaranteeDTO"
            },
            "nullable": true
          },
          "holdersOfAuthorisation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.HolderOfAuthorisationIdentificationNumberDTO"
            },
            "nullable": true
          },
          "rrS01": {
            "type": "boolean"
          },
          "rrS01Description": {
            "type": "string",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "countryOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "airportOfLoading": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods": {
            "type": "string",
            "nullable": true
          },
          "containerised": {
            "type": "boolean"
          },
          "modeOfTransportAtBorder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nationalityOfActiveMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "inlandModeOfTransport": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "identityOfTransportOnArrival": {
            "type": "string",
            "nullable": true
          },
          "typeOfTransportOnArrival": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "awb": {
            "type": "string",
            "nullable": true
          },
          "mcr": {
            "type": "string",
            "nullable": true
          },
          "hawb": {
            "type": "string",
            "nullable": true
          },
          "boL": {
            "type": "string",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.PreviousDocumentDTO"
            },
            "nullable": true
          },
          "warehouseType": {
            "type": "string",
            "nullable": true
          },
          "warehouseId": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeOfPresentation": {
            "type": "string",
            "nullable": true
          },
          "supervisingCustomsOffice": {
            "type": "string",
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          },
          "deliveryTerms": {
            "type": "string",
            "nullable": true
          },
          "deliveryTermsLocation": {
            "type": "string",
            "nullable": true
          },
          "totalGrossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalNetMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalPackages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "totalInvoice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalInvoiceCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ImportItemDTO"
            },
            "nullable": true
          },
          "additionsAndDeductions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.AdditionOrDeductionDTO"
            },
            "nullable": true
          },
          "freightCharge": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "freightChargeCurrency": {
            "type": "string",
            "nullable": true
          },
          "airTransportCharge": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "airTransportChargeCurrency": {
            "type": "string",
            "nullable": true
          },
          "insurance": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "insuranceCurrency": {
            "type": "string",
            "nullable": true
          },
          "vatAdjustment": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "vatAdjustmentCurrency": {
            "type": "string",
            "nullable": true
          },
          "apportionByValue": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.CreateCDSImportResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "errorMessages": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.CreateNCTSDepartureLinked": {
        "type": "object",
        "properties": {
          "officesOfTransit": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/System.ValueTuple`2[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.DateTime, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
            },
            "nullable": true
          },
          "customsOfficeOfDestination": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/System.ValueTuple`3[[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.DocumentProducedDTO": {
        "type": "object",
        "properties": {
          "documentType": {
            "type": "string",
            "nullable": true
          },
          "documentIdentifierAndPart": {
            "type": "string",
            "nullable": true
          },
          "documentStatus": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "issuingAuthorityName": {
            "type": "string",
            "nullable": true
          },
          "dateOfValidity": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "measurementUnitAndQualifier": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.ExportDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "addedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdatedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "archived": {
            "type": "boolean"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "exporter": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.SearchListPartyItemDTO"
          },
          "importer": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.SearchListPartyItemDTO"
          },
          "representativeStatusCode": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "statusDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "ducr": {
            "type": "string",
            "nullable": true
          },
          "mcr": {
            "type": "string",
            "nullable": true
          },
          "borderTransportId": {
            "type": "string",
            "nullable": true
          },
          "goodsLocation": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.ExportItemDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "procedure": {
            "type": "string",
            "nullable": true
          },
          "additionalProcedures": {
            "type": "string",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.PreviousDocumentDTO"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.AdditionalInformationDTO"
            },
            "nullable": true
          },
          "documentsProduced": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.DocumentProducedDTO"
            },
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "consigneeIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "consigneeContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "consigneeAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "additionalFiscalReferenceIdentificationNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.AdditionalFiscalReferenceIdentificationNumberDTO"
            },
            "nullable": true
          },
          "transportChargesMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "countryOfOrigin": {
            "type": "string",
            "nullable": true
          },
          "netMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "supplementaryUnits": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "descriptionOfGoods": {
            "type": "string",
            "nullable": true
          },
          "packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.PackageDTO"
            },
            "nullable": true
          },
          "unDangerousGoodsCode": {
            "type": "string",
            "nullable": true
          },
          "cusCodeForChemicals": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "taricAdditionalCodes": {
            "type": "string",
            "nullable": true
          },
          "nationalAdditionalCodes": {
            "type": "string",
            "nullable": true
          },
          "containerIdentificationNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          },
          "statisticalValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "statisticalValueCurrencyCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.GuaranteeDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "guaranteeReference": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.GuaranteeReferenceDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.GuaranteeReferenceDTO": {
        "type": "object",
        "properties": {
          "grn": {
            "type": "string",
            "nullable": true
          },
          "otherGuaranteeReference": {
            "type": "string",
            "nullable": true
          },
          "accessCode": {
            "type": "string",
            "nullable": true
          },
          "currencyCode": {
            "type": "string",
            "nullable": true
          },
          "duty": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "customsOfficeOfGuarantee": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.HolderOfAuthorisationIdentificationNumberDTO": {
        "type": "object",
        "properties": {
          "authorisationTypeCode": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.ImportDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "addedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "lastUpdatedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "archived": {
            "type": "boolean"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "exporter": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.SearchListPartyItemDTO"
          },
          "importer": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.SearchListPartyItemDTO"
          },
          "representativeStatusCode": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "statusDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "badge": {
            "type": "string",
            "nullable": true
          },
          "goodsLocation": {
            "type": "string",
            "nullable": true
          },
          "arrivalTransportId": {
            "type": "string",
            "nullable": true
          },
          "ducr": {
            "type": "string",
            "nullable": true
          },
          "mcr": {
            "type": "string",
            "nullable": true
          },
          "awb": {
            "type": "string",
            "nullable": true
          },
          "hawb": {
            "type": "string",
            "nullable": true
          },
          "splitReference": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.ImportItemDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "taricAdditionalCodes": {
            "type": "string",
            "nullable": true
          },
          "nationalAdditionalCodes": {
            "type": "string",
            "nullable": true
          },
          "procedure": {
            "type": "string",
            "nullable": true
          },
          "additionalProcedures": {
            "type": "string",
            "nullable": true
          },
          "countryOfOrigin": {
            "type": "string",
            "nullable": true
          },
          "countryOfPreferentialOrigin": {
            "type": "string",
            "nullable": true
          },
          "preference": {
            "type": "string",
            "nullable": true
          },
          "quotaNumber": {
            "type": "string",
            "nullable": true
          },
          "descriptionOfGoods": {
            "type": "string",
            "nullable": true
          },
          "cusCodeForChemicals": {
            "type": "string",
            "nullable": true
          },
          "valuationMethod": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "itemPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "itemPriceCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "valueCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "statisticalValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "statisticalValueCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "valuationIndicator_PartyRelationship": {
            "type": "boolean"
          },
          "valuationIndicator_BuyerRestrictions": {
            "type": "boolean"
          },
          "valuationIndicator_SaleOrPriceConditions": {
            "type": "boolean"
          },
          "valuationIndicator_SaleProceeds": {
            "type": "boolean"
          },
          "transportCostsToFinalDestination": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "transportCostsToFinalDestinationCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "netMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "supplementaryUnits": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.PreviousDocumentDTO"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.AdditionalInformationDTO"
            },
            "nullable": true
          },
          "documentsProduced": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.DocumentProducedDTO"
            },
            "nullable": true
          },
          "packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.PackageDTO"
            },
            "nullable": true
          },
          "containerIdentificationNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "taxLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.TaxLineDTO"
            },
            "nullable": true
          },
          "a00_PaymentMethod": {
            "type": "string",
            "nullable": true
          },
          "b00_PaymentMethod": {
            "type": "string",
            "nullable": true
          },
          "jobReference": {
            "type": "string",
            "nullable": true
          },
          "exporterNameAndAddress": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "exporterIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "sellerNameAndAddress": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "sellerIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "buyerNameAndAddress": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "buyerIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "additionalSupplyChainActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.AdditionalSupplyChainActorDTO"
            },
            "nullable": true
          },
          "additionalFiscalReferenceIdentificationNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.AdditionalFiscalReferenceIdentificationNumberDTO"
            },
            "nullable": true
          },
          "additionAndDeductions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.AdditionOrDeductionDTO"
            },
            "nullable": true
          },
          "countryOfDestinationCode": {
            "type": "string",
            "nullable": true
          },
          "countryOfDispatchCode": {
            "type": "string",
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.ListExportsResponseDTO": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ExportDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.ListImportsResponseDTO": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ImportDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.NameAndAddressDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "cityName": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.PackageDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingMarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.PreviousDocumentDTO": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "documentReference": {
            "type": "string",
            "nullable": true
          },
          "goodsItemIdentifier": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.SearchListPartyItemDTO": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "eori": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.TaxBaseDTO": {
        "type": "object",
        "properties": {
          "measurementUnit": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.TaxLineDTO": {
        "type": "object",
        "properties": {
          "taxType": {
            "type": "string",
            "nullable": true
          },
          "taxBase": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.TaxBaseDTO"
          },
          "payableTaxAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "payableTaxAmountCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "totalTaxes": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalTaxesCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "methodOfPayment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.CDS.UpdateCDSExport": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "sandbox": {
            "type": "boolean"
          },
          "category": {
            "type": "string",
            "nullable": true
          },
          "declarationType": {
            "type": "string",
            "nullable": true
          },
          "specificCircumstanceIndicator": {
            "type": "string",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.PreviousDocumentDTO"
            },
            "nullable": true
          },
          "mucr": {
            "type": "string",
            "nullable": true
          },
          "ducr": {
            "type": "string",
            "nullable": true
          },
          "rrS01": {
            "type": "boolean"
          },
          "rrS01Description": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "warehouseType": {
            "type": "string",
            "nullable": true
          },
          "warehouseId": {
            "type": "string",
            "nullable": true
          },
          "exporter": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "exporterContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "exporterAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "exporterIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "consigneeIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "consigneeContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "consigneeAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "declarant": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "declarantIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "declarantContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "declarantAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "representative": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "representativeIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "representativeContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "representativeAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "representativeStatusCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "carrier": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.NameAndAddressDTO"
          },
          "carrierIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "carrierContactId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "carrierAddressId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "holdersOfAuthorisation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.HolderOfAuthorisationIdentificationNumberDTO"
            },
            "nullable": true
          },
          "fR1": {
            "type": "boolean"
          },
          "fR1VATNumber": {
            "type": "string",
            "nullable": true
          },
          "transportChargesMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "totalInvoice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalInvoiceCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "exchangeRate": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeOfExit": {
            "type": "string",
            "nullable": true
          },
          "countryOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "countryOfRoutingCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "locationOfGoods": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeOfPresentation": {
            "type": "string",
            "nullable": true
          },
          "supervisingCustomsOffice": {
            "type": "string",
            "nullable": true
          },
          "totalGrossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalNetMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalPackages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "containerised": {
            "type": "boolean"
          },
          "modeOfTransportAtBorder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "inlandModeOfTransport": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "typeOfTransportAtDeparture": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "identityOfTransportAtDeparture": {
            "type": "string",
            "nullable": true
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "typeOfActiveMeansOfTransportAtBorder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "identityOfActiveMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "nationalityOfActiveMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "seals": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "guarantees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.GuaranteeDTO"
            },
            "nullable": true
          },
          "natureOfTransaction": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ExportItemDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Contacts.ContactDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "taxId": {
            "type": "string",
            "nullable": true
          },
          "groups": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Contacts.CreateAddressDTO": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Contacts.CreateContactDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "taxId": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "groups": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.Contacts.CreateAddressDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Contacts.UpdateContactDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "taxId": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "groups": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ELO.CreateELODeclarationDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "submitIfValid": {
            "type": "boolean"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "direction": {
            "type": "string",
            "nullable": true
          },
          "vehicleStatus": {
            "type": "string",
            "nullable": true
          },
          "tiRorATA": {
            "type": "boolean"
          },
          "sanitaryOrPhytosanitaryGoods": {
            "type": "boolean"
          },
          "fishProducts": {
            "type": "boolean"
          },
          "declarations": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ENS.CreateENSDeclarationDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "submitIfValid": {
            "type": "boolean"
          },
          "templateId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "linkedDeclarationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "externalSystemLink": {
            "type": "string",
            "nullable": true
          },
          "messageSenderEORI": {
            "type": "string",
            "nullable": true
          },
          "messageSenderBranch": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "placeOfDeclaration": {
            "type": "string",
            "nullable": true
          },
          "placeOfLoading": {
            "type": "string",
            "nullable": true
          },
          "placeOfUnloading": {
            "type": "string",
            "nullable": true
          },
          "commercialReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "modeOfTransportAtBorder": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "identityOfMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "nationalityOfMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "conveyenceReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "consignor": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          },
          "personLodgingDeclaration": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          },
          "carrier": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          },
          "notifyParty": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          },
          "representative": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          },
          "customsOfficeOfArrival": {
            "type": "string",
            "nullable": true
          },
          "dateAndTimeOfArrival": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "customsOfficesOfSubsequentEntry": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "transportChargesMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "specialMentions": {
            "type": "string",
            "nullable": true
          },
          "routingCountries": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "seals": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "goodsItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSGoodsItemDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ENS.ENSGoodsItemDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "goodsDescription": {
            "type": "string",
            "nullable": true
          },
          "commercialReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "unDangerousGoodsCode": {
            "type": "string",
            "nullable": true
          },
          "identityOfMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "nationalityOfMeansOfTransportAtBorder": {
            "type": "string",
            "nullable": true
          },
          "placeOfLoading": {
            "type": "string",
            "nullable": true
          },
          "placeOfUnloading": {
            "type": "string",
            "nullable": true
          },
          "transportChargesMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPackageDTO"
            },
            "nullable": true
          },
          "producedDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSProducedDocumentDTO"
            },
            "nullable": true
          },
          "containers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "consignor": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          },
          "personLodgingDeclaration": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ENS.ENSPartyDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ENS.ENSPackageDTO": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "nullable": true
          },
          "numberOfPackages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numberOfPieces": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "marksAndNumbers": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ENS.ENSPartyDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "eori": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ENS.ENSProducedDocumentDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.AtaDeclarationDTO": {
        "type": "object",
        "properties": {
          "ataCarnetId": {
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.CreateGVMSDeclaration": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "submitIfValid": {
            "type": "boolean"
          },
          "direction": {
            "type": "string",
            "nullable": true
          },
          "haulierType": {
            "type": "string",
            "nullable": true
          },
          "isUnaccompanied": {
            "type": "boolean"
          },
          "vehicleRegNum": {
            "type": "string",
            "nullable": true
          },
          "trailerRegistrationNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "containerReferenceNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "routeId": {
            "type": "string",
            "nullable": true
          },
          "localDateTimeOfDeparture": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "sAndSMasterRefNums": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "customsDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.CustomsDeclarationDTO"
            },
            "nullable": true
          },
          "transitDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.TransitDeclarationDTO"
            },
            "nullable": true
          },
          "tirDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.TirDeclarationDTO"
            },
            "nullable": true
          },
          "ataDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.AtaDeclarationDTO"
            },
            "nullable": true
          },
          "eidrDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.EidrDeclarationDTO"
            },
            "nullable": true
          },
          "indirectExportDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.IndirectExportDeclarationDTO"
            },
            "nullable": true
          },
          "emptyVehicle": {
            "type": "boolean"
          },
          "ownVehicle": {
            "type": "boolean"
          },
          "dbcGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.DbcGoodsDTO"
            },
            "nullable": true
          },
          "exemptedGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.ExemptedGoodsDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.CustomsDeclarationDTO": {
        "type": "object",
        "properties": {
          "customsDeclarationId": {
            "type": "string",
            "nullable": true
          },
          "customsDeclarationPartId": {
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.DbcGoodsDTO": {
        "type": "object",
        "properties": {
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.EidrDeclarationDTO": {
        "type": "object",
        "properties": {
          "traderEORI": {
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.ExemptedGoodsDTO": {
        "type": "object",
        "properties": {
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.IndirectExportDeclarationDTO": {
        "type": "object",
        "properties": {
          "eadMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.PatchGVMSDeclaration": {
        "type": "object",
        "properties": {
          "haulierType": {
            "type": "string",
            "nullable": true
          },
          "isUnaccompanied": {
            "type": "boolean",
            "nullable": true
          },
          "vehicleRegNum": {
            "type": "string",
            "nullable": true
          },
          "trailerRegistrationNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "containerReferenceNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "routeId": {
            "type": "string",
            "nullable": true
          },
          "localDateTimeOfDeparture": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "sAndSMasterRefNums": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "customsDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.CustomsDeclarationDTO"
            },
            "nullable": true
          },
          "transitDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.TransitDeclarationDTO"
            },
            "nullable": true
          },
          "tirDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.TirDeclarationDTO"
            },
            "nullable": true
          },
          "ataDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.AtaDeclarationDTO"
            },
            "nullable": true
          },
          "eidrDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.EidrDeclarationDTO"
            },
            "nullable": true
          },
          "indirectExportDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.IndirectExportDeclarationDTO"
            },
            "nullable": true
          },
          "emptyVehicle": {
            "type": "boolean",
            "nullable": true
          },
          "ownVehicle": {
            "type": "boolean",
            "nullable": true
          },
          "dbcGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.DbcGoodsDTO"
            },
            "nullable": true
          },
          "exemptedGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.ExemptedGoodsDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.TirDeclarationDTO": {
        "type": "object",
        "properties": {
          "tirCarnetId": {
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.TransitDeclarationDTO": {
        "type": "object",
        "properties": {
          "transitDeclarationId": {
            "type": "string",
            "nullable": true
          },
          "isTSAD": {
            "type": "boolean"
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.GVMS.UpdateGVMSDeclaration": {
        "type": "object",
        "properties": {
          "direction": {
            "type": "string",
            "nullable": true
          },
          "haulierType": {
            "type": "string",
            "nullable": true
          },
          "isUnaccompanied": {
            "type": "boolean"
          },
          "vehicleRegNum": {
            "type": "string",
            "nullable": true
          },
          "trailerRegistrationNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "containerReferenceNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "routeId": {
            "type": "string",
            "nullable": true
          },
          "localDateTimeOfDeparture": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "sAndSMasterRefNums": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "customsDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.CustomsDeclarationDTO"
            },
            "nullable": true
          },
          "transitDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.TransitDeclarationDTO"
            },
            "nullable": true
          },
          "tirDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.TirDeclarationDTO"
            },
            "nullable": true
          },
          "ataDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.AtaDeclarationDTO"
            },
            "nullable": true
          },
          "eidrDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.EidrDeclarationDTO"
            },
            "nullable": true
          },
          "indirectExportDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.IndirectExportDeclarationDTO"
            },
            "nullable": true
          },
          "emptyVehicle": {
            "type": "boolean"
          },
          "ownVehicle": {
            "type": "boolean"
          },
          "dbcGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.DbcGoodsDTO"
            },
            "nullable": true
          },
          "exemptedGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.GVMS.ExemptedGoodsDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.CloneICS2Declaration": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "newCorrelationId": {
            "type": "string",
            "nullable": true
          },
          "incrementDocumentReferences": {
            "type": "boolean"
          },
          "incrementLRN": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.CreateICS2Declaration": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "externalSystemLink": {
            "type": "string",
            "nullable": true
          },
          "submitIfValid": {
            "type": "boolean"
          },
          "data": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2DeclarationDataDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2AdditionalInformationDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2AddressDTO": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "nullable": true
          },
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "poBox": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "subdivision": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2ContactDTO": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2DeclarationDataDTO": {
        "type": "object",
        "properties": {
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "referralRequestReference": {
            "type": "string",
            "nullable": true
          },
          "reEntryIndicator": {
            "type": "boolean"
          },
          "transportId": {
            "type": "string",
            "nullable": true
          },
          "transportType": {
            "type": "string",
            "nullable": true
          },
          "transportMode": {
            "type": "string",
            "nullable": true
          },
          "estimatedDepartureDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "estimatedArrivalDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "conveyanceReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "itinerary": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2StringDTO"
            },
            "nullable": true
          },
          "officeOfFirstEntry": {
            "type": "string",
            "nullable": true
          },
          "meansOfTransport": {
            "type": "string",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "nullable": true
          },
          "containerised": {
            "type": "boolean"
          },
          "containerIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2StringDTO"
            },
            "nullable": true
          },
          "transportChargesMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "ucr": {
            "type": "string",
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2AdditionalInformationDTO"
            },
            "nullable": true
          },
          "placeOfAcceptance": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PlaceDTO"
          },
          "placeOfLoading": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PlaceDTO"
          },
          "placeOfUnloading": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PlaceDTO"
          },
          "placeOfDelivery": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PlaceDTO"
          },
          "masterDocument": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2DocumentDTO"
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2DocumentDTO"
            },
            "nullable": true
          },
          "consignor": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2TypedPartyDTO"
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2TypedPartyDTO"
          },
          "declarant": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PartyDTO"
          },
          "carrier": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PartyDTO"
          },
          "representative": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PartyDTO"
          },
          "goodsItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2GoodsItemDTO"
            },
            "nullable": true
          },
          "house": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2HouseDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2DocumentDTO": {
        "type": "object",
        "properties": {
          "refNumber": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2GoodsItemDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2DocumentDTO"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2AdditionalInformationDTO"
            },
            "nullable": true
          },
          "commodityDescription": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "undgCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2StringDTO"
            },
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "packages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PackageDTO"
            },
            "nullable": true
          },
          "containerIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2StringDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2HouseDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "containerIndicator": {
            "type": "boolean"
          },
          "containerIDs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2StringDTO"
            },
            "nullable": true
          },
          "transportChargesPaymentMethod": {
            "type": "string",
            "nullable": true
          },
          "ucr": {
            "type": "string",
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2AdditionalInformationDTO"
            },
            "nullable": true
          },
          "placeOfAcceptance": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PlaceDTO"
          },
          "placeOfDelivery": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2PlaceDTO"
          },
          "houseDocument": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2DocumentDTO"
          },
          "consignor": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2TypedPartyDTO"
          },
          "consignee": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2TypedPartyDTO"
          },
          "goodsItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2GoodsItemDTO"
            },
            "nullable": true
          },
          "buyer": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2TypedPartyDTO"
          },
          "seller": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2TypedPartyDTO"
          },
          "itinerary": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2StringDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2PackageDTO": {
        "type": "object",
        "properties": {
          "typeOfPackage": {
            "type": "string",
            "nullable": true
          },
          "numberOfPackages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingMarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2PartyDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "tin": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2AddressDTO"
          },
          "contact": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2ContactDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2PlaceDTO": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "unLoCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2StringDTO": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.ICS2.ICS2TypedPartyDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "tin": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2AddressDTO"
          },
          "contact": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.ICS2.ICS2ContactDTO"
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Products.CreateExportProductDataDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "taricAdditionalCode": {
            "type": "string",
            "nullable": true
          },
          "nationalAdditionalCode": {
            "type": "string",
            "nullable": true
          },
          "netMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "statValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "goodsDescription": {
            "type": "string",
            "nullable": true
          },
          "procedure": {
            "type": "string",
            "nullable": true
          },
          "additionalProcedures": {
            "type": "string",
            "nullable": true
          },
          "dispatchCountry": {
            "type": "string",
            "nullable": true
          },
          "destinationCountry": {
            "type": "string",
            "nullable": true
          },
          "supplementaryUnits": {
            "type": "string",
            "nullable": true
          },
          "natureofTransaction": {
            "type": "string",
            "nullable": true
          },
          "invoiceNumber": {
            "type": "string",
            "nullable": true
          },
          "itemTemplateName": {
            "type": "string",
            "nullable": true
          },
          "countryofOrigin": {
            "type": "string",
            "nullable": true
          },
          "transportMethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "packageKind": {
            "type": "string",
            "nullable": true
          },
          "packageQuantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "packageMarksandNumbers": {
            "type": "string",
            "nullable": true
          },
          "previousDocumentCategory": {
            "type": "string",
            "nullable": true
          },
          "previousDocumentType": {
            "type": "string",
            "nullable": true
          },
          "previousDocumentReference": {
            "type": "string",
            "nullable": true
          },
          "consigneeCode": {
            "type": "string",
            "nullable": true
          },
          "consigneeName": {
            "type": "string",
            "nullable": true
          },
          "consigneeEORI": {
            "type": "string",
            "nullable": true
          },
          "consigneeStreetandnumber": {
            "type": "string",
            "nullable": true
          },
          "consigneeCity": {
            "type": "string",
            "nullable": true
          },
          "consigneePostcode": {
            "type": "string",
            "nullable": true
          },
          "consigneeCountry": {
            "type": "string",
            "nullable": true
          },
          "docCodeCategory": {
            "type": "string",
            "nullable": true
          },
          "docCodeType": {
            "type": "string",
            "nullable": true
          },
          "docCodeReference": {
            "type": "string",
            "nullable": true
          },
          "docCodeStatus": {
            "type": "string",
            "nullable": true
          },
          "docCodeReason": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced1": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced2": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced3": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced4": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced5": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Products.CreateImportProductDataDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "taricAdditionalCode": {
            "type": "string",
            "nullable": true
          },
          "nationalAdditionalCode": {
            "type": "string",
            "nullable": true
          },
          "goodsDescription": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "procedure": {
            "type": "string",
            "nullable": true
          },
          "additionalProcedures": {
            "type": "string",
            "nullable": true
          },
          "preference": {
            "type": "string",
            "nullable": true
          },
          "countryofOrigin": {
            "type": "string",
            "nullable": true
          },
          "countryofPreferentialOrigin": {
            "type": "string",
            "nullable": true
          },
          "valuationMethod": {
            "type": "string",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "netMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "supplementaryUnits": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "itemPrice": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "itemPriceCurrency": {
            "type": "string",
            "nullable": true
          },
          "statValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "statValueCurrency": {
            "type": "string",
            "nullable": true
          },
          "natureofTransaction": {
            "type": "string",
            "nullable": true
          },
          "countryofDestination": {
            "type": "string",
            "nullable": true
          },
          "countryofDispatch": {
            "type": "string",
            "nullable": true
          },
          "quota": {
            "type": "string",
            "nullable": true
          },
          "dutyPaymentMethod": {
            "type": "string",
            "nullable": true
          },
          "vatPaymentMethod": {
            "type": "string",
            "nullable": true
          },
          "consignorName": {
            "type": "string",
            "nullable": true
          },
          "consignorEORI": {
            "type": "string",
            "nullable": true
          },
          "consignorAddressStreetandNumber": {
            "type": "string",
            "nullable": true
          },
          "consignorAddressCity": {
            "type": "string",
            "nullable": true
          },
          "consignorAddressPostcode": {
            "type": "string",
            "nullable": true
          },
          "consignorAddressCountry": {
            "type": "string",
            "nullable": true
          },
          "packageKind": {
            "type": "string",
            "nullable": true
          },
          "packageQuantity": {
            "type": "string",
            "nullable": true
          },
          "packageMarksandNumbers": {
            "type": "string",
            "nullable": true
          },
          "previousDocumentCategory": {
            "type": "string",
            "nullable": true
          },
          "previousDocumentType": {
            "type": "string",
            "nullable": true
          },
          "previousDocumentReference": {
            "type": "string",
            "nullable": true
          },
          "documentsProducedCategory": {
            "type": "string",
            "nullable": true
          },
          "documentsProducedType": {
            "type": "string",
            "nullable": true
          },
          "documentsProducedReference": {
            "type": "string",
            "nullable": true
          },
          "documentsProducedStatus": {
            "type": "string",
            "nullable": true
          },
          "documentsProducedReason": {
            "type": "string",
            "nullable": true
          },
          "previousDocument1": {
            "type": "string",
            "nullable": true
          },
          "previousDocument2": {
            "type": "string",
            "nullable": true
          },
          "previousDocument3": {
            "type": "string",
            "nullable": true
          },
          "previousDocument4": {
            "type": "string",
            "nullable": true
          },
          "previousDocument5": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced1": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced2": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced3": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced4": {
            "type": "string",
            "nullable": true
          },
          "documentsProduced5": {
            "type": "string",
            "nullable": true
          },
          "packages1": {
            "type": "string",
            "nullable": true
          },
          "packages2": {
            "type": "string",
            "nullable": true
          },
          "packages3": {
            "type": "string",
            "nullable": true
          },
          "packages4": {
            "type": "string",
            "nullable": true
          },
          "packages5": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Products.CreateProductDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "systems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "tradingPartnerContactId": {
            "type": "string",
            "nullable": true
          },
          "exportData": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.CreateExportProductDataDTO"
          },
          "importData": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.CreateImportProductDataDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Products.ProductDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "systems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "tradingPartnerContactId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Products.ProductDetailsDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "systems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "tradingPartnerContactId": {
            "type": "string",
            "nullable": true
          },
          "exportData": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ExportItemDTO"
          },
          "importData": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.CDS.ImportItemDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Api.Models.Products.UpdateProductDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "systems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "tradingPartnerContactId": {
            "type": "string",
            "nullable": true
          },
          "exportData": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.CreateExportProductDataDTO"
          },
          "importData": {
            "$ref": "#/components/schemas/UKCustoms.Api.Models.Products.CreateImportProductDataDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.ELO.ELODeclarationDataDTO": {
        "type": "object",
        "properties": {
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "crossingDirection": {
            "type": "string",
            "nullable": true
          },
          "truckType": {
            "type": "string",
            "nullable": true
          },
          "isTIRorATA": {
            "type": "boolean"
          },
          "isSPS": {
            "type": "boolean"
          },
          "isFishProducts": {
            "type": "boolean"
          },
          "hasTransportContract": {
            "type": "boolean"
          },
          "isPostal": {
            "type": "boolean"
          },
          "isEmptyPackaging": {
            "type": "boolean"
          },
          "declarationIdentifiers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.ELO.StringValue"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.ELO.StringValue": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.AtaDeclaration": {
        "type": "object",
        "properties": {
          "ataCarnetId": {
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.CustomsDeclaration": {
        "type": "object",
        "properties": {
          "customsDeclarationId": {
            "type": "string",
            "nullable": true
          },
          "customsDeclarationPartId": {
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.DbcDeclaration": {
        "type": "object",
        "properties": {
          "isOwnVehicle": {
            "type": "boolean"
          },
          "dbcGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.DbcGood"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.DbcGood": {
        "type": "object",
        "properties": {
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.Direction": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.DTOs.GVMS.EidrDeclaration": {
        "type": "object",
        "properties": {
          "traderEORI": {
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.EmptyVehicle": {
        "type": "object",
        "properties": {
          "isOwnVehicle": {
            "type": "boolean"
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.ExemptedGoods": {
        "type": "object",
        "properties": {
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.GVMSDeclarationDTO": {
        "type": "object",
        "properties": {
          "direction": {
            "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.Direction"
          },
          "haulierType": {
            "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.HaulierType"
          },
          "isUnaccompanied": {
            "type": "boolean"
          },
          "vehicleRegNum": {
            "type": "string",
            "nullable": true
          },
          "trailerRegistrationNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "containerReferenceNumbers": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "plannedCrossing": {
            "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.PlannedCrossing"
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "sAndSMasterRefNums": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.StringValue"
            },
            "nullable": true
          },
          "customsDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.CustomsDeclaration"
            },
            "nullable": true
          },
          "transitDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.TransitDeclaration"
            },
            "nullable": true
          },
          "tirDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.TirDeclaration"
            },
            "nullable": true
          },
          "ataDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.AtaDeclaration"
            },
            "nullable": true
          },
          "eidrDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.EidrDeclaration"
            },
            "nullable": true
          },
          "indirectExportDeclarations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.IndirectExportDeclaration"
            },
            "nullable": true
          },
          "emptyVehicle": {
            "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.EmptyVehicle"
          },
          "dbcDeclaration": {
            "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.DbcDeclaration"
          },
          "exemptedGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.ExemptedGoods"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.HaulierType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.DTOs.GVMS.IndirectExportDeclaration": {
        "type": "object",
        "properties": {
          "eadMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.PlannedCrossing": {
        "type": "object",
        "properties": {
          "routeId": {
            "type": "string",
            "nullable": true
          },
          "localDateTimeOfDeparture": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.TirDeclaration": {
        "type": "object",
        "properties": {
          "tirCarnetId": {
            "type": "string",
            "nullable": true
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.GVMS.TransitDeclaration": {
        "type": "object",
        "properties": {
          "transitDeclarationId": {
            "type": "string",
            "nullable": true
          },
          "isTSAD": {
            "type": "boolean"
          },
          "sAndSMasterRefNum": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.DTOs.StringValue": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.ELOStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.ENSStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.GVMSStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          10,
          11,
          12,
          13,
          14
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.LocationQualifier": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.ActiveBorderTransportMeans": {
        "type": "object",
        "properties": {
          "sequence": {
            "type": "integer",
            "format": "int32"
          },
          "customsOfficeAtBorder": {
            "type": "string",
            "nullable": true
          },
          "typeOfIdentification": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.TypeOfIdentificationOfMeansOfTransport"
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "nullable": true
          },
          "conveyanceReferenceNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.AdditionalInformation": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "text": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.AdditionalReference": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.AdditionalReferenceType"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.AdditionalSupplyChainActor": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "role": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.AdditionalSupplyChainActorRole"
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.Address": {
        "type": "object",
        "properties": {
          "streetAndNumber": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.Authorisation": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.AuthorisationType"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.AdditionalDeclarationType": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.AdditionalReferenceType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.AdditionalSupplyChainActorRole": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.AuthorisationType": {
        "enum": [
          0,
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.DeclarationType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.GuaranteeType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          8,
          9,
          10,
          11,
          12,
          13
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.LocationType": {
        "enum": [
          0,
          1,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.MethodOfPayment": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.PreviousDocumentType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.RepresentativeStatus": {
        "enum": [
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.Security": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.SpecificCircumstanceIndicator": {
        "enum": [
          0,
          1
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.SupportingDocumentType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.TransportDocumentType": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.TransportMode": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          7,
          8,
          9
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.CodeLists.TypeOfIdentificationOfMeansOfTransport": {
        "enum": [
          10,
          11,
          20,
          21,
          30,
          31,
          40,
          41,
          80,
          81,
          99
        ],
        "type": "integer",
        "format": "int32"
      },
      "UKCustoms.Models.NCTS.v5.Consignment": {
        "type": "object",
        "properties": {
          "countryOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "containerIndicator": {
            "type": "boolean"
          },
          "inlandModeOfTransport": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.TransportMode"
          },
          "modeOfTransportAtTheBoder": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.TransportMode"
          },
          "grossMass": {
            "type": "number",
            "format": "double"
          },
          "referenceNumberUCR": {
            "type": "string",
            "nullable": true
          },
          "carrier_Id": {
            "type": "string",
            "nullable": true
          },
          "contactPerson": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ContactPerson"
          },
          "consignor_Id": {
            "type": "string",
            "nullable": true
          },
          "consignor_Name": {
            "type": "string",
            "nullable": true
          },
          "consignor_Address": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Address"
          },
          "consignor_ContactPerson": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ContactPerson"
          },
          "consignee_Id": {
            "type": "string",
            "nullable": true
          },
          "consignee_Name": {
            "type": "string",
            "nullable": true
          },
          "consignee_Address": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Address"
          },
          "additionalSupplyChainActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalSupplyChainActor"
            },
            "nullable": true
          },
          "transportEquipment": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.TransportEquipment"
            },
            "nullable": true
          },
          "locationOfGoods_TypeOfLocation": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.LocationType"
          },
          "locationOfGoods_QualifierOfIdentification": {
            "$ref": "#/components/schemas/UKCustoms.Models.LocationQualifier"
          },
          "locationOfGoods_AuthorisationNumber": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods_AdditionalIdentifier": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods_UNLocode": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods_CustomsOffice": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods_GNSS_Latitude": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods_GNSS_Longitude": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods_EconomicOperator_Id": {
            "type": "string",
            "nullable": true
          },
          "locationOfGoods_Address": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Address"
          },
          "locationOfGoods_PostcodeAddress": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.PostcodeAddress"
          },
          "locationOfGoods_ContactPerson": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ContactPerson"
          },
          "departureTransportMeans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.DepartureTransportMeans"
            },
            "nullable": true
          },
          "countryOfRoutingOfConsignment": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CountryOfRouting"
            },
            "nullable": true
          },
          "activeBorderTransportMeans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ActiveBorderTransportMeans"
            },
            "nullable": true
          },
          "placeOfLoading_UNLocode": {
            "type": "string",
            "nullable": true
          },
          "placeOfLoading_Country": {
            "type": "string",
            "nullable": true
          },
          "placeOfLoading_Location": {
            "type": "string",
            "nullable": true
          },
          "placeOfUnloading_UNLocode": {
            "type": "string",
            "nullable": true
          },
          "placeOfUnloading_Country": {
            "type": "string",
            "nullable": true
          },
          "placeOfUnloading_Location": {
            "type": "string",
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.PreviousDocument"
            },
            "nullable": true
          },
          "supportingDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.SupportingDocument"
            },
            "nullable": true
          },
          "transportDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.TransportDocument"
            },
            "nullable": true
          },
          "additionalReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalReference"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalInformation"
            },
            "nullable": true
          },
          "transportCharges_MethodOfPayment": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.MethodOfPayment"
          },
          "houseConsignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.HouseConsignment"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.ConsignmentItem": {
        "type": "object",
        "properties": {
          "goodsItemNumber": {
            "type": "integer",
            "format": "int32"
          },
          "declarationGoodsItemNumber": {
            "type": "integer",
            "format": "int32"
          },
          "declarationType": {
            "type": "string",
            "nullable": true
          },
          "countryOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "countryOfDestination": {
            "type": "string",
            "nullable": true
          },
          "referenceNumberUCR": {
            "type": "string",
            "nullable": true
          },
          "consignee_Id": {
            "type": "string",
            "nullable": true
          },
          "consignee_Name": {
            "type": "string",
            "nullable": true
          },
          "consignee_Address": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Address"
          },
          "additionalSupplyChainActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalSupplyChainActor"
            },
            "nullable": true
          },
          "commodity_DescriptionOfGoods": {
            "type": "string",
            "nullable": true
          },
          "cusCode": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "dangerousGoods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.DangerousGoods"
            },
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "netMass": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "supplementaryUnits": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "valueCurrencyCode": {
            "type": "string",
            "nullable": true
          },
          "exportMRN": {
            "type": "string",
            "nullable": true
          },
          "commercialInvoice": {
            "type": "string",
            "nullable": true
          },
          "exciseCode": {
            "type": "string",
            "nullable": true
          },
          "packaging": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Packaging"
            },
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ConsignmentItemPreviousDocument"
            },
            "nullable": true
          },
          "supportingDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.SupportingDocument"
            },
            "nullable": true
          },
          "transportDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.TransportDocument"
            },
            "nullable": true
          },
          "additionalReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalReference"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalInformation"
            },
            "nullable": true
          },
          "transportCharges_MethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "quantities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ConsignmentItemQuantity"
            },
            "nullable": true
          },
          "guaranteeCalculation": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ConsignmentItemGuaranteeCalculation"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.ConsignmentItemGuaranteeCalculation": {
        "type": "object",
        "properties": {
          "calculatedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "vatPercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "vatAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "dutyPercent": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "dutyAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "exciseType": {
            "type": "string",
            "nullable": true
          },
          "exciseAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "guaranteeTotalAmount": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.ConsignmentItemPreviousDocument": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "goodsItemNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "typeOfPackages": {
            "type": "string",
            "nullable": true
          },
          "numberOfPackages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "measurementUnitAndQualifier": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "complementOfInformation": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.ConsignmentItemQuantity": {
        "type": "object",
        "properties": {
          "measurementUnit": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.ContactPerson": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.CountryOfRouting": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.CustomsOfficeOfExit": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.CustomsOfficeOfTransit": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "arrivalDateAndTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.DangerousGoods": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "unNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.DeclarationData": {
        "type": "object",
        "properties": {
          "messageSender": {
            "type": "string",
            "nullable": true
          },
          "messageRecipient": {
            "type": "string",
            "nullable": true
          },
          "preparationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "messageIdentification": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "declarationType": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.DeclarationType"
          },
          "additionalDeclarationType": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.AdditionalDeclarationType"
          },
          "simplified": {
            "type": "boolean"
          },
          "tirCarnetNumber": {
            "type": "string",
            "nullable": true
          },
          "presentationOfTheGoodsDateAndTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "security": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.Security"
          },
          "reducedDatasetIndicator": {
            "type": "boolean"
          },
          "specificCircumstanceIndicator": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.SpecificCircumstanceIndicator"
          },
          "communicationLanguageAtDeparture": {
            "type": "string",
            "nullable": true
          },
          "bindingItinerary": {
            "type": "boolean"
          },
          "limitDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "authorisation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Authorisation"
            },
            "nullable": true
          },
          "customsOfficeOfDeparture": {
            "type": "string",
            "nullable": true
          },
          "customsOfficeOfDestinationDeclared": {
            "type": "string",
            "nullable": true
          },
          "customsOfficesOfTransit": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CustomsOfficeOfTransit"
            },
            "nullable": true
          },
          "customsOfficesOfExit": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CustomsOfficeOfExit"
            },
            "nullable": true
          },
          "holderOfTheTransitProcedure_Id": {
            "type": "string",
            "nullable": true
          },
          "holderOfTheTransitProcedure_TIRId": {
            "type": "string",
            "nullable": true
          },
          "holderOfTheTransitProcedure_Name": {
            "type": "string",
            "nullable": true
          },
          "holderOfTheTransitProcedure_Address": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Address"
          },
          "holderOfTheTransitProcedure_ContactPerson": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ContactPerson"
          },
          "representative_Id": {
            "type": "string",
            "nullable": true
          },
          "representative_Status": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.RepresentativeStatus"
          },
          "representative_ContactPerson": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ContactPerson"
          },
          "guarantee": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Guarantee"
            },
            "nullable": true
          },
          "consignment": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Consignment"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.DepartureTransportMeans": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "typeOfIdentification": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.TypeOfIdentificationOfMeansOfTransport"
          },
          "identificationNumber": {
            "type": "string",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.GoodsReference": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "declarationGoodsItemNumber": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.Guarantee": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "guaranteeType": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.GuaranteeType"
          },
          "otherGuaranteeReference": {
            "type": "string",
            "nullable": true
          },
          "guaranteeReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.GuaranteeReference"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.GuaranteeReference": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "grn": {
            "type": "string",
            "nullable": true
          },
          "accessCode": {
            "type": "string",
            "nullable": true
          },
          "amountToBeCovered": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "currency": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.HouseConsignment": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "countryOfDispatch": {
            "type": "string",
            "nullable": true
          },
          "grossMass": {
            "type": "number",
            "format": "double"
          },
          "referenceNumberUCR": {
            "type": "string",
            "nullable": true
          },
          "consignor_Id": {
            "type": "string",
            "nullable": true
          },
          "consignor_Name": {
            "type": "string",
            "nullable": true
          },
          "consignor_Address": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Address"
          },
          "consignor_ContactPerson": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ContactPerson"
          },
          "consignee_Id": {
            "type": "string",
            "nullable": true
          },
          "consignee_Name": {
            "type": "string",
            "nullable": true
          },
          "consignee_Address": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Address"
          },
          "defaultExportMRN": {
            "type": "string",
            "nullable": true
          },
          "defaultCommercialInvoice": {
            "type": "string",
            "nullable": true
          },
          "additionalSupplyChainActors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalSupplyChainActor"
            },
            "nullable": true
          },
          "departureTransportMeans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.DepartureTransportMeans"
            },
            "nullable": true
          },
          "previousDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.PreviousDocument"
            },
            "nullable": true
          },
          "supportingDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.SupportingDocument"
            },
            "nullable": true
          },
          "transportDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.TransportDocument"
            },
            "nullable": true
          },
          "additionalReferences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalReference"
            },
            "nullable": true
          },
          "additionalInformation": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.AdditionalInformation"
            },
            "nullable": true
          },
          "transportCharges_MethodOfPayment": {
            "type": "string",
            "nullable": true
          },
          "consignmentItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.ConsignmentItem"
            },
            "nullable": true
          },
          "packaging": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Packaging"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.Packaging": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "numberOfPackages": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "shippingMarks": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.PostcodeAddress": {
        "type": "object",
        "properties": {
          "houseNumber": {
            "type": "string",
            "nullable": true
          },
          "postcode": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.PreviousDocument": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.PreviousDocumentType"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "complementOfInformation": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.Seal": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "identifier": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.SupportingDocument": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.SupportingDocumentType"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "documentLineItemNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "complementOfInformation": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.Transhipment": {
        "type": "object",
        "properties": {
          "containerIndicator": {
            "type": "boolean"
          },
          "transportMeans_Type": {
            "type": "string",
            "nullable": true
          },
          "transportMeans_Id": {
            "type": "string",
            "nullable": true
          },
          "transportMeans_Nationality": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.TransportDocument": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.CodeLists.TransportDocumentType"
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Models.NCTS.v5.TransportEquipment": {
        "type": "object",
        "properties": {
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "containerIdentificationNumber": {
            "type": "string",
            "nullable": true
          },
          "numberOfSeals": {
            "type": "integer",
            "format": "int32"
          },
          "seals": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Seal"
            },
            "nullable": true
          },
          "goodsReference": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.GoodsReference"
            },
            "nullable": true
          },
          "transhipment": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.Transhipment"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.DTOs.CDS.CreateWarehouseTransactionCommand": {
        "type": "object",
        "properties": {
          "warehouseId": {
            "type": "string",
            "nullable": true
          },
          "commodityCode": {
            "type": "string",
            "nullable": true
          },
          "sku": {
            "type": "string",
            "nullable": true
          },
          "tradingPartnerCode": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "explanation": {
            "type": "string",
            "nullable": true
          },
          "referenceNumber": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.DTOs.ELO.SubmitResponseDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.AirImports.Consignments.SearchAirConsignmentsQueryDTO": {
        "type": "object",
        "properties": {
          "awb": {
            "type": "string",
            "nullable": true
          },
          "hawb": {
            "type": "string",
            "nullable": true
          },
          "split": {
            "type": "string",
            "nullable": true
          },
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "customsEntryDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "jobReferenceNumber": {
            "type": "string",
            "nullable": true
          },
          "duty": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "vat": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "numberOfPiecesReceived": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "customsStatus": {
            "type": "string",
            "nullable": true
          },
          "arrivalStatus": {
            "type": "string",
            "nullable": true
          },
          "mucr": {
            "type": "string",
            "nullable": true
          },
          "addedDateTIme": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "customsAction": {
            "type": "string",
            "nullable": true
          },
          "destination": {
            "type": "string",
            "nullable": true
          },
          "flightNumber": {
            "type": "string",
            "nullable": true
          },
          "shed": {
            "type": "string",
            "nullable": true
          },
          "badge": {
            "type": "string",
            "nullable": true
          },
          "shipmentDescriptionCode": {
            "type": "string",
            "nullable": true
          },
          "quantityManifested": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "weight": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "status1": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.CDS.Exports.CDSExportDeclarationDetailsByCorrelationIdQueryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "versionId": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "addedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "statusDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "latestMessage": {
            "type": "string",
            "nullable": true
          },
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "dmsdoc": {
            "type": "boolean"
          },
          "dmsqry": {
            "type": "boolean"
          },
          "dmsctl": {
            "type": "boolean"
          },
          "dmsext": {
            "type": "boolean"
          },
          "dmsger": {
            "type": "boolean"
          },
          "dmsalv": {
            "type": "boolean"
          },
          "tdr": {
            "type": "boolean"
          },
          "latestSubmitResponse": {
            "type": "string",
            "nullable": true
          },
          "acceptanceDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "customsClearedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "canSubmit": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.CDS.Imports.CDSImportDeclarationDetailsByCorrelationIdQueryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "versionId": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "addedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "statusDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "latestMessage": {
            "type": "string",
            "nullable": true
          },
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "dmsdoc": {
            "type": "boolean"
          },
          "dmsqry": {
            "type": "boolean"
          },
          "dmsctl": {
            "type": "boolean"
          },
          "dmscpi": {
            "type": "boolean"
          },
          "dmscpr": {
            "type": "boolean"
          },
          "dmsext": {
            "type": "boolean"
          },
          "dmsalv": {
            "type": "boolean"
          },
          "tdr": {
            "type": "boolean"
          },
          "latestSubmitResponse": {
            "type": "string",
            "nullable": true
          },
          "acceptanceDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "customsClearedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "editable": {
            "type": "boolean"
          },
          "canSubmit": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.CDS.Imports.GetImportTaxSummaryQueryDTO": {
        "type": "object",
        "properties": {
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "hasTaxes": {
            "type": "boolean"
          },
          "totalDuty": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "totalVAT": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "payableDuty": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "payableVAT": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "taxBreakdown": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.CDS.Imports.GetImportTaxSummaryQueryDTO.TaxBreakdownDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.CDS.Imports.GetImportTaxSummaryQueryDTO.TaxBreakdownDTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "totalAmount": {
            "type": "number",
            "format": "double"
          },
          "payableAmount": {
            "type": "number",
            "format": "double"
          },
          "cdsCashAccount": {
            "type": "string",
            "nullable": true
          },
          "dan": {
            "type": "string",
            "nullable": true
          },
          "pvavatNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.ELO.GetELODeclarationQueryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/UKCustoms.Models.DTOs.ELO.ELODeclarationDataDTO"
          },
          "addedByUserId": {
            "type": "string",
            "nullable": true
          },
          "addedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/UKCustoms.Models.ELOStatus"
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "submittedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "acceptedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "rejectedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "embarkedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "disembarkedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "closedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pairedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "submitResponse": {
            "$ref": "#/components/schemas/UKCustoms.Web.Shared.DTOs.ELO.SubmitResponseDTO"
          },
          "jeton": {
            "type": "string",
            "nullable": true
          },
          "hasPDF": {
            "type": "boolean"
          },
          "archived": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.ENS.ENSDeclarationDetailsByCorrelationIdQueryDTO": {
        "type": "object",
        "properties": {
          "lrn": {
            "type": "string",
            "nullable": true
          },
          "mrn": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/UKCustoms.Models.ENSStatus"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.GVMS.GetGVMSDetailsQueryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "correlationId": {
            "type": "string",
            "nullable": true
          },
          "addedByUserId": {
            "type": "string",
            "nullable": true
          },
          "addedDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "data": {
            "type": "string",
            "nullable": true
          },
          "createData": {
            "$ref": "#/components/schemas/Sitpro.HMRC.GVMS.PostGMRSchema"
          },
          "sentToHMRCDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelledDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancellationRequestedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "notFinalisableDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "openDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "checkedInDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "embarkedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "completedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "gmrId": {
            "type": "string",
            "nullable": true
          },
          "gmrState": {
            "type": "string",
            "nullable": true
          },
          "updatedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "linkedDeclarationId": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/UKCustoms.Models.GVMSStatus"
          },
          "statusText": {
            "type": "string",
            "nullable": true
          },
          "archived": {
            "type": "boolean"
          },
          "inspectionRequired": {
            "type": "boolean"
          },
          "dtoData": {
            "$ref": "#/components/schemas/UKCustoms.Models.DTOs.GVMS.GVMSDeclarationDTO"
          },
          "lastStatusCode": {
            "type": "string",
            "nullable": true
          },
          "submitFailure": {
            "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.GVMS.SubmitFailureDTO"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.GVMS.SubmitErrorDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.GVMS.SubmitFailureDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UKCustoms.Web.Shared.Requests.GVMS.SubmitErrorDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.NCTS.v5.Departures.CreateDepartureCommand": {
        "type": "object",
        "properties": {
          "externalCorrelationId": {
            "type": "string",
            "nullable": true
          },
          "linkedDeclarationId": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "$ref": "#/components/schemas/UKCustoms.Models.NCTS.v5.DeclarationData"
          },
          "version": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.Vehicles.CreateVehicleCommand": {
        "type": "object",
        "properties": {
          "regNumber": {
            "type": "string",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.Vehicles.ListVehiclesQueryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "regNumber": {
            "type": "string",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.Vehicles.UpdateVehicleCommand": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "regNumber": {
            "type": "string",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UKCustoms.Web.Shared.Requests.Vehicles.VehicleDetailsQueryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "regNumber": {
            "type": "string",
            "nullable": true
          },
          "nationality": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "Paste a valid JWT access token",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "ApiKey": {
        "type": "apiKey",
        "description": "Enter your API key",
        "name": "X-API-Key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    },
    {
      "ApiKey": [ ]
    }
  ],
  "tags": [
    {
      "name": "Addresses"
    },
    {
      "name": "AES"
    },
    {
      "name": "Air Imports"
    },
    {
      "name": "AIS"
    },
    {
      "name": "CDS Exports"
    },
    {
      "name": "CDS Imports"
    },
    {
      "name": "Contacts"
    },
    {
      "name": "ELO"
    },
    {
      "name": "ENS"
    },
    {
      "name": "GVMS"
    },
    {
      "name": "ICS2"
    },
    {
      "name": "NCTS v5"
    },
    {
      "name": "Ping"
    },
    {
      "name": "Products"
    },
    {
      "name": "Status"
    },
    {
      "name": "Vehicles"
    },
    {
      "name": "Warehouse"
    }
  ]
}