{
    "openapi": "3.0.0",
    "info": {
        "description": "Welcome to Dashdoc's API documentation.\n\nThis documentation is still a work in progress. Feel free to contact us at contact@dashdoc.eu if you have any question.\n\n### Maintaining our API versions\n\nDashdoc organises the release of new API versions to reflect new features and other changes.\n\nAs a general rule we try to make these changes backwardly compatible. However, when we're unable to do this we commit to support the older version of our APIs for a reasonable time.\n\nThe current supported version is v4. v3 is deprecated since November 30th 2024.\n\n### We aim to make backwards-compatible changes\n\nWe consider the following list, which is not exhaustive, to be illustrative of the types of backwardly compatible changes we could make to the API:\n\n-   Adding new attributes to a response\n-   Reordering attributes in an existing response\n-   Adding a new endpoint\n-   Adding new methods to an existing endpoint\n-   Adding new query string parameters\n-   Adding new path parameters\n-   Adding new callback events\n\n### We will notify you of all changes\n\nWe strive to improve our API on an ongoing basis. This means that we do make changes to the API that results in new API versions. We will notify you ahead of a new release.  We will support you through a transition period from the previous API version to the new version.\n\n[Back to Dashdoc](https://www.dashdoc.eu/)\n\n## API access\n\nThe API's (production) base url is `https://api.dashdoc.eu/api/v4/`.\n\nThe API's (sandbox) base url is  `https://sandbox.dashdoc.eu/api/v4/`.\n\n## Requests\n\n### Requests body\n\nEvery POST, PUT, PATCH request SHOULD be JSON encoded and contain a\n`content-type: application/json` header.\n\n```json\n$ curl \"https://api.dashdoc.eu/api/v4/truckers/27\" \\\n    -X PATCH \\\n    -H \"Authorization: Token <your token>\" \\\n    -H 'Content-Type: application/json' \\\n    -d '{\"phone_number\":\"060102030405\"}'\n```\n\n### HTTP methods\n\nStandard HTTP methods are used to indicate the desired action to be performed\nby the request:\n\n`GET` - To retrieve a resource or list of resources.\n\n`POST` - To create a resource\n\n`PATCH` - To update a resources (only present fields are updated)\n\n`DELETE` - To delete a resource.\n\n## Responses\n\nAll response bodies are JSON encoded.\n\nA simple resource is represented as a JSON object:\n\n```json\n{\n    \"field1\": \"value\",\n    \"field2\": true,\n    \"field3\": []\n}\n```\n\nA list of resources is represented as a JSON array of objects:\n\n```json\n[\n    {\n        \"field1\": \"value\",\n        \"field2\": true,\n        \"field3\": []\n    },\n    {\n        \"field1\": \"another value\",\n        \"field2\": false,\n        \"field3\": []\n    }\n]\n```\n\n## HTTP status code\n\nStandard HTTP status codes are used to indicate success of a request.\n\n### Success codes\n\n`200 OK` - Request successfully executed\n\n`201 Created` - Resource created\n\n`204 No Content` - Request successful, but no content to return\n\n### Error codes\n\n`400 Bad Request` - Client provided invalid content to the request\n\n`401 Unauthorized` - No authentication provided to the request\n\n`403 Forbidden` - Authenticated user does not have permissions to access the\nresource\n\n`404 Not Found` - Resource not found\n\n`405 Method Not Allowed` - The request method is known by the server but is not supported by the target resource. For example, an API may not allow calling DELETE to remove a resource.\n\n`409 Conflict` - This response is sent when a request conflicts with the current state of the server.\n\n`415 Unsupported Media Type` - The media format of the requested data is not supported by the server, so the server is rejecting the request.\n\n`429 Too Many Requests` - The user sent too many requests in a short period.\n\n`5XX` - Internal server error\n\n## Fields\n\n-   All measurements fields are integer numbers (e.g. weights, volumes, sizes)\n-   Timestamps are UTC localized\n    [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time) and formated\n    according to the [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) norm.\n-   All dates are generated by the server, unless specifically indicated (e.g. `created_device`)\n",
        "title": "Dashdoc public API",
        "version": "4.0",
        "x-logo": {
            "url": "https://www.dashdoc.eu/files-static/img/logo-dashdoc.png",
            "altText": "Dashdoc"
        }
    },
    "servers": [
        {
            "url": "https://api.dashdoc.eu/api/v4"
        }
    ],
    "security": [
        {
            "ApiKeyAuth": []
        }
    ],
    "tags": [
        {
            "name": "Addresses"
        },
        {
            "name": "ADR UN codes"
        },
        {
            "name": "Chartering"
        },
        {
            "name": "Companies"
        },
        {
            "name": "Contacts"
        },
        {
            "name": "Deliveries"
        },
        {
            "name": "DeliveryDocuments"
        },
        {
            "name": "DockActivities"
        },
        {
            "name": "InvoiceItems"
        },
        {
            "name": "Invoices"
        },
        {
            "name": "Managers"
        },
        {
            "name": "SecurityProtocols"
        },
        {
            "name": "Segments"
        },
        {
            "name": "Sites"
        },
        {
            "name": "SupportsExchanges"
        },
        {
            "name": "SupportTypes"
        },
        {
            "name": "Tags"
        },
        {
            "name": "Telematics"
        },
        {
            "name": "TrackDechets"
        },
        {
            "name": "TrackingFiles"
        },
        {
            "name": "Trailers"
        },
        {
            "name": "TransportLoadingPlans"
        },
        {
            "name": "TransportMessages"
        },
        {
            "name": "Transports"
        },
        {
            "name": "TransportTemplates"
        },
        {
            "name": "Truckers"
        },
        {
            "name": "Vehicles"
        },
        {
            "name": "Flow (beta)"
        }
    ],
    "paths": {
        "/addresses/": {
            "get": {
                "operationId": "listAddresses",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "in": "query",
                        "name": "is_carrier",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "in": "query",
                        "name": "is_shipper",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "in": "query",
                        "name": "is_origin",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "in": "query",
                        "name": "is_destination",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "description": "Comma separated values",
                        "in": "query",
                        "name": "category__in",
                        "required": false,
                        "schema": {
                            "example": "origin,destination",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Addresses"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Addresses list",
                "tags": ["Addresses"]
            },
            "post": {
                "description": "Add the address to the requester's company contact book. The address belongs to a company that already exists or is created in the same time.",
                "operationId": "createAddresses",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewAddress"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Address"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create an address",
                "tags": ["Addresses"]
            }
        },
        "/addresses/{pk}/": {
            "delete": {
                "operationId": "deleteAddresses",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters ",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete an address",
                "tags": ["Addresses"]
            },
            "get": {
                "operationId": "readAddresses",
                "parameters": [
                    {
                        "description": "Dashdoc's internal id",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters ",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Address"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read an address",
                "tags": ["Addresses"]
            },
            "patch": {
                "operationId": "partialAddresses",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters ",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateAddress"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Address"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update an address",
                "tags": ["Addresses"]
            }
        },
        "/addresses/{pk}/security-protocol/": {
            "get": {
                "operationId": "readAddressesSecurityProtocol",
                "parameters": [
                    {
                        "description": "Dashdoc's internal id",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters ",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SecurityProtocol"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a security protocol of an address",
                "tags": ["SecurityProtocols"]
            }
        },
        "/adr-un-codes/": {
            "get": {
                "operationId": "listAdrUnCodes",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Search by code or description, not case sensitive.",
                        "in": "query",
                        "name": "search",
                        "required": false,
                        "schema": {
                            "example": "gasoline",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Order results by code. Ascending with code and descending with -code.",
                        "in": "query",
                        "name": "ordering",
                        "required": false,
                        "schema": {
                            "example": "code",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AdrUnCodes"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List ADR UN codes",
                "tags": ["ADR UN codes"]
            }
        },
        "/adr-un-codes/{pk}/": {
            "get": {
                "operationId": "readAdrUnCodes",
                "parameters": [
                    {
                        "description": "Dashdoc's internal id",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/AdrUnCode"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read ADR UN code",
                "tags": ["ADR UN codes"]
            }
        },
        "/carbon-footprint/transport-operation-categories/": {
            "get": {
                "description": "Transport operation categories are used to categorize transports by carbon footprint impact.",
                "operationId": "listTransportOperationCategories",
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TransportOperationCategories"
                                }
                            }
                        },
                        "description": "List successful"
                    }
                },
                "summary": "List transport operation categories",
                "tags": ["TransportOperationCategories"]
            }
        },
        "/companies/": {
            "get": {
                "operationId": "listCompanies",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Case insentive filter on company name",
                        "in": "query",
                        "name": "text",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter companies updated after or at a certain date",
                        "in": "query",
                        "name": "updated__gte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter companies updated before or at a certain date",
                        "in": "query",
                        "name": "updated__lte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter companies updated after a certain date",
                        "in": "query",
                        "name": "updated__gt",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter companies updated before a certain date",
                        "in": "query",
                        "name": "updated__lt",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Companies"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Companies list",
                "tags": ["Companies"]
            },
            "post": {
                "description": "Creates a company in your address book. \n\nControls occur to prevent from creating distinct companies objects that would actually represent the same. \n\nUnicity control is performed on attributes in this order to determine if it already exists: \n\n* `remote_id` \n\n* `trade_number` \n\n* `name`",
                "operationId": "createCompanies",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewCompany"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FullCompany"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a company",
                "tags": ["Companies"]
            }
        },
        "/companies/{pk}/": {
            "get": {
                "operationId": "readCompanies",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FullCompany"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a company",
                "tags": ["Companies"]
            },
            "patch": {
                "operationId": "partialCompanies",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateCompany"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FullCompany"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a company",
                "tags": ["Companies"]
            }
        },
        "/contacts/": {
            "get": {
                "operationId": "listContacts",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "The primary key of a company to filter on.",
                        "in": "query",
                        "name": "company__id",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "A comma separated list of company primary keys.",
                        "in": "query",
                        "name": "company__id__in",
                        "required": false,
                        "schema": {
                            "example": "12345,9876",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contacts"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all contacts",
                "tags": ["Contacts"]
            },
            "post": {
                "description": "Add a contact to a specific company in the requester's address book.\n\nThe company can be identified either by its `pk` or its `remote_id`.",
                "operationId": "createContacts",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewContact"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contact"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a contact",
                "tags": ["Contacts"]
            }
        },
        "/contacts/{uid}/": {
            "delete": {
                "operationId": "deleteContact",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete a contact",
                "tags": ["Contacts"]
            },
            "get": {
                "operationId": "readContact",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contact"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a contact",
                "tags": ["Contacts"]
            },
            "patch": {
                "operationId": "partialUpdateContact",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateContact"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contact"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a contact",
                "tags": ["Contacts"]
            }
        },
        "/contacts/{uid}/invite/": {
            "post": {
                "operationId": "inviteContacts",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contact"
                                }
                            }
                        },
                        "description": "Invite successful"
                    }
                },
                "summary": "Invite a contact",
                "tags": ["Contacts"]
            }
        },
        "/deliveries/": {
            "get": {
                "operationId": "listDeliveries",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Comma separated list of transport uids.",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Deliveries"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all deliveries",
                "tags": ["Deliveries"]
            }
        },
        "/deliveries/{uid}/": {
            "get": {
                "operationId": "readDeliveries",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Delivery"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a delivery",
                "tags": ["Deliveries"]
            },
            "patch": {
                "operationId": "partialUpdateDeliveries",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateOrUpdateDelivery"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Delivery"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a delivery",
                "tags": ["Deliveries"]
            }
        },
        "/deliveries/{uid}/add-round/": {
            "post": {
                "operationId": "addRoundDeliveries",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AddRoundDeliveries"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200"
                                }
                            }
                        },
                        "description": "Add round successful"
                    }
                },
                "summary": "Add round to a delivery",
                "tags": ["Deliveries"]
            }
        },
        "/deliveries/{uid}/cmrs/": {
            "get": {
                "description": "Get the CMRs related to a delivery",
                "operationId": "getDeliveriesCMRs",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/CMRDocument"
                                    },
                                    "type": "array"
                                }
                            }
                        }
                    }
                },
                "summary": "Get CMRs / LVs",
                "tags": ["Deliveries"]
            }
        },
        "/delivery-documents/{uid}/": {
            "get": {
                "operationId": "getDeliveryDocument",
                "parameters": [
                    {
                        "description": "The unique identifier of the delivery document",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "302": {
                        "description": "Redirect to the document file URL",
                        "headers": {
                            "Location": {
                                "description": "URL to the actual document file",
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_404"
                                }
                            }
                        },
                        "description": "Delivery document not found"
                    }
                },
                "summary": "Get a delivery document",
                "tags": ["DeliveryDocuments"]
            }
        },
        "/dock-activities/": {
            "get": {
                "operationId": "listDockActivities",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Filter dock activities with a date greater or equal than provided value. This filter is based on effective date if applicable, or scheduled date of applicable, or requested date.",
                        "in": "query",
                        "name": "date__gte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter dock activities with a date lower or equal than provided value. This filter is based on effective date if applicable, or scheduled date of applicable, or requested date.",
                        "in": "query",
                        "name": "date__lte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter dock activities with no date. This filter is based on effective date if applicable, or scheduled date of applicable, or requested date.",
                        "in": "query",
                        "name": "no_date",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "description": "Comma-separated list of address ids for the requested dock activities",
                        "in": "query",
                        "name": "address_id__in",
                        "required": false,
                        "schema": {
                            "example": "12345,9876",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DockActivities"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Beta: List dock activities",
                "tags": ["DockActivities"]
            }
        },
        "/dock-activities/{uid}/mark-loaded-by-dock/": {
            "post": {
                "description": "Mark the dock site activity as loaded by dock",
                "operationId": "markDockActivityLoadedByDock",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "$ref": "#/components/requestBodies/inline_object",
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "observations": {
                                        "description": "Observations by the dock during the loading operation",
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Mark loaded by dock successful"
                    }
                },
                "summary": "Beta: Mark loaded by dock",
                "tags": ["DockActivities"]
            }
        },
        "/dock-activities/{uid}/mark-unloaded-by-dock/": {
            "post": {
                "description": "Mark the dock site activity as unloaded by dock",
                "operationId": "markDockActivityUnloadedByDock",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "$ref": "#/components/requestBodies/inline_object_1",
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "observations": {
                                        "description": "Observations by the dock during the unloading operation",
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Mark unloaded by dock successful"
                    }
                },
                "summary": "Beta: Mark unloaded by dock",
                "tags": ["DockActivities"]
            }
        },
        "/invoices/items/": {
            "get": {
                "operationId": "listInvoiceItems",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/InvoiceItems"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Beta: List all invoice items",
                "tags": ["InvoiceItems"]
            },
            "post": {
                "operationId": "createInvoiceItem",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewInvoiceItem"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/InvoiceItem"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Beta: Create an invoice item",
                "tags": ["InvoiceItems"]
            }
        },
        "/invoices/items/{uid}/": {
            "delete": {
                "operationId": "deleteInvoiceItem",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete an invoice intem",
                "tags": ["InvoiceItems"]
            },
            "patch": {
                "operationId": "partialUpdateInvoiceItem",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateInvoiceItem"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/InvoiceItem"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Beta: Partially update an invoice item",
                "tags": ["InvoiceItems"]
            }
        },
        "/invoices/": {
            "get": {
                "operationId": "listInvoices",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Filter invoices finalized after or at a certain date",
                        "in": "query",
                        "name": "finalized_at__gte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Invoices"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Beta: List all invoices",
                "tags": ["Invoices"]
            }
        },
        "/invoices/{uid}/": {
            "get": {
                "operationId": "readInvoice",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Invoice"
                                }
                            }
                        }
                    }
                },
                "summary": "Beta: Read an invoice",
                "tags": ["Invoices"]
            },
            "patch": {
                "operationId": "partialUpdateInvoice",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateInvoice"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Invoice"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Beta: Partially update an invoice",
                "tags": ["Invoices"]
            }
        },
        "/invoices/{uid}/mark-paid/": {
            "post": {
                "description": "Mark an invoice as paid",
                "operationId": "markPaidInvoice",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Invoice"
                                }
                            }
                        }
                    }
                },
                "summary": "Beta: Mark paid",
                "tags": ["Invoices"]
            }
        },
        "/invoices/{uid}/mark-not-paid/": {
            "post": {
                "description": "Mark an invoice as not paid.",
                "operationId": "markNotPaidInvoice",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Invoice"
                                }
                            }
                        }
                    }
                },
                "summary": "Beta: Mark not paid",
                "tags": ["Invoices"]
            }
        },
        "/managers/invite/": {
            "post": {
                "operationId": "inviteManager",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/InviteManager"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Manager"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Invite a manager",
                "tags": ["Managers"]
            }
        },
        "/managers/me/": {
            "get": {
                "deprecated": true,
                "description": "**Prefer using the url request /managers/{pk}/**",
                "operationId": "meManager",
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Manager"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a manager",
                "tags": ["Managers"]
            },
            "patch": {
                "deprecated": true,
                "description": "**Prefer using the url request /managers/{pk}/**",
                "operationId": "partialUpdateMeManager",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateManager"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Manager"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a manager",
                "tags": ["Managers"]
            }
        },
        "/managers/set-company/": {
            "post": {
                "operationId": "setCompanyManager",
                "requestBody": {
                    "$ref": "#/components/requestBodies/inline_object_2",
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "company": {
                                        "example": 348910,
                                        "type": "number"
                                    }
                                },
                                "required": ["company"],
                                "type": "object"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200_1"
                                }
                            }
                        },
                        "description": "Set company successful"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_404_1"
                                }
                            }
                        },
                        "description": "Set company failed"
                    }
                },
                "summary": "Set company",
                "tags": ["Managers"]
            }
        },
        "/managers/{pk}/": {
            "delete": {
                "operationId": "deleteManager",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete a manager",
                "tags": ["Managers"]
            },
            "get": {
                "operationId": "readManager",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Manager"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a manager",
                "tags": ["Managers"]
            },
            "patch": {
                "operationId": "partialUpdateManager",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateManager"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Manager"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a manager",
                "tags": ["Managers"]
            }
        },
        "/manager-truckers/": {
            "get": {
                "operationId": "listTruckers",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Truckers"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all truckers",
                "tags": ["Truckers"]
            },
            "post": {
                "operationId": "createTruckers",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewTrucker"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trucker"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a trucker",
                "tags": ["Truckers"]
            }
        },
        "/manager-truckers/{pk}/": {
            "delete": {
                "operationId": "deleteTrucker",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_404_2"
                                }
                            }
                        },
                        "description": "Trucker not found"
                    }
                },
                "summary": "Delete a trucker",
                "tags": ["Truckers"]
            },
            "get": {
                "operationId": "readTruckers",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trucker"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a trucker",
                "tags": ["Truckers"]
            },
            "patch": {
                "operationId": "partialUpdateTruckers",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewTrucker"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trucker"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a trucker",
                "tags": ["Truckers"]
            }
        },
        "/manager-truckers/{pk}/lease/": {
            "post": {
                "description": "Give access to your trucker from another carrier Dashdoc account. \n\nThe trucker will be seen as a rented trucker in the other carrier account. We will call this one the tenant carrier. The difference from creating it as a rented trucker in the web app is the trucker's `pk` is the same in the tenant carrier account and can be used to assign the trucker to a transport. In case you delete your own trucker, this one won't be available anymore for the tenant carrier. \n\n**Prerequisite:** the tenant carrier account and your own have to be reachable from one another (partner link, see with your Dashdoc project manager).",
                "operationId": "leaseTrucker",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/LeaseTrucker"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "description": "Empty body"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/LeaseTruckerManagerNotFoundError"
                                }
                            }
                        },
                        "description": "Tenant carrier could not be found"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/LeaseTruckerManagerNotLinkedError"
                                }
                            }
                        },
                        "description": "Employer carrier and tenant carrier are not linked."
                    }
                },
                "summary": "Lease a trucker",
                "tags": ["Truckers"]
            }
        },
        "/manager-truckers/{pk}/generate-invite-code/": {
            "post": {
                "operationId": "generateInviteCodeTruckers",
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trucker"
                                }
                            }
                        },
                        "description": "Invite code generated successfully"
                    }
                },
                "summary": "Generate an invite code",
                "tags": ["Truckers"]
            }
        },
        "/manager-truckers/{pk}/unavailability/": {
            "post": {
                "description": "A trucker can be marked as unavailable for a given period of time for various reasons. These unavailabilities are marked on the planning or can be accessed by API by fetching the trucker.",
                "operationId": "createTruckerUnavailability",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateUnavailability"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trucker"
                                }
                            }
                        },
                        "description": "Successfully created the unavailability, returns the trucker, which contains the unavailability."
                    }
                },
                "summary": "Create an unavailability for a trucker for a given period",
                "tags": ["Truckers"]
            }
        },
        "/manager-truckers/{pk}/unavailability/{pk_unavailability}/": {
            "delete": {
                "operationId": "deleteTruckerUnavailability",
                "parameters": [
                    {
                        "description": "The trucker's primary key",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "The unavailability's primary key",
                        "in": "path",
                        "name": "pk_unavailability",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete an unavailability for a trucker",
                "tags": ["Truckers"]
            },
            "patch": {
                "operationId": "partialUpdateTruckerUnavailability",
                "parameters": [
                    {
                        "description": "The trucker's primary key",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "The unavailability's primary key",
                        "in": "path",
                        "name": "pk_unavailability",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateUnavailability"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trucker"
                                }
                            }
                        },
                        "description": "Successfully updated the unavailability, returns the trucker, which contains the unavailability."
                    }
                },
                "summary": "Partially update an unavailability for a trucker",
                "tags": ["Truckers"]
            }
        },
        "/security-protocols/": {
            "post": {
                "description": "Creates a security protocol linked to an address of your address book.",
                "operationId": "createSecurityProtocols",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewSecurityProtocols"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SecurityProtocol"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a security protocol",
                "tags": ["SecurityProtocols"]
            }
        },
        "/security-protocols/{pk}/": {
            "patch": {
                "operationId": "partialUpdateSecurityProtocol",
                "parameters": [
                    {
                        "description": "Dashdoc's internal id",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateSecurityProtocol"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SecurityProtocol"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Partially update a security protocol",
                "tags": ["SecurityProtocols"]
            }
        },
        "/segments/{uid}/": {
            "patch": {
                "operationId": "partialSegments",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateSegment"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Segment"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a segment",
                "tags": ["Segments"]
            }
        },
        "/segments/{uid}/assign/": {
            "post": {
                "description": "Assign trucker, vehicle and trailers to a segment and all previous and subsequent segments as long as no break is encountered.",
                "operationId": "assignSegments",
                "parameters": [
                    {
                        "description": "uid of the segment to assign means to",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AssignSegment"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transport"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Assign trucker, vehicle and trailers",
                "tags": ["Segments"]
            }
        },
        "/segments/{uid}/break/": {
            "post": {
                "description": "It is possible to create a break and actually separate a segment into two segments. The second segment starts from the break position and ends at the former destination of the original segment. \n\nWhile creating the break, it is possible to assign trucker, vehicle and trailer for the second segment that will be created and all the following segments until next break or final segment. \n\nTrucker, vehicle and trailer assigned to segment before creating the break will remain assigned to the segment ending at the break position.",
                "operationId": "breakSegments",
                "parameters": [
                    {
                        "description": "uid of the segment to break",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/BreakSegment"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transport"
                                }
                            }
                        },
                        "description": "OK"
                    }
                },
                "summary": "Create a break",
                "tags": ["Segments"]
            }
        },
        "/segments/charter/": {
            "post": {
                "description": "Shortcut API to create a chartered transport from **one segment** or a **list of successive segments** (from a \"parent transport\"). Those segments, will be chartered to a \"child transport\". \n\nChild transport is created as follow: \n\n* Shipper is the actual carrier of the parent transport \n\n* Carrier is the chartered carrier given in the `carrier` parameter \n\n* Trucker and plates are not set, but information about it can be given in the `instructions` parameters \n\n* Other transport data (deliveries, segments, etc.) are duplicated \n\n* Child transport starts at the first segment's origin and ends at the last segment's destination",
                "operationId": "charterManySegments",
                "parameters": [
                    {
                        "description": "Comma separated list of segment uids, or just one if only one segment is to be chartered.",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "example": "1004fcf8-9136-11eb-aa8d-0242ac110006,a05b7bfa-71e8-11eb-b223-0242ac110007",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Comma separated list of remote ids, or just one if only one segment is to be chartered. Can be used to identify segments using their `remote_id` instead of their `uid`.",
                        "in": "query",
                        "name": "remote_id__in",
                        "required": false,
                        "schema": {
                            "example": "seg_1234567,seg_7654321",
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CharterTransport"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_201"
                                }
                            }
                        },
                        "description": "Segments chartered successfully"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CharterSegmentsFiltersError"
                                }
                            }
                        },
                        "description": "missing or incorrect query parameters"
                    }
                },
                "summary": "Charter many segments",
                "tags": ["Chartering"]
            }
        },
        "/tracking-files/": {
            "get": {
                "operationId": "listTrackingFiles",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "A date range to filter the tracking files.",
                        "in": "query",
                        "name": "date__in",
                        "required": false,
                        "schema": {
                            "example": "2024-10-11T23:00:00Z,2024-10-15T23:00:00Z",
                            "type": "string"
                        }
                    },
                    {
                        "description": "A comma separated list of statuses to filter the tracking files.",
                        "in": "query",
                        "name": "status__in",
                        "required": false,
                        "schema": {
                            "enum": ["open", "closed"],
                            "example": "open,closed",
                            "type": "string"
                        }
                    },
                    {
                        "description": "A comma separated list of transport uids to filter the tracking files.",
                        "in": "query",
                        "name": "transport_uid__in",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007,4443d4b6-e165-11ea-a488-0242ac110008",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrackingFiles"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all tracking files",
                "tags": ["TrackingFiles"]
            },
            "post": {
                "operationId": "createTrackingFile",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TrackingFileInputValidator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrackingFile"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a tracking file",
                "tags": ["TrackingFiles"]
            }
        },
        "/tracking-files/{uid}/": {
            "delete": {
                "operationId": "deleteTrackingFile",
                "parameters": [
                    {
                        "description": "Unique identifier of the tracking file",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Delete successful"
                    }
                },
                "summary": "Delete a given tracking file",
                "tags": ["TrackingFiles"]
            },
            "get": {
                "operationId": "readTrackingFile",
                "parameters": [
                    {
                        "description": "Unique identifier of the tracking file",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrackingFile"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a tracking file",
                "tags": ["TrackingFiles"]
            },
            "patch": {
                "operationId": "updateTrackingFile",
                "parameters": [
                    {
                        "description": "Unique identifier of the tracking file",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/TrackingFileInputValidator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrackingFile"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Update a given tracking file",
                "tags": ["TrackingFiles"]
            }
        },
        "/sites/{uid}": {
            "get": {
                "operationId": "readSite",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Site"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a site",
                "tags": ["Sites"]
            },
            "patch": {
                "operationId": "partialUpdateSite",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateOrUpdateSite"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CreateOrUpdateSite"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a site",
                "tags": ["Sites"]
            }
        },
        "/sites/{uid}/mark-done": {
            "post": {
                "description": "Mark the site activity as done",
                "operationId": "markDoneSite",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/MarkDoneSite"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200_1"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Mark done",
                "tags": ["Sites"]
            }
        },
        "/sites/{uid}/enable-eta/": {
            "post": {
                "description": "Constraints to respect in order to enable the ETA:\n- You have to be the carrier, the shipper or the creator of the transport\n-The address need to have validated GPS coordinates\n- The arrival times/slots need to be defined and not too wide (maximum 2h)",
                "operationId": "enableEta",
                "responses": {
                    "200": {
                        "description": "Empty body"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/EnableEtaCoordinatesError"
                                }
                            }
                        },
                        "description": "GPS coordinates missing or incorrect for this site"
                    }
                },
                "summary": "Enable ETA",
                "tags": ["Sites"]
            }
        },
        "/flow/sites/{site-slug}/companies/": {
            "post": {
                "operationId": "createFlowCompany",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/FlowCompanyRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/FlowCompany"
                                }
                            }
                        },
                        "description": "Company created successfully"
                    }
                },
                "summary": "Beta: Create a company",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/": {
            "get": {
                "operationId": "getSiteSlots",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter slots updated since this datetime",
                        "in": "query",
                        "name": "updated_since",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Page number for pagination",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "default": 1,
                            "minimum": 1,
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Include draft slots in the response",
                        "in": "query",
                        "name": "include_draft",
                        "required": false,
                        "schema": {
                            "default": false,
                            "type": "boolean"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SlotsResponse"
                                }
                            }
                        },
                        "description": "Get successful"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_404"
                                }
                            }
                        },
                        "description": "Site not found"
                    }
                },
                "summary": "Beta: Get booked slots for a site",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/draft/": {
            "post": {
                "description": "Create a new draft slot for a specific site. The slot will be created in draft state without a zone or scheduled times.\n\nDraft slots allow you to:\n- Pre-register a booking before scheduling\n- Add notes and references\n- Include custom fields\n",
                "operationId": "createDraftSlot",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "examples": {
                                "minimal": {
                                    "summary": "Minimal request",
                                    "value": {
                                        "company": {
                                            "remote_id": "COMP789"
                                        }
                                    }
                                },
                                "with_note": {
                                    "summary": "With note",
                                    "value": {
                                        "company": {
                                            "pk": 123
                                        },
                                        "note": "Special handling required"
                                    }
                                },
                                "with_references": {
                                    "summary": "With references",
                                    "value": {
                                        "company": {
                                            "remote_id": "COMP789"
                                        },
                                        "fields": {
                                            "references": ["ORDER123", "SHIPMENT456"]
                                        }
                                    }
                                },
                                "full_example": {
                                    "summary": "Complete with custom fields",
                                    "value": {
                                        "company": {
                                            "remote_id": "COMP789"
                                        },
                                        "note": "Urgent delivery - call ahead",
                                        "fields": {
                                            "references": ["ORDER123", "SHIPMENT456"],
                                            "Order Number": "12345",
                                            "Delivery Instructions": "Use back door",
                                            "Priority": "High"
                                        }
                                    }
                                }
                            },
                            "schema": {
                                "$ref": "#/components/schemas/SlotDraftRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/DraftSlot"
                                }
                            }
                        },
                        "description": "Draft slot created successfully"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_400"
                                }
                            }
                        },
                        "description": "Bad request - validation error"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_404_3"
                                }
                            }
                        },
                        "description": "Site not found"
                    }
                },
                "summary": "Beta: Create a draft slot",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/planned/": {
            "post": {
                "description": "Create a new planned slot for a specific site. The slot will be created in planned state. The custom fields (e.g., `custom_field_1`, `custom_field_2`) depend on the custom fields defined in the zone related to the created slot.",
                "operationId": "createSiteSlotPlanned",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SlotPlannedRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot created successfully"
                    }
                },
                "summary": "Beta: Create a planned slot",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/update-references/": {
            "post": {
                "description": "Updates slot references and custom fields. The custom fields (e.g., `custom_field_1`, `custom_field_2`) depend on the custom fields defined in the zone related to the updated slot. This endpoint allows partial updates to slot references and custom fields without affecting other slot properties.",
                "operationId": "updateSlotReferences",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SlotUpdateReferencesRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot references updated successfully"
                    }
                },
                "summary": "Beta: Update slot references",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/reassign/": {
            "post": {
                "description": "Reassign a slot to another carrier company. You can identify the target company using either its primary key (pk) or remote_id. The slot can be reassigned regardless of its current state (planned, draft, etc.).",
                "operationId": "reassignSlot",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "The unique identifier of the slot",
                        "in": "path",
                        "name": "slot-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/SlotReassignRequest"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot reassigned successfully"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_400_1"
                                }
                            }
                        },
                        "description": "Bad request - invalid input"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_404_4"
                                }
                            }
                        },
                        "description": "Company or slot not found"
                    }
                },
                "summary": "Beta: Reassign a slot to a different company",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/cancel/": {
            "post": {
                "description": "Cancel a slot",
                "operationId": "cancelSlot",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "The unique identifier of the slot",
                        "in": "path",
                        "name": "slot-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "$ref": "#/components/requestBodies/inline_object_3",
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "reason": {
                                        "description": "The reason for cancelling the slot",
                                        "type": "string"
                                    }
                                },
                                "required": ["reason"],
                                "type": "object"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot cancelled successfully"
                    }
                },
                "summary": "Beta: Cancel slot",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/confirm-arrival/": {
            "post": {
                "description": "Confirm arrival for a slot",
                "operationId": "confirmSlotArrival",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "The unique identifier of the slot",
                        "in": "path",
                        "name": "slot-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "example": {
                                    "uid": "0199e335-13c8-7c2e-8da3-f0b3ad80a970",
                                    "zone": {
                                        "uid": "0199e335-43fb-7e8a-adb1-19631b25a7a0",
                                        "name": "Loading Bay A"
                                    },
                                    "company": {
                                        "uid": "0199e335-64f4-7011-b447-b2c7e4ac9382",
                                        "remote_id": "COMP123",
                                        "name": "Example Transport Company"
                                    },
                                    "start_time": "2024-01-15T08:00:00Z",
                                    "end_time": "2024-01-15T10:00:00Z",
                                    "state": "arrived"
                                },
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot arrival confirmed successfully"
                    }
                },
                "summary": "Beta: Confirm slot arrival",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/cancel-arrival/": {
            "post": {
                "description": "Cancel arrival for a slot",
                "operationId": "cancelSlotArrival",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "The unique identifier of the slot",
                        "in": "path",
                        "name": "slot-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "example": {
                                    "uid": "0199e335-13c8-7c2e-8da3-f0b3ad80a970",
                                    "zone": {
                                        "uid": "0199e335-43fb-7e8a-adb1-19631b25a7a0",
                                        "name": "Loading Bay A"
                                    },
                                    "company": {
                                        "uid": "0199e335-64f4-7011-b447-b2c7e4ac9382",
                                        "remote_id": "COMP123",
                                        "name": "Example Transport Company"
                                    },
                                    "start_time": "2024-01-15T08:00:00Z",
                                    "end_time": "2024-01-15T10:00:00Z",
                                    "state": "planned"
                                },
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot arrival cancelled successfully"
                    }
                },
                "summary": "Beta: Cancel slot arrival",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/confirm-handling/": {
            "post": {
                "description": "Confirm handling for a slot",
                "operationId": "confirmSlotHandling",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "The unique identifier of the slot",
                        "in": "path",
                        "name": "slot-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "example": {
                                    "uid": "0199e335-13c8-7c2e-8da3-f0b3ad80a970",
                                    "zone": {
                                        "uid": "0199e335-43fb-7e8a-adb1-19631b25a7a0",
                                        "name": "Loading Bay A"
                                    },
                                    "company": {
                                        "uid": "0199e335-64f4-7011-b447-b2c7e4ac9382",
                                        "remote_id": "COMP123",
                                        "name": "Example Transport Company"
                                    },
                                    "start_time": "2024-01-15T08:00:00Z",
                                    "end_time": "2024-01-15T10:00:00Z",
                                    "state": "handled"
                                },
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot handling confirmed successfully"
                    }
                },
                "summary": "Beta: Confirm slot handling",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/cancel-handling/": {
            "post": {
                "description": "Cancel handling for a slot",
                "operationId": "cancelSlotHandling",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "The unique identifier of the slot",
                        "in": "path",
                        "name": "slot-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "example": {
                                    "uid": "0199e335-13c8-7c2e-8da3-f0b3ad80a970",
                                    "zone": {
                                        "uid": "0199e335-43fb-7e8a-adb1-19631b25a7a0",
                                        "name": "Loading Bay A"
                                    },
                                    "company": {
                                        "uid": "0199e335-64f4-7011-b447-b2c7e4ac9382",
                                        "remote_id": "COMP123",
                                        "name": "Example Transport Company"
                                    },
                                    "start_time": "2024-01-15T08:00:00Z",
                                    "end_time": "2024-01-15T10:00:00Z",
                                    "state": "arrived"
                                },
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot handling cancelled successfully"
                    }
                },
                "summary": "Beta: Cancel slot handling",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/complete/": {
            "post": {
                "description": "Complete a slot",
                "operationId": "completeSlot",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "The unique identifier of the slot",
                        "in": "path",
                        "name": "slot-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "example": {
                                    "uid": "0199e335-13c8-7c2e-8da3-f0b3ad80a970",
                                    "zone": {
                                        "uid": "0199e335-43fb-7e8a-adb1-19631b25a7a0",
                                        "name": "Loading Bay A"
                                    },
                                    "company": {
                                        "uid": "0199e335-64f4-7011-b447-b2c7e4ac9382",
                                        "remote_id": "COMP123",
                                        "name": "Example Transport Company"
                                    },
                                    "start_time": "2024-01-15T08:00:00Z",
                                    "end_time": "2024-01-15T10:00:00Z",
                                    "state": "completed"
                                },
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot completed successfully"
                    }
                },
                "summary": "Beta: Complete slot",
                "tags": ["Flow (beta)"]
            }
        },
        "/flow/sites/{site-slug}/slots/{slot-uid}/cancel-completion/": {
            "post": {
                "description": "Cancel completion for a slot",
                "operationId": "cancelSlotCompletion",
                "parameters": [
                    {
                        "description": "The slug identifier of the site",
                        "in": "path",
                        "name": "site-slug",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "The unique identifier of the slot",
                        "in": "path",
                        "name": "slot-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "example": {
                                    "uid": "0199e335-13c8-7c2e-8da3-f0b3ad80a970",
                                    "zone": {
                                        "uid": "0199e335-43fb-7e8a-adb1-19631b25a7a0",
                                        "name": "Loading Bay A"
                                    },
                                    "company": {
                                        "uid": "0199e335-64f4-7011-b447-b2c7e4ac9382",
                                        "remote_id": "COMP123",
                                        "name": "Example Transport Company"
                                    },
                                    "start_time": "2024-01-15T08:00:00Z",
                                    "end_time": "2024-01-15T10:00:00Z",
                                    "state": "handled"
                                },
                                "schema": {
                                    "$ref": "#/components/schemas/Slot"
                                }
                            }
                        },
                        "description": "Slot completion cancelled successfully"
                    }
                },
                "summary": "Beta: Cancel slot completion",
                "tags": ["Flow (beta)"]
            }
        },
        "/support-types/": {
            "get": {
                "operationId": "listSupportTypes",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupportTypes"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Support types list",
                "tags": ["SupportTypes"]
            },
            "post": {
                "operationId": "createSupportTypes",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewSupportType"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupportType"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a support type",
                "tags": ["SupportTypes"]
            }
        },
        "/support-types/{uid}/": {
            "delete": {
                "operationId": "deleteSupportTypes",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete a support type",
                "tags": ["SupportTypes"]
            },
            "get": {
                "operationId": "readSupportTypes",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupportType"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a support type",
                "tags": ["SupportTypes"]
            }
        },
        "/tags/": {
            "get": {
                "description": "Returns a paginated list of all tags belonging to the authenticated company's group view.\n\nTags can be used to categorize and filter transports.\n",
                "operationId": "listTags",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Filter tags by name (case-insensitive search)",
                        "in": "query",
                        "name": "text",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Order results. Use `name` for alphabetical ordering (default),\nor `by_group` for group-aware ordering (grouped tags first, then ungrouped).\n",
                        "in": "query",
                        "name": "ordering",
                        "required": false,
                        "schema": {
                            "enum": ["name", "-name", "by_group"],
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Tags"
                                }
                            }
                        },
                        "description": "List of tags"
                    }
                },
                "summary": "List tags",
                "tags": ["Tags"]
            }
        },
        "/supports-exchanges/": {
            "post": {
                "operationId": "createSupportsExchanges",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewSupportsExchange"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupportsExchange"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a support exchange",
                "tags": ["SupportsExchanges"]
            }
        },
        "/supports-exchanges/{uid}/": {
            "get": {
                "operationId": "readSupportsExchanges",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupportsExchange"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a support exchange",
                "tags": ["SupportsExchanges"]
            },
            "patch": {
                "operationId": "partialUpdateSupportsExchanges",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateSupportsExchange"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/SupportsExchange"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a support exchange",
                "tags": ["SupportsExchanges"]
            }
        },
        "/telematics/vehicles/": {
            "post": {
                "deprecated": true,
                "description": "This will create a vehicle with the provided license plate number and telematics id, in order to collect and process telemactics data from this vehicle during transports. This is possible with Trimble. \n\nIf there is already a vehicle with the provided license plate, its `telematics_id` will be updated. In this case the return status will be `200`.",
                "operationId": "telematicsVehicles",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateTelematicsVehicle"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TelematicsVehicle"
                                }
                            }
                        }
                    }
                },
                "summary": "Create a telematics vehicle",
                "tags": ["Telematics"]
            }
        },
        "/telematics/traces/{vendor}/": {
            "post": {
                "description": "This will create one or many traces with the provided license plate number. \n\nIn the endpoint's URL, **you must replace `{vendor}`** by the name given to you by your Dashdoc project manager. \n\n**All vehicles specified in the request must exist in Dashdoc with the provided license plate, otherwise the request will return a 400 error**.",
                "operationId": "telematicsTraces",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateTrace"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trace"
                                }
                            }
                        }
                    }
                },
                "summary": "Create one or many traces",
                "tags": ["Telematics"]
            }
        },
        "/trailers/": {
            "get": {
                "operationId": "listTrailers",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Search by license plate or fleet number",
                        "in": "query",
                        "name": "text",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Comma separated list of trailer ids",
                        "in": "query",
                        "name": "id__in",
                        "required": false,
                        "schema": {
                            "example": "123,456",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter trailers with or without a license plate",
                        "in": "query",
                        "name": "has_license_plate",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "description": "Comma separated list of tag ids",
                        "in": "query",
                        "name": "tags__in",
                        "required": false,
                        "schema": {
                            "example": "10,20",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter own fleet or dedicated trailers",
                        "in": "query",
                        "name": "category",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Carrier id to filter on",
                        "in": "query",
                        "name": "carrier",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trailers"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all trailers",
                "tags": ["Trailers"]
            },
            "post": {
                "description": "Adds a trailer in the requester's company fleet",
                "operationId": "createTrailer",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewTrailer"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trailer"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a trailer",
                "tags": ["Trailers"]
            }
        },
        "/trailers/{pk}/": {
            "delete": {
                "operationId": "deleteTrailer",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete a trailer",
                "tags": ["Trailers"]
            },
            "get": {
                "operationId": "readTrailer",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trailer"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a trailer",
                "tags": ["Trailers"]
            },
            "patch": {
                "description": "Update information for a trailer in the requester's company fleet",
                "operationId": "partialUpdateTrailer",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateTrailer"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trailer"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Partially update a trailer",
                "tags": ["Trailers"]
            }
        },
        "/trailers/{pk}/unavailability/": {
            "post": {
                "description": "A trailer can be marked as unavailable for a given period of time for various reasons. These unavailabilities are marked on the planning or can be accessed by API by fetching the trailer.",
                "operationId": "createTrailerUnavailability",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateUnavailability"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trailer"
                                }
                            }
                        },
                        "description": "Successfully created the unavailability, returns the trailer, which contains the unavailability."
                    }
                },
                "summary": "Create an unavailability for a trailer for a given period",
                "tags": ["Trailers"]
            }
        },
        "/trailers/{pk}/unavailability/{pk_unavailability}/": {
            "delete": {
                "operationId": "deleteTrailerUnavailability",
                "parameters": [
                    {
                        "description": "The trailer's primary key",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "The unavailability's primary key",
                        "in": "path",
                        "name": "pk_unavailability",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete an unavailability for a trailer",
                "tags": ["Trailers"]
            },
            "patch": {
                "operationId": "partialUpdateTrailerUnavailability",
                "parameters": [
                    {
                        "description": "The trailer's primary key",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "The unavailability's primary key",
                        "in": "path",
                        "name": "pk_unavailability",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateUnavailability"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Trailer"
                                }
                            }
                        },
                        "description": "Successfully updated the unavailability, returns the trailer, which contains the unavailability."
                    }
                },
                "summary": "Partially update an unavailability for a trailer",
                "tags": ["Trailers"]
            }
        },
        "/track-dechets/": {
            "get": {
                "description": "List TrackDéchets waste notes linked to your transports",
                "operationId": "listTrackDechetsWasteNote",
                "parameters": [
                    {
                        "description": "transport uid",
                        "in": "query",
                        "name": "transport_uid",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    },
                    {
                        "description": "transport `remote_id`. You can use the `remote_id` of the transport (coming from your system), instead of its uid coming from Dashdoc, to filter this query",
                        "in": "query",
                        "name": "transport_remote_id",
                        "required": false,
                        "schema": {
                            "example": "any_id",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrackDechetsWasteNotes"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List TrackDéchets waste notes",
                "tags": ["TrackDechets"]
            },
            "post": {
                "description": "Link a TrackDéchets waste note to a transport. The waste note should exist on TrackDéchets (check is performed before link is created).",
                "operationId": "linkTrackDechetsWasteNote",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/LinkTrackDechetsWasteNote"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrackDechetsWasteNote"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Link a TrackDéchets waste note",
                "tags": ["TrackDechets"]
            }
        },
        "/track-dechets/{uid}/": {
            "delete": {
                "operationId": "deleteTrackDechetsWasteNote",
                "parameters": [
                    {
                        "description": "uid of the association. You can find it in the response of the POST request for association creation",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Remove a TrackDéchets waste note from a transport",
                "tags": ["TrackDechets"]
            },
            "get": {
                "operationId": "getTrackDechetsWasteNote",
                "parameters": [
                    {
                        "description": "uid of the association",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `readable_id` from TrackDechets instead of its `uid` then \n\n* replace the `uid` value with the `readable_id` value in the URL \n\n* specify `lookup_field=readable_id` in the query parameters",
                        "in": "path",
                        "name": "readable_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `readable_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TrackDechetsWasteNote"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a TrackDéchets waste note association to a transport",
                "tags": ["TrackDechets"]
            }
        },
        "/transport-loading-plans/": {
            "get": {
                "operationId": "listTransportLoadingPlan",
                "parameters": [
                    {
                        "description": "UID of a transport, will list loading plans linked to this transport",
                        "in": "query",
                        "name": "uid",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Comma-separated list of transport UIDs, will list loading plans linked to several transports",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TransportLoadingPlan"
                                }
                            }
                        },
                        "description": "List successful"
                    }
                },
                "summary": "List loading plans",
                "tags": ["TransportLoadingPlans"]
            }
        },
        "/transport-messages/": {
            "post": {
                "operationId": "createTransportMessages",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewTransportMessage"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CreateTransportMessage"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a transport message",
                "tags": ["TransportMessages"]
            }
        },
        "/transport-messages/{uid}/": {
            "delete": {
                "operationId": "deleteTransportMessage",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete a transport message",
                "tags": ["TransportMessages"]
            },
            "get": {
                "operationId": "readTransportMessage",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TransportMessage"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a transport message",
                "tags": ["TransportMessages"]
            },
            "patch": {
                "operationId": "partialUpdateTransportMessage",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateTransportMessage"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/UpdateTransportMessage_1"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Partially update a transport message",
                "tags": ["TransportMessages"]
            }
        },
        "/transports/": {
            "get": {
                "operationId": "listTransports",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Comma separated list of transport uids.",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    },
                    {
                        "in": "query",
                        "name": "status",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/Statuses"
                        }
                    },
                    {
                        "description": "Comma separated list of statuses.",
                        "in": "query",
                        "name": "status__in",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/Statuses"
                        }
                    },
                    {
                        "description": "Filter transports created after or at a certain date",
                        "in": "query",
                        "name": "created__gte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter transports created before or at a certain date",
                        "in": "query",
                        "name": "created__lte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter transports updated after or at a certain date",
                        "in": "query",
                        "name": "updated__gte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter transports updated before or at a certain date",
                        "in": "query",
                        "name": "updated__lte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "filter on a particular carrier reference",
                        "in": "query",
                        "name": "carrier_reference",
                        "required": false,
                        "schema": {
                            "example": "OT2021-123456",
                            "type": "string"
                        }
                    },
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transports"
                                }
                            }
                        }
                    }
                },
                "summary": "List all transports",
                "tags": ["Transports"]
            },
            "post": {
                "description": "This will create a transport. You can store your internal transport identifier in the `remote_id` field.",
                "operationId": "createTransports",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateOrUpdateTransport"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transport"
                                }
                            }
                        }
                    }
                },
                "summary": "Create a transport",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/": {
            "delete": {
                "operationId": "deleteTransport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete a transport",
                "tags": ["Transports"]
            },
            "get": {
                "operationId": "readTransport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RetrievedTransport"
                                }
                            }
                        }
                    }
                },
                "summary": "Read a transport",
                "tags": ["Transports"]
            },
            "patch": {
                "operationId": "partialUpdateTransport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateOrUpdateTransport"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transport"
                                }
                            }
                        }
                    }
                },
                "summary": "Partially update a transport",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/charter/": {
            "post": {
                "description": "Shortcut API to create a chartered transport. Current transport, called \"parent transport\" will be chartered to a \"child transport\". \n\nChild transport is created as follow: \n\n* Shipper is the actual carrier of the parent transport \n\n* Carrier is the chartered carrier given in the `carrier` parameter \n\n* Trucker and plates are not set, but information about it can be given in the `instructions` parameters \n\n* Other transport data (deliveries, segments, etc.) are duplicated \n\n* Child transport starts at the first segment's origin and ends at the last segment's destination",
                "operationId": "charterTransports",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CharterTransport"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_201"
                                }
                            }
                        },
                        "description": "Transport chartered successfully"
                    }
                },
                "summary": "Charter transport",
                "tags": ["Chartering"]
            }
        },
        "/transports/assign/": {
            "post": {
                "operationId": "assignTransport",
                "parameters": [
                    {
                        "description": "Comma separated list of transport uids to assign.",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AssignTransport"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200_1"
                                }
                            }
                        }
                    }
                },
                "summary": "Assign transport",
                "tags": ["Transports"]
            }
        },
        "/transports/archive/": {
            "post": {
                "description": "Archive the transports selected by the filters as done. \n\n**Warning: please use filters when calling this API or the action will apply to all transports**",
                "operationId": "archiveTransport",
                "parameters": [
                    {
                        "description": "Comma separated list of transport uids to mark as done.",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200_1"
                                }
                            }
                        }
                    }
                },
                "summary": "Archive transports",
                "tags": ["Transports"]
            }
        },
        "/transports/merge-to-trip/": {
            "post": {
                "description": "Merge all unstarted transports into a single trip",
                "operationId": "mergeToTrip",
                "parameters": [
                    {
                        "description": "Comma separated list of transport uids to merge.",
                        "in": "query",
                        "name": "uid__in",
                        "required": true,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007,4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/tripResponse"
                                }
                            }
                        }
                    }
                },
                "summary": "Merge transports to trip",
                "tags": ["Transports", "Trips"]
            }
        },
        "/transports/mark-done/": {
            "post": {
                "description": "Mark the transports selected by the filters as done. \n\n**Warning: please use filters when calling this API or the action will apply to all transports**",
                "operationId": "markDoneTransport",
                "parameters": [
                    {
                        "description": "Comma separated list of transport uids to mark as done.",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200_1"
                                }
                            }
                        }
                    }
                },
                "summary": "Mark done",
                "tags": ["Transports"]
            }
        },
        "/transports/mark-invoiced/": {
            "post": {
                "deprecated": true,
                "description": "Mark the transports selected by the filters as invoiced. \n\n**Warning: please use filters when calling this API or the action will apply to all transports** \n\nIf you want to set `invoice_number` or `customer_to_invoice` you need to use <a href=\"#operation/markInvoicedOneTransport\">this webservice</a>",
                "operationId": "markInvoicedTransportList",
                "parameters": [
                    {
                        "description": "Comma separated list of transport uids to mark as invoiced.",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007,db46db81-ff56-482a-afc0-c85b89ea130e",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200_1"
                                }
                            }
                        }
                    }
                },
                "summary": "Mark as invoiced (list of transports)",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/mark-invoiced/": {
            "post": {
                "description": "Mark a transport as invoiced. \n\nIf set, `invoice_number`, `invoiced_price` and `customer_to_invoice` can be read at root level of the global JSON of the transport.",
                "operationId": "markInvoicedOneTransport",
                "parameters": [
                    {
                        "description": "uid of the transport",
                        "in": "path",
                        "name": "uid",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "$ref": "#/components/requestBodies/inline_object_4",
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "invoice_number": {
                                        "description": "Invoice number for the transport",
                                        "example": "invoice_21_05_742",
                                        "maxLength": 100,
                                        "nullable": true,
                                        "type": "string"
                                    },
                                    "invoiced_price": {
                                        "$ref": "#/components/schemas/deprecated_invoiced_price"
                                    },
                                    "customer_to_invoice": {
                                        "$ref": "#/components/schemas/CompanyPkOrRemoteId"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200_1"
                                }
                            }
                        }
                    }
                },
                "summary": "Mark as invoiced (one transport)",
                "tags": ["Transports"]
            }
        },
        "/transports/mark-paid/": {
            "post": {
                "description": "Mark the transports selected by the filters as paid. \n\n**Warning: please use filters when calling this API or the action will apply to all transports**.",
                "operationId": "markPaidTransport",
                "parameters": [
                    {
                        "description": "Comma separated list of transport uids to mark as paid.",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_200_1"
                                }
                            }
                        }
                    }
                },
                "summary": "Mark as paid",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/cancel/": {
            "post": {
                "operationId": "cancelTransport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CancelTransport"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transport"
                                }
                            }
                        }
                    }
                },
                "summary": "Cancel a transport",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/confirm/": {
            "post": {
                "operationId": "confirmTransport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transport"
                                }
                            }
                        }
                    }
                },
                "summary": "Confirm an order",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/decline/": {
            "post": {
                "operationId": "declineTransport",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transport"
                                }
                            }
                        }
                    }
                },
                "summary": "Decline an order",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/revenue-split/": {
            "get": {
                "operationId": "transportRevenueSplit",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TransportRevenueSplit"
                                }
                            }
                        }
                    }
                },
                "summary": "Returns the revenue split for a transport",
                "tags": ["Transports"]
            }
        },
        "/transport-status/": {
            "post": {
                "description": "Update the specified transport to the chosen status.",
                "operationId": "updateTransportStatus",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateTransportStatus"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Transport_1"
                                }
                            }
                        }
                    }
                },
                "summary": "Update transport status",
                "tags": ["UpdateStatus"]
            }
        },
        "/transports/{uid}/cmrs/": {
            "get": {
                "description": "Get the CMRs related to a transport",
                "operationId": "getTransportCMRs",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/CMRDocument"
                                    },
                                    "type": "array"
                                }
                            }
                        }
                    }
                },
                "summary": "Get CMRs / LVs",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/effective-price-lines/": {
            "get": {
                "operationId": "getTransportPriceLines",
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "description": "List of price lines",
                                    "items": {
                                        "$ref": "#/components/schemas/PriceLine"
                                    },
                                    "type": "array"
                                }
                            }
                        }
                    }
                },
                "summary": "List price lines",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/loads-constraints/": {
            "post": {
                "description": "Add",
                "operationId": "loads-constraints",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `uid` then \n\n* replace the `uid` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AddLoadsConstraints"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TransportLoadsConstraints"
                                }
                            }
                        }
                    }
                },
                "summary": "Add constraints on loads",
                "tags": ["Transports"]
            }
        },
        "/transports/{uid}/tags/add": {
            "post": {
                "description": "Add existing tags (by pk) to a transport.\n\nThis endpoint is idempotent - adding a tag that is already assigned will succeed silently.\n\nIf a tag being added belongs to a tag group, and the transport already has another tag\nfrom the same group, the old tag will be replaced by the new one (only one tag per group allowed).\n",
                "operationId": "addTagsToTransport",
                "parameters": [
                    {
                        "description": "The unique identifier of the transport",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AddTagsToTransport"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "items": {
                                        "$ref": "#/components/schemas/Tag"
                                    },
                                    "type": "array"
                                }
                            }
                        },
                        "description": "Tags added successfully. Returns the updated list of tags on the transport."
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/inline_response_400_2"
                                }
                            }
                        },
                        "description": "Invalid request - one or more tag PKs do not exist or do not belong to your company"
                    },
                    "404": {
                        "description": "Transport not found or not accessible"
                    }
                },
                "summary": "Add tags to a transport",
                "tags": ["Transports"]
            }
        },
        "/transport-templates/": {
            "get": {
                "operationId": "listTransportTemplates",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/TransportTemplates"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all transport templates",
                "tags": ["TransportTemplates"]
            }
        },
        "/scheduler/trips/{uid}/set-name/": {
            "post": {
                "operationId": "setNameTrip",
                "parameters": [
                    {
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/setNameTripBody"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/tripResponse"
                                }
                            }
                        }
                    }
                },
                "summary": "Set trip name",
                "tags": ["Trips"]
            }
        },
        "/vehicles/": {
            "get": {
                "operationId": "listVehicles",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Search by license plate or fleet number",
                        "in": "query",
                        "name": "text",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Comma separated list of vehicle ids",
                        "in": "query",
                        "name": "id__in",
                        "required": false,
                        "schema": {
                            "example": "123,456",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter vehicles with or without a license plate",
                        "in": "query",
                        "name": "has_license_plate",
                        "required": false,
                        "schema": {
                            "type": "boolean"
                        }
                    },
                    {
                        "description": "Comma separated list of tag ids",
                        "in": "query",
                        "name": "tags__in",
                        "required": false,
                        "schema": {
                            "example": "10,20",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter own fleet or dedicated vehicles",
                        "in": "query",
                        "name": "category",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Carrier id to filter on",
                        "in": "query",
                        "name": "carrier",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Vehicles"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all vehicles",
                "tags": ["Vehicles"]
            },
            "post": {
                "description": "Adds a vehicle in the requester's company fleet",
                "operationId": "createVehicle",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/NewVehicle"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Vehicle"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a vehicle",
                "tags": ["Vehicles"]
            }
        },
        "/vehicles/{pk}/": {
            "delete": {
                "operationId": "deleteVehicle",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete a vehicle",
                "tags": ["Vehicles"]
            },
            "get": {
                "operationId": "readVehicle",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Vehicle"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a vehicle",
                "tags": ["Vehicles"]
            },
            "patch": {
                "description": "Update information for a vehicle in the requester's company fleet",
                "operationId": "partialUpdateVehicle",
                "parameters": [
                    {
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "If you choose to identify an object with its `remote_id` instead of its `pk` then \n\n* replace the `pk` value with the `remote_id` value in the URL \n\n* specify `lookup_field=remote_id` in the query parameters",
                        "in": "path",
                        "name": "remote_id",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Used to specify what field is used in the URL to identify the object you're requesting, e.g. with the `remote_id` (see path parameters)",
                        "in": "query",
                        "name": "lookup_field",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateVehicle"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Vehicle"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Partially update a vehicle",
                "tags": ["Vehicles"]
            }
        },
        "/vehicles/{pk}/unavailability/": {
            "post": {
                "description": "A vehicle can be marked as unavailable for a given period of time for various reasons. These unavailabilities are marked on the planning or can be accessed by API by fetching the vehicle.",
                "operationId": "createVehicleUnavailability",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CreateUnavailability"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Vehicle"
                                }
                            }
                        },
                        "description": "Successfully created the unavailability, returns the vehicle, which contains the unavailability."
                    }
                },
                "summary": "Create an unavailability for a vehicle for a given period",
                "tags": ["Vehicles"]
            }
        },
        "/vehicles/{pk}/unavailability/{pk_unavailability}/": {
            "delete": {
                "operationId": "deleteVehicleUnavailability",
                "parameters": [
                    {
                        "description": "The vehicle's primary key",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "The unavailability's primary key",
                        "in": "path",
                        "name": "pk_unavailability",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Empty body"
                    }
                },
                "summary": "Delete an unavailability for a vehicle",
                "tags": ["Vehicles"]
            },
            "patch": {
                "operationId": "partialUpdateVehicleUnavailability",
                "parameters": [
                    {
                        "description": "The vehicle's primary key",
                        "in": "path",
                        "name": "pk",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    },
                    {
                        "description": "The unavailability's primary key",
                        "in": "path",
                        "name": "pk_unavailability",
                        "required": true,
                        "schema": {
                            "type": "number"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/UpdateUnavailability"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Vehicle"
                                }
                            }
                        },
                        "description": "Successfully updated the unavailability, returns the vehicle, which contains the unavailability."
                    }
                },
                "summary": "Partially update an unavailability for a vehicle",
                "tags": ["Vehicles"]
            }
        },
        "/wam/contacts/": {
            "get": {
                "parameters": [
                    {
                        "description": "Filter by company id",
                        "in": "query",
                        "name": "company_id",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Filter by role",
                        "in": "query",
                        "name": "role",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/waste_contact_role"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contacts_1"
                                }
                            }
                        },
                        "description": "A paginated list of waste contacts"
                    }
                },
                "summary": "Get list of waste contacts",
                "tags": ["Wam-Contacts"]
            },
            "post": {
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PublicWasteContactInputValidator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contact_1"
                                }
                            }
                        },
                        "description": "Created waste contact"
                    }
                },
                "summary": "Create a new waste contact",
                "tags": ["Wam-Contacts"]
            }
        },
        "/wam/contacts/{uid}": {
            "delete": {
                "parameters": [
                    {
                        "description": "Unique ID of the waste contact",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Waste contact deleted"
                    }
                },
                "summary": "Delete a specific waste contact",
                "tags": ["Wam-Contacts"]
            },
            "get": {
                "parameters": [
                    {
                        "description": "Unique ID of the waste contact",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contact_1"
                                }
                            }
                        },
                        "description": "A specific waste contact"
                    }
                },
                "summary": "Get a specific waste contact",
                "tags": ["Wam-Contacts"]
            },
            "patch": {
                "parameters": [
                    {
                        "description": "Unique ID of the waste contact",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PublicWasteContactInputValidator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Contact_1"
                                }
                            }
                        },
                        "description": "Updated waste contact"
                    }
                },
                "summary": "Update a specific waste contact",
                "tags": ["Wam-Contacts"]
            }
        },
        "/wam/forms/": {
            "get": {
                "operationId": "listWasteForms",
                "parameters": [
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "description": "Filter waste forms by uid",
                        "in": "query",
                        "name": "uid__in",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter waste forms by creation date",
                        "in": "query",
                        "name": "created",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter waste forms created after a certain date",
                        "in": "query",
                        "name": "created__gt",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter waste forms created on or after a certain date",
                        "in": "query",
                        "name": "created__gte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter waste forms created before a certain date",
                        "in": "query",
                        "name": "created__lt",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter waste forms created on or before a certain date",
                        "in": "query",
                        "name": "created__lte",
                        "required": false,
                        "schema": {
                            "format": "date-time",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Filter waste forms by status",
                        "in": "query",
                        "name": "status",
                        "required": false,
                        "schema": {
                            "$ref": "#/components/schemas/waste_shipment_status"
                        }
                    },
                    {
                        "description": "Filter waste forms by multiple statuses, comma separated",
                        "in": "query",
                        "name": "status__in",
                        "required": false,
                        "schema": {
                            "example": "cancelled,discontinued",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Forms"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all waste forms",
                "tags": ["Wam-Forms"]
            },
            "post": {
                "operationId": "createWasteForm",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PublicWasteShipmentInputValidator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Form"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a waste form",
                "tags": ["Wam-Forms"]
            }
        },
        "/wam/forms/{uid}/": {
            "delete": {
                "operationId": "deleteWasteForm",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "405": {
                        "description": "A waste form cannot be deleted, but cancelling or discontinuing it is allowed from the web app"
                    }
                },
                "summary": "Delete a waste form",
                "tags": ["Wam-Forms"]
            },
            "get": {
                "operationId": "readWasteForm",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Form"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a waste form",
                "tags": ["Wam-Forms"]
            },
            "patch": {
                "operationId": "updateWasteForm",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PublicWasteShipmentInputValidator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Form"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Update a waste form",
                "tags": ["Wam-Forms"]
            }
        },
        "/wam/forms/{uid}/sign-as-organizer/": {
            "post": {
                "description": "Sign the waste shipment as organizer.",
                "operationId": "signWasteFormAsOrganizer",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Form"
                                }
                            }
                        },
                        "description": "Sign successful"
                    }
                },
                "summary": "Sign as organizer",
                "tags": ["Wam-Forms"]
            }
        },
        "/wam/forms/{uid}/create-transport/": {
            "post": {
                "description": "Create the transport linked to the waste shipment.",
                "operationId": "createTransportFromWasteForm",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "$ref": "#/components/requestBodies/inline_object_5",
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "send_to_carrier": {
                                        "description": "Whether to send the document to the carrier. If not provided, document will be sent to carrier only if the organizer is the carrier.",
                                        "nullable": true,
                                        "type": "boolean"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Form"
                                }
                            }
                        },
                        "description": "Transport successfully created"
                    }
                },
                "summary": "Create transport",
                "tags": ["Wam-Forms"]
            }
        },
        "/wam/forms/{form-uid}/loads/": {
            "get": {
                "operationId": "listWasteFormLoads",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "form-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "A page number within the paginated result set.",
                        "in": "query",
                        "name": "page",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Loads"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "List all loads of a given waste form",
                "tags": ["Wam-Form-Loads"]
            },
            "post": {
                "operationId": "createWasteFormLoad",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "form-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PublicWasteLoadInputValidator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Load"
                                }
                            }
                        },
                        "description": "Create successful"
                    }
                },
                "summary": "Create a waste load",
                "tags": ["Wam-Form-Loads"]
            }
        },
        "/wam/forms/{form-uid}/loads/{uid}/": {
            "delete": {
                "operationId": "deleteWasteFormLoad",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "form-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Unique identifier of the waste load",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Delete successful"
                    }
                },
                "summary": "Delete a load of a given waste form",
                "tags": ["Wam-Form-Loads"]
            },
            "get": {
                "operationId": "readWasteFormLoad",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "form-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Unique identifier of the waste load",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Load"
                                }
                            }
                        },
                        "description": "Get successful"
                    }
                },
                "summary": "Read a load of a given waste form",
                "tags": ["Wam-Form-Loads"]
            },
            "patch": {
                "operationId": "updateWasteFormLoad",
                "parameters": [
                    {
                        "description": "Unique identifier of the waste form",
                        "in": "path",
                        "name": "form-uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "description": "Unique identifier of the waste load",
                        "in": "path",
                        "name": "uid",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PublicWasteLoadInputValidator"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/Load"
                                }
                            }
                        },
                        "description": "Update successful"
                    }
                },
                "summary": "Update a load of a given waste form",
                "tags": ["Wam-Form-Loads"]
            }
        },
        "/wam/companies/{company-id}/details/": {
            "delete": {
                "description": "This will delete the waste details of that company. To be noted that this will not delete the VAT number nor the \"is_carrier\" flag.",
                "parameters": [
                    {
                        "description": "Id of the company. It is named pk in the details of a company.",
                        "in": "path",
                        "name": "company-id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Company waste details are deleted"
                    }
                },
                "summary": "Delete specific waste details for a company",
                "tags": ["Wam-Companies"]
            },
            "get": {
                "parameters": [
                    {
                        "description": "Id of the company. It is named pk in the details of a company.",
                        "in": "path",
                        "name": "company-id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CompanyDetails"
                                }
                            }
                        },
                        "description": "Waste details of that company"
                    }
                },
                "summary": "Get specific waste details for a company",
                "tags": ["Wam-Companies"]
            },
            "post": {
                "parameters": [
                    {
                        "description": "Id of the company. It is named pk in the details of a company.",
                        "in": "path",
                        "name": "company-id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CompanyDetails"
                            }
                        }
                    },
                    "required": true
                },
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CompanyDetails"
                                }
                            }
                        },
                        "description": "Updated waste details of that company"
                    }
                },
                "summary": "Add or update specific waste details for a company",
                "tags": ["Wam-Companies"]
            }
        }
    },
    "components": {
        "requestBodies": {
            "inline_object_1": {
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/inline_object_1"
                        }
                    }
                },
                "required": true
            },
            "inline_object": {
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/inline_object"
                        }
                    }
                },
                "required": true
            },
            "inline_object_5": {
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/inline_object_5"
                        }
                    }
                }
            },
            "inline_object_4": {
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/inline_object_4"
                        }
                    }
                },
                "required": true
            },
            "inline_object_3": {
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/inline_object_3"
                        }
                    }
                },
                "required": true
            },
            "inline_object_2": {
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/inline_object_2"
                        }
                    }
                },
                "required": true
            }
        },
        "schemas": {
            "Addresses": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Address"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewAddress": {
                "properties": {
                    "name": {
                        "description": "Label for this address",
                        "example": "Transport Bouvet",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "example": "COMP_123_ADR_1",
                        "type": "string"
                    },
                    "address": {
                        "description": "Address not mandatory but strongly advised to fill",
                        "example": "3 rue des champs",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "country": {
                        "description": "Only the 2-character codification is accepted (ISO 3166-1 alpha-2). Country not mandatory but strongly advised to fill",
                        "example": "FR",
                        "type": "string"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "radius": {
                        "default": 500,
                        "description": "Radius around the GPS coordinates within which the address is located (in meters)",
                        "type": "integer"
                    },
                    "coords_validated": {
                        "default": false,
                        "description": "if `true`, when this address is used as a loading or unloading site, the mobile app displays an itinerary button to start GPS app with guidance to these coordinates",
                        "type": "boolean"
                    },
                    "is_demo": {
                        "$ref": "#/components/schemas/is_demo"
                    },
                    "is_carrier": {
                        "type": "boolean"
                    },
                    "is_shipper": {
                        "type": "boolean"
                    },
                    "is_origin": {
                        "type": "boolean"
                    },
                    "is_destination": {
                        "type": "boolean"
                    },
                    "company": {
                        "$ref": "#/components/schemas/CompanyForNewAddress"
                    }
                },
                "required": ["city", "company", "postcode"],
                "type": "object"
            },
            "Address": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "address": {
                        "example": "3 rue des champs",
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "radius": {
                        "default": 500,
                        "description": "Radius around the GPS coordinates within which the address is located (in meters)",
                        "type": "integer"
                    },
                    "coords_validated": {
                        "default": false,
                        "description": "if `true`, when this address is used as a loading or unloading site, the mobile app displays an itinerary button to start GPS app with guidance to these coordinates",
                        "type": "boolean"
                    },
                    "is_demo": {
                        "$ref": "#/components/schemas/is_demo"
                    },
                    "is_carrier": {
                        "type": "boolean"
                    },
                    "is_shipper": {
                        "type": "boolean"
                    },
                    "is_origin": {
                        "type": "boolean"
                    },
                    "is_destination": {
                        "type": "boolean"
                    },
                    "created_by": {
                        "$ref": "#/components/schemas/created-by"
                    },
                    "created_by_user": {
                        "$ref": "#/components/schemas/created-by-user"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/site_instructions"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "type": "string"
                    },
                    "company": {
                        "$ref": "#/components/schemas/Company"
                    }
                },
                "type": "object"
            },
            "UpdateAddress": {
                "properties": {
                    "name": {
                        "description": "Label for this address",
                        "example": "Transport Bouvet",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "type": "string"
                    },
                    "address": {
                        "example": "3 rue des champs",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "radius": {
                        "default": 500,
                        "description": "Radius around the GPS coordinates within which the address is located (in meters)",
                        "type": "integer"
                    },
                    "coords_validated": {
                        "default": false,
                        "description": "if `true`, when this address is used as a loading or unloading site, the mobile app displays an itinerary button to start GPS app with guidance to these coordinates",
                        "type": "boolean"
                    },
                    "is_demo": {
                        "$ref": "#/components/schemas/is_demo"
                    },
                    "is_carrier": {
                        "type": "boolean"
                    },
                    "is_shipper": {
                        "type": "boolean"
                    },
                    "is_origin": {
                        "type": "boolean"
                    },
                    "is_destination": {
                        "type": "boolean"
                    },
                    "company": {
                        "$ref": "#/components/schemas/CompanyForUpdateAddress"
                    }
                },
                "type": "object"
            },
            "SecurityProtocol": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. It will be automatically generated by Dashdoc.",
                        "example": 1,
                        "type": "number"
                    },
                    "address": {
                        "description": "Id of the address that the security protocol should be linked to.",
                        "example": 1,
                        "type": "number"
                    },
                    "document": {
                        "description": "URL of the stored document. You can download the document from this URL.",
                        "example": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename",
                        "type": "string"
                    },
                    "updated": {
                        "description": "Last updated time",
                        "format": "date-time",
                        "type": "string"
                    },
                    "has_been_seen_recently": {
                        "description": "Check if you've seen the security protocol recently. Returns `null` if it hasn't been seen at all.",
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "AdrUnCodes": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/AdrUnCode"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AdrUnCode": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id",
                        "example": 1,
                        "type": "number"
                    },
                    "code": {
                        "description": "UN code, column n°1 from ADR Table A",
                        "example": 4,
                        "type": "number"
                    },
                    "category": {
                        "description": "ADR class, column n°2 from ADR Table A",
                        "example": "1",
                        "type": "string"
                    },
                    "description": {
                        "$ref": "#/components/schemas/AdrUnCodeDescription"
                    },
                    "packaging_group": {
                        "description": "Packaging group, column n°4 from ADR Table A",
                        "example": "III",
                        "type": "string"
                    },
                    "tunnel_restriction": {
                        "description": "Tunnel restriction code, column n°15 from ADR Table A",
                        "example": "1 (B1000C)",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "updated": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TransportOperationCategories": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/TransportOperationCategories_results"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "Companies": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/FullCompany"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewCompany": {
                "properties": {
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "phone_number": {
                        "type": "string"
                    },
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "siren": {
                        "type": "string"
                    },
                    "trade_number": {
                        "type": "string"
                    },
                    "vat_number": {
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "remote_id": {
                        "description": "The ID of the company in your system. It has to be unique among all your companies.",
                        "type": "string"
                    },
                    "invoicing_remote_id": {
                        "description": "The id of the company in your invoicing system.",
                        "example": "COMP_456",
                        "type": "string"
                    },
                    "notes": {
                        "description": "Notes for this company, only visibile to your team members",
                        "type": "string"
                    },
                    "primary_address": {
                        "$ref": "#/components/schemas/AddressForCompany"
                    },
                    "tags": {
                        "description": "List of tags applied to the company.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "required": ["country", "name"],
                "type": "object"
            },
            "FullCompany": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 928,
                        "type": "number"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "addresses": {
                        "items": {
                            "$ref": "#/components/schemas/AddressForCompany_1"
                        },
                        "type": "array"
                    },
                    "phone_number": {
                        "type": "string"
                    },
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "siren": {
                        "type": "string"
                    },
                    "trade_number": {
                        "type": "string"
                    },
                    "vat_number": {
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "has_loggable_managers": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "contacts": {
                        "items": {
                            "$ref": "#/components/schemas/Contact"
                        },
                        "type": "array"
                    },
                    "has_pending_invites": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "primary_address": {
                        "$ref": "#/components/schemas/Address"
                    },
                    "transports_in_last_month": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "integer"
                    },
                    "is_verified": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "can_invite_to": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "remote_id": {
                        "description": "The id of the company in your system.",
                        "type": "string"
                    },
                    "invoicing_remote_id": {
                        "description": "The id of the company in your invoicing system.",
                        "example": "COMP_456",
                        "type": "string"
                    },
                    "notes": {
                        "description": "Notes for this company, only visibile to your team members",
                        "type": "string"
                    },
                    "tags": {
                        "description": "List of tags applied to the company.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "UpdateCompany": {
                "properties": {
                    "name": {
                        "description": "Only updatable by the creator of the company, and if the company hasn't subscribed to Dashdoc",
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "phone_number": {
                        "description": "Only updatable by the creator of the company, and if the company hasn't subscribed to Dashdoc",
                        "type": "string"
                    },
                    "email": {
                        "description": "Only updatable by the creator of the company, and if the company hasn't subscribed to Dashdoc",
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "siren": {
                        "description": "Only updatable by the creator of the company, and if the company hasn't subscribed to Dashdoc",
                        "type": "string"
                    },
                    "trade_number": {
                        "description": "Only updatable by the creator of the company, and if the company hasn't subscribed to Dashdoc",
                        "type": "string"
                    },
                    "vat_number": {
                        "description": "Only updatable by the creator of the company, and if the company hasn't subscribed to Dashdoc",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "remote_id": {
                        "description": "The ID of the company in your system. It has to be unique among all your companies.",
                        "type": "string"
                    },
                    "invoicing_remote_id": {
                        "description": "The id of the company in your invoicing system.",
                        "example": "COMP_456",
                        "type": "string"
                    },
                    "notes": {
                        "description": "Notes for this company, only visibile to your team members",
                        "type": "string"
                    },
                    "primary_address": {
                        "$ref": "#/components/schemas/AddressForCompany"
                    },
                    "tags": {
                        "description": "List of tags applied to the company.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "required": ["country", "name"],
                "type": "object"
            },
            "Contacts": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Contact"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewContact": {
                "properties": {
                    "uid": {
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "company": {
                        "$ref": "#/components/schemas/CompanyIdentification"
                    },
                    "first_name": {
                        "maxLength": 200,
                        "type": "string"
                    },
                    "last_name": {
                        "maxLength": 200,
                        "type": "string"
                    },
                    "email": {
                        "format": "email",
                        "type": "string"
                    },
                    "phone_number": {
                        "maxLength": 100,
                        "type": "string"
                    },
                    "fax_number": {
                        "maxLength": 100,
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the contact in your system",
                        "example": "CONTACT_123",
                        "type": "string"
                    }
                },
                "required": ["company", "last_name"],
                "type": "object"
            },
            "Contact": {
                "properties": {
                    "uid": {
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "company": {
                        "$ref": "#/components/schemas/Company"
                    },
                    "first_name": {
                        "example": "Adèle",
                        "type": "string"
                    },
                    "last_name": {
                        "example": "Bouvet",
                        "type": "string"
                    },
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "phone_number": {
                        "example": "+33600000000",
                        "type": "string"
                    },
                    "fax_number": {
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the contact in your system",
                        "example": "CONTACT_123",
                        "type": "string"
                    },
                    "is_manager": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "has_pending_invite": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "is_invitable": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "invitation_link": {
                        "format": "url",
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateContact": {
                "properties": {
                    "company": {
                        "$ref": "#/components/schemas/CompanyIdentification"
                    },
                    "first_name": {
                        "maxLength": 200,
                        "type": "string"
                    },
                    "last_name": {
                        "maxLength": 200,
                        "type": "string"
                    },
                    "email": {
                        "format": "email",
                        "type": "string"
                    },
                    "phone_number": {
                        "maxLength": 100,
                        "type": "string"
                    },
                    "fax_number": {
                        "maxLength": 100,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Deliveries": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Delivery"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "Delivery": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id.",
                        "type": "string"
                    },
                    "sequential_id": {
                        "description": "eCMR number",
                        "example": 1240993,
                        "type": "number"
                    },
                    "remote_id": {
                        "type": "string"
                    },
                    "tracking_id": {
                        "description": "Deprecated",
                        "type": "string"
                    },
                    "origin": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite"
                    },
                    "destination": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite"
                    },
                    "shipper_address": {
                        "$ref": "#/components/schemas/NewAddressReduced"
                    },
                    "planned_loads": {
                        "description": "Loads as planned before the transport has been started",
                        "items": {
                            "$ref": "#/components/schemas/DeliveryLoads"
                        },
                        "type": "array"
                    },
                    "loads": {
                        "description": "Loads as they are most recently defined. This means it is: \n\n* equal to `planned_loads` before loading is actually done \n\n* equal to `origin_loads` after loading is done (with details validated by trucker), but unloading is not done yet \n\n* equal to `loads_loads` after unloading is actually done (with details validated by trucker)",
                        "items": {
                            "$ref": "#/components/schemas/DeliveryLoads"
                        },
                        "type": "array"
                    },
                    "origin_loads": {
                        "description": "Loads as validated by trucker right after loading is done",
                        "items": {
                            "$ref": "#/components/schemas/DeliveryLoads"
                        },
                        "type": "array"
                    },
                    "destination_loads": {
                        "description": "Loads as validated by trucker right after unloading is done",
                        "items": {
                            "$ref": "#/components/schemas/DeliveryLoads"
                        },
                        "type": "array"
                    },
                    "tracking_contacts": {
                        "description": "List of contacts that will automatically receive an email when delivery is done. ⚠️ If no tracking contacts are provided for a company and the setting `partner_email_fallback` is enabled, a tracking contact corresponding to the company's email will be added, at the creation of the transport. This only applies to the carrier and the shipper.",
                        "items": {
                            "$ref": "#/components/schemas/Delivery_tracking_contacts"
                        },
                        "type": "array"
                    },
                    "shipper_reference": {
                        "description": "Reference the client may use to match transport on his own system, e.g. an order number. The transport's creator can toggle a setting to only allow himself to set it.",
                        "type": "string"
                    },
                    "multiple_rounds": {
                        "description": "If true, the trucker will be able to do a signature at loading, then add any amount of rounds for the transport (with weight/volume and weight ticket), and finish with a signature at unloading.",
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "CreateOrUpdateDelivery": {
                "properties": {
                    "planned_loads": {
                        "description": "Loads as planned before the transport has been started",
                        "items": {
                            "$ref": "#/components/schemas/NewDeliveryLoads"
                        },
                        "type": "array"
                    },
                    "origin": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite"
                    },
                    "destination": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite"
                    },
                    "shipper_address": {
                        "$ref": "#/components/schemas/NewAddressReduced"
                    },
                    "tracking_contacts": {
                        "description": "List of contacts that will automatically receive an email when delivery is done.\nThe role of each contact will be determined by matching its company to a company\non the transport (carrier, shipper, pick-up, delivery).\n⚠️ If no tracking contacts are provided for a company and the setting `partner_email_fallback` is enabled,\na tracking contact corresponding to the company's email will be added, at the creation of the transport.\nThis only applies to the carrier and the shipper.\n",
                        "items": {
                            "$ref": "#/components/schemas/CreateOrUpdateDelivery_tracking_contacts"
                        },
                        "type": "array"
                    },
                    "shipper_reference": {
                        "description": "Reference the client may use to match transport on his own system, e.g. an order number.",
                        "type": "string"
                    },
                    "multiple_rounds": {
                        "description": "If true, the trucker will be able to do a signature at loading, then add any amount of rounds for the transport (with weight/volume and weight ticket), and finish with a signature at unloading.",
                        "type": "boolean"
                    }
                },
                "required": ["destination", "origin", "shipper_address"],
                "type": "object"
            },
            "AddRoundDeliveries": {
                "properties": {
                    "loads": {
                        "items": {
                            "$ref": "#/components/schemas/NewDeliveryLoads"
                        },
                        "type": "array"
                    }
                },
                "required": ["loads"],
                "type": "object"
            },
            "CarrierAssignationStatus": {
                "type": "string",
                "enum": ["unassigned", "draft_assigned", "assigned"],
                "description": "Carrier assignment state of an order (Only for chartered transport). Null values should be treated as unassigned."
            },
            "Statuses": {
                "enum": [
                    "created",
                    "updated",
                    "confirmed",
                    "declined",
                    "verified",
                    "invoiced",
                    "paid",
                    "cancelled",
                    "assigned",
                    "sent_to_trucker",
                    "acknowledged",
                    "truck_wash",
                    "on_loading_site",
                    "loading_complete",
                    "on_unloading_site",
                    "unloading_complete",
                    "bulking_break_started",
                    "bulking_break_complete",
                    "rounds_started",
                    "round_added",
                    "round_added_v2",
                    "round_edited",
                    "round_deleted",
                    "rounds_complete",
                    "event",
                    "checklist_filled",
                    "activity_complete",
                    "on_the_way",
                    "handling_started",
                    "done"
                ],
                "type": "string"
            },
            "CMRDocument": {
                "properties": {
                    "file": {
                        "description": "URL of the stored cmr document. You can download the document from this URL.",
                        "example": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
                        "type": "string"
                    },
                    "reference": {
                        "description": "Free text. This reference is searchable in the transports dashboard. Filled by the trucker if the CMR / LV is added from the mobile app. Filled by the user, if the document is added from the web app, or filled by API request.",
                        "example": "delivery note 123456 client 1",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DockActivities": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/DockActivity"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "InvoiceItems": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/InvoiceItem"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewInvoiceItem": {
                "properties": {
                    "remote_id": {
                        "description": "The id of the invoice item in your system",
                        "example": "ITEM_123",
                        "type": "string"
                    },
                    "description": {
                        "description": "Default description when a user selects this invoice item for an invoice line",
                        "example": "Gas transportation",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InvoiceItem": {
                "properties": {
                    "uid": {
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the invoice item in your system",
                        "example": "ITEM_123",
                        "type": "string"
                    },
                    "description": {
                        "description": "Default description when a user selects this invoice item for an invoice line",
                        "example": "Gas transportation",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateInvoiceItem": {
                "properties": {
                    "remote_id": {
                        "description": "The id of the invoice item in your system",
                        "example": "ITEM_123",
                        "type": "string"
                    },
                    "description": {
                        "description": "Default description when a user selects this invoice item for an invoice line",
                        "example": "Gas transportation",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Invoices": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Invoice"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "Invoice": {
                "properties": {
                    "uid": {
                        "description": "uuid of this Invoice",
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created_by": {
                        "$ref": "#/components/schemas/InvoiceCreatedBy"
                    },
                    "debtor": {
                        "$ref": "#/components/schemas/InvoiceDebtor"
                    },
                    "description_template": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "object"
                    },
                    "document_number": {
                        "description": "Invoice's number. It usually corresponds to the invoice's number defined in your invoicing tool.",
                        "example": "20211125-11",
                        "type": "string"
                    },
                    "status": {
                        "default": "draft",
                        "description": "Indicate the status of the invoice",
                        "enum": ["draft", "final", "paid"],
                        "type": "string"
                    },
                    "due_date": {
                        "description": "Due date of the invoice",
                        "example": "2020-07-30",
                        "format": "date",
                        "nullable": true,
                        "type": "string"
                    },
                    "line_groups": {
                        "items": {
                            "$ref": "#/components/schemas/InvoiceLineGroup"
                        },
                        "type": "array"
                    },
                    "lines": {
                        "description": "List of lines of the invoice which do not correspond to a transport",
                        "items": {
                            "$ref": "#/components/schemas/InvoiceLine"
                        },
                        "type": "array"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "updated": {
                        "description": "Last update on our server",
                        "format": "date-time",
                        "type": "string"
                    },
                    "period": {
                        "$ref": "#/components/schemas/Invoice_period"
                    },
                    "transports_count": {
                        "description": "Number of transports linked to this invoice",
                        "example": 2,
                        "type": "integer"
                    },
                    "remote_id": {
                        "description": "The id of the invoice in your system.",
                        "example": "COMP_123_INV_1",
                        "type": "string"
                    },
                    "invoicing_connector": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "object"
                    },
                    "file": {
                        "description": "Invoice file path",
                        "example": "https://storage.googleapis.com/dashdoc-media/media/invoices/aabd42eb.png",
                        "format": "url",
                        "type": "string"
                    },
                    "invoicing_date": {
                        "description": "Date of invoicing",
                        "example": "2022-05-24",
                        "format": "date",
                        "type": "string"
                    },
                    "finalized_at": {
                        "description": "Date of invoice finalization.",
                        "example": "2021-12-14T18:23:44.648232Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "debtor_reference": {
                        "description": "Pre-billing reference",
                        "example": "D_PreBillingREF1",
                        "type": "string"
                    },
                    "total_price": {
                        "description": "Total price, excluding taxes",
                        "example": "100.00",
                        "type": "string"
                    },
                    "total_tax_amount": {
                        "description": "Total taxes amount",
                        "example": "100.00",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateInvoice": {
                "properties": {
                    "file": {
                        "description": "Invoice file content. **Use content-type with `multipart/form-data` value to the header of the request to send a document.**",
                        "format": "byte",
                        "type": "object"
                    },
                    "document_number": {
                        "description": "The invoice number",
                        "example": "ABC123",
                        "maxLength": 64,
                        "type": "string"
                    },
                    "invoicing_date": {
                        "description": "Date of invoicing.",
                        "example": "2022-05-24",
                        "format": "date",
                        "type": "string"
                    },
                    "debtor_reference": {
                        "description": "Pre-billing reference. **Can only be set for a draft invoice**",
                        "example": "D_PreBillingREF1",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InviteManager": {
                "properties": {
                    "first_name": {
                        "example": "Adèle",
                        "type": "string"
                    },
                    "last_name": {
                        "example": "Bouvet",
                        "type": "string"
                    },
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "role": {
                        "description": "**Note:** Only 1 role is accepted as input for this endpoint.\n",
                        "enum": ["admin", "user", "readonly"],
                        "type": "string"
                    }
                },
                "required": ["email", "first_name", "last_name", "role"],
                "type": "object"
            },
            "Manager": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "display_name": {
                        "example": "Adèle Bouvet",
                        "type": "string"
                    },
                    "user": {
                        "$ref": "#/components/schemas/User"
                    },
                    "role": {
                        "description": "**Note:** If the manager has multiple roles, only 1 of them is returned.\n",
                        "enum": ["admin", "user", "readonly"],
                        "type": "string"
                    },
                    "remote_id": {
                        "type": "string"
                    },
                    "phone_number": {
                        "type": "string"
                    },
                    "personas": {
                        "nullable": true,
                        "type": "string"
                    },
                    "current_company": {
                        "$ref": "#/components/schemas/Company"
                    }
                },
                "required": [
                    "current_company",
                    "display_name",
                    "pk",
                    "role",
                    "shipment_columns",
                    "transport_columns",
                    "waste_shipment_columns"
                ],
                "type": "object"
            },
            "UpdateManager": {
                "properties": {
                    "role": {
                        "enum": ["admin", "user", "readonly"],
                        "type": "string"
                    },
                    "user": {
                        "$ref": "#/components/schemas/UpdateManager_user"
                    }
                },
                "type": "object"
            },
            "Truckers": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Trucker"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewTrucker": {
                "properties": {
                    "user": {
                        "$ref": "#/components/schemas/NewUser"
                    },
                    "phone_number": {
                        "maxLength": 100,
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the trucker in your system. It has to be unique among all your truckers.",
                        "type": "string"
                    },
                    "tags": {
                        "description": "List of tags applied to the vehicle.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "required": ["user"],
                "type": "object"
            },
            "Trucker": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "user": {
                        "$ref": "#/components/schemas/User"
                    },
                    "phone_number": {
                        "type": "string"
                    },
                    "invite_code": {
                        "description": "Invite code trucker needs to connect to mobile app. The code is generated by Dashdoc.",
                        "type": "string"
                    },
                    "app_version": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": 180,
                        "type": "number"
                    },
                    "readable_app_version": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": "2.7.7",
                        "type": "string"
                    },
                    "platform": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": "ios",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the trucker in your system. It has to be unique among all your truckers.",
                        "type": "string"
                    },
                    "carrier": {
                        "$ref": "#/components/schemas/Company"
                    },
                    "is_rented": {
                        "type": "boolean"
                    },
                    "phone_number_personal": {
                        "example": "0601020304",
                        "type": "string"
                    },
                    "address": {
                        "example": "A random address 4 square Dashdoc",
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "type": "string"
                    },
                    "country_code": {
                        "$ref": "#/components/schemas/country"
                    },
                    "driving_license_number": {
                        "example": "99 999 999",
                        "type": "string"
                    },
                    "driving_license_deadline": {
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "adr_license_deadline": {
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "carrist_license_deadline": {
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "occupational_health_visit_deadline": {
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "new_app_update_available": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "unavailability": {
                        "description": "List of unavailable period",
                        "items": {
                            "$ref": "#/components/schemas/Unavailability"
                        },
                        "type": "array"
                    },
                    "events": {
                        "description": "Ignore. Dashdoc technical data.",
                        "items": {
                            "type": "object"
                        },
                        "type": "array"
                    },
                    "tags": {
                        "description": "List of tags applied to the trucker.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "LeaseTrucker": {
                "properties": {
                    "tenant_carrier": {
                        "$ref": "#/components/schemas/LeaseTrucker_tenant_carrier"
                    }
                },
                "required": ["tenant_carrier"],
                "type": "object"
            },
            "LeaseTruckerManagerNotFoundError": {
                "properties": {
                    "non_field_errors": {
                        "$ref": "#/components/schemas/LeaseTruckerManagerNotFoundError_non_field_errors"
                    }
                },
                "type": "object"
            },
            "LeaseTruckerManagerNotLinkedError": {
                "properties": {
                    "non_field_errors": {
                        "$ref": "#/components/schemas/LeaseTruckerManagerNotLinkedError_non_field_errors"
                    }
                },
                "type": "object"
            },
            "CreateUnavailability": {
                "properties": {
                    "remote_id": {
                        "description": "The ID of the unavailability in your system",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "created": {
                        "description": "Date of creation on our server",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Start date of the unavailability",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "End date of the unavailability",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "unavailability_type": {
                        "description": "Type of unavailability",
                        "enum": [
                            "paid_vacation",
                            "day_off",
                            "sick_leave",
                            "training",
                            "vacation",
                            "maintenance",
                            "rental",
                            "other"
                        ],
                        "type": "string"
                    },
                    "unavailability_note": {
                        "description": "Notes about the unavailability",
                        "example": "I'm on vacation",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateUnavailability": {
                "properties": {
                    "remote_id": {
                        "description": "The ID of the unavailability in your system",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "created": {
                        "description": "Date of creation on our server",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Start date of the unavailability",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "End date of the unavailability",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "unavailability_type": {
                        "description": "Type of unavailability",
                        "enum": [
                            "paid_vacation",
                            "day_off",
                            "sick_leave",
                            "training",
                            "vacation",
                            "maintenance",
                            "rental",
                            "other"
                        ],
                        "type": "string"
                    },
                    "unavailability_note": {
                        "description": "Notes about the unavailability",
                        "example": "I'm on vacation",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "NewSecurityProtocols": {
                "properties": {
                    "address": {
                        "description": "Id of the address the security protocol should be linked.",
                        "example": 1,
                        "type": "number"
                    },
                    "document": {
                        "description": "File content. **Use content-type with `multipart/form-data` value to the header of the request to send a document.**",
                        "format": "byte",
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename",
                        "type": "string"
                    }
                },
                "required": ["address", "document"],
                "type": "object"
            },
            "UpdateSecurityProtocol": {
                "properties": {
                    "address": {
                        "description": "Id of the address that the security protocol should be linked to.",
                        "example": 1,
                        "type": "number"
                    },
                    "document": {
                        "description": "File content. **Use content-type with `multipart/form-data` value to the header of the request to send a document.**",
                        "format": "byte",
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateSegment": {
                "properties": {
                    "remote_id": {
                        "description": "The id of the segment in your system.",
                        "type": "string"
                    },
                    "origin": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite_1"
                    },
                    "destination": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite_1"
                    },
                    "vehicle": {
                        "$ref": "#/components/schemas/VehicleForSegment"
                    },
                    "trailers": {
                        "items": {
                            "$ref": "#/components/schemas/TrailerForSegment"
                        },
                        "type": "array"
                    },
                    "trucker_id": {
                        "$ref": "#/components/schemas/UpdateSegment_trucker_id"
                    },
                    "scheduled_start_range": {
                        "$ref": "#/components/schemas/UpdateSegment_scheduled_start_range"
                    },
                    "scheduled_end_range": {
                        "$ref": "#/components/schemas/UpdateSegment_scheduled_end_range"
                    },
                    "scheduled_start": {
                        "deprecated": true,
                        "description": "The scheduled date and time of arrival at the origin (ISO 8601)",
                        "type": "string"
                    },
                    "scheduled_end": {
                        "deprecated": true,
                        "description": "The scheduled date and time of arrival at the destination (ISO 8601)",
                        "type": "string"
                    }
                },
                "required": ["origin"],
                "type": "object"
            },
            "Segment": {
                "description": "",
                "properties": {
                    "uid": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "remote_id": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "origin": {
                        "$ref": "#/components/schemas/Site"
                    },
                    "destination": {
                        "$ref": "#/components/schemas/Site"
                    },
                    "trucker": {
                        "$ref": "#/components/schemas/SegmentTrucker"
                    },
                    "vehicle": {
                        "$ref": "#/components/schemas/Vehicle"
                    },
                    "trailers": {
                        "items": {
                            "$ref": "#/components/schemas/Trailer"
                        },
                        "type": "array"
                    },
                    "sort_order": {
                        "description": "The index of the segment in the transport",
                        "example": 0,
                        "minimum": 0,
                        "type": "number"
                    },
                    "scheduled_start_range": {
                        "$ref": "#/components/schemas/Segment_scheduled_start_range"
                    },
                    "scheduled_end_range": {
                        "$ref": "#/components/schemas/Segment_scheduled_end_range"
                    },
                    "scheduled_start": {
                        "deprecated": true,
                        "description": "The datetime at which the carrier scheduled the start of this segment\n",
                        "type": "string"
                    },
                    "scheduled_end": {
                        "deprecated": true,
                        "description": "The datetime at which the carrier scheduled the end of this segment",
                        "type": "string"
                    },
                    "child_transport": {
                        "$ref": "#/components/schemas/Segment_child_transport"
                    },
                    "telematic_distance": {
                        "description": "Automatically computed distance from telematic data (in kms).",
                        "type": "integer"
                    },
                    "distance": {
                        "description": "Manually entered distance. If null, it takes the value of telematic_distance (in kms).",
                        "type": "integer"
                    },
                    "origin_mileage": {
                        "description": "Mileage at transport origin site (in kms).",
                        "type": "integer"
                    },
                    "destination_mileage": {
                        "description": "Mileage at transport destination site (in kms).",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "AssignSegment": {
                "properties": {
                    "send_to_trucker": {
                        "description": "if true, a notification is sent to the trucker on the mobile app",
                        "example": true,
                        "type": "boolean"
                    },
                    "trucker_id": {
                        "$ref": "#/components/schemas/TruckerForSegment"
                    },
                    "vehicle": {
                        "$ref": "#/components/schemas/VehicleForSegment"
                    },
                    "trailers": {
                        "description": "trailers to assign to the segment",
                        "items": {
                            "$ref": "#/components/schemas/TrailerForSegment"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "Transport": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id. It will be automatically generated by us.",
                        "example": "447521b0-e165-11ea-a488-0242ac110007",
                        "format": "uuid",
                        "type": "string"
                    },
                    "sequential_id": {
                        "example": 1240993,
                        "type": "number"
                    },
                    "created": {
                        "description": "Date of creation sent by the creator. Useful when the transport is created by mobile devices. If network connection is bad, the `created` date can be later than `created_device`",
                        "format": "date-time",
                        "type": "string"
                    },
                    "updated": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "deleted": {
                        "nullable": true,
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "Your transport id. It has to be unique among all your transports",
                        "example": "",
                        "type": "string"
                    },
                    "carrier_address": {
                        "$ref": "#/components/schemas/AddressForTransport"
                    },
                    "created_by": {
                        "$ref": "#/components/schemas/Company"
                    },
                    "created_device": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "enum": ["mobile_app", "api", "web_app"],
                        "type": "string"
                    },
                    "archived_by": {
                        "items": {
                            "type": "object"
                        },
                        "type": "array"
                    },
                    "is_order": {
                        "type": "boolean"
                    },
                    "carrier_assignation_status": {
                        "$ref": "#/components/schemas/CarrierAssignationStatus",
                        "nullable": true
                    },
                    "invite_code": {
                        "example": "RWMUYE",
                        "type": "string"
                    },
                    "deliveries": {
                        "items": {
                            "$ref": "#/components/schemas/Delivery"
                        },
                        "type": "array"
                    },
                    "segments": {
                        "items": {
                            "$ref": "#/components/schemas/Segment"
                        },
                        "type": "array"
                    },
                    "status": {
                        "$ref": "#/components/schemas/Statuses"
                    },
                    "status_updates": {
                        "items": {
                            "$ref": "#/components/schemas/Status"
                        },
                        "type": "array"
                    },
                    "has_observations": {
                        "type": "boolean"
                    },
                    "messages": {
                        "items": {
                            "$ref": "#/components/schemas/TransportMessage"
                        },
                        "type": "array"
                    },
                    "requested_vehicle": {
                        "$ref": "#/components/schemas/requested_vehicle"
                    },
                    "documents": {
                        "items": {
                            "$ref": "#/components/schemas/Document"
                        },
                        "type": "array"
                    },
                    "carrier_reference": {
                        "description": "Text that will help the carrier operators manage the transports, e.g. transport number in his TMS. It should only be set by the carrier of the transport and the transport's creator can toggle a company-wide setting to only allow the carrier to set it.",
                        "type": "string"
                    },
                    "price": {
                        "$ref": "#/components/schemas/deprecated_price"
                    },
                    "requires_washing": {
                        "description": "Flag to enable the truck washing flow in the mobile app",
                        "type": "boolean"
                    },
                    "business_privacy": {
                        "description": "Flag to enable 'business privacy' mode: no eCMR will be generated, and the trucker won't be prompted to share the transport link.",
                        "type": "boolean"
                    },
                    "is_multiple_compartments": {
                        "description": "Flag to enable 'multiple compartments' mode: truckers will have to select in which compartments loads were loaded. It also generates a specific delivery document : loading_plan.",
                        "type": "boolean"
                    },
                    "loading_plan": {
                        "description": "Uid of the loading plan created by the trucker. Contact us if you need to retrieve data from it",
                        "type": "string"
                    },
                    "customer_to_invoice": {
                        "$ref": "#/components/schemas/customer_to_invoice"
                    },
                    "parent_transport": {
                        "$ref": "#/components/schemas/Transport_parent_transport"
                    },
                    "invoice_number": {
                        "nullable": true,
                        "type": "string"
                    },
                    "invoiced_price": {
                        "$ref": "#/components/schemas/deprecated_invoiced_price"
                    },
                    "volume_display_unit": {
                        "enum": ["m3", "L"],
                        "type": "string"
                    },
                    "references": {
                        "items": {
                            "$ref": "#/components/schemas/Transport_references"
                        },
                        "type": "array"
                    },
                    "rental_deliveries": {
                        "description": "Array of transports executed by the trucker during the rental order. Implies that the current transport is a rental order. Inner objects have the same transport data structure.",
                        "items": {
                            "$ref": "#/components/schemas/Transport"
                        },
                        "type": "array"
                    },
                    "billing-metrics": {
                        "deprecated": true,
                        "description": "Retired feature, will always be null.",
                        "nullable": true,
                        "type": "string"
                    },
                    "shape": {
                        "type": "string"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/global_instructions"
                    },
                    "carbon_footprint": {
                        "description": "Carbon footprint of the transport in kgCO2",
                        "nullable": true,
                        "readOnly": true,
                        "type": "number"
                    },
                    "tags": {
                        "description": "List of tags applied to the transport.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "required": [
                    "business_privacy",
                    "carrier_address",
                    "carrier_reference",
                    "created",
                    "created_by",
                    "created_device",
                    "creation_method",
                    "deliveries",
                    "documents",
                    "has_observations",
                    "invite_code",
                    "invoice_number",
                    "is_order",
                    "messages",
                    "price",
                    "references",
                    "remote_id",
                    "requested_vehicle",
                    "requires_washing",
                    "segments",
                    "sequential_id",
                    "status",
                    "status_updates",
                    "uid",
                    "updated"
                ],
                "type": "object"
            },
            "BreakSegment": {
                "properties": {
                    "site": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite_2"
                    },
                    "trucker_id": {
                        "$ref": "#/components/schemas/TruckerForSegment"
                    },
                    "vehicle": {
                        "$ref": "#/components/schemas/VehicleForSegment"
                    },
                    "trailers": {
                        "description": "trailers for the post break segment",
                        "items": {
                            "$ref": "#/components/schemas/TrailerForSegment"
                        },
                        "type": "array"
                    }
                },
                "required": ["site"],
                "type": "object"
            },
            "CharterTransport": {
                "properties": {
                    "carrier": {
                        "$ref": "#/components/schemas/CharterTransport_carrier"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/global_instructions"
                    },
                    "price": {
                        "$ref": "#/components/schemas/deprecated_price"
                    }
                },
                "required": ["carrier"],
                "type": "object"
            },
            "CharterSegmentsFiltersError": {
                "properties": {
                    "non_field_errors": {
                        "$ref": "#/components/schemas/CharterSegmentsFiltersError_non_field_errors"
                    }
                },
                "type": "object"
            },
            "TrackingFiles": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/TrackingFile"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "TrackingFileInputValidator": {
                "properties": {
                    "name": {
                        "description": "Name of the tracking file",
                        "example": "My tracking file name",
                        "type": "string"
                    },
                    "shipper_id": {
                        "description": "ID of the shipper",
                        "example": 123,
                        "nullable": true,
                        "type": "integer"
                    },
                    "start_date": {
                        "description": "Start date of the tracking file",
                        "example": "2023-10-01T00:00:00Z",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "end_date": {
                        "description": "End date of the tracking file",
                        "example": "2023-10-10T00:00:00Z",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "loading_address_id": {
                        "description": "ID of the loading address.",
                        "example": 456,
                        "nullable": true,
                        "type": "integer"
                    },
                    "unloading_address_id": {
                        "description": "ID of the unloading address",
                        "example": 789,
                        "nullable": true,
                        "type": "integer"
                    },
                    "quantity_per_transport": {
                        "description": "Quantity per transport",
                        "example": 100.0,
                        "format": "float",
                        "nullable": true,
                        "type": "number"
                    },
                    "unit": {
                        "description": "Unit of measurement",
                        "enum": [
                            "liter",
                            "cubic_meter",
                            "kilogram",
                            "stere",
                            "linear_meter",
                            "quantity"
                        ],
                        "example": "kilogram",
                        "nullable": true,
                        "type": "string"
                    },
                    "total_load": {
                        "$ref": "#/components/schemas/NewDeliveryLoads"
                    },
                    "requires_washing": {
                        "default": false,
                        "description": "Indicates if washing is required by default for transports that will be created in this tracking file",
                        "example": false,
                        "type": "boolean"
                    },
                    "is_multiple_compartments": {
                        "default": false,
                        "description": "Indicates if there are multiple compartments by default for transports that will be created in this tracking file",
                        "example": false,
                        "type": "boolean"
                    }
                },
                "required": ["name", "shipper_id"],
                "type": "object"
            },
            "TrackingFile": {
                "properties": {
                    "uid": {
                        "description": "Unique identifier of the tracking file",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "type": "string"
                    },
                    "status": {
                        "description": "Status of the tracking file",
                        "enum": ["open", "closed"],
                        "example": "open",
                        "type": "string"
                    },
                    "created": {
                        "description": "Creation date of the tracking file",
                        "example": "2023-10-01T00:00:00Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "name": {
                        "description": "Name of the tracking file",
                        "example": "My tracking file name",
                        "type": "string"
                    },
                    "shipper_id": {
                        "description": "Primary key of the shipper",
                        "example": 123,
                        "type": "integer"
                    },
                    "quantity_per_transport": {
                        "description": "Quantity per transport",
                        "example": 100.0,
                        "format": "float",
                        "type": "number"
                    },
                    "start_date": {
                        "description": "Start date of the tracking file",
                        "example": "2023-10-01T00:00:00Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "End date of the tracking file",
                        "example": "2023-10-10T00:00:00Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "unit": {
                        "description": "Unit of measurement",
                        "enum": [
                            "liter",
                            "cubic_meter",
                            "kilogram",
                            "stere",
                            "linear_meter",
                            "quantity"
                        ],
                        "example": "kilogram",
                        "type": "string"
                    },
                    "template_uid": {
                        "description": "Unique identifier of the template linked to the tracking file",
                        "example": "template-uid-123",
                        "type": "string"
                    },
                    "loading_address": {
                        "$ref": "#/components/schemas/Address"
                    },
                    "unloading_address": {
                        "$ref": "#/components/schemas/Address"
                    },
                    "total_load": {
                        "$ref": "#/components/schemas/PlannedLoads"
                    },
                    "requires_washing": {
                        "description": "Indicates if washing is required by default for transports that will be created in this tracking file",
                        "example": false,
                        "type": "boolean"
                    },
                    "is_multiple_compartments": {
                        "description": "Indicates if there are multiple compartments by default for transports that will be created in this tracking file",
                        "example": false,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "Site": {
                "properties": {
                    "uid": {
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the site in your system",
                        "type": "string"
                    },
                    "address": {
                        "$ref": "#/components/schemas/Address"
                    },
                    "real_start": {
                        "description": "date and time when trucker arrived on site",
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "real_end": {
                        "description": "date and time when trucker completed loading / unloading (depending whether site is origin or destination)",
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "signature_process": {
                        "example": "sign_on_glass",
                        "type": "string"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/site_instructions"
                    },
                    "reference": {
                        "type": "string"
                    },
                    "action": {
                        "type": "string"
                    },
                    "eta": {
                        "nullable": true,
                        "type": "string"
                    },
                    "eta_tracking": {
                        "$ref": "#/components/schemas/eta_tracking"
                    },
                    "punctuality_status": {
                        "$ref": "#/components/schemas/punctuality_status"
                    },
                    "supports_exchanges": {
                        "$ref": "#/components/schemas/SupportsExchange"
                    },
                    "category": {
                        "enum": ["loading", "unloading"],
                        "example": "loading",
                        "type": "string"
                    },
                    "slots": {
                        "items": {
                            "$ref": "#/components/schemas/Site_slots"
                        },
                        "type": "array"
                    },
                    "trucker_instructions": {
                        "$ref": "#/components/schemas/trucker_instructions"
                    }
                },
                "type": "object"
            },
            "CreateOrUpdateSite": {
                "properties": {
                    "uid": {
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the site in your system",
                        "type": "string"
                    },
                    "address": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/Address"
                            }
                        ],
                        "nullable": true
                    },
                    "real_start": {
                        "description": "date and time when trucker arrived on site",
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "real_end": {
                        "description": "date and time when trucker completed loading / unloading (depending whether site is origin or destination)",
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "signature_process": {
                        "example": "sign_on_glass",
                        "type": "string"
                    },
                    "is_booking_needed": {
                        "type": "boolean"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/site_instructions"
                    },
                    "reference": {
                        "type": "string"
                    },
                    "action": {
                        "type": "string"
                    },
                    "eta": {
                        "nullable": true,
                        "type": "string"
                    },
                    "eta_tracking": {
                        "type": "boolean"
                    },
                    "punctuality_status": {
                        "type": "string"
                    },
                    "supports_exchanges": {
                        "$ref": "#/components/schemas/SupportsExchange"
                    },
                    "category": {
                        "type": "string"
                    },
                    "slots": {
                        "items": {
                            "$ref": "#/components/schemas/Site_slots"
                        },
                        "type": "array"
                    },
                    "trucker_instructions": {
                        "$ref": "#/components/schemas/trucker_instructions"
                    }
                },
                "type": "object"
            },
            "MarkDoneSite": {
                "properties": {
                    "category": {
                        "enum": [
                            "loading",
                            "unloading",
                            "bulking_break_started",
                            "bulking_break_complete"
                        ],
                        "example": "loading",
                        "type": "string"
                    },
                    "on_site_date": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "complete_date": {
                        "format": "date-time",
                        "type": "string"
                    }
                },
                "required": ["category", "complete_date", "on_site_date"],
                "type": "object"
            },
            "EnableEtaCoordinatesError": {
                "properties": {
                    "non_field_errors": {
                        "$ref": "#/components/schemas/EnableEtaCoordinatesError_non_field_errors"
                    }
                },
                "type": "object"
            },
            "FlowCompanyRequest": {
                "properties": {
                    "remote_id": {
                        "description": "The ID of the company in your system",
                        "example": "internal_reference",
                        "type": "string"
                    },
                    "name": {
                        "description": "Company name",
                        "example": "Transporteur A",
                        "type": "string"
                    },
                    "address": {
                        "$ref": "#/components/schemas/FlowCompanyRequest_address"
                    }
                },
                "required": ["address", "name", "remote_id"],
                "type": "object"
            },
            "FlowCompany": {
                "properties": {
                    "uid": {
                        "description": "Unique identifier for the company",
                        "example": "baf04a1f-bdef-4372-95d3-48ffaf2ced3c",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the company in your system",
                        "example": "internal_reference",
                        "type": "string"
                    },
                    "name": {
                        "description": "Company name",
                        "example": "Transporteur A",
                        "type": "string"
                    },
                    "address": {
                        "$ref": "#/components/schemas/FlowCompanyRequest_address"
                    }
                },
                "type": "object"
            },
            "SlotsResponse": {
                "properties": {
                    "count": {
                        "description": "Total number of slots",
                        "type": "integer"
                    },
                    "next": {
                        "description": "URL for the next page of results",
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "description": "URL for the previous page of results",
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "description": "Array of slot objects",
                        "items": {
                            "$ref": "#/components/schemas/Slot"
                        },
                        "type": "array"
                    }
                },
                "required": ["count", "results"],
                "type": "object"
            },
            "SlotDraftRequest": {
                "example": {
                    "company": {
                        "remote_id": "COMP789"
                    },
                    "note": "Special delivery instructions",
                    "fields": {
                        "references": ["ORDER123", "SHIPMENT456"],
                        "Order Number": "12345",
                        "Delivery Instructions": "Use back door"
                    }
                },
                "properties": {
                    "company": {
                        "description": "Company information. Either 'remote_id' or 'pk' must be provided, but not both.",
                        "oneOf": [
                            {
                                "required": ["remote_id"],
                                "type": "object"
                            },
                            {
                                "required": ["pk"],
                                "type": "object"
                            }
                        ],
                        "properties": {
                            "remote_id": {
                                "description": "Company remote identifier (external ID)",
                                "type": "string"
                            },
                            "pk": {
                                "description": "Company primary key (internal ID)",
                                "type": "integer"
                            }
                        },
                        "type": "object"
                    },
                    "note": {
                        "description": "Optional note for the slot (can be blank or null)",
                        "nullable": true,
                        "type": "string"
                    },
                    "fields": {
                        "additionalProperties": {
                            "description": "Custom field values (any type will be converted to string). Note that custom fields cannot be validated against zone specifications since draft slots don't have a zone assigned yet.",
                            "type": "string"
                        },
                        "description": "Optional fields containing references and/or custom fields. Custom fields are provided as key-value pairs where keys are field labels (strings) and values will be converted to strings.",
                        "example": {
                            "references": ["REF001", "REF002"],
                            "Order Number": "ORDER123",
                            "Delivery Instructions": "Handle with care"
                        },
                        "properties": {
                            "references": {
                                "description": "List of reference strings for the slot",
                                "items": {
                                    "maxLength": 128,
                                    "type": "string"
                                },
                                "type": "array"
                            }
                        },
                        "type": "object"
                    }
                },
                "required": ["company"],
                "type": "object"
            },
            "DraftSlot": {
                "example": {
                    "uid": "550e8400-e29b-41d4-a716-446655440000",
                    "company": {
                        "pk": 123,
                        "remote_id": "COMP789",
                        "name": "Acme Corporation"
                    },
                    "state": "draft",
                    "note": "Special delivery instructions",
                    "fields": {
                        "references": ["ORDER123", "SHIPMENT456"],
                        "Order Number": "12345",
                        "Delivery Instructions": "Use back door"
                    }
                },
                "properties": {
                    "uid": {
                        "description": "Unique identifier for the slot",
                        "type": "string"
                    },
                    "zone": {
                        "$ref": "#/components/schemas/DraftSlot_zone"
                    },
                    "company": {
                        "$ref": "#/components/schemas/DraftSlot_company"
                    },
                    "start_time": {
                        "description": "Start time of the slot in ISO 8601 format (null for draft slots until scheduled)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "end_time": {
                        "description": "End time of the slot in ISO 8601 format (null for draft slots until scheduled)",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "state": {
                        "description": "State of the slot (always \"draft\" for draft slots)",
                        "enum": ["draft"],
                        "type": "string"
                    },
                    "note": {
                        "description": "Optional note for the slot",
                        "nullable": true,
                        "type": "string"
                    },
                    "fields": {
                        "additionalProperties": {
                            "description": "Custom field values returned as key-value pairs",
                            "type": "string"
                        },
                        "description": "Custom fields for the slot including references and any custom field labels",
                        "example": {
                            "references": ["REF001", "REF002"],
                            "Order Number": "ORDER123",
                            "Delivery Instructions": "Handle with care"
                        },
                        "properties": {
                            "references": {
                                "description": "List of reference strings for the slot",
                                "items": {
                                    "type": "string"
                                },
                                "nullable": true,
                                "type": "array"
                            }
                        },
                        "type": "object"
                    }
                },
                "required": ["state", "uid"],
                "type": "object"
            },
            "SlotPlannedRequest": {
                "properties": {
                    "zone": {
                        "$ref": "#/components/schemas/SlotPlannedRequest_zone"
                    },
                    "company": {
                        "description": "Company identification. Either remote_id or pk must be provided, but not both.",
                        "oneOf": [
                            {
                                "required": ["remote_id"],
                                "type": "object"
                            },
                            {
                                "required": ["pk"],
                                "type": "object"
                            }
                        ],
                        "properties": {
                            "remote_id": {
                                "description": "Company remote identifier",
                                "example": "CARRIER_123",
                                "type": "string"
                            },
                            "pk": {
                                "description": "Company primary key",
                                "example": 456,
                                "type": "integer"
                            }
                        },
                        "type": "object"
                    },
                    "start_time": {
                        "description": "Start time of the slot in ISO 8601 format",
                        "format": "date-time",
                        "type": "string"
                    },
                    "end_time": {
                        "description": "End time of the slot in ISO 8601 format",
                        "format": "date-time",
                        "type": "string"
                    },
                    "note": {
                        "description": "Optional note for the slot",
                        "type": "string"
                    },
                    "fields": {
                        "$ref": "#/components/schemas/SlotFields"
                    }
                },
                "required": ["company", "end_time", "start_time", "zone"],
                "type": "object"
            },
            "Slot": {
                "properties": {
                    "uid": {
                        "description": "Unique identifier for the slot",
                        "type": "string"
                    },
                    "zone": {
                        "$ref": "#/components/schemas/Slot_zone"
                    },
                    "company": {
                        "$ref": "#/components/schemas/Slot_company"
                    },
                    "start_time": {
                        "description": "Start time of the slot in ISO 8601 format",
                        "format": "date-time",
                        "type": "string"
                    },
                    "end_time": {
                        "description": "End time of the slot in ISO 8601 format",
                        "format": "date-time",
                        "type": "string"
                    },
                    "state": {
                        "description": "Current state of the slot",
                        "enum": [
                            "draft",
                            "planned",
                            "arrived",
                            "handled",
                            "completed",
                            "departed",
                            "cancelled"
                        ],
                        "type": "string"
                    },
                    "note": {
                        "description": "Optional note for the slot",
                        "type": "string"
                    },
                    "fields": {
                        "$ref": "#/components/schemas/SlotFields"
                    }
                },
                "required": ["company", "end_time", "start_time", "state", "uid", "zone"],
                "type": "object"
            },
            "SlotUpdateReferencesRequest": {
                "properties": {
                    "references": {
                        "description": "List of reference strings for the slot",
                        "items": {
                            "maxLength": 128,
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "custom_field_1": {
                        "description": "Value for the first custom field (if defined in the zone)",
                        "type": "string"
                    },
                    "custom_field_2": {
                        "description": "Value for the second custom field (if defined in the zone)",
                        "type": "string"
                    }
                },
                "required": ["references"],
                "type": "object"
            },
            "SlotReassignRequest": {
                "properties": {
                    "company": {
                        "description": "Company identification. Either remote_id or pk must be provided, but not both.",
                        "oneOf": [
                            {
                                "required": ["remote_id"],
                                "type": "object"
                            },
                            {
                                "required": ["pk"],
                                "type": "object"
                            }
                        ],
                        "properties": {
                            "remote_id": {
                                "description": "Company remote identifier",
                                "example": "CARRIER_123",
                                "type": "string"
                            },
                            "pk": {
                                "description": "Company primary key",
                                "example": 456,
                                "type": "integer"
                            }
                        },
                        "type": "object"
                    }
                },
                "required": ["company"],
                "type": "object"
            },
            "SupportTypes": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/SupportType"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewSupportType": {
                "properties": {
                    "name": {
                        "description": "Display name of the support type",
                        "example": "Palettes",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the support type in your system. It has to be unique.",
                        "type": "string"
                    }
                },
                "required": ["name"],
                "type": "object"
            },
            "SupportType": {
                "description": "Type of the supports that are exchanged",
                "properties": {
                    "name": {
                        "description": "Display name of the support type",
                        "example": "Palettes",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "uid": {
                        "example": "c8e4cc62-446a-11eb-a759-0242ac130005",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the support type in your system.",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Tags": {
                "properties": {
                    "count": {
                        "description": "Total number of tags",
                        "example": 10,
                        "type": "integer"
                    },
                    "next": {
                        "description": "URL to the next page of results",
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "description": "URL to the previous page of results",
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewSupportsExchange": {
                "properties": {
                    "site": {
                        "$ref": "#/components/schemas/NewSupportsExchange_site"
                    },
                    "support_type": {
                        "$ref": "#/components/schemas/NewSupportsExchange_support_type"
                    },
                    "expected_retrieved": {
                        "description": "Expected number of supports that should be retrieved on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "actual_retrieved": {
                        "description": "Actual number of supports that were retrieved on the site",
                        "example": 0,
                        "type": "number"
                    },
                    "expected_delivered": {
                        "description": "Expected number of supports that should be delivered on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "actual_delivered": {
                        "description": "Actual number of supports that were delivered on the site",
                        "example": 0,
                        "type": "number"
                    },
                    "observations": {
                        "description": "Free text. Observations about this supports exchange. Can be filled on mobile app, web app or via API.",
                        "example": "1 broken",
                        "type": "string"
                    }
                },
                "required": ["site", "support_type"],
                "type": "object"
            },
            "SupportsExchange": {
                "properties": {
                    "uid": {
                        "description": "uid of the support exchange",
                        "format": "uuid",
                        "type": "string"
                    },
                    "site": {
                        "$ref": "#/components/schemas/SupportsExchange_site"
                    },
                    "support_type": {
                        "$ref": "#/components/schemas/SupportType"
                    },
                    "expected_retrieved": {
                        "description": "Expected number of supports that should be retrieved on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "actual_retrieved": {
                        "description": "Actual number of supports that were retrieved on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "expected_delivered": {
                        "description": "Expected number of supports that should be delivered on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "actual_delivered": {
                        "description": "Actual number of supports that were delivered on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "observations": {
                        "description": "Free text. Observations about this supports exchange. Can be filled on mobile app, web app or via API.",
                        "example": "1 broken",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the support in your system",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateSupportsExchange": {
                "properties": {
                    "site": {
                        "$ref": "#/components/schemas/NewSupportsExchange_site"
                    },
                    "support_type": {
                        "$ref": "#/components/schemas/NewSupportsExchange_support_type"
                    },
                    "expected_retrieved": {
                        "description": "Expected number of supports that should be retrieved on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "actual_retrieved": {
                        "description": "Actual number of supports that were retrieved on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "expected_delivered": {
                        "description": "Expected number of supports that should be delivered on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "actual_delivered": {
                        "description": "Actual number of supports that were delivered on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "observations": {
                        "description": "Free text. Observations about this supports exchange. Can be filled on mobile app, web app or via API.",
                        "example": "1 broken",
                        "type": "string"
                    }
                },
                "required": ["site", "support_type"],
                "type": "object"
            },
            "CreateTelematicsVehicle": {
                "properties": {
                    "telematics": {
                        "enum": ["trimble"],
                        "type": "string"
                    },
                    "license_plate": {
                        "example": "AB123CD",
                        "type": "string"
                    },
                    "telematics_id": {
                        "description": "ID of the vehicle in the telematics system",
                        "type": "string"
                    }
                },
                "required": ["license_plate", "telematics", "telematics_id"],
                "type": "object"
            },
            "TelematicsVehicle": {
                "properties": {
                    "telematics": {
                        "enum": ["trimble"],
                        "type": "string"
                    },
                    "license_plate": {
                        "example": "AB123CD",
                        "type": "string"
                    },
                    "telematics_id": {
                        "description": "ID of the vehicle in the telematics system",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CreateTrace": {
                "properties": {
                    "license_plate": {
                        "description": "License plate number",
                        "example": "AB123CD",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "country": {
                        "description": "Country code of the license plate",
                        "example": "FR",
                        "type": "string"
                    },
                    "time": {
                        "description": "Timestamp at which the trace was generated. ISO-8601 format.",
                        "example": "2022-02-01T08:00:00Z",
                        "type": "string"
                    },
                    "mileage": {
                        "description": "Mileage expressed in kilometers",
                        "example": 123,
                        "type": "integer"
                    },
                    "latitude": {
                        "description": "Latitude of the position of the vehicle",
                        "example": 42.2,
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the position of the vehicle",
                        "example": 2.3522,
                        "type": "number"
                    }
                },
                "required": ["license_plate"],
                "type": "object"
            },
            "Trace": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id",
                        "example": 17293,
                        "type": "number"
                    },
                    "license_plate": {
                        "description": "License plate number",
                        "example": "AB123CD",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "country": {
                        "description": "Country code of the license plate",
                        "example": "FR",
                        "type": "string"
                    },
                    "time": {
                        "description": "Timestamp at which the trace was generated. ISO-8601 format.",
                        "example": "2022-02-01T08:00:00Z",
                        "type": "string"
                    },
                    "mileage": {
                        "description": "Mileage expressed in kilometers",
                        "example": 123,
                        "type": "integer"
                    },
                    "latitude": {
                        "description": "Latitude of the position of the vehicle",
                        "example": 42.2,
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Longitude of the position of the vehicle",
                        "example": 2.3522,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "Trailers": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Trailer"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewTrailer": {
                "properties": {
                    "remote_id": {
                        "description": "The ID of the trailer in your system.",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "fleet_number": {
                        "description": "Your trailer fleet number. It has to be unique among all your trailers. When filled, fleet number will be displayed in the web and mobile app next to license plate number. It can also be used for searches.",
                        "example": "TRUCK120",
                        "maxLength": 10,
                        "type": "string"
                    },
                    "license_plate": {
                        "description": "License plate number (has to be unique)",
                        "example": "WE749RM",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "used_for_qualimat_transports": {
                        "description": "True if the trailer can be used for Qualimat transport. This value is used to add a Qualimat logo next to the trailer in forms, in order to help the user selecting the trailer when creating a transport. The is no control on the value. You can create a Qualimat transport with a trailer that is not flagged for Qualimat. In this case a warning is displayed in the transport detail.",
                        "type": "boolean"
                    },
                    "tags": {
                        "description": "List of tags applied to the trailer.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "Trailer": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id",
                        "example": 928,
                        "type": "number"
                    },
                    "original": {
                        "description": "Ignore. Dashdoc technical data",
                        "type": "number"
                    },
                    "carrier": {
                        "description": "Dashdoc's internal id of the carrier owning the trailer",
                        "example": 928,
                        "type": "number"
                    },
                    "license_plate": {
                        "description": "License plate number",
                        "example": "WE749RM",
                        "type": "string"
                    },
                    "fleet_number": {
                        "description": "Your trailer fleet number",
                        "example": "TRAILER120",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the trailer in your system",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "created": {
                        "description": "Date of creation on our server",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "used_for_qualimat_transports": {
                        "description": "True if the trailer can be used for Qualimat transport (only used for visual help and warnings)",
                        "type": "boolean"
                    },
                    "tags": {
                        "description": "List of tags applied to the trailer.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    },
                    "technical_control_deadline": {
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "unavailability": {
                        "description": "List of unavailable period",
                        "items": {
                            "$ref": "#/components/schemas/Unavailability"
                        },
                        "type": "array"
                    },
                    "events": {
                        "description": "Ignore. Dashdoc technical data.",
                        "items": {
                            "type": "object"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "UpdateTrailer": {
                "properties": {
                    "remote_id": {
                        "description": "The ID of the trailer in your system.",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "fleet_number": {
                        "description": "Your trailer fleet number. It has to be unique among all your trailers. When filled, fleet number will be displayed in the web and mobile app next to license plate number. It can also be used for searches.",
                        "example": "TRUCK120",
                        "maxLength": 10,
                        "type": "string"
                    },
                    "license_plate": {
                        "description": "License plate number",
                        "example": "WE749RM",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "used_for_qualimat_transports": {
                        "description": "True if the trailer can be used for Qualimat transport. This value is used to add a Qualimat logo next to the trailer in forms, in order to help the user selecting the trailer when creating a transport. The is no control on the value. You can create a Qualimat transport with a trailer that is not flagged for Qualimat. In this case a warning is displayed in the transport detail.",
                        "type": "boolean"
                    },
                    "tags": {
                        "description": "List of tags applied to the trailer.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "TrackDechetsWasteNotes": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/TrackDechetsWasteNote"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "LinkTrackDechetsWasteNote": {
                "properties": {
                    "readable_id": {
                        "description": "Waste note readable id from TrackDéchets",
                        "example": "BSD-123-456",
                        "type": "string"
                    },
                    "transport": {
                        "$ref": "#/components/schemas/LinkTrackDechetsWasteNote_transport"
                    }
                },
                "required": ["readable_id"],
                "type": "object"
            },
            "TrackDechetsWasteNote": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc uid link between the transport and the TrackDéchets waste note",
                        "format": "uuid",
                        "type": "string"
                    },
                    "readable_id": {
                        "description": "Waste note readable id from TrackDéchets",
                        "example": "BSD-20220408-Q4AMB20ZE",
                        "type": "string"
                    },
                    "opaque_id": {
                        "description": "Waste note opaque id from TrackDéchets, differs from `readable_id` for BSD type of waste note only",
                        "example": "cl1q5rr1o1373321fwze3n198tk",
                        "type": "string"
                    },
                    "status": {
                        "description": "TrackDéchets status of the waste note",
                        "example": "DRAFT",
                        "type": "string"
                    },
                    "type": {
                        "description": "Waste note type, based on its `readable_id`",
                        "example": "BSD",
                        "type": "string"
                    },
                    "transport": {
                        "$ref": "#/components/schemas/TrackDechetsWasteNote_transport"
                    },
                    "created": {
                        "description": "creation date and time",
                        "format": "date-time",
                        "type": "string"
                    },
                    "updated": {
                        "description": "last update date and time",
                        "format": "date-time",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TransportLoadingPlan": {
                "properties": {
                    "uid": {
                        "example": "1f527452-45f4-11eb-a722-0242ac140004",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "created_device": {
                        "$ref": "#/components/schemas/created_device"
                    },
                    "transport": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "compartments": {
                        "items": {
                            "$ref": "#/components/schemas/Compartment"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewTransportMessage": {
                "properties": {
                    "uid": {
                        "example": "1f527452-45f4-11eb-a722-0242ac140004",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "created_device": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "type": "string"
                    },
                    "author": {
                        "$ref": "#/components/schemas/NewTransportMessage_author"
                    },
                    "type": {
                        "enum": ["note", "load_verification", "share", "document", "photo"],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename or if uploaded by a trucker from the mobile app, the document title is generic, for instance `photo`.",
                        "example": "delivery_note_2105_001",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_type": {
                        "enum": [
                            "load_photo",
                            "cmr",
                            "washing_note",
                            "delivery_note",
                            "confirmation",
                            "weight_note",
                            "waste_manifest",
                            "holders_swap_note",
                            "invoice"
                        ],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document": {
                        "description": "File content. **Use content-type with `multipart/form-data` value to the header of the request to send a document.**",
                        "format": "byte",
                        "type": "string"
                    },
                    "is_attached_to_cmr": {
                        "type": "boolean"
                    },
                    "transport": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "site": {
                        "description": "This field is used for the default values of the field readable_by_company_ids; if null, companies from all Sites of the transport are listed in readable_by_company_ids, otherwise only the company of this Site. Site must exist in this transport. This field is part of a beta feature.",
                        "example": "6d95e434-146c-4b8d-a99c-7ef908238445",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "readable_by_company_ids": {
                        "description": "A list containing the pk of each company allowed to access the document, every company must be part of the transport. If no values are sent, it will be computed with default values; Carrier, Shipper, Invoiced Customer and Site's pk (see Site field). Once values have been sent, the behavior adding default companies is deactivated. The author company is always added. Only pks of companies from the transport will be added, others will be ignored. This field is part of a beta feature.",
                        "example": "[1, 2, 3, 4]",
                        "items": {
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "message": {
                        "description": "message displayed in the activity thread of a transport in the web app and in the mobile app",
                        "type": "string"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "reference": {
                        "description": "Free text. This reference is searchable in the transports dashboard.",
                        "example": "delivery note 123456 client 1",
                        "maxLength": 140,
                        "type": "string"
                    },
                    "visible_by_everyone": {
                        "$ref": "#/components/schemas/visible_by_everyone"
                    },
                    "readable_by_trucker": {
                        "$ref": "#/components/schemas/readable_by_trucker"
                    }
                },
                "required": ["transport", "type"],
                "type": "object"
            },
            "CreateTransportMessage": {
                "properties": {
                    "uid": {
                        "example": "1f527452-45f4-11eb-a722-0242ac140004",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "created_device": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "type": "string"
                    },
                    "author": {
                        "$ref": "#/components/schemas/NewTransportMessage_author"
                    },
                    "type": {
                        "enum": ["note", "load_verification", "share", "document", "photo"],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename or if uploaded by a trucker from the mobile app, the document title is generic, for instance `photo`.",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_type": {
                        "enum": [
                            "load_photo",
                            "cmr",
                            "washing_note",
                            "delivery_note",
                            "confirmation",
                            "weight_note",
                            "waste_manifest",
                            "holders_swap_note",
                            "invoice"
                        ],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document": {
                        "description": "URL of the stored document. You can download the document from this URL.",
                        "example": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
                        "type": "string"
                    },
                    "is_attached_to_cmr": {
                        "type": "boolean"
                    },
                    "transport": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "site": {
                        "description": "This field is used for the default values of the field readable_by_company_ids; if null, companies from all Sites of the transport are listed in readable_by_company_ids, otherwise only the company of this Site. Site must exist in this transport. This field is part of a beta feature.",
                        "example": "6d95e434-146c-4b8d-a99c-7ef908238445",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "site_remote_id": {
                        "type": "string"
                    },
                    "readable_by_company_ids": {
                        "description": "A list containing the pk of each company allowed to access the document, every company must be part of the transport. If no values are sent, it will be computed with default values; Carrier, Shipper, Invoiced Customer and Site's pk (see Site field). Once values have been sent, the behavior adding default companies is deactivated. The author company is always added. Only pks of companies from the transport will be added, others will be ignored. This field is part of a beta feature.",
                        "example": "[1, 2, 3, 4]",
                        "items": {
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "message": {
                        "description": "message displayed in the activity thread of a transport in the web app and in the mobile app",
                        "type": "string"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "reference": {
                        "description": "Free text. This reference is searchable in the transports dashboard. Filled by trucker if document is added from mobile app, by user if document is added from web app, or filled by API request.",
                        "example": "delivery note 123456 client 1",
                        "maxLength": 140,
                        "type": "string"
                    },
                    "visible_by_everyone": {
                        "$ref": "#/components/schemas/visible_by_everyone"
                    },
                    "readable_by_trucker": {
                        "$ref": "#/components/schemas/readable_by_trucker"
                    }
                },
                "type": "object"
            },
            "TransportMessage": {
                "properties": {
                    "uid": {
                        "example": "1f527452-45f4-11eb-a722-0242ac140004",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "created_device": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "type": "string"
                    },
                    "author": {
                        "$ref": "#/components/schemas/NewTransportMessage_author"
                    },
                    "type": {
                        "enum": ["note", "load_verification", "share", "document", "photo"],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename or if uploaded by a trucker from the mobile app, the document title is generic, for instance `photo`.",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_type": {
                        "enum": [
                            "load_photo",
                            "cmr",
                            "washing_note",
                            "delivery_note",
                            "confirmation",
                            "weight_note",
                            "waste_manifest",
                            "holders_swap_note",
                            "invoice"
                        ],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document": {
                        "description": "URL of the stored document. You can download the document from this URL.",
                        "example": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
                        "type": "string"
                    },
                    "is_attached_to_cmr": {
                        "type": "boolean"
                    },
                    "transport": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "site": {
                        "description": "This field is used for the default values of the field readable_by_company_ids; if null, companies from all Sites of the transport are listed in readable_by_company_ids, otherwise only the company of this Site. Site must exist in this transport. This field is part of a beta feature.",
                        "example": "6d95e434-146c-4b8d-a99c-7ef908238445",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "site_remote_id": {
                        "type": "string"
                    },
                    "readable_by_company_ids": {
                        "description": "A list containing the pk of each company allowed to access the document, every company must be part of the transport. If no values are sent, it will be computed with default values; Carrier, Shipper, Invoiced Customer and Site's pk (see Site field). Once values have been sent, the behavior adding default companies is deactivated. The author company is always added. Only pks of companies from the transport will be added, others will be ignored. This field is part of a beta feature.",
                        "example": "[1, 2, 3, 4]",
                        "items": {
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "message": {
                        "description": "message displayed in the activity thread of a transport in the web app and in the mobile app",
                        "type": "string"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "reference": {
                        "description": "Free text. This reference is searchable in the transports dashboard. Filled by trucker if document is added from mobile app, by user if document is added from web app, or filled by API request.",
                        "example": "delivery note 123456 client 1",
                        "maxLength": 140,
                        "type": "string"
                    },
                    "visible_by_everyone": {
                        "$ref": "#/components/schemas/visible_by_everyone"
                    },
                    "readable_by_trucker": {
                        "$ref": "#/components/schemas/readable_by_trucker"
                    },
                    "extracted_reference": {
                        "description": "Reference extracted by AI from the document. AI runs only on weight notes, so it will be null for other documents. \"\" if no reference has been found by the AI.",
                        "example": "AX22",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateTransportMessage": {
                "properties": {
                    "uid": {
                        "example": "1f527452-45f4-11eb-a722-0242ac140004",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "created_device": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "type": "string"
                    },
                    "author": {
                        "$ref": "#/components/schemas/NewTransportMessage_author"
                    },
                    "type": {
                        "enum": ["note", "load_verification", "share", "document", "photo"],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename or if uploaded by a trucker from the mobile app, the document title is generic, for instance `photo`.",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_type": {
                        "enum": [
                            "load_photo",
                            "cmr",
                            "washing_note",
                            "delivery_note",
                            "confirmation",
                            "weight_note",
                            "waste_manifest",
                            "holders_swap_note",
                            "invoice"
                        ],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document": {
                        "$ref": "#/components/schemas/UpdateTransportMessage_document"
                    },
                    "is_attached_to_cmr": {
                        "type": "boolean"
                    },
                    "transport": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "site": {
                        "description": "This field is used for the default values of the field readable_by_company_ids; if null, companies from all Sites of the transport are listed in readable_by_company_ids, otherwise only the company of this Site. Site must exist in this transport. This field is part of a beta feature.",
                        "example": "6d95e434-146c-4b8d-a99c-7ef908238445",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "readable_by_company_ids": {
                        "description": "A list containing the pk of each company allowed to access the document, every company must be part of the transport. If no values are sent, it will be computed with default values; Carrier, Shipper, Invoiced Customer and Site's pk (see Site field). Once values have been sent, the behavior adding default companies is deactivated. The author company is always added. Only pks of companies from the transport will be added, others will be ignored. This field is part of a beta feature.",
                        "example": "[1, 2, 3, 4]",
                        "items": {
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "message": {
                        "description": "message displayed in the activity thread of a transport in the web app and in the mobile app",
                        "type": "string"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "reference": {
                        "description": "Free text. This reference is searchable in the transports dashboard. Filled by trucker if document is added from mobile app, by user if document is added from web app, or filled by API request.",
                        "example": "delivery note 123456 client 1",
                        "maxLength": 140,
                        "type": "string"
                    },
                    "visible_by_everyone": {
                        "$ref": "#/components/schemas/visible_by_everyone"
                    },
                    "readable_by_trucker": {
                        "$ref": "#/components/schemas/readable_by_trucker"
                    }
                },
                "type": "object"
            },
            "UpdateTransportMessage_1": {
                "properties": {
                    "uid": {
                        "example": "1f527452-45f4-11eb-a722-0242ac140004",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "created_device": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "type": "string"
                    },
                    "author": {
                        "$ref": "#/components/schemas/NewTransportMessage_author"
                    },
                    "type": {
                        "enum": ["note", "load_verification", "share", "document", "photo"],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename or if uploaded by a trucker from the mobile app, the document title is generic, for instance `photo`.",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_type": {
                        "enum": [
                            "load_photo",
                            "cmr",
                            "washing_note",
                            "delivery_note",
                            "confirmation",
                            "weight_note",
                            "waste_manifest",
                            "holders_swap_note",
                            "invoice"
                        ],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document": {
                        "description": "URL of the stored document. You can download the document from this URL.",
                        "example": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
                        "type": "string"
                    },
                    "is_attached_to_cmr": {
                        "type": "boolean"
                    },
                    "transport": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "site": {
                        "description": "This field is used for the default values of the field readable_by_company_ids; if null, companies from all Sites of the transport are listed in readable_by_company_ids, otherwise only the company of this Site. Site must exist in this transport. This field is part of a beta feature.",
                        "example": "6d95e434-146c-4b8d-a99c-7ef908238445",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "readable_by_company_ids": {
                        "description": "A list containing the pk of each company allowed to access the document, every company must be part of the transport. If no values are sent, it will be computed with default values; Carrier, Shipper, Invoiced Customer and Site's pk (see Site field). Once values have been sent, the behavior adding default companies is deactivated. The author company is always added. Only pks of companies from the transport will be added, others will be ignored. This field is part of a beta feature.",
                        "example": "[1, 2, 3, 4]",
                        "items": {
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "message": {
                        "description": "message displayed in the activity thread of a transport in the web app and in the mobile app",
                        "type": "string"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "reference": {
                        "description": "Free text. This reference is searchable in the transports dashboard. Filled by trucker if document is added from mobile app, by user if document is added from web app, or filled by API request.",
                        "example": "delivery note 123456 client 1",
                        "maxLength": 140,
                        "type": "string"
                    },
                    "visible_by_everyone": {
                        "$ref": "#/components/schemas/visible_by_everyone"
                    },
                    "readable_by_trucker": {
                        "$ref": "#/components/schemas/readable_by_trucker"
                    },
                    "extracted_reference": {
                        "description": "Reference extracted by AI from the document. AI runs only on weight notes, so it will be null for other documents. \"\" if no reference has been found by the AI.",
                        "example": "AX22",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Transports": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/TransportsListItem"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CreateOrUpdateTransport": {
                "properties": {
                    "remote_id": {
                        "description": "Your transport id. It has to be unique among all your transports",
                        "example": "",
                        "type": "string"
                    },
                    "carrier_address": {
                        "allOf": [
                            {
                                "$ref": "#/components/schemas/NewAddressReduced"
                            },
                            {
                                "description": "Please note : specifying an address alone is not enough to have the carrier receive emails.\nFor that please add a tracking contact on the first delivery. See\n`deliveries > tracking_contacts`. The company of the contact must match the company\nof the `carrier_address` for the contact to be registered as the **carrier tracking contact**.\n",
                                "type": "object"
                            }
                        ]
                    },
                    "deliveries": {
                        "items": {
                            "$ref": "#/components/schemas/CreateOrUpdateDelivery"
                        },
                        "type": "array"
                    },
                    "segments": {
                        "items": {
                            "$ref": "#/components/schemas/CreateOrUpdateSegment"
                        },
                        "type": "array"
                    },
                    "requested_vehicle": {
                        "$ref": "#/components/schemas/requested_vehicle"
                    },
                    "carrier_reference": {
                        "description": "Text that will help the carrier operators manage the transports, e.g. transport number in his TMS",
                        "type": "string"
                    },
                    "price": {
                        "$ref": "#/components/schemas/deprecated_price"
                    },
                    "requires_washing": {
                        "description": "Flag to enable the truck washing flow in the mobile app",
                        "type": "boolean"
                    },
                    "business_privacy": {
                        "description": "Flag to enable 'business privacy' mode: no eCMR will be generated, and the trucker won't be prompted to share the transport link.",
                        "type": "boolean"
                    },
                    "is_multiple_compartments": {
                        "description": "Flag to enable 'multiple compartments' mode: truckers will have to select in which compartments loads were loaded. It also generated a specific delivery document : loading_plan.",
                        "type": "boolean"
                    },
                    "customer_to_invoice": {
                        "$ref": "#/components/schemas/NullableCompanyPkOrRemoteId"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/global_instructions"
                    },
                    "tags": {
                        "description": "List of tags applied to the transport.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    },
                    "quotation": {
                        "$ref": "#/components/schemas/CreateOrUpdateTransport_quotation"
                    },
                    "volume_display_unit": {
                        "default": "m3",
                        "enum": ["m3", "L"],
                        "type": "string"
                    },
                    "transport_operation_category_uid": {
                        "description": "UID of the transport operation category",
                        "format": "uuid",
                        "type": "string"
                    },
                    "send_to_trucker": {
                        "default": true,
                        "description": "Flag to send the missions to the assigned truckers. It has no effect on already sent missions.",
                        "type": "boolean"
                    }
                },
                "required": ["deliveries", "segments"],
                "type": "object"
            },
            "RetrievedTransport": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Transport"
                    },
                    {
                        "$ref": "#/components/schemas/RetrievedTransport_allOf"
                    }
                ],
                "type": "object"
            },
            "AssignTransport": {
                "properties": {
                    "trucker_id": {
                        "$ref": "#/components/schemas/AssignTransport_trucker_id"
                    },
                    "vehicle": {
                        "$ref": "#/components/schemas/NewVehicle"
                    },
                    "trailers": {
                        "items": {
                            "$ref": "#/components/schemas/NewTrailer"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "tripResponse": {
                "properties": {
                    "uid": {
                        "description": "The trip identifier.",
                        "example": "447521b0-e165-11ea-a488-0242ac110007",
                        "format": "uuid",
                        "type": "string"
                    },
                    "name": {
                        "description": "The trip name.",
                        "example": "trip_ref_01234",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "deprecated_invoiced_price": {
                "deprecated": true,
                "description": "Invoiced price for the transport. Deprecated in favour of pricing field",
                "example": 250.0,
                "format": "float",
                "nullable": true,
                "type": "number"
            },
            "CompanyPkOrRemoteId": {
                "description": "Identification of the company. The company must already exist in Dashdoc.",
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. Optional, should not be sent if `remote_id` is sent.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The ID of the company in your system. Optional, should not be sent if `pk` is sent.",
                        "example": "company123",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CancelTransport": {
                "properties": {
                    "cancel_reason": {
                        "example": "No longer need for this transport",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TransportRevenueSplit": {
                "properties": {
                    "activity_to_split_revenue": {
                        "additionalProperties": {
                            "$ref": "#/components/schemas/TransportRevenueSplit_activity_to_split_revenue"
                        },
                        "description": "Mapping where the key is the uid of the first activity included in this split, and the value is the split's detail.",
                        "example": {
                            "51b0e165-11ea-a488-0242ac110007": {
                                "child_transport_uid": "75521b0-e165-11ea-a488-0242ac110007",
                                "transport_repartition": "1.000",
                                "transport_revenue_share": "239.45",
                                "subcontracting_repartition": "0.800",
                                "subcontracting_cost_share": "210.30"
                            }
                        },
                        "type": "object"
                    }
                },
                "type": "object"
            },
            "UpdateTransportStatus": {
                "properties": {
                    "site": {
                        "description": "Site uid",
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "type": "string"
                    },
                    "category": {
                        "description": "Activity performed",
                        "enum": [
                            "on_loading_site",
                            "loading_complete",
                            "on_unloading_site",
                            "unloading_complete",
                            "bulking_break_started",
                            "bulking_break_complete"
                        ],
                        "type": "string"
                    },
                    "transport": {
                        "description": "Transport uid",
                        "example": "4443d4b6-e165-11ea-a488-0242ac110007",
                        "type": "string"
                    },
                    "created_device": {
                        "$ref": "#/components/schemas/created_device"
                    },
                    "update_details": {
                        "$ref": "#/components/schemas/UpdateTransportStatus_update_details"
                    }
                },
                "required": ["category", "site", "transport"],
                "type": "object"
            },
            "Transport_1": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id. It will be automatically generated by Dashdoc.",
                        "example": "447521b0-e165-11ea-a488-0242ac110007",
                        "format": "uuid",
                        "type": "string"
                    },
                    "sequential_id": {
                        "example": 1240993,
                        "type": "number"
                    },
                    "created": {
                        "description": "Date of creation on the server. Useful when the transport is created by mobile devices. If network connection is bad, the `created` date can be later than `created_device`",
                        "format": "date-time",
                        "type": "string"
                    },
                    "updated": {
                        "description": "last update time",
                        "format": "date-time",
                        "type": "string"
                    },
                    "deleted": {
                        "nullable": true,
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the transport in your system. It has to be unique among all your transports.",
                        "example": "",
                        "type": "string"
                    },
                    "carrier_address": {
                        "$ref": "#/components/schemas/AddressForTransport"
                    },
                    "created_by": {
                        "$ref": "#/components/schemas/Company"
                    },
                    "created_device": {
                        "description": "If created from a mobile device, date of creation on the device.",
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "enum": ["mobile_app", "api", "web_app"],
                        "type": "string"
                    },
                    "is_order": {
                        "type": "boolean"
                    },
                    "archived_by": {
                        "items": {
                            "type": "object"
                        },
                        "type": "array"
                    },
                    "invite_code": {
                        "example": "RWMUYE",
                        "type": "string"
                    },
                    "deliveries": {
                        "items": {
                            "$ref": "#/components/schemas/DeliveryForTransport"
                        },
                        "type": "array"
                    },
                    "segments": {
                        "items": {
                            "$ref": "#/components/schemas/SegmentForTransport"
                        },
                        "type": "array"
                    },
                    "status": {
                        "$ref": "#/components/schemas/Statuses"
                    },
                    "status_updates": {
                        "description": "See https://developer.dashdoc.eu/docs/tutorials/retrieve-transport-tracking-data#get-status-updates-with-date-and-time. Some of the above fields may not be filled or returned depending on the update itself",
                        "items": {
                            "$ref": "#/components/schemas/StatusUpdates"
                        },
                        "type": "array"
                    },
                    "has_observations": {
                        "type": "boolean"
                    },
                    "messages": {
                        "description": "See https://developer.dashdoc.eu/docs/tutorials/retrieve-transport-tracking-data#get-documents-and-photos-with-their-type",
                        "items": {
                            "$ref": "#/components/schemas/TransportMessage_1"
                        },
                        "type": "array"
                    },
                    "requested_vehicle": {
                        "$ref": "#/components/schemas/requested_vehicle"
                    },
                    "documents": {
                        "description": "See https://developer.dashdoc.eu/docs/tutorials/retrieve-transport-tracking-data#get-documents-and-photos-with-their-type",
                        "items": {
                            "$ref": "#/components/schemas/Document"
                        },
                        "type": "array"
                    },
                    "carrier_reference": {
                        "description": "Text that will help the carrier operators manage the transports, e.g. transport number in his TMS. It should only be set by the carrier of the transport and the transport's creator can toggle a company-wide setting to only allow the carrier to set it.",
                        "type": "string"
                    },
                    "price": {
                        "$ref": "#/components/schemas/deprecated_price"
                    },
                    "requires_washing": {
                        "description": "Flag to enable the truck washing flow in the mobile app",
                        "type": "boolean"
                    },
                    "business_privacy": {
                        "description": "Flag to enable 'business privacy' mode: no eCMR will be generated, and the trucker won't be prompted to share the transport link.",
                        "type": "boolean"
                    },
                    "is_multiple_compartments": {
                        "description": "Flag to enable 'multiple compartments' mode: truckers will have to select in which compartments loads were loaded. It also generates a specific delivery document : loading_plan.",
                        "type": "boolean"
                    },
                    "loading_plan": {
                        "description": "Uid of the loading plan created by the trucker. Contact us if you need to retrieve data from it",
                        "type": "string"
                    },
                    "customer_to_invoice": {
                        "$ref": "#/components/schemas/customer_to_invoice"
                    },
                    "parent_transport": {
                        "$ref": "#/components/schemas/Transport_parent_transport"
                    },
                    "invoice_number": {
                        "nullable": true,
                        "type": "string"
                    },
                    "invoiced_price": {
                        "$ref": "#/components/schemas/deprecated_invoiced_price"
                    },
                    "volume_display_unit": {
                        "enum": ["m3", "L"],
                        "type": "string"
                    },
                    "rental_deliveries": {
                        "description": "Array of transports executed by the trucker during the rental order. Implies that the current transport is a rental order. Inner objects have the same transport data structure.",
                        "items": {
                            "$ref": "#/components/schemas/Transport_1"
                        },
                        "type": "array"
                    },
                    "billing-metrics": {
                        "deprecated": true,
                        "description": "Retired feature, will always be null.",
                        "nullable": true,
                        "type": "string"
                    },
                    "shape": {
                        "type": "string"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/global_instructions"
                    },
                    "tags": {
                        "description": "List of tags applied to the transport.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "PriceLine": {
                "properties": {
                    "description": {
                        "description": "Description of the line",
                        "example": "Forfait transport",
                        "type": "string"
                    },
                    "quantity": {
                        "example": 1.0,
                        "type": "number"
                    },
                    "unit_price": {
                        "example": 0.0,
                        "type": "number"
                    },
                    "price": {
                        "example": 10.0,
                        "type": "number"
                    },
                    "currency": {
                        "example": "EUR",
                        "type": "string"
                    },
                    "invoice_item": {
                        "$ref": "#/components/schemas/InvoiceItem"
                    },
                    "metric": {
                        "description": "Metric of the price line",
                        "enum": [
                            "FLAT",
                            "DISTANCE_IN_KM",
                            "DURATION_IN_MINUTE",
                            "DURATION_IN_HOUR",
                            "LOADED_WEIGHT_IN_KG",
                            "LOADED_WEIGHT_IN_TONNE",
                            "LOADED_VOLUME_IN_LITRE",
                            "LOADED_VOLUME_IN_M3",
                            "LOADED_QUANTITY",
                            "LOADED_LINEAR_METERS",
                            "UNLOADED_WEIGHT_IN_KG",
                            "UNLOADED_WEIGHT_IN_TONNE",
                            "UNLOADED_VOLUME_IN_LITRE",
                            "UNLOADED_VOLUME_IN_M3",
                            "UNLOADED_QUANTITY",
                            "UNLOADED_LINEAR_METERS",
                            "NB_DELIVERIES",
                            "NB_ROUNDS"
                        ],
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AddLoadsConstraints": {
                "properties": {
                    "metrics": {
                        "items": {
                            "description": "Metric you want the trucker to be forced to enter.",
                            "enum": [
                                "loaded_weight",
                                "unloaded_weight",
                                "loaded_weight",
                                "unloaded_weight",
                                "loaded_volume",
                                "unloaded_volume",
                                "loaded_volume",
                                "unloaded_volume",
                                "loaded_quantity",
                                "unloaded_quantity",
                                "loaded_linear_meters",
                                "unloaded_linear_meters"
                            ],
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "TransportLoadsConstraints": {
                "properties": {
                    "metrics": {
                        "description": "Metrics the trucker will be forced to enter.",
                        "items": {
                            "enum": [
                                "loaded_weight",
                                "unloaded_weight",
                                "loaded_weight",
                                "unloaded_weight",
                                "loaded_volume",
                                "unloaded_volume",
                                "loaded_volume",
                                "unloaded_volume",
                                "loaded_quantity",
                                "unloaded_quantity",
                                "loaded_linear_meters",
                                "unloaded_linear_meters"
                            ],
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AddTagsToTransport": {
                "example": [
                    {
                        "pk": 1
                    },
                    {
                        "pk": 2
                    }
                ],
                "items": {
                    "properties": {
                        "pk": {
                            "description": "The primary key of an existing tag to add",
                            "example": 1,
                            "type": "integer"
                        }
                    },
                    "required": ["pk"],
                    "type": "object"
                },
                "type": "array"
            },
            "Tag": {
                "properties": {
                    "pk": {
                        "description": "The unique identifier of the tag",
                        "example": 1,
                        "type": "integer"
                    },
                    "name": {
                        "description": "The name of the tag",
                        "example": "Urgent",
                        "type": "string"
                    },
                    "color": {
                        "description": "The color of the tag in hex format",
                        "example": "#E5291D",
                        "type": "string"
                    },
                    "tag_group_id": {
                        "description": "The ID of the tag group this tag belongs to, if any",
                        "nullable": true,
                        "type": "integer"
                    }
                },
                "required": ["color", "name", "pk"],
                "type": "object"
            },
            "TransportTemplates": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/TransportTemplate"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "setNameTripBody": {
                "properties": {
                    "name": {
                        "example": "trip_ref_01234",
                        "type": "string"
                    }
                },
                "required": ["name"],
                "type": "object"
            },
            "Vehicles": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Vehicle"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "NewVehicle": {
                "properties": {
                    "remote_id": {
                        "description": "The ID of the vehicle in your system.",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "fleet_number": {
                        "description": "Your vehicle fleet number. It has to be unique among all your vehicles. When filled, fleet number will be displayed in the web and mobile app next to license plate number. It can also be used for searches.",
                        "example": "TRUCK120",
                        "maxLength": 10,
                        "type": "string"
                    },
                    "license_plate": {
                        "description": "License plate number (has to be unique)",
                        "example": "WE749RM",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "category": {
                        "$ref": "#/components/schemas/vehicle_category"
                    },
                    "used_for_qualimat_transports": {
                        "description": "True if the vehicle can be used for Qualimat transport (only used for vehicle that can handle a load without trailer). This value is used to add a Qualimat logo next to the vehicle in forms, in order to help the user selecting the vehicle when creating a transport. The is no control on the value. You can create a Qualimat transport with a vehicle that is not flagged for Qualimat. In this case a warning is displayed in the transport detail.",
                        "type": "boolean"
                    },
                    "tags": {
                        "description": "List of tags applied to the vehicle.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    },
                    "telematic_data_source": {
                        "description": "The telematic where the vehicle is refered",
                        "enum": [
                            "alertgasoil",
                            "astrata",
                            "addsecure",
                            "dashdoc",
                            "eliott",
                            "fleetboard",
                            "geodynamics",
                            "geotracer",
                            "koovea",
                            "mappingcontrol",
                            "mapandtruck",
                            "masternaut",
                            "qeos",
                            "quartix",
                            "rio",
                            "scania",
                            "sudtelematique",
                            "transics",
                            "trimble",
                            "truckonline",
                            "vehizen",
                            "volvo",
                            "webfleet",
                            "strada",
                            "verizon",
                            "mapon",
                            "bump",
                            "samsara_mapandtruck",
                            "webeye",
                            "pass_tracabilite",
                            "bizztrack",
                            "aktkc_etransportas_mapandtruck",
                            "anima_mapandtruck",
                            "arvento_mapandtruck",
                            "as24_mapandtruck",
                            "axxess_mapandtruck",
                            "bornemann_infleet_mapandtruck",
                            "bpw_mapandtruck",
                            "cartrack_mapandtruck",
                            "commander_services_mapandtruck",
                            "dkv_mapandtruck",
                            "easytrack_mapandtruck",
                            "ecofleet_mapandtruck",
                            "edrive_mapandtruck",
                            "effitrailer_mapandtruck",
                            "ekolis_mapandtruck",
                            "fleetgo_mapandtruck",
                            "fleethand_mapandtruck",
                            "fleetmaster_mapandtruck",
                            "framelogic_mapandtruck",
                            "frotcom_mapandtruck",
                            "geotab_mapandtruck",
                            "gestracking_mapandtruck",
                            "globaltrack_mapandtruck",
                            "goodyear_france_mapandtruck",
                            "gps_mobile_mapandtruck",
                            "icell_mapandtruck",
                            "ims_telematics_mapandtruck",
                            "inelo_mapandtruck",
                            "infis_mapandtruck",
                            "jaltest_mapandtruck",
                            "k2gps_mapandtruck",
                            "keeptrace_mapandtruck",
                            "konsalnet_mapandtruck",
                            "krone_telematic_mapandtruck",
                            "legal_telematics_mapandtruck",
                            "linqo_mapandtruck",
                            "localizare_mapandtruck",
                            "locationsolutions_mapandtruck",
                            "loctracker_mapandtruck",
                            "mecomo_mapandtruck",
                            "microlise_mapandtruck",
                            "mix_telematics_mapandtruck",
                            "movertis_mapandtruck",
                            "movildata_mapandtruck",
                            "mtrack_mapandtruck",
                            "n2mobil_mapandtruck",
                            "naocom_mapandtruck",
                            "navifleet_mapandtruck",
                            "nexus_mapandtruck",
                            "ocean_mapandtruck",
                            "optifleet_mapandtruck",
                            "optimo_gps_mapandtruck",
                            "orbcomm_mapandtruck",
                            "orbcomm_africa_mapandtruck",
                            "pulsit_electronics_mapandtruck",
                            "quake_tracking_mapandtruck",
                            "riverlong_mapandtruck",
                            "sas_fleet_mapandtruck",
                            "satko_mapandtruck",
                            "schmitz_cargobull_mapandtruck",
                            "seyir_mobil_mapandtruck",
                            "skywatch_mapandtruck",
                            "solustop_mapandtruck",
                            "spedion_mapandtruck",
                            "speedtelematics_mapandtruck",
                            "starcom_mapandtruck",
                            "telepass_mapandtruck",
                            "terramar_networks_mapandtruck",
                            "tracker_mapandtruck",
                            "trackit_mapandtruck",
                            "tracknamic_mapandtruck",
                            "trendfire_mapandtruck",
                            "v3_smart_technologies_mapandtruck",
                            "vektor_teknoloji_mapandtruck",
                            "viafleet_mapandtruck",
                            "viasat_mapandtruck",
                            "visirun_mapandtruck",
                            "waynet_mapandtruck",
                            "wayzz_mapandtruck",
                            "webdispecink_mapandtruck"
                        ],
                        "example": "webfleet",
                        "type": "string"
                    },
                    "vendor_id": {
                        "description": "ID of the vehicle in the telematics system",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Vehicle": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id",
                        "example": 928,
                        "type": "number"
                    },
                    "carrier": {
                        "description": "Dashdoc's internal id of the carrier owning the vehicle",
                        "example": 928,
                        "type": "number"
                    },
                    "category": {
                        "description": "Vehicle category",
                        "example": "tipper_cereal",
                        "type": "string"
                    },
                    "license_plate": {
                        "description": "License plate number",
                        "example": "WE749RM",
                        "type": "string"
                    },
                    "fleet_number": {
                        "description": "Your vehicle fleet number",
                        "example": "TRUCK120",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the vehicle in your system",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "created": {
                        "description": "Date of creation on our server",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "used_for_qualimat_transports": {
                        "description": "True if the vehicle can be used for Qualimat transport (only used for visual help and warnings)",
                        "type": "boolean"
                    },
                    "telematic_vehicle": {
                        "description": "Ignore. Dashdoc technical data",
                        "type": "number"
                    },
                    "original": {
                        "example": 40,
                        "type": "number"
                    },
                    "tags": {
                        "description": "List of tags applied to the vehicle.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    },
                    "technical_control_deadline": {
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "tachograph_deadline": {
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "speed_limiter_deadline": {
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "unavailability": {
                        "description": "List of unavailable period",
                        "items": {
                            "$ref": "#/components/schemas/Unavailability"
                        },
                        "type": "array"
                    },
                    "events": {
                        "description": "Ignore. Dashdoc technical data.",
                        "items": {
                            "type": "object"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "UpdateVehicle": {
                "properties": {
                    "remote_id": {
                        "description": "The ID of the vehicle in your system.",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "fleet_number": {
                        "description": "Your vehicle fleet number. It has to be unique among all your vehicles. When filled, fleet number will be displayed in the web and mobile app next to license plate number. It can also be used for searches.",
                        "example": "TRUCK120",
                        "maxLength": 10,
                        "type": "string"
                    },
                    "license_plate": {
                        "description": "License plate number",
                        "example": "WE749RM",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "category": {
                        "$ref": "#/components/schemas/vehicle_category"
                    },
                    "used_for_qualimat_transports": {
                        "description": "True if the vehicle can be used for Qualimat transport (only used for vehicle that can handle a load without trailer). This value is used to add a Qualimat logo next to the vehicle in forms, in order to help the user selecting the vehicle when creating a transport. The is no control on the value. You can create a Qualimat transport with a vehicle that is not flagged for Qualimat. In this case a warning is displayed in the transport detail.",
                        "type": "boolean"
                    },
                    "tags": {
                        "description": "List of tags applied to the vehicle.",
                        "items": {
                            "$ref": "#/components/schemas/Tag"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "waste_contact_role": {
                "enum": ["trucker", "notification", "signatory"],
                "example": "signatory",
                "type": "string"
            },
            "Contacts_1": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Contact_1"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "PublicWasteContactInputValidator": {
                "properties": {
                    "company_id": {
                        "description": "ID of the company of the contact",
                        "example": 123,
                        "type": "integer"
                    },
                    "roles": {
                        "description": "Roles of the contact",
                        "example": ["signatory", "notification"],
                        "items": {
                            "$ref": "#/components/schemas/waste_contact_role"
                        },
                        "type": "array"
                    },
                    "email": {
                        "description": "Email of the contact",
                        "example": "contact@example.com",
                        "format": "email",
                        "type": "string"
                    },
                    "full_name": {
                        "description": "Full name of the contact",
                        "example": "John Doe",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Contact_1": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Contact_1_allOf"
                    },
                    {
                        "$ref": "#/components/schemas/PublicWasteContactInputValidator"
                    }
                ]
            },
            "waste_shipment_status": {
                "description": "The status of the waste shipment",
                "enum": [
                    "draft",
                    "signed",
                    "cancelled",
                    "inTransit",
                    "discontinued",
                    "arrived",
                    "completed"
                ],
                "example": "completed",
                "type": "string"
            },
            "Forms": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Form"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "PublicWasteShipmentInputValidator": {
                "properties": {
                    "producer_id": {
                        "description": "The ID of the producer company. You need to have the company created first with the /v4/companies/ endpoint. Make sure you also set the specific details that are mandatory for waste activity with the endpoint /v4/wam/companies/{id}/details/.",
                        "example": 1,
                        "nullable": true,
                        "type": "integer"
                    },
                    "processor_id": {
                        "description": "The ID of the processor company. You need to have the company created first with the /v4/companies/ endpoint. Make sure you also set the specific details that are mandatory for waste activity with the endpoint /v4/wam/companies/{id}/details/.",
                        "example": 2,
                        "nullable": true,
                        "type": "integer"
                    },
                    "carrier_id": {
                        "description": "The ID of the carrier company. You need to have the company created first with the /v4/companies/ endpoint. Make sure you also set the specific details that are mandatory for waste activity with the endpoint /v4/wam/companies/{id}/details/.",
                        "example": 3,
                        "nullable": true,
                        "type": "integer"
                    },
                    "organizer_id": {
                        "description": "The ID of the organizer company. You need to have the company created first with the /v4/companies/ endpoint. Make sure you also set the specific details that are mandatory for waste activity with the endpoint /v4/wam/companies/{id}/details/.",
                        "example": 4,
                        "nullable": true,
                        "type": "integer"
                    },
                    "origin_id": {
                        "description": "The ID of the origin address. If it does not exist, create it first with the /v4/addresses/ endpoint.",
                        "example": 5,
                        "nullable": true,
                        "type": "integer"
                    },
                    "destination_id": {
                        "deprecated": true,
                        "description": "The ID of the destination address. If it does not exist, create it first with the /v4/addresses/ endpoint. Deprecated because it is no longer used. We now use the processor address as destination.",
                        "example": 6,
                        "nullable": true,
                        "type": "integer"
                    },
                    "instructions": {
                        "example": "Handle with care",
                        "nullable": true,
                        "type": "string"
                    },
                    "sea_ship_name": {
                        "description": "Name of the sea ship",
                        "example": "Sea ship name",
                        "nullable": true,
                        "type": "string"
                    },
                    "sea_ship_imo_number": {
                        "description": "IMO number of the sea ship",
                        "example": "IMO1234567",
                        "nullable": true,
                        "type": "string"
                    },
                    "sea_ship_mmsi_number": {
                        "description": "MMSI number of the sea ship",
                        "example": "123456789",
                        "nullable": true,
                        "type": "string"
                    },
                    "sea_ship_eni_number": {
                        "description": "ENI number of the sea ship",
                        "example": "12345678",
                        "nullable": true,
                        "type": "string"
                    },
                    "transport_date": {
                        "example": "2022-01-01T00:00:00Z",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "carrier_contact_uid": {
                        "description": "The UID of the carrier contact. If it does not exist, create it first with the /v4/wam/contacts/ endpoint.",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "organizer_signatory_uid": {
                        "description": "The UID of the organizer signatory. If it does not exist, create it first with the /v4/wam/contacts/ endpoint.",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "producer_contact_uid": {
                        "description": "The UID of the producer contact. If it does not exist, create it first with the /v4/wam/contacts/ endpoint.",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "processor_contact_uid": {
                        "description": "The UID of the processor contact. If it does not exist, create it first with the /v4/wam/contacts/ endpoint.",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "processor_signatory_uid": {
                        "description": "The UID of the processor signatory. If it does not exist, create it first with the /v4/wam/contacts/ endpoint.",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Form": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Form_allOf"
                    },
                    {
                        "$ref": "#/components/schemas/PublicWasteShipmentInputValidator"
                    }
                ]
            },
            "Loads": {
                "properties": {
                    "count": {
                        "example": 1,
                        "type": "integer"
                    },
                    "next": {
                        "nullable": true,
                        "type": "string"
                    },
                    "previous": {
                        "nullable": true,
                        "type": "string"
                    },
                    "results": {
                        "items": {
                            "$ref": "#/components/schemas/Load"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "PublicWasteLoadInputValidator": {
                "properties": {
                    "description": {
                        "description": "Description of the waste load",
                        "example": "Waste description",
                        "type": "string"
                    },
                    "weight": {
                        "description": "Weight of the waste in kilograms",
                        "example": 12500,
                        "format": "float",
                        "type": "number"
                    },
                    "quantity": {
                        "description": "Quantity of packages. This is required for hazardous waste.",
                        "example": 10.0,
                        "format": "double",
                        "type": "number"
                    },
                    "eural_code": {
                        "description": "The Eural code of the waste. If this eural code indicates a hazardous waste, it should be suffixed with a *.",
                        "example": "02 01 01",
                        "type": "string"
                    },
                    "physical_properties": {
                        "description": "Physical properties of the waste load. This is required for hazardous waste.",
                        "example": "Flammable and reactive waste",
                        "type": "string"
                    },
                    "chemical_composition": {
                        "description": "Chemical composition of the waste load. This is required for hazardous waste.",
                        "example": "Radioactive Materials",
                        "type": "string"
                    },
                    "packaging_type": {
                        "description": "Packaging type of the waste load. This is required for hazardous waste.",
                        "example": "Barrels",
                        "type": "string"
                    },
                    "treatment_type": {
                        "description": "Treatment type of the waste load. This is required for hazardous waste.",
                        "example": "Regeneration of acids or bases.",
                        "type": "string"
                    },
                    "treatment_codes": {
                        "description": "Treatment codes of the waste load",
                        "example": ["R1", "D13"],
                        "items": {
                            "$ref": "#/components/schemas/treatment_code"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "Load": {
                "properties": {
                    "uid": {
                        "description": "Unique identifier of the waste load",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "type": "string"
                    },
                    "description": {
                        "description": "Description of the waste load",
                        "example": "Waste description",
                        "type": "string"
                    },
                    "weight": {
                        "description": "Weight of the waste in kilograms",
                        "example": 12500,
                        "format": "float",
                        "type": "number"
                    },
                    "quantity": {
                        "description": "Quantity of packages",
                        "example": 10.0,
                        "format": "double",
                        "type": "number"
                    },
                    "eural_code": {
                        "description": "The Eural code of the waste. If this eural code indicates a dangerous waste, it should be suffixed with a *.",
                        "example": "02 01 01*",
                        "type": "string"
                    },
                    "physical_properties": {
                        "description": "Physical properties of the waste load",
                        "example": "Flammable and reactive waste",
                        "type": "string"
                    },
                    "chemical_composition": {
                        "description": "Chemical composition of the waste load",
                        "example": "Radioactive Materials",
                        "type": "string"
                    },
                    "packaging_type": {
                        "description": "Packaging type of the waste load",
                        "example": "Barrels",
                        "type": "string"
                    },
                    "treatment_type": {
                        "description": "Treatment type of the waste load",
                        "example": "Regeneration of acids or bases.",
                        "type": "string"
                    },
                    "treatment_codes": {
                        "description": "Treatment codes of the waste load",
                        "example": ["R1", "D13"],
                        "items": {
                            "$ref": "#/components/schemas/treatment_code"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CompanyDetails": {
                "properties": {
                    "is_organizer": {
                        "description": "True if the company is a waste shipment organizer",
                        "example": false,
                        "type": "boolean"
                    },
                    "is_producer": {
                        "description": "True if the company is a waste producer",
                        "example": false,
                        "type": "boolean"
                    },
                    "is_processor": {
                        "description": "True if the company is a waste processor",
                        "example": false,
                        "type": "boolean"
                    },
                    "is_carrier": {
                        "description": "True if the company is a carrier",
                        "example": false,
                        "type": "boolean"
                    },
                    "is_citizen": {
                        "description": "True if the waste producer is a citizen and not a company",
                        "example": false,
                        "type": "boolean"
                    },
                    "enterprise_number": {
                        "description": "Enterprise number of the company",
                        "example": "BE 0429 261 424",
                        "type": "string"
                    },
                    "producer_establishment_unit_number": {
                        "description": "Producer establishment unit number of the company",
                        "example": "2015433336",
                        "pattern": "^([2-8][0-9]{9})$",
                        "type": "string"
                    },
                    "processor_establishment_unit_number": {
                        "description": "Processor establishment unit number of the company",
                        "example": "2015433336",
                        "pattern": "^([2-8][0-9]{9})$",
                        "type": "string"
                    },
                    "vat_number": {
                        "description": "VAT number of the company",
                        "example": "FR16807564448",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "latitude": {
                "description": "Latitude using the decimal GPS coordinates (WGS84). At 7 decimals, the position is accurate around the centimeter.",
                "example": -52.5561625,
                "format": "float",
                "type": "number"
            },
            "longitude": {
                "description": "Longitude using the decimal GPS coordinates (WGS84). At 7 decimals, the position is accurate around the centimeter.",
                "example": 92.896504,
                "format": "float",
                "type": "number"
            },
            "is_demo": {
                "description": "Indicates that the address is a fake one created from demonstration. Everything linked to it will be deleted when using the 'Delete demo content' button in company parameters",
                "type": "boolean"
            },
            "CompanyForNewAddress": {
                "description": "Identification of the company for which the address is created. You may simply use its `pk` or `remote_id` if the company already exists. Other possible identification method are its `trade_number` or `name`. If it doesn't exist, the company will be created with the information you send based on what's possible when creating a company via /companies/ web service. Minimum required information in this case is a name (e.g. for a logistic point).",
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.Optional, not required if `remote_id` is sent.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The id of the company in your system. Optional, ignored if `pk` is sent.",
                        "example": "COMP_123",
                        "type": "string"
                    },
                    "trade_number": {
                        "example": "12345678901234",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "maxLength": 200,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "country": {
                "description": "Only the 2-character codification is accepted (ISO 3166-1 alpha-2)",
                "example": "FR",
                "type": "string"
            },
            "created-by": {
                "nullable": true,
                "properties": {
                    "pk": {
                        "description": "company id",
                        "example": 25,
                        "type": "number"
                    },
                    "name": {
                        "description": "name of the company",
                        "example": "Transport Bouvet",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "created-by-user": {
                "nullable": true,
                "properties": {
                    "pk": {
                        "example": 34,
                        "type": "number"
                    },
                    "display_name": {
                        "example": "Jean Pierre Bouvet",
                        "type": "string"
                    },
                    "company": {
                        "description": "The company id who created the address",
                        "example": 25,
                        "type": "number"
                    },
                    "trucker_id": {
                        "description": "The trucker id who created the address",
                        "example": 95,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "created": {
                "description": "Date of creation on our server",
                "example": "2020-12-22T15:31:39.26167Z",
                "format": "date-time",
                "type": "string"
            },
            "site_instructions": {
                "description": "Site instructions, visible to all parties (trucker, carrier, shipper, site). Displayed in the trucker mobile app. Not visible in the eCMR. If the field is not provided, the address's site instructions will be used.",
                "maxLength": 1000,
                "type": "string"
            },
            "Company": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "type": "string"
                    },
                    "created": {
                        "example": "2020-07-30T21:10:06.445510Z",
                        "format": "date-time",
                        "type": "object"
                    },
                    "updated": {
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "deleted": {
                        "type": "boolean"
                    },
                    "invoicing_remote_id": {
                        "description": "The id of the company in your invoicing system.",
                        "example": "COMP_456",
                        "type": "string"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "phone_number": {
                        "example": "0601020304",
                        "type": "string"
                    },
                    "email": {
                        "example": "i.love.dashdoc@gmail.com",
                        "type": "string"
                    },
                    "siren": {
                        "example": "123456789",
                        "type": "string"
                    },
                    "trade_number": {
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "comments": {
                        "type": "string"
                    },
                    "vat_number": {
                        "type": "string"
                    },
                    "is_verified": {
                        "type": "boolean"
                    },
                    "settings_transport_order_observations": {
                        "type": "string"
                    },
                    "settings_constrain_reference_edition": {
                        "type": "boolean"
                    },
                    "account_type": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "string"
                    },
                    "logo": {
                        "description": "The URL of your logo",
                        "nullable": true,
                        "type": "string"
                    },
                    "subscription_access": {
                        "type": "object"
                    },
                    "settings": {
                        "type": "object"
                    },
                    "primary_address": {
                        "$ref": "#/components/schemas/AddressForCompany"
                    },
                    "managers": {
                        "items": {
                            "$ref": "#/components/schemas/Managers"
                        },
                        "type": "array"
                    },
                    "has_loggable_managers": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "CompanyForUpdateAddress": {
                "description": "Identification of the company that the address belongs to. You may simply use its `pk` or `remote_id`, or just a name (e.g. for a logistic point that has no other company detail in your address book).",
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.Optional, not required if `remote_id` is sent.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The id of the company in your system. Optional, ignored if `pk` is sent.",
                        "example": "COMP_123",
                        "type": "string"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "maxLength": 200,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AdrUnCodeDescription": {
                "description": "Name and description, column n°4 from ADR Table A. Translated in FR, EN, NL, DE",
                "properties": {
                    "fr": {
                        "description": "French label",
                        "example": "PICRATE D'AMMONIUM sec ou humidifié avec moins de 10% (masse) d'eau",
                        "type": "string"
                    },
                    "en": {
                        "description": "English label",
                        "example": "AMMONIUM PICRATE dry or wetted with less than 10% water, by mass",
                        "type": "string"
                    },
                    "nl": {
                        "description": "Dutch label",
                        "example": "AMMONIUMPIKRAAT, droog of bevochtigd met minder dan 10 massa-% water",
                        "type": "string"
                    },
                    "de": {
                        "description": "German label",
                        "example": "AMMONIUMPIKRAT, trocken oder angefeuchtet mit weniger als 10 Masse-% Wasser",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AddressForCompany": {
                "properties": {
                    "pk": {
                        "type": "string"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "address": {
                        "example": "3 rue des champs",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "radius": {
                        "default": 500,
                        "description": "Radius around the GPS coordinates within which the address is located (in meters)",
                        "type": "integer"
                    },
                    "coords_validated": {
                        "default": false,
                        "description": "if `true`, when this address is used as a loading or unloading site, the mobile app displays an itinerary button to start GPS app with guidance to these coordinates",
                        "type": "boolean"
                    },
                    "is_demo": {
                        "$ref": "#/components/schemas/is_demo"
                    },
                    "is_carrier": {
                        "type": "boolean"
                    },
                    "is_shipper": {
                        "type": "boolean"
                    },
                    "is_origin": {
                        "type": "boolean"
                    },
                    "is_destination": {
                        "type": "boolean"
                    },
                    "created_by": {
                        "type": "number"
                    },
                    "created": {
                        "description": "Date of creation on our server",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "instructions": {
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AddressForCompany_1": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "address": {
                        "example": "3 rue des champs",
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "radius": {
                        "default": 500,
                        "description": "Radius around the GPS coordinates within which the address is located (in meters)",
                        "type": "integer"
                    },
                    "coords_validated": {
                        "default": false,
                        "description": "if `true`, when this address is used as a loading or unloading site, the mobile app displays an itinerary button to start GPS app with guidance to these coordinates",
                        "type": "boolean"
                    },
                    "is_demo": {
                        "$ref": "#/components/schemas/is_demo"
                    },
                    "is_carrier": {
                        "type": "boolean"
                    },
                    "is_shipper": {
                        "type": "boolean"
                    },
                    "is_origin": {
                        "type": "boolean"
                    },
                    "is_destination": {
                        "type": "boolean"
                    },
                    "created_by": {
                        "$ref": "#/components/schemas/created-by"
                    },
                    "created_by_user": {
                        "$ref": "#/components/schemas/created-by-user"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CompanyIdentification": {
                "description": "Identification of the company. The company must already exist in Dashdoc.",
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. Optional, not required if `remote_id` is sent.",
                        "example": 23498,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "Your remote carrier id. Optional, ignored if `pk` is sent.",
                        "type": "string"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "trade_number": {
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "settings_contract_html": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "string"
                    },
                    "settings_logo": {
                        "description": "Ignore. Dashdoc technical data.",
                        "nullable": true,
                        "type": "string"
                    },
                    "settings_stamp": {
                        "description": "Ignore. Dashdoc technical data.",
                        "nullable": true,
                        "type": "string"
                    },
                    "settings_print_mode": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "settings_special_agreements": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "string"
                    },
                    "settings_transport_order_observations": {
                        "type": "string"
                    },
                    "settings_constrain_reference_edition": {
                        "type": "boolean"
                    },
                    "vat_number": {
                        "type": "string"
                    },
                    "is_verified": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "NewAddressReduced": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "address": {
                        "example": "3 rue des champs",
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "radius": {
                        "default": 500,
                        "description": "Radius around the GPS coordinates within which the address is located (in meters)",
                        "type": "integer"
                    },
                    "coords_validated": {
                        "default": false,
                        "description": "if `true`, when this address is used as a loading or unloading site, the mobile app displays an itinerary button to start GPS app with guidance to these coordinates",
                        "type": "boolean"
                    },
                    "is_demo": {
                        "$ref": "#/components/schemas/is_demo"
                    },
                    "is_carrier": {
                        "type": "boolean"
                    },
                    "is_shipper": {
                        "type": "boolean"
                    },
                    "is_origin": {
                        "type": "boolean"
                    },
                    "is_destination": {
                        "type": "boolean"
                    },
                    "created_by": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": 1738,
                        "type": "number"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "instructions": {
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "type": "string"
                    },
                    "company": {
                        "$ref": "#/components/schemas/CompanyForTransportAddress"
                    },
                    "original": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": 2085,
                        "type": "number"
                    }
                },
                "required": ["address", "city", "company", "country", "postcode"],
                "type": "object"
            },
            "DeliveryLoads": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id.",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the load in your system. It has to be unique among all your transports.",
                        "type": "string"
                    },
                    "description": {
                        "description": "Text description of the load",
                        "type": "string"
                    },
                    "reference": {
                        "description": "Reference of the load",
                        "type": "string"
                    },
                    "round_id": {
                        "description": "The ID of the round.",
                        "format": "integer",
                        "type": "number"
                    },
                    "weight": {
                        "description": "In kilograms",
                        "format": "float",
                        "type": "number"
                    },
                    "volume": {
                        "description": "Volume of load in m3",
                        "format": "float",
                        "type": "number"
                    },
                    "volume_display_unit": {
                        "default": "m3",
                        "enum": ["m3", "L"],
                        "type": "string"
                    },
                    "linear_meters": {
                        "description": "Length of load in meters",
                        "format": "float",
                        "type": "number"
                    },
                    "quantity": {
                        "description": "Only one decimal accepted (e.g 0.0)",
                        "format": "float",
                        "type": "number"
                    },
                    "category": {
                        "description": "Packaging of the load. The text is free but these specific values cause a custom flow on the mobile app: `pallets`, `containers`, `bulk`, `roundwood`, `powder_tank`, `bulk_qualimat`, `rental`.",
                        "example": "bulk",
                        "type": "string"
                    },
                    "dangerous_goods_category": {
                        "description": "ADR class",
                        "enum": [
                            "1",
                            "2",
                            "3",
                            "4.1",
                            "4.2",
                            "4.3",
                            "5.1",
                            "5.2",
                            "6.1",
                            "6.2",
                            "7",
                            "8",
                            "9"
                        ],
                        "type": "string"
                    },
                    "is_dangerous": {
                        "type": "boolean"
                    },
                    "adr_un_code": {
                        "type": "string"
                    },
                    "legal_mentions": {
                        "type": "string"
                    },
                    "complementary_information": {
                        "description": "Any information about the load that doesn't fit to the description field",
                        "type": "string"
                    },
                    "container_number": {
                        "type": "string"
                    },
                    "tare_weight": {
                        "description": "In kilograms",
                        "format": "float",
                        "type": "number"
                    },
                    "container_seal_number": {
                        "type": "string"
                    },
                    "refrigerated": {
                        "description": "Indicates whether the load is refrigerated. If true, the trucker can fill in the temperature.",
                        "type": "boolean"
                    },
                    "temperature": {
                        "type": "string"
                    },
                    "steres": {
                        "format": "float",
                        "type": "number"
                    },
                    "idtf_number": {
                        "description": "Must match an existing IDTF number",
                        "type": "string"
                    },
                    "use_identifiers": {
                        "description": "if `true`, trucker is asked to scan barcode identifiers on load",
                        "type": "boolean"
                    },
                    "identifiers": {
                        "description": "Only relevant if use_identifiers is set to `true`. List of expected barcode identifiers that the trucker should scan at loading and unloading. App controls that expected barcodes are actually scanned. If empty, the trucker will have to scan barcodes anyway, but there won't be any check. Feature has to be activated in your account by your Dashdoc projet manager.",
                        "items": {
                            "example": "AX000123",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "identifiers_observations": {
                        "description": "Observations explaining issues with identifier, such as missing or unexpected identifiers",
                        "example": "Missing codes: 1234, 3456",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "NewDeliveryLoads": {
                "properties": {
                    "remote_id": {
                        "description": "The ID of the load in your system. It has to be unique among all your transports.",
                        "type": "string"
                    },
                    "description": {
                        "description": "Text description of the load. In the case of a dangerous load, the description has to respect the ADR law.",
                        "type": "string"
                    },
                    "reference": {
                        "description": "Reference of the load.",
                        "type": "string"
                    },
                    "weight": {
                        "description": "In kilograms",
                        "format": "float",
                        "type": "number"
                    },
                    "volume": {
                        "description": "Volume of load in m3",
                        "format": "float",
                        "type": "number"
                    },
                    "linear_meters": {
                        "description": "Length of load in meters",
                        "format": "float",
                        "type": "number"
                    },
                    "quantity": {
                        "description": "Only one decimal accepted (e.g 0.0)",
                        "format": "float",
                        "type": "number"
                    },
                    "category": {
                        "description": "Packaging of the load. The text is free but these specific values cause a custom flow on the mobile app: `pallets`, `containers`, `bulk`, `roundwood`, `powder_tank`, `bulk_qualimat`, `rental`.",
                        "type": "string"
                    },
                    "dangerous_goods_category": {
                        "deprecated": true,
                        "description": "ADR class",
                        "enum": [
                            "1",
                            "2",
                            "3",
                            "4.1",
                            "4.2",
                            "4.3",
                            "5.1",
                            "5.2",
                            "6.1",
                            "6.2",
                            "7",
                            "8",
                            "9"
                        ],
                        "type": "string"
                    },
                    "is_dangerous": {
                        "default": false,
                        "description": "Indicates whether the load is dangerous. If true, the trucker has to confirm adr un code and legal mentions at unloading.",
                        "type": "boolean"
                    },
                    "adr_un_code": {
                        "description": "Only for dangerous load, the official UN code from the ADR law.",
                        "example": "UN 1202",
                        "type": "string"
                    },
                    "legal_mentions": {
                        "description": "Only for dangerous load, all mandatory legal mentions printed on documents.",
                        "example": "Dangerous for the environment",
                        "type": "string"
                    },
                    "complementary_information": {
                        "description": "Any information about the load that doesn't fit to the description field.",
                        "type": "string"
                    },
                    "container_number": {
                        "type": "string"
                    },
                    "tare_weight": {
                        "description": "In kilograms",
                        "format": "float",
                        "type": "number"
                    },
                    "container_seal_number": {
                        "type": "string"
                    },
                    "refrigerated": {
                        "description": "Indicates whether the load is refrigerated. If true, the trucker can fill in the temperature.",
                        "type": "boolean"
                    },
                    "temperature": {
                        "type": "string"
                    },
                    "steres": {
                        "format": "float",
                        "type": "number"
                    },
                    "idtf_number": {
                        "description": "Must match an existing IDTF number",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DockActivity": {
                "properties": {
                    "uid": {
                        "description": "uid of this Activity",
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "transport_uid": {
                        "description": "uid of the transport containing this Activity",
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "transport_tags": {
                        "items": {
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "dock_done_observations": {
                        "description": "Observations set by dock when activity was done by dock",
                        "type": "string"
                    },
                    "dock_done_date": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "trucker": {
                        "$ref": "#/components/schemas/DockActivity_trucker"
                    },
                    "carrier": {
                        "$ref": "#/components/schemas/DockActivity_carrier"
                    },
                    "shipper": {
                        "$ref": "#/components/schemas/DockActivity_shipper"
                    },
                    "shipper_reference": {
                        "description": "Shipper reference on the activity's transport",
                        "type": "string"
                    },
                    "vehicle": {
                        "$ref": "#/components/schemas/DockActivity_vehicle"
                    },
                    "trailer": {
                        "type": "object"
                    },
                    "category": {
                        "description": "Type of the activity. Possible values: loading, unloading, breaking, resuming",
                        "example": "loading",
                        "type": "string"
                    },
                    "loads": {
                        "items": {
                            "$ref": "#/components/schemas/DockActivity_loads"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "InvoiceCreatedBy": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 928,
                        "type": "number"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "primary_address": {
                        "$ref": "#/components/schemas/AddressForCompany"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "vat_number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InvoiceDebtor": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 928,
                        "type": "number"
                    },
                    "invoicing_remote_id": {
                        "description": "The id of the company in your invoicing system.",
                        "type": "string"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "primary_address": {
                        "$ref": "#/components/schemas/AddressForCompany"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "vat_number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InvoiceLineGroup": {
                "properties": {
                    "transport": {
                        "$ref": "#/components/schemas/InvoiceTransport"
                    },
                    "lines": {
                        "description": "List of lines of the invoice for the transport associated with this line group.",
                        "items": {
                            "$ref": "#/components/schemas/InvoiceLine"
                        },
                        "type": "array"
                    },
                    "description": {
                        "description": "Description of the group of line of the invoice",
                        "example": "Transport N°3833279\nNuméro de LV : 3861546\nChargement : Graillet , 3 Chemin de la Carrière, 05000 Gap, FR\nLivraison : Perret, 6 Rue du Petit Bois, 52300 Suzannecourt, FR",
                        "type": "string"
                    },
                    "currency": {
                        "example": "EUR",
                        "type": "string"
                    },
                    "gas_index": {
                        "nullable": true,
                        "readOnly": true,
                        "type": "string"
                    },
                    "gas_index_invoice_item": {
                        "$ref": "#/components/schemas/InvoiceItem"
                    }
                },
                "type": "object"
            },
            "InvoiceLine": {
                "properties": {
                    "description": {
                        "description": "Description of the line of the invoice",
                        "example": "Unité de facturation : Forfait",
                        "type": "string"
                    },
                    "quantity": {
                        "example": 1.0,
                        "type": "number"
                    },
                    "unit_price": {
                        "example": 0.0,
                        "type": "number"
                    },
                    "currency": {
                        "example": "EUR",
                        "type": "string"
                    },
                    "total_price_without_tax": {
                        "example": 10.0,
                        "type": "number"
                    },
                    "invoice_item": {
                        "$ref": "#/components/schemas/InvoiceItem"
                    },
                    "is_gas_indexed": {
                        "description": "Whether this invoice line is subject to gas indexation",
                        "nullable": true,
                        "readOnly": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "User": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 17293,
                        "type": "number"
                    },
                    "username": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": "1b3b4c74-5f07-4f09-b18f-2753ffcf916e",
                        "type": "string"
                    },
                    "display_name": {
                        "description": "Display name generated by Dashdoc.",
                        "example": "Adèle Bouvet",
                        "type": "string"
                    },
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "date_joined": {
                        "description": "Ignore. Dashdoc technical data.",
                        "format": "date-time",
                        "type": "string"
                    },
                    "last_login": {
                        "description": "Ignore. Dashdoc technical data.",
                        "format": "date-time",
                        "type": "string"
                    },
                    "has_usable_password": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": true,
                        "type": "boolean"
                    },
                    "first_name": {
                        "example": "Adèle",
                        "type": "string"
                    },
                    "last_name": {
                        "example": "Bouvet",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "NewUser": {
                "properties": {
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "first_name": {
                        "example": "Adèle",
                        "maxLength": 200,
                        "type": "string"
                    },
                    "last_name": {
                        "example": "Bouvet",
                        "maxLength": 200,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Unavailability": {
                "properties": {
                    "id": {
                        "description": "Dashdoc's internal id",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The ID of the unavailability in your system",
                        "example": "tr123type1",
                        "type": "string"
                    },
                    "created": {
                        "description": "Date of creation on our server",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Start date of the unavailability",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "End date of the unavailability",
                        "example": "2020-07-30T21:10:06.44551Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "unavailability_type": {
                        "description": "Type of unavailability",
                        "enum": [
                            "paid_vacation",
                            "day_off",
                            "sick_leave",
                            "training",
                            "vacation",
                            "maintenance",
                            "rental",
                            "other"
                        ],
                        "type": "string"
                    },
                    "unavailability_note": {
                        "description": "Notes about the unavailability",
                        "example": "I'm on vacation",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CreateOrUpdateSite_1": {
                "properties": {
                    "remote_id": {
                        "description": "The id of the site in your system",
                        "type": "string"
                    },
                    "address": {
                        "$ref": "#/components/schemas/AddressGetOrCreate"
                    },
                    "loading_instructions": {
                        "$ref": "#/components/schemas/loading_instructions"
                    },
                    "unloading_instructions": {
                        "$ref": "#/components/schemas/unloading_instructions"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/site_instructions"
                    },
                    "reference": {
                        "type": "string"
                    },
                    "action": {
                        "type": "string"
                    },
                    "eta": {
                        "nullable": true,
                        "type": "string"
                    },
                    "supports_exchanges": {
                        "$ref": "#/components/schemas/CreateOrUpdateSupportsExchangeForTransport"
                    },
                    "arrival_date": {
                        "description": "expected arrival date (YYYY-MM-DD)",
                        "format": "date",
                        "type": "string"
                    },
                    "arrival_time_min": {
                        "description": "expected arrival min time (HH:mm)",
                        "example": "16:00",
                        "type": "string"
                    },
                    "arrival_time_max": {
                        "description": "expected arrival max time (HH:mm)",
                        "example": "17:00",
                        "type": "string"
                    },
                    "date_exact": {
                        "description": "if `true`, `arrival_time_max` is considered as being on the following day from `arrival_date`",
                        "type": "boolean"
                    },
                    "trucker_instructions": {
                        "$ref": "#/components/schemas/trucker_instructions"
                    }
                },
                "type": "object"
            },
            "VehicleForSegment": {
                "properties": {
                    "license_plate": {
                        "description": "License plate number. Creates a new vehicle if unknown.",
                        "example": "WE749RM",
                        "maxLength": 200,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TrailerForSegment": {
                "properties": {
                    "license_plate": {
                        "description": "License plate number. Creates a new trailer if unknown.",
                        "example": "WE749RM",
                        "maxLength": 200,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SegmentTrucker": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The ID of the trucker in your system. It has to be unique among all your truckers.",
                        "type": "string"
                    },
                    "display_name": {
                        "example": "Adèle Bouvet",
                        "type": "string"
                    },
                    "user": {
                        "$ref": "#/components/schemas/SegmentTruckerUser"
                    }
                },
                "type": "object"
            },
            "TruckerForSegment": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. Optional, not required if `remote_id` is sent.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The ID of the trucker in your system. Optional, ignored if pk is sent.",
                        "example": "tr123",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AddressForTransport": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "address": {
                        "example": "3 rue des champs",
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "radius": {
                        "default": 500,
                        "description": "Radius around the GPS coordinates within which the address is located (in meters)",
                        "type": "integer"
                    },
                    "coords_validated": {
                        "default": false,
                        "description": "if `true`, when this address is used as a loading or unloading site, the mobile app displays an itinerary button to start GPS app with guidance to these coordinates",
                        "type": "boolean"
                    },
                    "is_demo": {
                        "$ref": "#/components/schemas/is_demo"
                    },
                    "is_carrier": {
                        "type": "boolean"
                    },
                    "is_shipper": {
                        "type": "boolean"
                    },
                    "is_origin": {
                        "type": "boolean"
                    },
                    "is_destination": {
                        "type": "boolean"
                    },
                    "created_by": {
                        "example": 1738,
                        "type": "number"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "type": "string"
                    },
                    "company": {
                        "$ref": "#/components/schemas/CompanyForTransportAddress"
                    },
                    "original": {
                        "example": 2085,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "Status": {
                "properties": {
                    "uid": {
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "description": "Date of creation on the server. Useful when the transport is created by mobile devices. If network connection is bad, the `created` date can be later than `created_device`",
                        "format": "date-time",
                        "type": "string"
                    },
                    "created_device": {
                        "description": "If created from a mobile device, date of creation on the device.",
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "type": "string"
                    },
                    "category": {
                        "description": "event that occured on the transport",
                        "type": "string"
                    },
                    "author": {
                        "description": "details about author of the update. Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "content": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "content_signatory": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "target": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "site": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "site_id": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "delivery": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "segment": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "transport": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "signature": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "latitude": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "float",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "float",
                        "type": "number"
                    },
                    "update_details": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "author_company": {
                        "type": "number"
                    }
                },
                "required": ["uid"],
                "type": "object"
            },
            "requested_vehicle": {
                "description": "Only useful when the transport is created by the shipper. Free text except punction and special characters.",
                "maxLength": 40,
                "type": "string"
            },
            "Document": {
                "properties": {
                    "pk": {
                        "example": 2511500,
                        "type": "integer"
                    },
                    "file_updated_date": {
                        "description": "Date was updated on the server.",
                        "format": "date-time",
                        "type": "string"
                    },
                    "delivery": {
                        "description": "Contact Dashdoc if more details are needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "delivery_sequential_id": {
                        "description": "eCMR number (for category \"cmr\" and \"ldv\")",
                        "example": 2511500,
                        "type": "integer"
                    },
                    "reference": {
                        "example": 2511500,
                        "type": "integer"
                    },
                    "category": {
                        "description": "Type of document. Possible values are \"cmr\", \"cmr4\", \"ldv\", \"orc\", \"chc\", \"rental\" and \"loading_plan\"",
                        "type": "string"
                    },
                    "languages": {
                        "description": "Languages displayed in the document (CMR only), formatted as an 2-letter ISO 639-1 language code",
                        "items": {
                            "example": "fr",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "name": {
                        "description": "generic name of the document",
                        "type": "string"
                    },
                    "file": {
                        "description": "path to the document",
                        "format": "url",
                        "type": "string"
                    },
                    "business_privacy_scope": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "cancelled": {
                        "description": "Date of cancellation of the the document",
                        "format": "date-time",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "deprecated_price": {
                "deprecated": true,
                "description": "Full price for the transport",
                "example": 250.0,
                "format": "float",
                "nullable": true,
                "type": "number"
            },
            "customer_to_invoice": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 928,
                        "type": "number"
                    },
                    "name": {
                        "example": "My company",
                        "type": "string"
                    },
                    "invoicing_address": {
                        "$ref": "#/components/schemas/customer_to_invoice_invoicing_address"
                    }
                },
                "type": "object"
            },
            "global_instructions": {
                "description": "Operating instructions. The carrier, the shipper and the creator of the transport have access to those instructions. However, the creator is the only who has the right to edit.",
                "maxLength": 1000,
                "type": "string"
            },
            "CreateOrUpdateSite_2": {
                "properties": {
                    "remote_id": {
                        "description": "The id of the site in your system",
                        "type": "string"
                    },
                    "address": {
                        "$ref": "#/components/schemas/AddressGetOrCreate"
                    },
                    "loading_instructions": {
                        "$ref": "#/components/schemas/loading_instructions"
                    },
                    "unloading_instructions": {
                        "$ref": "#/components/schemas/unloading_instructions"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/site_instructions"
                    },
                    "reference": {
                        "type": "string"
                    },
                    "action": {
                        "type": "string"
                    },
                    "eta": {
                        "nullable": true,
                        "type": "string"
                    },
                    "supports_exchanges": {
                        "$ref": "#/components/schemas/CreateOrUpdateSupportsExchangeForTransport"
                    },
                    "arrival_date": {
                        "description": "expected arrival date (YYYY-MM-DD)",
                        "format": "date",
                        "type": "string"
                    },
                    "arrival_time_min": {
                        "description": "expected arrival min time (HH:mm)",
                        "example": "16:00",
                        "type": "string"
                    },
                    "arrival_time_max": {
                        "description": "expected arrival max time (HH:mm)",
                        "example": "17:00",
                        "type": "string"
                    },
                    "date_exact": {
                        "description": "if `true`, `arrival_time_max` is considered as being on the following day from `arrival_date`",
                        "type": "boolean"
                    },
                    "trucker_instructions": {
                        "$ref": "#/components/schemas/trucker_instructions"
                    }
                },
                "type": "object"
            },
            "PlannedLoads": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id.",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The ID of the load in your system. It has to be unique among all your transports.",
                        "type": "string"
                    },
                    "description": {
                        "description": "Text description of the load",
                        "type": "string"
                    },
                    "reference": {
                        "description": "Reference of the load",
                        "type": "string"
                    },
                    "weight": {
                        "description": "In kilograms",
                        "format": "float",
                        "type": "number"
                    },
                    "volume": {
                        "description": "Volume of load in m3",
                        "format": "float",
                        "type": "number"
                    },
                    "volume_display_unit": {
                        "default": "m3",
                        "enum": ["m3", "L"],
                        "type": "string"
                    },
                    "linear_meters": {
                        "description": "Length of load in meters",
                        "format": "float",
                        "type": "number"
                    },
                    "quantity": {
                        "description": "Only one decimal accepted (e.g 0.0)",
                        "format": "float",
                        "type": "number"
                    },
                    "category": {
                        "description": "Packaging of the load. The text is free but these specific values cause a custom flow on the mobile app: `pallets`, `containers`, `bulk`, `roundwood`, `powder_tank`, `bulk_qualimat`, `rental`.",
                        "type": "string"
                    },
                    "dangerous_goods_category": {
                        "description": "ADR class",
                        "enum": [
                            "1",
                            "2",
                            "3",
                            "4.1",
                            "4.2",
                            "4.3",
                            "5.1",
                            "5.2",
                            "6.1",
                            "6.2",
                            "7",
                            "8",
                            "9"
                        ],
                        "type": "string"
                    },
                    "is_dangerous": {
                        "type": "boolean"
                    },
                    "adr_un_code": {
                        "type": "string"
                    },
                    "legal_mentions": {
                        "type": "string"
                    },
                    "complementary_information": {
                        "description": "Any information about the load that doesn't fit to the description field",
                        "type": "string"
                    },
                    "container_number": {
                        "type": "string"
                    },
                    "tare_weight": {
                        "description": "In kilograms",
                        "format": "float",
                        "type": "number"
                    },
                    "container_seal_number": {
                        "type": "string"
                    },
                    "refrigerated": {
                        "description": "Indicates whether the load is refrigerated. If true, the trucker can fill in the temperature.",
                        "type": "boolean"
                    },
                    "temperature": {
                        "type": "string"
                    },
                    "steres": {
                        "format": "float",
                        "type": "number"
                    },
                    "idtf_number": {
                        "description": "Must match an existing IDTF number",
                        "type": "string"
                    },
                    "use_identifiers": {
                        "description": "if `true`, trucker is asked to scan barcode identifiers on load",
                        "type": "boolean"
                    },
                    "identifiers": {
                        "description": "Only relevant if use_identifiers is set to `true`. List of expected barcode identifiers that the trucker should scan at loading and unloading. App controls that expected barcodes are actually scanned. If empty, the trucker will have to scan barcodes anyway, but there won't be any check. Feature has to be activated in your account by your Dashdoc projet manager.",
                        "type": "string"
                    },
                    "identifiers_observations": {
                        "description": "Observations explaining issues with identifier, such as missing or unexpected identifiers",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "eta_tracking": {
                "default": false,
                "description": "Ask for an ETA on this site. This is currently a beta feature, not activated by default.",
                "type": "boolean"
            },
            "punctuality_status": {
                "default": "untracked",
                "description": "Indicate the punctuality on this site.",
                "enum": ["untracked", "probably_late", "probably_on_time", "late", "on_time"],
                "type": "string"
            },
            "trucker_instructions": {
                "description": "**This field is part of a beta feature.** Private instructions. **The carrier of the transport is the only one who can edit and read those instructions.** Note that those instructions are not visible in the consignment note and can be accessed by the trucker. The value is null if the caller doesn't have the right of access to the data.",
                "maxLength": 1000,
                "type": "string"
            },
            "SlotFields": {
                "description": "Custom fields for the slot",
                "example": {
                    "references": ["value1", "value2"],
                    "custom_field_1": "value",
                    "custom_field_2": "value"
                },
                "properties": {
                    "references": {
                        "description": "List of reference strings for the slot",
                        "items": {
                            "maxLength": 128,
                            "type": "string"
                        },
                        "nullable": true,
                        "type": "array"
                    },
                    "custom_field_1": {
                        "description": "Value for the first custom field (if defined in the zone)",
                        "type": "string"
                    },
                    "custom_field_2": {
                        "description": "Value for the second custom field (if defined in the zone)",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "created_device": {
                "description": "Date of creation on device (ISO 8601)",
                "example": "2020-12-22T15:31:39.26167Z",
                "format": "date-time",
                "type": "string"
            },
            "Compartment": {
                "properties": {
                    "compartment_number": {
                        "example": 1,
                        "type": "number"
                    },
                    "load": {
                        "$ref": "#/components/schemas/DeliveryLoads"
                    },
                    "weight": {
                        "description": "In kilograms",
                        "format": "float",
                        "type": "number"
                    },
                    "volume": {
                        "description": "Volume of load in m3",
                        "format": "float",
                        "type": "number"
                    },
                    "volume_display_unit": {
                        "default": "m3",
                        "enum": ["m3", "L"],
                        "type": "string"
                    },
                    "unloading_status": {
                        "enum": ["", "fully_unloaded", "partially_unloaded", "not_unloaded"],
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "visible_by_everyone": {
                "description": "This field is used to make the transport message public, which makes it visible by all parties of the transport.",
                "type": "boolean"
            },
            "readable_by_trucker": {
                "description": "This field is used to allow truckers to see the transport message. **Only available for carriers.**",
                "type": "boolean"
            },
            "TransportsListItem": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Transport"
                    },
                    {
                        "$ref": "#/components/schemas/RetrievedTransport_allOf"
                    }
                ],
                "type": "object"
            },
            "CreateOrUpdateSegment": {
                "properties": {
                    "remote_id": {
                        "description": "The id of the segment in your system. Optional.",
                        "type": "string"
                    },
                    "origin": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite"
                    },
                    "destination": {
                        "$ref": "#/components/schemas/CreateOrUpdateSite"
                    },
                    "trucker_id": {
                        "$ref": "#/components/schemas/UpdateSegment_trucker_id"
                    },
                    "vehicle": {
                        "$ref": "#/components/schemas/NewVehicle"
                    },
                    "trailers": {
                        "items": {
                            "$ref": "#/components/schemas/NewTrailer"
                        },
                        "type": "array"
                    }
                },
                "required": ["destination", "origin"],
                "type": "object"
            },
            "NullableCompanyPkOrRemoteId": {
                "description": "Identification of the company. The company must already exist in Dashdoc.",
                "nullable": true,
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. Optional, should not be sent if `remote_id` is sent.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The ID of the company in your system. Optional, should not be sent if `pk` is sent.",
                        "example": "company123",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "NewPriceLine": {
                "properties": {
                    "description": {
                        "description": "Description of the line",
                        "example": "Forfait transport",
                        "type": "string"
                    },
                    "quantity": {
                        "example": 1.0,
                        "type": "number"
                    },
                    "unit_price": {
                        "example": 0.0,
                        "type": "number"
                    },
                    "is_gas_indexed": {
                        "description": "Whether the price is indexed on gas price using fuel surcharge",
                        "type": "boolean"
                    },
                    "metric": {
                        "description": "Metric of the price line",
                        "enum": [
                            "FLAT",
                            "DISTANCE_IN_KM",
                            "DURATION_IN_MINUTE",
                            "DURATION_IN_HOUR",
                            "LOADED_WEIGHT_IN_KG",
                            "LOADED_WEIGHT_IN_TONNE",
                            "LOADED_VOLUME_IN_LITRE",
                            "LOADED_VOLUME_IN_M3",
                            "LOADED_QUANTITY",
                            "LOADED_LINEAR_METERS",
                            "UNLOADED_WEIGHT_IN_KG",
                            "UNLOADED_WEIGHT_IN_TONNE",
                            "UNLOADED_VOLUME_IN_LITRE",
                            "UNLOADED_VOLUME_IN_M3",
                            "UNLOADED_QUANTITY",
                            "UNLOADED_LINEAR_METERS",
                            "NB_DELIVERIES",
                            "NB_ROUNDS"
                        ],
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DeliveryForTransport": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id.",
                        "type": "string"
                    },
                    "sequential_id": {
                        "description": "eCMR number",
                        "example": 1240993,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The id of the delivery in your system",
                        "type": "string"
                    },
                    "tracking_id": {
                        "description": "Deprecated",
                        "type": "string"
                    },
                    "origin": {
                        "$ref": "#/components/schemas/Site_1"
                    },
                    "destination": {
                        "$ref": "#/components/schemas/Site_1"
                    },
                    "shipper_address": {
                        "$ref": "#/components/schemas/AddressForDelivery"
                    },
                    "loads": {
                        "description": "Loads as they are most recently defined. This means it is: \n\n* equal to `planned_loads` before loading is actually done \n\n* equal to `origin_loads` after loading is done (with details validated by trucker), but unloading is not done yet \n\n* equal to `destination_loads` after unloading is actually done (with details validated by trucker) \n\nSome fields may not be returned depending on how loads were created initially and updated during the transport.",
                        "items": {
                            "$ref": "#/components/schemas/DeliveryLoads"
                        },
                        "type": "array"
                    },
                    "planned_loads": {
                        "description": "Loads as planned before the transport has been started",
                        "items": {
                            "$ref": "#/components/schemas/PlannedLoads"
                        },
                        "type": "array"
                    },
                    "origin_loads": {
                        "description": "Loads as validated by trucker right after loading is done. \n\nSome fields may not be returned depending on how loads were created initially and updated during the transport.",
                        "items": {
                            "$ref": "#/components/schemas/DeliveryLoads"
                        },
                        "type": "array"
                    },
                    "destination_loads": {
                        "description": "Loads as validated by trucker right after unloading is done. \n\nSome fields may not be returned depending on how loads were created initially and updated during the transport.",
                        "items": {
                            "$ref": "#/components/schemas/DeliveryLoads"
                        },
                        "type": "array"
                    },
                    "tracking_contacts": {
                        "description": "List of contacts that will automatically receive email notifications during the transport.",
                        "items": {
                            "$ref": "#/components/schemas/DeliveryForTransport_tracking_contacts"
                        },
                        "type": "array"
                    },
                    "shipper_reference": {
                        "description": "Reference the client may use to match transport on his own system, e.g. an order number.",
                        "type": "string"
                    },
                    "multiple_rounds": {
                        "description": "If `true`, the trucker will be able to do a signature at loading, then add any amount of rounds for the transport (with weight/volume and weight ticket), and finish with a signature at unloading.",
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SegmentForTransport": {
                "description": "",
                "properties": {
                    "uid": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "remote_id": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "trucker": {
                        "$ref": "#/components/schemas/SegmentTrucker"
                    },
                    "origin": {
                        "$ref": "#/components/schemas/Site_1"
                    },
                    "destination": {
                        "$ref": "#/components/schemas/Site_1"
                    },
                    "vehicle": {
                        "$ref": "#/components/schemas/Vehicle"
                    },
                    "trailers": {
                        "items": {
                            "$ref": "#/components/schemas/Trailer"
                        },
                        "type": "array"
                    },
                    "sort_order": {
                        "description": "The index of the segment in the transport",
                        "example": 0,
                        "minimum": 0,
                        "type": "number"
                    },
                    "scheduled_start": {
                        "description": "The datetime at which the carrier scheduled the start of this segment\n",
                        "type": "string"
                    },
                    "scheduled_end": {
                        "description": "The datetime at which the carrier scheduled the end of this segment",
                        "type": "string"
                    },
                    "child_transport": {
                        "$ref": "#/components/schemas/Segment_child_transport"
                    },
                    "distance": {
                        "description": "Manually entered distance. If null, it takes the value of telematic_distance (in kms).",
                        "type": "integer"
                    },
                    "telematic_distance": {
                        "description": "Automatically computed distance from telematic data (in kms).",
                        "type": "integer"
                    },
                    "origin_mileage": {
                        "description": "Mileage at transport origin site (in kms).",
                        "type": "integer"
                    },
                    "destination_mileage": {
                        "description": "Mileage at transport destination site (in kms).",
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "StatusUpdates": {
                "properties": {
                    "uid": {
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "description": "Date of creation on the server. Useful when the transport is created by mobile devices. If network connection is bad, the `created` date can be later than `created_device`",
                        "format": "date-time",
                        "type": "string"
                    },
                    "created_device": {
                        "description": "If created from a mobile device, date of creation on the device.",
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "type": "string"
                    },
                    "category": {
                        "description": "event that occured on the transport",
                        "type": "string"
                    },
                    "author": {
                        "description": "details about author of the update. Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "content": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "content_signatory": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "target": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "site": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "site_id": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "delivery": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "segment": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "transport": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "uuid",
                        "type": "string"
                    },
                    "holder_exchanges": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "signature": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    },
                    "latitude": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "float",
                        "type": "number"
                    },
                    "longitude": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "format": "float",
                        "type": "number"
                    },
                    "update_details": {
                        "description": "Contact Dashdoc if more details is needed.",
                        "type": "object"
                    }
                },
                "type": "object"
            },
            "TransportMessage_1": {
                "properties": {
                    "uid": {
                        "example": "1f527452-45f4-11eb-a722-0242ac140004",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "created_device": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "creation_method": {
                        "type": "string"
                    },
                    "author": {
                        "$ref": "#/components/schemas/NewTransportMessage_author"
                    },
                    "type": {
                        "enum": ["note", "load_verification", "share", "document", "photo"],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_title": {
                        "description": "Filename or if uploaded by a trucker from the mobile app, the document title is generic, for instance `photo`.",
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document_type": {
                        "enum": [
                            "load_photo",
                            "cmr",
                            "washing_note",
                            "delivery_note",
                            "confirmation",
                            "weight_note",
                            "waste_manifest",
                            "holders_swap_note",
                            "invoice"
                        ],
                        "maxLength": 100,
                        "type": "string"
                    },
                    "document": {
                        "description": "URL of the stored document. You can download the document from this URL.",
                        "example": "https://storage.googleapis.com/dashdoc-media/media/shipments/aabd42eb.png",
                        "type": "string"
                    },
                    "is_attached_to_cmr": {
                        "type": "boolean"
                    },
                    "transport": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "site": {
                        "description": "This field is used for the default values of the field readable_by_company_ids; if null, companies from all Sites of the transport are listed in readable_by_company_ids, otherwise only the company of this Site. Site must exist in this transport. This field is part of a beta feature.",
                        "example": "6d95e434-146c-4b8d-a99c-7ef908238445",
                        "format": "uuid",
                        "nullable": true,
                        "type": "string"
                    },
                    "site_remote_id": {
                        "type": "string"
                    },
                    "readable_by_company_ids": {
                        "description": "A list containing the pk of each company allowed to access the document, every company must be part of the transport. If no values are sent, it will be computed with default values; Carrier, Shipper, Invoiced Customer and Site's pk (see Site field). Once values have been sent, the behavior adding default companies is deactivated. The author company is always added. Only pks of companies from the transport will be added, others will be ignored. This field is part of a beta feature.",
                        "example": "[1, 2, 3, 4]",
                        "items": {
                            "type": "integer"
                        },
                        "type": "array"
                    },
                    "message": {
                        "description": "message displayed in the activity thread of a transport in the web app and in the mobile app",
                        "type": "string"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "reference": {
                        "description": "Free text. This reference is searchable in the transports dashboard. Filled by trucker if document is added from mobile app, by user if document is added from web app, or filled by API request.",
                        "example": "delivery note 123456 client 1",
                        "maxLength": 140,
                        "type": "string"
                    },
                    "visible_by_everyone": {
                        "$ref": "#/components/schemas/visible_by_everyone"
                    },
                    "readable_by_trucker": {
                        "$ref": "#/components/schemas/readable_by_trucker"
                    },
                    "delivery": {
                        "type": "string"
                    },
                    "extracted_reference": {
                        "description": "Reference extracted by AI from the document. AI runs only on weight notes, so it will be null for other documents. \"\" if no reference has been found by the AI.",
                        "example": "AX22",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TransportTemplate": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Transport"
                    },
                    {
                        "$ref": "#/components/schemas/TransportTemplate_allOf"
                    }
                ]
            },
            "vehicle_category": {
                "description": "Vehicle category",
                "enum": [
                    "unknown",
                    "light",
                    "straight",
                    "straight_tipper",
                    "tipper",
                    "tipper_cereal",
                    "tipper_construction",
                    "refrigerated",
                    "isotherm",
                    "platform",
                    "curtainsider",
                    "box_body",
                    "trailer_truck",
                    "flatbed",
                    "low_flatbed",
                    "log",
                    "coil",
                    "container",
                    "vehicle",
                    "heavy_equipment",
                    "solid_tanker",
                    "petrol_tanker",
                    "chemical_tanker",
                    "food_tanker",
                    "livestock",
                    "special_convoy"
                ],
                "maxLength": 200,
                "type": "string"
            },
            "treatment_code": {
                "enum": [
                    "R1",
                    "R2",
                    "R3",
                    "R4",
                    "R5",
                    "R6",
                    "R7",
                    "R8",
                    "R9",
                    "R10",
                    "R11",
                    "R12",
                    "R13",
                    "D1",
                    "D2",
                    "D3",
                    "D4",
                    "D5",
                    "D6",
                    "D7",
                    "D8",
                    "D9",
                    "D10",
                    "D11",
                    "D12",
                    "D13",
                    "D14",
                    "D15"
                ],
                "example": "R1",
                "type": "string"
            },
            "Managers": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 928,
                        "type": "number"
                    },
                    "user": {
                        "$ref": "#/components/schemas/Managers_user"
                    },
                    "display_name": {
                        "type": "string"
                    },
                    "role": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CompanyForTransportAddress": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The id of the company in your system.",
                        "example": "COMP_123",
                        "type": "string"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "trade_number": {
                        "example": "12345678901234",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "settings_contract_html": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "string"
                    },
                    "settings_logo": {
                        "description": "Ignore. Dashdoc technical data.",
                        "nullable": true,
                        "type": "string"
                    },
                    "settings_stamp": {
                        "description": "Ignore. Dashdoc technical data.",
                        "nullable": true,
                        "type": "string"
                    },
                    "settings_print_mode": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "boolean"
                    },
                    "settings_special_agreements": {
                        "description": "Ignore. Dashdoc technical data.",
                        "type": "string"
                    },
                    "settings_transport_order_observations": {
                        "type": "string"
                    },
                    "settings_constrain_reference_edition": {
                        "type": "boolean"
                    },
                    "vat_number": {
                        "example": "FR123456789",
                        "type": "string"
                    },
                    "is_verified": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "InvoiceTransport": {
                "properties": {
                    "uid": {
                        "description": "uuid of the Transport",
                        "example": "d6e95574-8c1f-4b97-bdea-f20d0eb4f7f0",
                        "format": "uuid",
                        "type": "string"
                    },
                    "sequential_id": {
                        "example": 38332787,
                        "type": "number"
                    },
                    "deliveries": {
                        "items": {
                            "$ref": "#/components/schemas/InvoiceDelivery"
                        },
                        "type": "array"
                    },
                    "documents": {
                        "description": "See https://developer.dashdoc.eu/docs/tutorials/retrieve-transport-tracking-data#get-documents-and-photos-with-their-type",
                        "items": {
                            "$ref": "#/components/schemas/InvoiceDocument"
                        },
                        "type": "array"
                    },
                    "messages": {
                        "description": "See https://developer.dashdoc.eu/docs/tutorials/retrieve-transport-tracking-data#get-documents-and-photos-with-their-type",
                        "items": {
                            "$ref": "#/components/schemas/InvoiceMessage"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "AddressGetOrCreate": {
                "description": "Identification of the address. You may simply use its `pk` or `remote_id` if the address already exists, or you can send address details as in /addresses/ web service. The address may be recognized with its details or if it doesn't exist, the address will be created with the information you send based on what's possible when creating an address via /addresses/ web service.",
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "example": "COMP_123_ADR_1",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "loading_instructions": {
                "deprecated": true,
                "description": "**Prefer using the field `instructions`.** Loading instructions, visible to all parties (trucker, carrier, shipper, site). Displayed in the trucker mobile app. Not visible in the eCMR.",
                "maxLength": 1000,
                "type": "string"
            },
            "unloading_instructions": {
                "deprecated": true,
                "description": "**Prefer using the field `instructions`.** Unloading instructions, visible to all parties (trucker, carrier, shipper, site). Displayed in the trucker mobile app. Not visible in the eCMR.",
                "maxLength": 1000,
                "type": "string"
            },
            "CreateOrUpdateSupportsExchangeForTransport": {
                "properties": {
                    "support_type": {
                        "$ref": "#/components/schemas/CreateOrUpdateSupportsExchangeForTransport_support_type"
                    },
                    "expected_retrieved": {
                        "description": "Expected number of supports that should be retrieved on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "actual_retrieved": {
                        "description": "Actual number of supports that were retrieved on the site",
                        "example": 0,
                        "type": "number"
                    },
                    "expected_delivered": {
                        "description": "Expected number of supports that should be delivered on the site",
                        "example": 10,
                        "type": "number"
                    },
                    "actual_delivered": {
                        "description": "Actual number of supports that were delivered on the site",
                        "example": 0,
                        "type": "number"
                    },
                    "observations": {
                        "description": "Free text. Observations about this supports exchange. Can be filled on mobile app, web app or via API.",
                        "example": "1 broken",
                        "type": "string"
                    }
                },
                "required": ["support_type"],
                "type": "object"
            },
            "SegmentTruckerUser": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 17293,
                        "type": "number"
                    },
                    "first_name": {
                        "example": "Adèle",
                        "type": "string"
                    },
                    "last_name": {
                        "example": "Bouvet",
                        "type": "string"
                    },
                    "username": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": "1b3b4c74-5f07-4f09-b18f-2753ffcf916e",
                        "type": "string"
                    },
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "display_name": {
                        "description": "Display name generated by Dashdoc.",
                        "example": "Adèle Bouvet",
                        "type": "string"
                    },
                    "date_joined": {
                        "description": "Ignore. Dashdoc technical data.",
                        "format": "date-time",
                        "type": "string"
                    },
                    "is_staff": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": true,
                        "type": "boolean"
                    },
                    "is_superuser": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": true,
                        "type": "boolean"
                    },
                    "has_usable_password": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "Site_1": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id.",
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the site in your system",
                        "type": "string"
                    },
                    "address": {
                        "$ref": "#/components/schemas/AddressForDelivery"
                    },
                    "loading_instructions": {
                        "$ref": "#/components/schemas/loading_instructions"
                    },
                    "unloading_instructions": {
                        "$ref": "#/components/schemas/unloading_instructions"
                    },
                    "real_start": {
                        "description": "date and time when trucker arrived on site",
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "real_end": {
                        "description": "date and time when trucker completed loading / unloading (depending whether site is origin or destination)",
                        "example": "2020-12-22T15:31:39.26167Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "signature_process": {
                        "description": "signature process that was chosen to sign loads on site",
                        "example": "sign_on_glass",
                        "type": "string"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/site_instructions"
                    },
                    "reference": {
                        "type": "string"
                    },
                    "action": {
                        "type": "string"
                    },
                    "eta": {
                        "nullable": true,
                        "type": "string"
                    },
                    "eta_tracking": {
                        "$ref": "#/components/schemas/eta_tracking"
                    },
                    "punctuality_status": {
                        "$ref": "#/components/schemas/punctuality_status"
                    },
                    "supports_exchanges": {
                        "$ref": "#/components/schemas/SupportsExchange"
                    },
                    "category": {
                        "type": "string"
                    },
                    "arrival_date": {
                        "description": "expected arrival date",
                        "format": "date",
                        "type": "string"
                    },
                    "arrival_time_min": {
                        "description": "expected arrival min time",
                        "example": "16:00",
                        "type": "string"
                    },
                    "arrival_time_max": {
                        "description": "expected arrival max time",
                        "example": "17:00",
                        "type": "string"
                    },
                    "date_exact": {
                        "description": "if `true`, `arrival_time_max` is considered as being on the following day from `arrival_date`",
                        "type": "boolean"
                    },
                    "trucker_instructions": {
                        "$ref": "#/components/schemas/trucker_instructions"
                    }
                },
                "type": "object"
            },
            "AddressForDelivery": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 23498,
                        "type": "number"
                    },
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "address": {
                        "example": "3 rue des champs",
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    },
                    "latitude": {
                        "$ref": "#/components/schemas/latitude"
                    },
                    "longitude": {
                        "$ref": "#/components/schemas/longitude"
                    },
                    "radius": {
                        "default": 500,
                        "description": "Radius around the GPS coordinates within which the address is located (in meters)",
                        "type": "integer"
                    },
                    "coords_validated": {
                        "default": false,
                        "description": "if `true`, when this address is used as a loading or unloading site, the mobile app displays an itinerary button to start GPS app with guidance to these coordinates",
                        "type": "boolean"
                    },
                    "is_demo": {
                        "$ref": "#/components/schemas/is_demo"
                    },
                    "is_carrier": {
                        "type": "boolean"
                    },
                    "is_shipper": {
                        "type": "boolean"
                    },
                    "is_origin": {
                        "type": "boolean"
                    },
                    "is_destination": {
                        "type": "boolean"
                    },
                    "created_by": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": 1738,
                        "type": "number"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "instructions": {
                        "$ref": "#/components/schemas/site_instructions"
                    },
                    "remote_id": {
                        "description": "The id of the address in your system.",
                        "type": "string"
                    },
                    "company": {
                        "$ref": "#/components/schemas/Company"
                    },
                    "original": {
                        "description": "Ignore. Dashdoc technical data.",
                        "example": 2085,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "TrackingContact": {
                "properties": {
                    "uid": {
                        "example": "687cddac-dbd2-11ea-9024-0242ac130006",
                        "format": "uuid",
                        "type": "string"
                    },
                    "created": {
                        "$ref": "#/components/schemas/created"
                    },
                    "company": {
                        "$ref": "#/components/schemas/Company"
                    },
                    "first_name": {
                        "example": "Adèle",
                        "type": "string"
                    },
                    "last_name": {
                        "example": "Bouvet",
                        "type": "string"
                    },
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "phone_number": {
                        "example": "+33600000000",
                        "type": "string"
                    },
                    "fax_number": {
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the contact in your system",
                        "example": "CONTACT_123",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InvoiceDelivery": {
                "properties": {
                    "uid": {
                        "description": "uuid of the Delivery",
                        "example": "d31bf46b-2175-4d1c-aae3-f0f0162e43c4",
                        "format": "uuid",
                        "type": "string"
                    },
                    "origin": {
                        "$ref": "#/components/schemas/InvoiceSite"
                    },
                    "destination": {
                        "$ref": "#/components/schemas/InvoiceSite"
                    }
                },
                "type": "object"
            },
            "InvoiceDocument": {
                "properties": {
                    "delivery": {
                        "description": "uuid of the Delivery",
                        "example": "d31bf46b-2175-4d1c-aae3-f0f0162e43c4",
                        "format": "uuid",
                        "type": "string"
                    },
                    "file": {
                        "description": "path of the document",
                        "format": "url",
                        "type": "string"
                    },
                    "reference": {
                        "example": "3861546",
                        "type": "string"
                    },
                    "category": {
                        "description": "Type of document. Possible values are \"cmr\", \"cmr4\", \"ldv\", \"orc\", \"chc\", \"rental\" and \"loading_plan\"",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InvoiceMessage": {
                "properties": {
                    "document": {
                        "description": "path of the document",
                        "format": "url",
                        "type": "string"
                    },
                    "reference": {
                        "example": "REF_123",
                        "type": "string"
                    },
                    "document_type": {
                        "enum": [
                            "load_photo",
                            "cmr",
                            "washing_note",
                            "delivery_note",
                            "confirmation",
                            "weight_note",
                            "waste_manifest",
                            "holders_swap_note",
                            "invoice"
                        ],
                        "maxLength": 100,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InvoiceSite": {
                "properties": {
                    "uid": {
                        "type": "string"
                    },
                    "company_name": {
                        "example": "Graillet",
                        "type": "string"
                    },
                    "city": {
                        "example": "Gap",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_response_200": {
                "properties": {
                    "status": {
                        "$ref": "#/components/schemas/Statuses"
                    }
                },
                "type": "object"
            },
            "inline_response_404": {
                "properties": {
                    "detail": {
                        "example": "Not found.",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_object": {
                "properties": {
                    "observations": {
                        "description": "Observations by the dock during the loading operation",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_object_1": {
                "properties": {
                    "observations": {
                        "description": "Observations by the dock during the unloading operation",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_object_2": {
                "properties": {
                    "company": {
                        "example": 348910,
                        "type": "number"
                    }
                },
                "required": ["company"],
                "type": "object"
            },
            "inline_response_200_1": {
                "properties": {
                    "success": {
                        "example": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "inline_response_404_1": {
                "properties": {
                    "success": {
                        "example": false,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "inline_response_404_2": {
                "properties": {
                    "detail": {
                        "example": "Pas trouvé.",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_response_201": {
                "properties": {
                    "child_transport": {
                        "description": "uid of the chartered transport that has been created",
                        "example": "3545c058-392d-11eb-90c5-0242ac140006",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_response_400": {
                "example": {
                    "company": ["Either 'remote_id' or 'pk' must be provided in the company field"]
                },
                "properties": {
                    "error": {
                        "description": "Error message",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_response_404_3": {
                "example": {
                    "error": "Site not found"
                },
                "properties": {
                    "error": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_response_400_1_company": {
                "properties": {
                    "code": {
                        "items": {
                            "example": "company_requires_remote_id_or_pk",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "detail": {
                        "items": {
                            "example": "Either 'remote_id' or 'pk' must be provided in the company field",
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "inline_response_400_1": {
                "properties": {
                    "company": {
                        "$ref": "#/components/schemas/inline_response_400_1_company"
                    }
                },
                "type": "object"
            },
            "inline_response_404_4_non_field_errors": {
                "properties": {
                    "code": {
                        "items": {
                            "example": "company_not_found",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "detail": {
                        "items": {
                            "example": "No company found with pk '99999' for this site",
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "inline_response_404_4": {
                "properties": {
                    "non_field_errors": {
                        "$ref": "#/components/schemas/inline_response_404_4_non_field_errors"
                    }
                },
                "type": "object"
            },
            "inline_object_3": {
                "properties": {
                    "reason": {
                        "description": "The reason for cancelling the slot",
                        "type": "string"
                    }
                },
                "required": ["reason"],
                "type": "object"
            },
            "inline_object_4": {
                "properties": {
                    "invoice_number": {
                        "description": "Invoice number for the transport",
                        "example": "invoice_21_05_742",
                        "maxLength": 100,
                        "nullable": true,
                        "type": "string"
                    },
                    "invoiced_price": {
                        "$ref": "#/components/schemas/deprecated_invoiced_price"
                    },
                    "customer_to_invoice": {
                        "$ref": "#/components/schemas/CompanyPkOrRemoteId"
                    }
                },
                "type": "object"
            },
            "inline_response_400_2": {
                "properties": {
                    "error": {
                        "example": "Invalid tag pks: {999}",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "inline_object_5": {
                "properties": {
                    "send_to_carrier": {
                        "description": "Whether to send the document to the carrier. If not provided, document will be sent to carrier only if the organizer is the carrier.",
                        "nullable": true,
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "TransportOperationCategories_results": {
                "properties": {
                    "uid": {
                        "example": "1f527452-45f4-11eb-a722-0242ac140004",
                        "format": "uuid",
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Delivery_tracking_contacts": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id.",
                        "type": "string"
                    },
                    "contact": {
                        "$ref": "#/components/schemas/NewContact"
                    },
                    "subscribed_to_status_updates": {
                        "description": "If set to true, the contact will receive an email at every step of the delivery. Else, they will receive only one email once the delivery is done.",
                        "type": "boolean"
                    },
                    "role": {
                        "description": "The role of the contact in the delivery. It can be `carrier`, `shipper`, or `site`.",
                        "type": "string"
                    }
                },
                "required": ["contact"],
                "type": "object"
            },
            "CreateOrUpdateDelivery_tracking_contacts": {
                "properties": {
                    "contact": {
                        "$ref": "#/components/schemas/NewContact"
                    },
                    "subscribed_to_status_updates": {
                        "description": "If set to true, the contact will receive an email at every step of the delivery. Else, they will receive only one email once the delivery is done.",
                        "type": "boolean"
                    }
                },
                "required": ["contact"],
                "type": "object"
            },
            "Invoice_period": {
                "description": "The interval between the date of first loading and last unloading among all the transports of the invoice.",
                "properties": {
                    "first_loading_at": {
                        "description": "Date of first loading among all the transports of the invoice.",
                        "example": "2021-12-13T18:23:44.648232Z",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    },
                    "last_unloading_at": {
                        "description": "Date of last unloading among all the transports of the invoice.",
                        "example": "2021-12-14T18:23:44.648232Z",
                        "format": "date-time",
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateManager_user": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 17293,
                        "type": "number"
                    },
                    "first_name": {
                        "example": "Adèle",
                        "type": "string"
                    },
                    "last_name": {
                        "example": "Bouvet",
                        "type": "string"
                    },
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    }
                },
                "required": ["pk"],
                "type": "object"
            },
            "LeaseTrucker_tenant_carrier": {
                "description": "Carrier to whom you wish to lease the trucker. Identified either by its `pk` or `remote_id`.",
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. Optional, not required if `remote_id` is sent.",
                        "example": 23498,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "Your remote carrier id. Optional, ignored if pk is sent.",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LeaseTruckerManagerNotFoundError_non_field_errors": {
                "properties": {
                    "code": {
                        "items": {
                            "example": "invalid",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "detail": {
                        "items": {
                            "example": "Tenant carrier could not be found.",
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "LeaseTruckerManagerNotLinkedError_non_field_errors": {
                "properties": {
                    "code": {
                        "items": {
                            "example": "invalid",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "detail": {
                        "items": {
                            "example": "Employer carrier and tenant carrier are not linked.",
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "UpdateSegment_trucker_id": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. Optional, not required if `remote_id` is sent.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The ID of the trucker in your system. Optional, ignored if pk is sent.",
                        "example": "tr123",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateSegment_scheduled_start_range": {
                "description": "The scheduled date and time range of arrival at the origin (ISO 8601)",
                "properties": {
                    "start": {
                        "description": "Min scheduled date and time of arrival at the origin (ISO 8601)",
                        "example": "2021-12-21T13:51:33.323237Z",
                        "type": "string"
                    },
                    "end": {
                        "description": "Max scheduled date and time of arrival at the origin (ISO 8601)",
                        "example": "2021-12-21T14:30:33.323237Z",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateSegment_scheduled_end_range": {
                "description": "The scheduled date and time range of arrival at the destination (ISO 8601)",
                "properties": {
                    "start": {
                        "description": "Min scheduled date and time of arrival at the destination (ISO 8601)",
                        "example": "2021-12-21T13:51:33.323237Z",
                        "type": "string"
                    },
                    "end": {
                        "description": "Max scheduled date and time of arrival at the destination (ISO 8601)",
                        "example": "2021-12-21T14:30:33.323237Z",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Segment_scheduled_start_range": {
                "description": "The datetime range at which the carrier scheduled the start of this segment",
                "properties": {
                    "start": {
                        "description": "Min scheduled start date (ISO 8601)",
                        "example": "2021-12-21T13:51:33.323237Z",
                        "type": "string"
                    },
                    "end": {
                        "description": "Max scheduled start date (ISO 8601)",
                        "example": "2021-12-21T14:30:33.323237Z",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Segment_scheduled_end_range": {
                "description": "The datetime range at which the carrier scheduled the end of this segment",
                "properties": {
                    "start": {
                        "description": "Min scheduled end date (ISO 8601)",
                        "example": "2021-12-21T13:51:33.323237Z",
                        "type": "string"
                    },
                    "end": {
                        "description": "Max scheduled end date (ISO 8601)",
                        "example": "2021-12-21T14:30:33.323237Z",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Segment_child_transport": {
                "description": "If the segment is chartered, will contain the child transport",
                "properties": {
                    "uid": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "sequential_id": {
                        "type": "number"
                    },
                    "remote_id": {
                        "type": "string"
                    },
                    "has_strong_link": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "Transport_parent_transport": {
                "description": "if this is a chartered transport, this will contains the parent transport it is chartered from",
                "properties": {
                    "uid": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "sequential_id": {
                        "type": "number"
                    },
                    "remote_id": {
                        "type": "string"
                    },
                    "has_strong_link": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "Transport_company": {
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Transport_references": {
                "properties": {
                    "role": {
                        "type": "string"
                    },
                    "company": {
                        "$ref": "#/components/schemas/Transport_company"
                    },
                    "reference": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CharterTransport_carrier": {
                "description": "Carrier to whom you wish to charter the transport. Identified either by its `pk` or `remote_id`.",
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. Optional, not required if `remote_id` is sent.",
                        "example": 23498,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "Your remote carrier id. Optional, ignored if `pk` is sent.",
                        "type": "string"
                    },
                    "carrier_contacts": {
                        "description": "A list containing the uids of each contact in the carrier's company to link to this transport.",
                        "example": "['abce-df123-acd4', 'dcbe-df153-dcd7']",
                        "items": {
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "CharterSegmentsFiltersError_non_field_errors": {
                "properties": {
                    "code": {
                        "items": {
                            "example": "invalid",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "detail": {
                        "items": {
                            "example": "You must provide filters to select the segments to charter",
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "Site_slots": {
                "properties": {
                    "start": {
                        "format": "date-time",
                        "type": "string"
                    },
                    "end": {
                        "format": "date-time",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EnableEtaCoordinatesError_non_field_errors": {
                "properties": {
                    "code": {
                        "items": {
                            "example": "invalid",
                            "type": "string"
                        },
                        "type": "array"
                    },
                    "detail": {
                        "items": {
                            "example": "GPS Coordinates are not validated.",
                            "type": "string"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "FlowCompanyRequest_address": {
                "properties": {
                    "address": {
                        "description": "Address",
                        "example": "1 rue de la Paix",
                        "type": "string"
                    },
                    "postcode": {
                        "description": "Postal code",
                        "example": "75001",
                        "type": "string"
                    },
                    "city": {
                        "description": "City name",
                        "example": "Paris",
                        "type": "string"
                    },
                    "country": {
                        "description": "Country code",
                        "example": "FR",
                        "type": "string"
                    }
                },
                "required": ["city", "country", "postcode"],
                "type": "object"
            },
            "DraftSlot_zone": {
                "description": "Zone information (null for draft slots as they are not assigned to a zone yet)",
                "nullable": true,
                "properties": {
                    "uid": {
                        "description": "Zone unique identifier",
                        "type": "string"
                    },
                    "name": {
                        "description": "Zone name",
                        "type": "string"
                    }
                },
                "required": ["name", "uid"],
                "type": "object"
            },
            "DraftSlot_company": {
                "description": "Company associated with the slot",
                "properties": {
                    "pk": {
                        "description": "Company primary key",
                        "type": "integer"
                    },
                    "remote_id": {
                        "description": "Company remote identifier (external ID)",
                        "type": "string"
                    },
                    "name": {
                        "description": "Company name",
                        "type": "string"
                    }
                },
                "required": ["name", "pk"],
                "type": "object"
            },
            "SlotPlannedRequest_zone": {
                "properties": {
                    "uid": {
                        "description": "Zone unique identifier",
                        "type": "string"
                    }
                },
                "required": ["uid"],
                "type": "object"
            },
            "Slot_zone": {
                "properties": {
                    "uid": {
                        "description": "Zone unique identifier",
                        "type": "string"
                    },
                    "name": {
                        "description": "Zone name",
                        "type": "string"
                    }
                },
                "required": ["name", "uid"],
                "type": "object"
            },
            "Slot_company": {
                "properties": {
                    "pk": {
                        "description": "Company primary key",
                        "example": 456,
                        "type": "integer"
                    },
                    "remote_id": {
                        "description": "Company remote identifier",
                        "example": "CARRIER_123",
                        "type": "string"
                    },
                    "name": {
                        "description": "Company name",
                        "example": "Transporteur A",
                        "type": "string"
                    }
                },
                "required": ["name", "pk"],
                "type": "object"
            },
            "NewSupportsExchange_site": {
                "description": "uid of the site where supports exchange is expected",
                "properties": {
                    "uid": {
                        "description": "uid of the site",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "remote_id of the site",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "NewSupportsExchange_support_type": {
                "description": "Type of the supports that are exchanged",
                "properties": {
                    "uid": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "your id of the support type",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SupportsExchange_site": {
                "description": "site where supports exchange is expected",
                "properties": {
                    "uid": {
                        "description": "uid of the site",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "remote_id of the site",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LinkTrackDechetsWasteNote_transport": {
                "description": "Transport, identified either by its `uid` or `remote_id`",
                "properties": {
                    "uid": {
                        "description": "uuid of the transport. Optional, not required if `remote_id` is sent.",
                        "example": "d6e95574-8c1f-4b97-bdea-f20d0eb4f7f0",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "your remote transport id. Optional, ignored if `uid` is sent.",
                        "example": "TRANSP_123456",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "TrackDechetsWasteNote_transport": {
                "description": "Transport",
                "properties": {
                    "uid": {
                        "description": "uuid of the transport",
                        "example": "d6e95574-8c1f-4b97-bdea-f20d0eb4f7f0",
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "your remote transport id",
                        "example": "TRANSP_123456",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "NewTransportMessage_author": {
                "properties": {
                    "display_name": {
                        "example": "Adèle Bouvet",
                        "type": "string"
                    },
                    "company": {
                        "example": 1738,
                        "type": "number"
                    },
                    "pk": {
                        "description": "Dashdoc's internal id.",
                        "example": 11239,
                        "type": "number"
                    }
                },
                "type": "object"
            },
            "UpdateTransportMessage_document_options": {
                "properties": {
                    "filename": {
                        "description": "filename",
                        "example": "delivery_note_2105_001",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateTransportMessage_document": {
                "properties": {
                    "value": {
                        "description": "file content",
                        "type": "string"
                    },
                    "options": {
                        "$ref": "#/components/schemas/UpdateTransportMessage_document_options"
                    }
                },
                "type": "object"
            },
            "CreateOrUpdateTransport_quotation": {
                "description": "Pricing information for the transport",
                "properties": {
                    "lines": {
                        "items": {
                            "$ref": "#/components/schemas/NewPriceLine"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "RetrievedTransport_allOf": {
                "properties": {
                    "agreed_price_total": {
                        "description": "The total of the agreed price (including fuel surcharge, excluding taxes) if readable, otherwise null.",
                        "example": "123.45",
                        "nullable": true,
                        "type": "string"
                    },
                    "invoiced_price_total": {
                        "description": "The total of the invoiced price (including fuel surcharge, excluding taxes) if readable, otherwise null.",
                        "example": "123.45",
                        "nullable": true,
                        "type": "string"
                    },
                    "shipper_final_price_total": {
                        "description": "The total of the shipper final price (including fuel surcharge, excluding taxes) if readable, otherwise null.",
                        "example": "123.45",
                        "nullable": true,
                        "type": "string"
                    },
                    "effective_price_total": {
                        "description": "The total of the effective price (including fuel surcharge, excluding taxes) if readable, otherwise null.",
                        "example": "123.45",
                        "nullable": true,
                        "type": "string"
                    },
                    "purchase_cost_total": {
                        "description": "The total of the purchase costs if readable, otherwise null.",
                        "example": "123.45",
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AssignTransport_trucker_id": {
                "properties": {
                    "pk": {
                        "description": "Dashdoc's internal id. Optional, not required if `remote_id` is sent.",
                        "example": 928,
                        "type": "number"
                    },
                    "remote_id": {
                        "description": "The ID of the trucker in your system. Optional, ignored if pk is sent.",
                        "example": "tr123",
                        "type": "string"
                    }
                },
                "required": ["pk"],
                "type": "object"
            },
            "TransportRevenueSplit_activity_to_split_revenue": {
                "properties": {
                    "transport_repartition": {
                        "description": "The share of the revenue of this split relative to the total revenue of the transport",
                        "type": "string"
                    },
                    "transport_revenue_share": {
                        "description": "The revenue of this split",
                        "type": "string"
                    },
                    "subcontracting_repartition": {
                        "description": "The cost of this split from out of the subcontracting cost",
                        "nullable": true,
                        "type": "string"
                    },
                    "subcontracting_cost_share": {
                        "description": "The share of the cost of this split relative to the total cost of the subcontracting cost",
                        "nullable": true,
                        "type": "string"
                    },
                    "child_transport_uid": {
                        "description": "The uid of the child transport, if this split is for a subcontracted transport",
                        "nullable": true,
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "UpdateTransportStatus_update_details_loads": {
                "description": "The delivery concerned",
                "properties": {
                    "replace_with_delivery_uid": {
                        "description": "Replace the name of this attribut with the righ delivery uid",
                        "items": {
                            "$ref": "#/components/schemas/NewDeliveryLoads"
                        },
                        "type": "array"
                    }
                },
                "type": "object"
            },
            "UpdateTransportStatus_update_details": {
                "properties": {
                    "loads": {
                        "$ref": "#/components/schemas/UpdateTransportStatus_update_details_loads"
                    }
                },
                "type": "object"
            },
            "Contact_1_allOf": {
                "properties": {
                    "uid": {
                        "description": "Unique identifier of the contact",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "format": "uuid",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Form_allOf_pdf": {
                "nullable": true,
                "properties": {
                    "url": {
                        "description": "URL to fetch the PDF version of the waste form",
                        "example": "http://example.com/pdf",
                        "type": "string"
                    },
                    "updated_date": {
                        "description": "Date and time of PDF last update",
                        "example": "2022-01-01T00:00:00Z",
                        "format": "date-time",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Form_allOf": {
                "properties": {
                    "uid": {
                        "description": "Unique identifier of the waste form",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "format": "uuid",
                        "type": "string"
                    },
                    "name": {
                        "description": "Human readable name of the waste form. Identifier for OVAM.",
                        "example": "DAS-1",
                        "type": "string"
                    },
                    "created": {
                        "description": "Date and time of creation",
                        "example": "2022-01-01T00:00:00Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "updated": {
                        "description": "Date and time of last update",
                        "example": "2022-01-01T00:00:00Z",
                        "format": "date-time",
                        "type": "string"
                    },
                    "status": {
                        "$ref": "#/components/schemas/waste_shipment_status"
                    },
                    "pdf": {
                        "$ref": "#/components/schemas/Form_allOf_pdf"
                    },
                    "discontinued_reason": {
                        "description": "Reason for the discontinuation of the waste shipment, the waste was in transit but never arrived at destination",
                        "example": "Traffic accident",
                        "nullable": true,
                        "type": "string"
                    },
                    "transport_uid": {
                        "description": "Unique identifier of the transport linked to the waste form in the TMS if any",
                        "example": "123e4567-e89b-12d3-a456-426614174000",
                        "format": "uuid",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DockActivity_trucker": {
                "properties": {
                    "pk": {
                        "description": "Id of the trucker",
                        "type": "number"
                    },
                    "display_name": {
                        "description": "Full name of the trucker",
                        "example": "Michel Blanc",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DockActivity_carrier": {
                "properties": {
                    "pk": {
                        "description": "Id of the carrier",
                        "type": "number"
                    },
                    "name": {
                        "description": "Name of the carrier",
                        "example": "Carrier SA",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DockActivity_shipper": {
                "properties": {
                    "pk": {
                        "description": "Id of the shipping company",
                        "type": "number"
                    },
                    "name": {
                        "description": "Name of the shipper",
                        "example": "Shipper SAS",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DockActivity_vehicle": {
                "properties": {
                    "pk": {
                        "description": "Id of the vehicle",
                        "type": "number"
                    },
                    "license_plate": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DockActivity_loading_address": {
                "properties": {
                    "name": {
                        "example": "Transport Bouvet",
                        "type": "string"
                    },
                    "address": {
                        "example": "3 rue des champs",
                        "type": "string"
                    },
                    "city": {
                        "example": "Nantes",
                        "type": "string"
                    },
                    "postcode": {
                        "example": "44000",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    }
                },
                "type": "object"
            },
            "DockActivity_loads": {
                "properties": {
                    "uid": {
                        "description": "Id of the load",
                        "format": "uuid",
                        "type": "string"
                    },
                    "description": {
                        "description": "Description of the load",
                        "type": "string"
                    },
                    "loading_scheduled_date": {
                        "description": "Date of scheduled loading",
                        "format": "date-time",
                        "type": "string"
                    },
                    "unloading_scheduled_date": {
                        "description": "Date of scheduled unloading",
                        "format": "date-time",
                        "type": "string"
                    },
                    "loading_address": {
                        "$ref": "#/components/schemas/DockActivity_loading_address"
                    },
                    "unloading_address": {
                        "$ref": "#/components/schemas/DockActivity_loading_address"
                    },
                    "quantity": {
                        "format": "float",
                        "type": "number"
                    },
                    "category": {
                        "description": "Packaging of the load. The text is free but these specific values cause a custom flow on the mobile app: `pallets`, `containers`, `bulk`, `roundwood`, `powder_tank`, `bulk_qualimat`, `rental`.",
                        "type": "string"
                    },
                    "complementary_information": {
                        "description": "Any information about the load that doesn't fit to the description field",
                        "type": "string"
                    },
                    "weight": {
                        "description": "In kilograms",
                        "format": "float",
                        "type": "number"
                    },
                    "volume": {
                        "description": "Volume of load in m3",
                        "format": "float",
                        "type": "number"
                    },
                    "volume_display_unit": {
                        "default": "m3",
                        "enum": ["m3", "L"],
                        "type": "string"
                    },
                    "linear_meters": {
                        "description": "Length of load in meters",
                        "format": "float",
                        "type": "number"
                    },
                    "is_dangerous": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "customer_to_invoice_invoicing_address": {
                "properties": {
                    "address": {
                        "example": "1 rue de la paix",
                        "type": "string"
                    },
                    "city": {
                        "example": "Paris",
                        "type": "string"
                    },
                    "postcode": {
                        "example": "75000",
                        "type": "string"
                    },
                    "country": {
                        "$ref": "#/components/schemas/country"
                    }
                },
                "type": "object"
            },
            "DeliveryForTransport_tracking_contacts": {
                "properties": {
                    "uid": {
                        "description": "Dashdoc's internal id.",
                        "type": "string"
                    },
                    "contact": {
                        "$ref": "#/components/schemas/TrackingContact"
                    },
                    "subscribed_to_status_updates": {
                        "description": "If set to `true`, the contact will receive an email at every step of the delivery. Else, they will receive only one email once the delivery is done.",
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "TransportTemplate_allOf": {
                "properties": {
                    "template_name": {
                        "description": "Name given to the template",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Managers_user": {
                "properties": {
                    "email": {
                        "example": "adele.bouvet@gmail.com",
                        "format": "email",
                        "type": "string"
                    },
                    "first_name": {
                        "example": "Adèle",
                        "type": "string"
                    },
                    "last_name": {
                        "example": "Bouvet",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CreateOrUpdateSupportsExchangeForTransport_support_type": {
                "description": "Type of the supports that are exchanged",
                "properties": {
                    "uid": {
                        "format": "uuid",
                        "type": "string"
                    },
                    "remote_id": {
                        "description": "The id of the support type in your system.",
                        "type": "string"
                    }
                },
                "type": "object"
            }
        },
        "securitySchemes": {
            "ApiKeyAuth": {
                "description": "Authentication is token based. You can issue a token for your API request from the ['API' section of the settings](http://dashdoc.eu/app/settings/api/) menu. The token MUST be sent in a `Authorization` header with each request.\n\n\n**Example of authenticated request**\n```\n$ curl -X GET -H \"Authorization: Token <your token>\" \"https://api.dashdoc.eu/api/v4/\"\n```\n",
                "in": "header",
                "name": "Authentication",
                "type": "apiKey"
            }
        }
    }
}
