{
  "server": {
    "name": "tachron-api",
    "version": "2026-11-20-5",
    "transport": "http"
  },
  "capabilities": {
    "tools": {
      "delete_manual_entry": {
        "name": "delete_manual_entry",
        "description": "Delete manual entry",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "driverCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "1000000123456",
              "description": "Static 13-character driver identification."
            },
            "eventTime": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Begin of the activity, or time of the event. ISO 8601 with offset, for example `2026-09-21T06:02:00Z`. URL-encode a `+` in the offset as `%2B`. Seconds count: for time away from the vehicle use the exact time of the card removal."
            },
            "mainActivityText": {
              "type": "string",
              "enum": [
                "Border crossing event",
                "Card insert/removal event",
                "Driving",
                "Work",
                "Break / Rest",
                "Availability",
                "Ferry Train crossing Begin",
                "Ferry Train crossing End",
                "Load event",
                "Unload event",
                "Load and unload event"
              ],
              "description": "Type of the entry, exact spelling."
            }
          },
          "required": [
            "driverCard",
            "eventTime",
            "mainActivityText"
          ]
        }
      },
      "change_manual_entry": {
        "name": "change_manual_entry",
        "description": "Change manual entry",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "driverCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "1000000123456",
              "description": "Static 13-character driver identification."
            },
            "eventTime": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Begin of the activity, or time of the event. ISO 8601 with offset, for example `2026-09-21T06:02:00Z`. URL-encode a `+` in the offset as `%2B`. Seconds count: for time away from the vehicle use the exact time of the card removal."
            },
            "mainActivityText": {
              "type": "string",
              "const": "Availability",
              "description": "Type of the entry, exact spelling. Only `Availability` can be changed."
            },
            "isAttendance": {
              "type": "boolean",
              "description": "Availability with attendance at the vehicle. Accepted values: `true`, `yes`, `on`, `1` and `false`, `no`, `off`, `0` (any case)."
            }
          },
          "required": [
            "driverCard",
            "eventTime",
            "mainActivityText",
            "isAttendance"
          ]
        }
      },
      "add_manual_entry": {
        "name": "add_manual_entry",
        "description": "Add manual entry",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "driverCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "1000000123456",
              "description": "Static 13-character driver identification."
            },
            "eventTime": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Begin of the activity, or time of the event. ISO 8601 with offset, for example `2026-09-21T06:02:00Z`. URL-encode a `+` in the offset as `%2B`. Seconds count: for time away from the vehicle use the exact time of the card removal."
            },
            "mainActivityText": {
              "type": "string",
              "enum": [
                "Border crossing event",
                "Card insert/removal event",
                "Time adjustment event",
                "Driving",
                "Work",
                "Break / Rest",
                "Availability",
                "Ferry Train crossing Begin",
                "Ferry Train crossing End",
                "Load event",
                "Unload event",
                "Load and unload event"
              ],
              "description": "Type of the entry, exact spelling."
            },
            "eventEnteredBorderCountryName": {
              "type": "string",
              "example": "Austria",
              "description": "Required for `Border crossing event`: name of the country entered."
            },
            "eventCardRemovalTime": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "example": "2026-09-22T17:30:00Z",
              "description": "Required for `Card insert/removal event`: time the card was removed, ISO 8601 with offset, after `eventTime`. URL-encode a `+` in the offset as `%2B`."
            },
            "modificationReason": {
              "type": "string",
              "enum": [
                "CARD_SLOT_DEFECTIVE",
                "TACHOGRAPH_DEFECTIVE",
                "DRIVER_CARD_LOST_STOLEN_DEFECTIVE"
              ],
              "description": "Optional, only for `Card insert/removal event`: reason of the card insertion. `CARD_SLOT_DEFECTIVE` = card slot defective, tachograph otherwise working (case 4). `TACHOGRAPH_DEFECTIVE` = tachograph defective (case 5). `DRIVER_CARD_LOST_STOLEN_DEFECTIVE` = driver card lost, stolen or defective (case 6). The entries added afterwards within the period of the card insertion take over this reason."
            },
            "eventTimeAdjustmentDiffSecs": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "example": 420,
              "description": "Required for `Time adjustment event`: correction in seconds that is added to the recorded times. Positive if the tachograph clock was slow, negative if it was fast."
            },
            "eventLoadUnloadDuration": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991,
              "example": 2700,
              "description": "Required for `Load event`, `Unload event` and `Load and unload event`: duration of the operation in seconds."
            },
            "vin": {
              "type": "string",
              "maxLength": 17,
              "example": "WDB9634031L123456",
              "description": "Required for `Card insert/removal event`, `Time adjustment event` and `Driving`: vehicle identification number. For every other type TACHRON takes the vehicle from the card insertion that covers `eventTime`; a value sent is ignored."
            },
            "vrn": {
              "type": "string",
              "maxLength": 14,
              "example": "B-AX 1234",
              "description": "Optional, only used for `Card insert/removal event`, `Time adjustment event` and `Driving`: vehicle registration number. Its registration country is taken from the latest record of this registration number in your data. For every other type a value sent is ignored."
            },
            "isAttendance": {
              "default": false,
              "description": "Only for `Availability`: availability with attendance at the vehicle. Default `false`. For every other type omit it; `false` is accepted, `true` is rejected with `400`. Accepted values: `true`, `yes`, `on`, `1` and `false`, `no`, `off`, `0` (any case).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            }
          },
          "required": [
            "driverCard",
            "eventTime",
            "mainActivityText"
          ],
          "definitions": {
            "__schema0": {
              "type": "boolean"
            }
          }
        }
      },
      "send_message": {
        "name": "send_message",
        "description": "Send message",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "participantId": {
                  "type": "string",
                  "description": "Your user ID of a registered user with active access."
                },
                "text": {
                  "type": "string",
                  "maxLength": 4000
                },
                "clientMessageId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 200,
                      "description": "Your ID of the message; the same value again is answered with `409`."
                    },
                    {
                      "type": "null",
                      "description": "Your ID of the message; the same value again is answered with `409`."
                    }
                  ]
                }
              },
              "required": [
                "participantId",
                "text"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "list_users": {
        "name": "list_users",
        "description": "List users",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "companyCardNumber": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "DCC0000012345",
              "description": "Company card the users and onboardings belong to; exactly 13 letters and digits. Only users and onboardings of this company card are found."
            },
            "userId": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema0"
              },
              "description": "Id of a user; repeat for several (`userId=42&userId=43`)."
            },
            "cardNumber": {
              "type": "string",
              "description": "Card number, 13 or 16 characters (compared by the first 13)."
            },
            "status": {
              "type": "string",
              "enum": [
                "ACTIVE",
                "INACTIVE"
              ]
            },
            "channel": {
              "type": "string",
              "enum": [
                "EXTERNAL",
                "WHATSAPP"
              ]
            }
          },
          "required": [
            "companyCardNumber"
          ],
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            }
          }
        }
      },
      "register_user": {
        "name": "register_user",
        "description": "Register user",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "companyCardNumber": {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13,
                  "example": "DCC0000012345"
                },
                "participantId": {
                  "type": "string",
                  "maxLength": 200,
                  "description": "Your ID of the user, unique in the tenant. No phone number, e-mail address or name."
                },
                "userType": {
                  "type": "string",
                  "enum": [
                    "DRIVER",
                    "FLEET_OPERATOR"
                  ]
                },
                "cardNumber": {
                  "type": "string",
                  "example": "DF00000012345678"
                },
                "preferredLanguage": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "ISO 639-1 language of the answers."
                    },
                    {
                      "type": "null",
                      "description": "ISO 639-1 language of the answers."
                    }
                  ]
                },
                "firstName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 30,
                      "description": "First name for the salutation: letters, space, apostrophe, dot, hyphen."
                    },
                    {
                      "type": "null",
                      "description": "First name for the salutation: letters, space, apostrophe, dot, hyphen."
                    }
                  ],
                  "example": "Camille"
                }
              },
              "required": [
                "companyCardNumber",
                "participantId",
                "userType",
                "cardNumber"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "delete_user": {
        "name": "delete_user",
        "description": "Delete user",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "userId": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Id of the user of the assistant (`userId`)."
            },
            "companyCardNumber": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "DCC0000012345",
              "description": "Company card the users and onboardings belong to; exactly 13 letters and digits. Only users and onboardings of this company card are found."
            }
          },
          "required": [
            "userId",
            "companyCardNumber"
          ]
        }
      },
      "change_user": {
        "name": "change_user",
        "description": "Change user",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "userId": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Id of the user of the assistant (`userId`)."
            },
            "companyCardNumber": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "DCC0000012345",
              "description": "Company card the users and onboardings belong to; exactly 13 letters and digits. Only users and onboardings of this company card are found."
            },
            "body": {
              "type": "object",
              "properties": {
                "firstName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 30,
                      "description": "First name for the salutation: letters, space, apostrophe, dot, hyphen. Missing or `null` = unchanged, empty = deleted."
                    },
                    {
                      "type": "null",
                      "description": "First name for the salutation: letters, space, apostrophe, dot, hyphen. Missing or `null` = unchanged, empty = deleted."
                    }
                  ],
                  "example": "Holger"
                },
                "preferredLanguage": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "ISO 639-1 language. Missing or `null` = unchanged, empty = deleted."
                    },
                    {
                      "type": "null",
                      "description": "ISO 639-1 language. Missing or `null` = unchanged, empty = deleted."
                    }
                  ],
                  "example": "de"
                }
              },
              "additionalProperties": {}
            }
          },
          "required": [
            "userId",
            "companyCardNumber",
            "body"
          ]
        }
      },
      "restore_access": {
        "name": "restore_access",
        "description": "Restore access",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "userId": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Id of the user of the assistant (`userId`)."
            },
            "companyCardNumber": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "DCC0000012345",
              "description": "Company card the users and onboardings belong to; exactly 13 letters and digits. Only users and onboardings of this company card are found."
            },
            "body": {
              "type": "object",
              "properties": {
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": {}
            }
          },
          "required": [
            "userId",
            "companyCardNumber"
          ]
        }
      },
      "end_access": {
        "name": "end_access",
        "description": "End access",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "userId": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Id of the user of the assistant (`userId`)."
            },
            "companyCardNumber": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "DCC0000012345",
              "description": "Company card the users and onboardings belong to; exactly 13 letters and digits. Only users and onboardings of this company card are found."
            },
            "body": {
              "type": "object",
              "properties": {
                "reason": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": {}
            }
          },
          "required": [
            "userId",
            "companyCardNumber"
          ]
        }
      },
      "access_history": {
        "name": "access_history",
        "description": "Access history",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "userId": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Id of the user of the assistant (`userId`)."
            },
            "companyCardNumber": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "DCC0000012345",
              "description": "Company card the users and onboardings belong to; exactly 13 letters and digits. Only users and onboardings of this company card are found."
            }
          },
          "required": [
            "userId",
            "companyCardNumber"
          ]
        }
      },
      "reset_branding": {
        "name": "reset_branding",
        "description": "Reset branding",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {}
        }
      },
      "get_branding": {
        "name": "get_branding",
        "description": "Get branding",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {}
        }
      },
      "replace_branding": {
        "name": "replace_branding",
        "description": "Replace branding",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "assistantName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 40
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "companyName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 80
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "productName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 40
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "companyWebsite": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 200,
                      "description": "Domain and optional path, without `http://` or `https://`, for example `www.muster-logistik.de`. TACHRON adds `https://` in the links of the e-mails."
                    },
                    {
                      "type": "null",
                      "description": "Domain and optional path, without `http://` or `https://`, for example `www.muster-logistik.de`. TACHRON adds `https://` in the links of the e-mails."
                    }
                  ]
                },
                "supportEmail": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "email",
                      "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "replyToEmail": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "email",
                      "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "privacyUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri",
                      "description": "`https://` URL of the privacy policy of the tenant, for example `https://www.muster-logistik.de/privacy`."
                    },
                    {
                      "type": "null",
                      "description": "`https://` URL of the privacy policy of the tenant, for example `https://www.muster-logistik.de/privacy`."
                    }
                  ]
                },
                "selfOnboarding": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "create_invitation": {
        "name": "create_invitation",
        "description": "Create invitation",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "companyCardNumber": {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13,
                  "example": "DCC0000012345"
                },
                "driverCardNumber": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 16,
                      "maxLength": 16,
                      "description": "All 16 characters of the driver card; not case-sensitive, spaces are removed. Required for `DRIVER`, not allowed for `FLEET_OPERATOR`."
                    },
                    {
                      "type": "null",
                      "description": "All 16 characters of the driver card; not case-sensitive, spaces are removed. Required for `DRIVER`, not allowed for `FLEET_OPERATOR`."
                    }
                  ],
                  "example": "DF00000012345678"
                },
                "userType": {
                  "type": "string",
                  "enum": [
                    "DRIVER",
                    "FLEET_OPERATOR"
                  ]
                },
                "email": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "email",
                      "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                      "description": "Address for the invitation e-mail. Required with `sendEmail: true`."
                    },
                    {
                      "type": "null",
                      "description": "Address for the invitation e-mail. Required with `sendEmail: true`."
                    }
                  ]
                },
                "sendEmail": {
                  "default": false,
                  "type": "boolean",
                  "description": "`true`: TACHRON sends the invitation e-mail. `false`: you pass `chatLink` or `otp` to the user yourself."
                },
                "language": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "ISO 639-1 language of the invitation and of the chat."
                    },
                    {
                      "type": "null",
                      "description": "ISO 639-1 language of the invitation and of the chat."
                    }
                  ]
                }
              },
              "required": [
                "companyCardNumber",
                "userType"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "renew_invitation": {
        "name": "renew_invitation",
        "description": "Renew invitation",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "allOf": [
                {
                  "type": "object",
                  "properties": {
                    "companyCardNumber": {
                      "$ref": "#/definitions/__schema0"
                    },
                    "driverCardNumber": {
                      "$ref": "#/definitions/__schema1"
                    },
                    "email": {
                      "$ref": "#/definitions/__schema2"
                    },
                    "phoneNumber": {
                      "$ref": "#/definitions/__schema3"
                    }
                  },
                  "additionalProperties": {
                    "$ref": "#/definitions/__schema4"
                  },
                  "description": "Identifies a pending onboarding of the tenant (also an expired or blocked one). At least one field; at most one\nof `driverCardNumber`, `email` and `phoneNumber` (a combination is answered with `400`).\n\n| Fields | Finds |\n|---|---|\n| `companyCardNumber` | the onboarding of the fleet manager of this company card |\n| `driverCardNumber` | the onboarding of the driver with this card; `409` with `add companyCardNumber` if drivers of several company cards match |\n| `companyCardNumber` and `driverCardNumber` | the onboarding of the driver with this card under this company card |\n| `email` or `phoneNumber`, optionally with `companyCardNumber` | the onboarding with this e-mail address or WhatsApp contact; several matches are answered with `409` (`add companyCardNumber` or `use driverCardNumber`) |\n"
                },
                {
                  "type": "object",
                  "properties": {
                    "sendEmail": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "language": {
                      "anyOf": [
                        {
                          "type": "string",
                          "description": "ISO 639-1."
                        },
                        {
                          "type": "null",
                          "description": "ISO 639-1."
                        }
                      ]
                    }
                  },
                  "additionalProperties": {}
                }
              ]
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13,
                  "description": "Company card; exactly 13 letters and digits. Alone: the fleet manager of this company card."
                },
                {
                  "type": "null",
                  "description": "Company card; exactly 13 letters and digits. Alone: the fleet manager of this company card."
                }
              ],
              "example": "DCC0000012345"
            },
            "__schema1": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "Driver card, 13 or 16 characters (compared by the first 13). The driver with this card."
                },
                {
                  "type": "null",
                  "description": "Driver card, 13 or 16 characters (compared by the first 13). The driver with this card."
                }
              ],
              "example": "DF00000012345678"
            },
            "__schema2": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "email",
                  "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                  "description": "E-mail address of the invitation; not case-sensitive."
                },
                {
                  "type": "null",
                  "description": "E-mail address of the invitation; not case-sensitive."
                }
              ]
            },
            "__schema3": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "WhatsApp phone number with country code; spaces, `+` and a leading `00` are ignored. Only used for the lookup, never stored or returned."
                },
                {
                  "type": "null",
                  "description": "WhatsApp phone number with country code; spaces, `+` and a leading `00` are ignored. Only used for the lookup, never stored or returned."
                }
              ],
              "example": "+49 151 12345678"
            },
            "__schema4": {}
          }
        }
      },
      "revoke_invitation": {
        "name": "revoke_invitation",
        "description": "Revoke invitation",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "companyCardNumber": {
                  "$ref": "#/definitions/__schema0"
                },
                "driverCardNumber": {
                  "$ref": "#/definitions/__schema1"
                },
                "email": {
                  "$ref": "#/definitions/__schema2"
                },
                "phoneNumber": {
                  "$ref": "#/definitions/__schema3"
                }
              },
              "additionalProperties": {
                "$ref": "#/definitions/__schema4"
              },
              "description": "Identifies a pending onboarding of the tenant (also an expired or blocked one). At least one field; at most one\nof `driverCardNumber`, `email` and `phoneNumber` (a combination is answered with `400`).\n\n| Fields | Finds |\n|---|---|\n| `companyCardNumber` | the onboarding of the fleet manager of this company card |\n| `driverCardNumber` | the onboarding of the driver with this card; `409` with `add companyCardNumber` if drivers of several company cards match |\n| `companyCardNumber` and `driverCardNumber` | the onboarding of the driver with this card under this company card |\n| `email` or `phoneNumber`, optionally with `companyCardNumber` | the onboarding with this e-mail address or WhatsApp contact; several matches are answered with `409` (`add companyCardNumber` or `use driverCardNumber`) |\n"
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13,
                  "description": "Company card; exactly 13 letters and digits. Alone: the fleet manager of this company card."
                },
                {
                  "type": "null",
                  "description": "Company card; exactly 13 letters and digits. Alone: the fleet manager of this company card."
                }
              ],
              "example": "DCC0000012345"
            },
            "__schema1": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "Driver card, 13 or 16 characters (compared by the first 13). The driver with this card."
                },
                {
                  "type": "null",
                  "description": "Driver card, 13 or 16 characters (compared by the first 13). The driver with this card."
                }
              ],
              "example": "DF00000012345678"
            },
            "__schema2": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "email",
                  "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                  "description": "E-mail address of the invitation; not case-sensitive."
                },
                {
                  "type": "null",
                  "description": "E-mail address of the invitation; not case-sensitive."
                }
              ]
            },
            "__schema3": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "WhatsApp phone number with country code; spaces, `+` and a leading `00` are ignored. Only used for the lookup, never stored or returned."
                },
                {
                  "type": "null",
                  "description": "WhatsApp phone number with country code; spaces, `+` and a leading `00` are ignored. Only used for the lookup, never stored or returned."
                }
              ],
              "example": "+49 151 12345678"
            },
            "__schema4": {}
          }
        }
      },
      "list_onboardings": {
        "name": "list_onboardings",
        "description": "List onboardings",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "companyCardNumber": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "example": "DCC0000012345",
              "description": "Company card; exactly 13 letters and digits. Drivers and fleet manager of this company card."
            },
            "driverCardNumber": {
              "type": "string",
              "description": "Driver card, 13 or 16 characters (compared by the first 13). The driver with this card, under all company cards or under `companyCardNumber`."
            },
            "email": {
              "type": "string",
              "format": "email",
              "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
              "description": "E-mail address of the invitation; not case-sensitive."
            },
            "phoneNumber": {
              "type": "string",
              "description": "WhatsApp phone number with country code (`+49 151 12345678`, `004915112345678`); spaces, `+` and a leading `00` are ignored."
            },
            "status": {
              "type": "string",
              "enum": [
                "PENDING",
                "BLOCKED",
                "EXPIRED",
                "ACCEPTED",
                "REVOKED",
                "STOPPED",
                "CLOSED"
              ]
            },
            "type": {
              "type": "string",
              "enum": [
                "INVITATION",
                "SELF"
              ]
            }
          }
        }
      },
      "unblock_onboarding": {
        "name": "unblock_onboarding",
        "description": "Unblock onboarding",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "companyCardNumber": {
                  "$ref": "#/definitions/__schema0"
                },
                "driverCardNumber": {
                  "$ref": "#/definitions/__schema1"
                },
                "email": {
                  "$ref": "#/definitions/__schema2"
                },
                "phoneNumber": {
                  "$ref": "#/definitions/__schema3"
                }
              },
              "additionalProperties": {
                "$ref": "#/definitions/__schema4"
              },
              "description": "Identifies a pending onboarding of the tenant (also an expired or blocked one). At least one field; at most one\nof `driverCardNumber`, `email` and `phoneNumber` (a combination is answered with `400`).\n\n| Fields | Finds |\n|---|---|\n| `companyCardNumber` | the onboarding of the fleet manager of this company card |\n| `driverCardNumber` | the onboarding of the driver with this card; `409` with `add companyCardNumber` if drivers of several company cards match |\n| `companyCardNumber` and `driverCardNumber` | the onboarding of the driver with this card under this company card |\n| `email` or `phoneNumber`, optionally with `companyCardNumber` | the onboarding with this e-mail address or WhatsApp contact; several matches are answered with `409` (`add companyCardNumber` or `use driverCardNumber`) |\n"
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "anyOf": [
                {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13,
                  "description": "Company card; exactly 13 letters and digits. Alone: the fleet manager of this company card."
                },
                {
                  "type": "null",
                  "description": "Company card; exactly 13 letters and digits. Alone: the fleet manager of this company card."
                }
              ],
              "example": "DCC0000012345"
            },
            "__schema1": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "Driver card, 13 or 16 characters (compared by the first 13). The driver with this card."
                },
                {
                  "type": "null",
                  "description": "Driver card, 13 or 16 characters (compared by the first 13). The driver with this card."
                }
              ],
              "example": "DF00000012345678"
            },
            "__schema2": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "email",
                  "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                  "description": "E-mail address of the invitation; not case-sensitive."
                },
                {
                  "type": "null",
                  "description": "E-mail address of the invitation; not case-sensitive."
                }
              ]
            },
            "__schema3": {
              "anyOf": [
                {
                  "type": "string",
                  "description": "WhatsApp phone number with country code; spaces, `+` and a leading `00` are ignored. Only used for the lookup, never stored or returned."
                },
                {
                  "type": "null",
                  "description": "WhatsApp phone number with country code; spaces, `+` and a leading `00` are ignored. Only used for the lookup, never stored or returned."
                }
              ],
              "example": "+49 151 12345678"
            },
            "__schema4": {}
          }
        }
      },
      "get_notification_settings": {
        "name": "get_notification_settings",
        "description": "Get notification settings",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "userId": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Id of the user of the assistant (`userId`)."
            },
            "cardNumber": {
              "type": "string",
              "description": "Driver card, 13 or 16 characters (compared by the first 13). Fleet manager only."
            }
          },
          "required": [
            "userId"
          ]
        }
      },
      "change_notification_settings": {
        "name": "change_notification_settings",
        "description": "Change notification settings",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "userId": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Id of the user of the assistant (`userId`)."
            },
            "body": {
              "type": "object",
              "properties": {
                "optOut": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "days": {
                  "anyOf": [
                    {
                      "minItems": 1,
                      "type": "array",
                      "items": {
                        "$ref": "#/definitions/__schema0"
                      }
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "sendTime": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^[0-2][0-9]:00$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "timeZone": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "additionalProperties": {}
            }
          },
          "required": [
            "userId",
            "body"
          ],
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 7
            }
          }
        }
      },
      "delete_agreement": {
        "name": "delete_agreement",
        "description": "Delete agreement",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "companyCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "description": "Company card of the company (13 characters)."
            },
            "name": {
              "type": "string",
              "description": "Name of the agreement."
            }
          },
          "required": [
            "companyCard",
            "name"
          ]
        }
      },
      "list_agreements": {
        "name": "list_agreements",
        "description": "List agreements",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "companyCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "description": "Company card of the company (13 characters)."
            }
          },
          "required": [
            "companyCard"
          ]
        }
      },
      "change_agreement": {
        "name": "change_agreement",
        "description": "Change agreement",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "companyCard": {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13
                },
                "name": {
                  "type": "string",
                  "description": "Current name of the agreement."
                },
                "newName": {
                  "type": "string"
                },
                "isDefault": {
                  "type": "boolean"
                },
                "notes": {
                  "type": "string",
                  "description": "New notes. An empty string removes the notes; leave the field out to keep them."
                }
              },
              "required": [
                "companyCard",
                "name"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "define_agreement": {
        "name": "define_agreement",
        "description": "Define agreement",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "companyCard": {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13,
                  "description": "Company card of the company."
                },
                "name": {
                  "type": "string",
                  "description": "Name of the agreement, unique per company regardless of upper and lower case: `Site North` and `site north` cannot both exist. Other calls (list versions, change, delete) need the name exactly as stored."
                },
                "isDefault": {
                  "default": false,
                  "type": "boolean",
                  "description": "Default agreement of the company."
                },
                "notes": {
                  "default": "",
                  "type": "string",
                  "description": "Free text."
                }
              },
              "required": [
                "companyCard",
                "name"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "remove_driver": {
        "name": "remove_driver",
        "description": "Remove driver",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "driverCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "description": "Driver card (13 characters)."
            },
            "validFrom": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Start date of the assignment."
            }
          },
          "required": [
            "driverCard"
          ]
        }
      },
      "list_drivers": {
        "name": "list_drivers",
        "description": "List drivers",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "companyCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "description": "Company card of the company (13 characters)."
            },
            "name": {
              "type": "string",
              "description": "Only this agreement."
            },
            "driverCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "description": "Only this driver (13 characters)."
            }
          },
          "required": [
            "companyCard"
          ]
        }
      },
      "assign_driver": {
        "name": "assign_driver",
        "description": "Assign driver",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "driverCard": {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13
                },
                "companyCard": {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13
                },
                "name": {
                  "type": "string",
                  "description": "Name of the agreement."
                },
                "validFrom": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                  "description": "Default today."
                },
                "notes": {
                  "type": "string"
                }
              },
              "required": [
                "driverCard",
                "companyCard",
                "name"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "delete_version": {
        "name": "delete_version",
        "description": "Delete version",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "companyCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "description": "Company card of the company (13 characters)."
            },
            "name": {
              "type": "string",
              "description": "Name of the agreement."
            },
            "validFrom": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Start date of the version."
            }
          },
          "required": [
            "companyCard",
            "name"
          ]
        }
      },
      "list_versions": {
        "name": "list_versions",
        "description": "List versions",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "companyCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "description": "Company card of the company (13 characters)."
            },
            "name": {
              "type": "string",
              "description": "Name of the agreement."
            }
          },
          "required": [
            "companyCard",
            "name"
          ]
        }
      },
      "add_version": {
        "name": "add_version",
        "description": "Add version",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "companyCard": {
                  "$ref": "#/definitions/__schema0"
                },
                "name": {
                  "$ref": "#/definitions/__schema1"
                },
                "validFrom": {
                  "$ref": "#/definitions/__schema2"
                },
                "notes": {
                  "$ref": "#/definitions/__schema3"
                },
                "mode": {
                  "$ref": "#/definitions/__schema4"
                },
                "windowWeeks": {
                  "$ref": "#/definitions/__schema5"
                },
                "anchorMonth": {
                  "$ref": "#/definitions/__schema6"
                },
                "anchorDay": {
                  "$ref": "#/definitions/__schema7"
                },
                "fixedAnchors": {
                  "$ref": "#/definitions/__schema8"
                },
                "fixedBlockWeeks": {
                  "$ref": "#/definitions/__schema10"
                },
                "absenceMode": {
                  "$ref": "#/definitions/__schema12"
                },
                "fullWeekDaysThreshold": {
                  "$ref": "#/definitions/__schema13"
                },
                "fullWeekMinutes": {
                  "$ref": "#/definitions/__schema14"
                },
                "dailyCapMinutes": {
                  "$ref": "#/definitions/__schema15"
                },
                "frDailyWorkLimitMinutes": {
                  "$ref": "#/definitions/__schema16"
                },
                "frAvgWeeklyLimitMinutes": {
                  "$ref": "#/definitions/__schema17"
                },
                "frOccasionalAmplitudeMinutes": {
                  "$ref": "#/definitions/__schema18"
                },
                "frOtReferencePeriod": {
                  "$ref": "#/definitions/__schema19"
                },
                "frRcoDeadlineMonths": {
                  "$ref": "#/definitions/__schema20"
                }
              },
              "required": [
                "companyCard",
                "name",
                "mode",
                "absenceMode"
              ],
              "additionalProperties": {
                "$ref": "#/definitions/__schema21"
              },
              "description": "Rules of the new version. The `fr…` fields are *coming in Release Beta II*: values of a French collective\nagreement (accord de branche or company agreement), allowed only for companies established in France; otherwise\nthe request fails with `French values (...) are only allowed for companies established in France`. Leave a\nfield out to use the statutory value.\n"
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13
            },
            "__schema1": {
              "type": "string",
              "description": "Name of the agreement."
            },
            "__schema2": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Start date of the version, also in the past. Default today."
            },
            "__schema3": {
              "type": "string",
              "description": "Free text; empty string if there are no notes."
            },
            "__schema4": {
              "type": "string",
              "enum": [
                "ROLLING",
                "FIXED"
              ]
            },
            "__schema5": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Length of the reference period in weeks: 4 to 52 for `ROLLING`, 13 to 52 for `FIXED` with one start date."
            },
            "__schema6": {
              "type": "integer",
              "minimum": 1,
              "maximum": 12,
              "description": "`FIXED` with one start date: month of the start date."
            },
            "__schema7": {
              "type": "integer",
              "minimum": 1,
              "maximum": 31,
              "description": "`FIXED` with one start date: day of the start date."
            },
            "__schema8": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema9"
              },
              "description": "`FIXED` with several start dates: start dates in the year."
            },
            "__schema9": {
              "type": "object",
              "properties": {
                "month": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 12
                },
                "day": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 31
                }
              },
              "required": [
                "month",
                "day"
              ],
              "additionalProperties": {}
            },
            "__schema10": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema11"
              },
              "description": "Length in weeks of each period of `fixedAnchors`, same number of entries."
            },
            "__schema11": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "__schema12": {
              "type": "string",
              "enum": [
                "COUNT_AS_8H",
                "NEUTRALIZE"
              ]
            },
            "__schema13": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Together with `fullWeekMinutes`: a single week with at least this number of working days and this working time is an infringement of its own. Set both or none."
            },
            "__schema14": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Working time of a full week in minutes. Set together with `fullWeekDaysThreshold`."
            },
            "__schema15": {
              "type": "integer",
              "minimum": 600,
              "maximum": 900,
              "description": "Maximum daily working time in minutes when night work is done."
            },
            "__schema16": {
              "type": "integer",
              "minimum": 600,
              "maximum": 720,
              "description": "*Coming in Release Beta II.* Daily working time limit (Art. D3312-6 Code des transports: 10 h, an agreement may allow up to 12 h)."
            },
            "__schema17": {
              "type": "integer",
              "minimum": 2640,
              "maximum": 2760,
              "description": "*Coming in Release Beta II.* Average weekly working time over 12 weeks (Art. L3121-23 Code du travail: 44 h, an agreement up to 46 h)."
            },
            "__schema18": {
              "type": "integer",
              "minimum": 600,
              "maximum": 840,
              "description": "*Coming in Release Beta II.* Amplitude of occasional passenger services (Art. R3312-28 Code des transports: 14 h, an agreement may set a lower value)."
            },
            "__schema19": {
              "type": "string",
              "enum": [
                "WEEK",
                "MONTH",
                "QUARTER",
                "FOUR_MONTHS"
              ]
            },
            "__schema20": {
              "type": "integer",
              "minimum": 3,
              "maximum": 6,
              "description": "*Coming in Release Beta II.* Months to take the compulsory compensatory rest after the right opens (Art. R3312-48: 3, R3312-49: 4, an agreement up to 6). With `FOUR_MONTHS` at least 4."
            },
            "__schema21": {}
          }
        }
      },
      "get_activities_and_events_log": {
        "name": "get_activities_and_events_log",
        "description": "Get activities and events log",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "driverCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 16,
              "description": "Driver identification, exactly as stored on the card: the card number without the consecutive, replacement\nand renewal index (13 characters, for example `1000000123456`). Combine it with exactly one subject: **one of**\n`driverCard`, `vin`, `vrn`.\n"
            },
            "vin": {
              "type": "string",
              "maxLength": 17,
              "description": "Vehicle identification number (17 characters). **One of** `driverCard`, `vin`, `vrn`."
            },
            "vrn": {
              "type": "string",
              "maxLength": 14,
              "description": "Vehicle registration number as recorded by the tachograph. **One of** `driverCard`, `vin`, `vrn`."
            },
            "infringementTimeFrom": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Lower bound (inclusive) of the entry timestamp. The name is kept for compatibility. ISO 8601 with offset (for example `2022-11-01T00:00:00Z`); a date (`2022-11-01`) or a time without offset is read as UTC."
            },
            "infringementTimeTo": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Upper bound (inclusive) of the entry timestamp. Same format as `infringementTimeFrom`."
            },
            "manualEntriesOnly": {
              "default": false,
              "description": "`true` returns only manual entries (`manual_at_dtco_entry` or `manual_at_fms_entry`). Use it for the control evidence of manual entries. `true` or `false`; other values are rejected with `400`.",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            },
            "sort": {
              "type": "string",
              "const": "timestamp",
              "description": "Only `timestamp`. Another value is ignored without an error."
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema3"
                }
              ]
            }
          },
          "definitions": {
            "__schema0": {
              "type": "boolean"
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema2": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema3": {
              "type": "boolean"
            }
          }
        }
      },
      "get_daily_periods": {
        "name": "get_daily_periods",
        "description": "Get daily periods",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "driverCard": {
              "type": "string",
              "maxLength": 16,
              "description": "Driver identification (see `DriverCard`)."
            },
            "infringementTimeFrom": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "First day (ISO date `YYYY-MM-DD`). Default: first day with data of the driver."
            },
            "infringementTimeTo": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Last day (ISO date `YYYY-MM-DD`). Must not be before `infringementTimeFrom`. Default: last day with data of the driver."
            },
            "page": {
              "default": 1,
              "description": "Page (quarter of 92 days), 1-based like the other lists. Default: 1.",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            }
          },
          "required": [
            "driverCard"
          ],
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            }
          }
        }
      },
      "delete_files": {
        "name": "delete_files",
        "description": "Delete files",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "fileIds": {
                  "$ref": "#/definitions/__schema0"
                },
                "fileNames": {
                  "$ref": "#/definitions/__schema2"
                },
                "driverCards": {
                  "$ref": "#/definitions/__schema4"
                },
                "companyCards": {
                  "$ref": "#/definitions/__schema6"
                },
                "from": {
                  "$ref": "#/definitions/__schema8"
                },
                "to": {
                  "$ref": "#/definitions/__schema9"
                }
              },
              "additionalProperties": {
                "$ref": "#/definitions/__schema10"
              },
              "description": "Selection of archived files for download and delete. Exactly one of `fileIds`, `fileNames`, `driverCards` or `companyCards`."
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "minItems": 1,
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema1"
              },
              "description": "File ids. Unknown ids are ignored."
            },
            "__schema1": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "__schema2": {
              "minItems": 1,
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema3"
              },
              "description": "File names, upper and lower case ignored; `*` stands for any characters, `?` for one character."
            },
            "__schema3": {
              "type": "string",
              "maxLength": 255
            },
            "__schema4": {
              "minItems": 1,
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema5"
              },
              "description": "Static 13 characters of the driver card number. Selects the driver card files of these drivers."
            },
            "__schema5": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13
            },
            "__schema6": {
              "minItems": 1,
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema7"
              },
              "description": "Static 13 characters of the company card number. Selects the vehicle unit files whose most recent company lock belongs to one of these companies."
            },
            "__schema7": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13
            },
            "__schema8": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Only files whose recorded data starts at or after this time. Only with `driverCards` or `companyCards`."
            },
            "__schema9": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Only files whose recorded data ends at or before this time. Only with `driverCards` or `companyCards`."
            },
            "__schema10": {}
          }
        }
      },
      "download_files": {
        "name": "download_files",
        "description": "Download files",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "fileIds": {
                  "$ref": "#/definitions/__schema0"
                },
                "fileNames": {
                  "$ref": "#/definitions/__schema2"
                },
                "driverCards": {
                  "$ref": "#/definitions/__schema4"
                },
                "companyCards": {
                  "$ref": "#/definitions/__schema6"
                },
                "from": {
                  "$ref": "#/definitions/__schema8"
                },
                "to": {
                  "$ref": "#/definitions/__schema9"
                }
              },
              "additionalProperties": {
                "$ref": "#/definitions/__schema10"
              },
              "description": "Selection of archived files for download and delete. Exactly one of `fileIds`, `fileNames`, `driverCards` or `companyCards`."
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "minItems": 1,
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema1"
              },
              "description": "File ids. Unknown ids are ignored."
            },
            "__schema1": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "__schema2": {
              "minItems": 1,
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema3"
              },
              "description": "File names, upper and lower case ignored; `*` stands for any characters, `?` for one character."
            },
            "__schema3": {
              "type": "string",
              "maxLength": 255
            },
            "__schema4": {
              "minItems": 1,
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema5"
              },
              "description": "Static 13 characters of the driver card number. Selects the driver card files of these drivers."
            },
            "__schema5": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13
            },
            "__schema6": {
              "minItems": 1,
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema7"
              },
              "description": "Static 13 characters of the company card number. Selects the vehicle unit files whose most recent company lock belongs to one of these companies."
            },
            "__schema7": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13
            },
            "__schema8": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Only files whose recorded data starts at or after this time. Only with `driverCards` or `companyCards`."
            },
            "__schema9": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Only files whose recorded data ends at or before this time. Only with `driverCards` or `companyCards`."
            },
            "__schema10": {}
          }
        }
      },
      "get_download_status": {
        "name": "get_download_status",
        "description": "Get download status",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "jobId": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
              "description": "The `jobId` from the start of the download."
            }
          },
          "required": [
            "jobId"
          ]
        }
      },
      "get_file_expiration": {
        "name": "get_file_expiration",
        "description": "Get file expiration",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {}
        }
      },
      "change_file_expiration": {
        "name": "change_file_expiration",
        "description": "Change file expiration",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "retentionDays": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 3650,
                  "example": 730
                }
              },
              "required": [
                "retentionDays"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "upload_file": {
        "name": "upload_file",
        "description": "Upload file",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "X-File-Name": {
              "type": "string",
              "example": "C_20261001_1200_D_Mustermann.ddd",
              "description": "File name of the `.ddd` file, for example `C_20261001_1200_D_Mustermann.ddd`. Names with characters outside ASCII are sent percent-encoded as UTF-8, for example `M%C3%BCller.ddd`."
            }
          },
          "required": [
            "X-File-Name"
          ]
        }
      },
      "get_file_status": {
        "name": "get_file_status",
        "description": "Get file status",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991,
              "description": "Numeric `id` returned by the upload."
            }
          },
          "required": [
            "id"
          ]
        }
      },
      "download_a_file": {
        "name": "download_a_file",
        "description": "Download a file",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991,
              "description": "Numeric `id` returned by the upload."
            }
          },
          "required": [
            "id"
          ]
        }
      },
      "health_check": {
        "name": "health_check",
        "description": "Health check",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {}
        }
      },
      "change_filter": {
        "name": "change_filter",
        "description": "Change filter",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "webhookId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "description": "From subscribe or the list of subscriptions."
                },
                "filterPolicy": {
                  "type": "object",
                  "properties": {
                    "infringement_code": {
                      "$ref": "#/definitions/__schema0"
                    },
                    "review_status": {
                      "$ref": "#/definitions/__schema2"
                    },
                    "notification_reason": {
                      "$ref": "#/definitions/__schema4"
                    },
                    "vin": {
                      "$ref": "#/definitions/__schema6"
                    },
                    "vrn": {
                      "$ref": "#/definitions/__schema8"
                    },
                    "driver_card": {
                      "$ref": "#/definitions/__schema10"
                    }
                  },
                  "additionalProperties": false,
                  "description": "Up to 5 keys, each with a list of values. Inside one list any value matches (OR); all keys must match (AND).\nValues match exactly and case-sensitive. A notification without the value, for example `driver_card` of a\nvehicle infringement, does not match a filter on that key. At most 150 value combinations (number of values\nper key multiplied), values at most 256 characters, the whole filter at most 256 KB.\n\nWildcard `*`, only in `infringement_code`: any characters, also none, anywhere and several times (at most 5\nper value). Every other character, also `[ ] ( ) . #`, is literal. A value made only of `*` is rejected:\nomit the filter to receive everything.\n"
                }
              },
              "required": [
                "webhookId",
                "filterPolicy"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema1"
              },
              "description": "Infringement codes, see `GET /api/v1/infringements/descriptions`. Wildcard `*` allowed, for example `Reg. (EC) 561/2006*` or `*[SUS]`."
            },
            "__schema1": {
              "type": "string",
              "maxLength": 256
            },
            "__schema2": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema3"
              },
              "description": "Exact spelling. Another value is rejected with `400`."
            },
            "__schema3": {
              "type": "string",
              "enum": [
                "PENDING",
                "ACCEPTED",
                "REJECTED"
              ]
            },
            "__schema4": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema5"
              },
              "description": "Exact spelling. Another value is rejected with `400`."
            },
            "__schema5": {
              "type": "string",
              "enum": [
                "NEW",
                "STATUS_CHANGED",
                "DROPPED"
              ]
            },
            "__schema6": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema7"
              },
              "description": "Vehicle identification numbers."
            },
            "__schema7": {
              "type": "string",
              "maxLength": 256
            },
            "__schema8": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema9"
              },
              "description": "Vehicle registration numbers."
            },
            "__schema9": {
              "type": "string",
              "maxLength": 256
            },
            "__schema10": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema11"
              },
              "description": "Static 13-character driver identifications."
            },
            "__schema11": {
              "type": "string",
              "maxLength": 256
            }
          }
        }
      },
      "subscribe": {
        "name": "subscribe",
        "description": "Subscribe",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "protocol": {
                  "type": "string",
                  "const": "https"
                },
                "endpoint": {
                  "type": "string",
                  "maxLength": 2048,
                  "pattern": "^https:\\/\\/",
                  "example": "https://fms.example.com/hooks/tachron"
                },
                "filterPolicy": {
                  "type": "object",
                  "properties": {
                    "infringement_code": {
                      "$ref": "#/definitions/__schema0"
                    },
                    "review_status": {
                      "$ref": "#/definitions/__schema2"
                    },
                    "notification_reason": {
                      "$ref": "#/definitions/__schema4"
                    },
                    "vin": {
                      "$ref": "#/definitions/__schema6"
                    },
                    "vrn": {
                      "$ref": "#/definitions/__schema8"
                    },
                    "driver_card": {
                      "$ref": "#/definitions/__schema10"
                    }
                  },
                  "additionalProperties": false,
                  "description": "Up to 5 keys, each with a list of values. Inside one list any value matches (OR); all keys must match (AND).\nValues match exactly and case-sensitive. A notification without the value, for example `driver_card` of a\nvehicle infringement, does not match a filter on that key. At most 150 value combinations (number of values\nper key multiplied), values at most 256 characters, the whole filter at most 256 KB.\n\nWildcard `*`, only in `infringement_code`: any characters, also none, anywhere and several times (at most 5\nper value). Every other character, also `[ ] ( ) . #`, is literal. A value made only of `*` is rejected:\nomit the filter to receive everything.\n"
                },
                "auth": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "$ref": "#/definitions/__schema12"
                    },
                    "username": {
                      "$ref": "#/definitions/__schema13"
                    },
                    "password": {
                      "$ref": "#/definitions/__schema14"
                    }
                  },
                  "required": [
                    "type",
                    "username",
                    "password"
                  ],
                  "additionalProperties": false,
                  "description": "HTTP Basic login that TACHRON sends to your webhook. Stored encrypted, never returned."
                }
              },
              "required": [
                "protocol",
                "endpoint"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema1"
              },
              "description": "Infringement codes, see `GET /api/v1/infringements/descriptions`. Wildcard `*` allowed, for example `Reg. (EC) 561/2006*` or `*[SUS]`."
            },
            "__schema1": {
              "type": "string",
              "maxLength": 256
            },
            "__schema2": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema3"
              },
              "description": "Exact spelling. Another value is rejected with `400`."
            },
            "__schema3": {
              "type": "string",
              "enum": [
                "PENDING",
                "ACCEPTED",
                "REJECTED"
              ]
            },
            "__schema4": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema5"
              },
              "description": "Exact spelling. Another value is rejected with `400`."
            },
            "__schema5": {
              "type": "string",
              "enum": [
                "NEW",
                "STATUS_CHANGED",
                "DROPPED"
              ]
            },
            "__schema6": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema7"
              },
              "description": "Vehicle identification numbers."
            },
            "__schema7": {
              "type": "string",
              "maxLength": 256
            },
            "__schema8": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema9"
              },
              "description": "Vehicle registration numbers."
            },
            "__schema9": {
              "type": "string",
              "maxLength": 256
            },
            "__schema10": {
              "minItems": 1,
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema11"
              },
              "description": "Static 13-character driver identifications."
            },
            "__schema11": {
              "type": "string",
              "maxLength": 256
            },
            "__schema12": {
              "type": "string",
              "const": "basic"
            },
            "__schema13": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "description": "No `:` and no control characters."
            },
            "__schema14": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256,
              "description": "No control characters."
            }
          }
        }
      },
      "list_subscriptions": {
        "name": "list_subscriptions",
        "description": "List subscriptions",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {}
        }
      },
      "unsubscribe": {
        "name": "unsubscribe",
        "description": "Unsubscribe",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "webhookId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "description": "From subscribe or the list of subscriptions."
                }
              },
              "required": [
                "webhookId"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "list_infringements": {
        "name": "list_infringements",
        "description": "List infringements",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "driverCard": {
              "type": "string",
              "maxLength": 16,
              "description": "Optional filter. Driver identification (13 characters without the card indexes, for example `1000000123456`), exact match in upper case. Spaces before or after the number are ignored. A number of a different length returns an empty list."
            },
            "vin": {
              "type": "string",
              "maxLength": 17,
              "description": "Optional filter. Vehicle identification number (17 characters), exact match including upper and lower case."
            },
            "vrn": {
              "type": "string",
              "maxLength": 14,
              "description": "Optional filter. Vehicle registration number exactly as recorded by the tachograph, including spaces and upper and lower case (for example `BGL FG 200`)."
            },
            "type": {
              "type": "string",
              "enum": [
                "DRIVER",
                "VEHICLE"
              ],
              "description": "Restricts the result to driver-related or vehicle-related infringements. Not case-sensitive (`vehicle` = `VEHICLE`). Vehicle-related infringements have no driver card, so `type=VEHICLE` together with `driverCard` returns nothing."
            },
            "infringementCode": {
              "type": "string",
              "description": "Infringement code (see `GET /api/v1/infringements/descriptions`), not case-sensitive. *Wildcard*: `*` or `%` for any characters, `?` or `_` for one character, for example `*[SUS]` or `Reg. (EC) 561/2006 8.*`. URL-encode the value (space `%20`, `#` `%23`, `[` `%5B`, `]` `%5D`)."
            },
            "infringementTimeFrom": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Lower bound (inclusive) of the infringement timestamp. ISO-8601 with offset (for example `2024-01-01T00:00:00Z`) or a date (`2024-01-01`, midnight UTC). URL-encode a `+` in the offset as `%2B`."
            },
            "infringementTimeTo": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Upper bound (inclusive) of the infringement timestamp, same format as `infringementTimeFrom`."
            },
            "confirmationOnly": {
              "default": false,
              "description": "`true` returns only infringements with a confirmed exception (confirmation type other than `GENERIC`, status\n`ACCEPTED`). These are the entries a control officer wants to see as justification (legal driving letter).\n`true` or `false` (any case); any other value is rejected with `400`.\n",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            },
            "sort": {
              "type": "string",
              "enum": [
                "infringement_timestamp",
                "infringement_code",
                "review_status"
              ]
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema3"
                }
              ]
            },
            "language": {
              "type": "string",
              "maxLength": 10,
              "example": "de",
              "description": "Release Beta II. Language of the texts in the answer, ISO 639-1 code, not case-sensitive; a region is ignored\n(`de-AT` = `de`), `no` = `nb`. Without it, or with `en`, all texts are English. Every text without a translation\nis returned in English. Codes, enums and option `id` values are never translated, nor are the official texts\n(legal basis, `fine_text`, `fine_description`, `fine_description_short`). Dates and decimal numbers inside the\ntexts are written in the format of the language. Translated fields:\n[Infringements](/use-cases/beta-ii/infringements-languages#translated-fields). A value that is not a language code\nis rejected with `400` (`Invalid language …`).\n"
            }
          },
          "definitions": {
            "__schema0": {
              "type": "boolean"
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema2": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema3": {
              "type": "boolean"
            }
          }
        }
      },
      "list_infringement_descriptions": {
        "name": "list_infringement_descriptions",
        "description": "List infringement descriptions",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "infringementCode": {
              "type": "string",
              "description": "Exact code including upper and lower case, no wildcard. Omit it to page through the full catalogue."
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "sort": {
              "type": "string",
              "const": "infringement_code",
              "description": "Only `infringement_code`; other values are rejected with `400`."
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            },
            "language": {
              "type": "string",
              "maxLength": 10,
              "example": "de",
              "description": "Release Beta II. Language of the texts in the answer, ISO 639-1 code, not case-sensitive; a region is ignored\n(`de-AT` = `de`), `no` = `nb`. Without it, or with `en`, all texts are English. Every text without a translation\nis returned in English. Codes, enums and option `id` values are never translated, nor are the official texts\n(legal basis, `fine_text`, `fine_description`, `fine_description_short`). Dates and decimal numbers inside the\ntexts are written in the format of the language. Translated fields:\n[Infringements](/use-cases/beta-ii/infringements-languages#translated-fields). A value that is not a language code\nis rejected with `400` (`Invalid language …`).\n"
            }
          },
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema2": {
              "type": "boolean"
            }
          }
        }
      },
      "get_infringement_details": {
        "name": "get_infringement_details",
        "description": "Get infringement details",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "driverCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 16,
              "description": "Driver identification, exactly as stored on the card: the card number without the consecutive, replacement\nand renewal index (13 characters, for example `1000000123456`). Combine it with exactly one subject: **one of**\n`driverCard`, `vin`, `vrn`.\n"
            },
            "vin": {
              "type": "string",
              "maxLength": 17,
              "description": "Vehicle identification number (17 characters). **One of** `driverCard`, `vin`, `vrn`."
            },
            "vrn": {
              "type": "string",
              "maxLength": 14,
              "description": "Vehicle registration number as recorded by the tachograph. **One of** `driverCard`, `vin`, `vrn`."
            },
            "infringementCode": {
              "type": "string",
              "description": "Exact `infringement_code` from the overview, including upper and lower case, no wildcard."
            },
            "infringementTime": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Exact `infringement_timestamp` from the overview, ISO-8601 with offset, for example `2026-09-14T03:15:00Z`. Any offset of the same instant matches (`2026-09-14T05:15:00%2B02:00`); URL-encode a `+` as `%2B`. A date or a time without offset is rejected with `400`."
            },
            "type": {
              "type": "string",
              "enum": [
                "DRIVER",
                "VEHICLE"
              ]
            },
            "language": {
              "type": "string",
              "maxLength": 10,
              "example": "de",
              "description": "Release Beta II. Language of the texts in the answer, ISO 639-1 code, not case-sensitive; a region is ignored\n(`de-AT` = `de`), `no` = `nb`. Without it, or with `en`, all texts are English. Every text without a translation\nis returned in English. Codes, enums and option `id` values are never translated, nor are the official texts\n(legal basis, `fine_text`, `fine_description`, `fine_description_short`). Dates and decimal numbers inside the\ntexts are written in the format of the language. Translated fields:\n[Infringements](/use-cases/beta-ii/infringements-languages#translated-fields). A value that is not a language code\nis rejected with `400` (`Invalid language …`).\n"
            }
          },
          "required": [
            "infringementCode",
            "infringementTime"
          ]
        }
      },
      "submit_answer": {
        "name": "submit_answer",
        "description": "Submit answer",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "driverCard": {
                  "$ref": "#/definitions/__schema0"
                },
                "vin": {
                  "$ref": "#/definitions/__schema1"
                },
                "vrn": {
                  "$ref": "#/definitions/__schema2"
                },
                "infringementCode": {
                  "$ref": "#/definitions/__schema3"
                },
                "infringementTime": {
                  "$ref": "#/definitions/__schema4"
                },
                "action": {
                  "$ref": "#/definitions/__schema5"
                },
                "selection": {
                  "$ref": "#/definitions/__schema6"
                },
                "responseText": {
                  "$ref": "#/definitions/__schema8"
                }
              },
              "required": [
                "infringementCode",
                "infringementTime",
                "action",
                "responseText"
              ],
              "additionalProperties": {
                "$ref": "#/definitions/__schema9"
              },
              "description": "Exactly one of `driverCard`, `vin`, `vrn`."
            }
          },
          "required": [
            "body"
          ],
          "definitions": {
            "__schema0": {
              "type": "string",
              "maxLength": 16
            },
            "__schema1": {
              "type": "string",
              "maxLength": 17
            },
            "__schema2": {
              "type": "string",
              "maxLength": 14
            },
            "__schema3": {
              "type": "string"
            },
            "__schema4": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
            },
            "__schema5": {
              "type": "string",
              "enum": [
                "ACCEPT",
                "REJECT"
              ]
            },
            "__schema6": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/__schema7"
              },
              "description": "Only for `ACCEPT`. One entry per answered field of `confirmation_options`, order does not matter:\n- `choice`: the option `id` (string, for example `\"1.2\"`), not `value` or `label`.\n- `date`: `\"<field id>:YYYY-MM-DD\"` (ISO 8601, independent of the language of the user), for example `\"2:2024-03-15\"`.\n- `year`: `\"<field id>:YYYY\"`, for example `\"2:2026\"`.\nLeave out fields whose `depends_on` is not met.\n"
            },
            "__schema7": {
              "type": "string"
            },
            "__schema8": {
              "type": "string",
              "maxLength": 2000,
              "description": "Free-text comment of the driver, stored as `review_note`. Required; send `\"\"` if there is no comment."
            },
            "__schema9": {}
          }
        }
      },
      "list_companies": {
        "name": "list_companies",
        "description": "List companies",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "description": "Company name. *Wildcard* filter, case-insensitive."
            },
            "cardNumber": {
              "type": "string",
              "maxLength": 16,
              "description": "Company card number. Exact match, or *wildcard*."
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "sort": {
              "type": "string",
              "enum": [
                "name",
                "country",
                "first_lock_use",
                "last_lock_use"
              ]
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            }
          },
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema2": {
              "type": "boolean"
            }
          }
        }
      },
      "list_drivers_2": {
        "name": "list_drivers_2",
        "description": "List drivers",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "cardHolderName": {
              "type": "string",
              "description": "\"First Last\" as on the card. Exact match, or *wildcard* (for example `*Muster*`)."
            },
            "cardOwnerNumber": {
              "type": "string",
              "maxLength": 16,
              "description": "Driver card number. Exact match, or *wildcard*."
            },
            "drivingLicenseNumber": {
              "type": "string",
              "description": "Driving licence number. *Wildcard* filter."
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "sort": {
              "type": "string",
              "enum": [
                "card_owner_number",
                "card_holder_name",
                "card_holder_birthdate",
                "card_expiry_date",
                "card_count"
              ]
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            }
          },
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema2": {
              "type": "boolean"
            }
          }
        }
      },
      "list_tachographs": {
        "name": "list_tachographs",
        "description": "List tachographs",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "serialNumber": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Vehicle unit serial number. Exact numeric match."
            },
            "vin": {
              "type": "string",
              "maxLength": 17,
              "description": "VIN. Exact match, or *wildcard*."
            },
            "vrn": {
              "type": "string",
              "maxLength": 14,
              "description": "VRN. Exact match, or *wildcard*."
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "sort": {
              "type": "string",
              "enum": [
                "serial_number",
                "manufacturer",
                "manufacturing_date",
                "calibration_time_stamp",
                "next_calibration_date"
              ]
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            }
          },
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema2": {
              "type": "boolean"
            }
          }
        }
      },
      "list_calibration_history": {
        "name": "list_calibration_history",
        "description": "List calibration history",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "serialNumber": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Vehicle unit serial number. Exact numeric match."
            },
            "vin": {
              "type": "string",
              "maxLength": 17,
              "description": "VIN. Exact match, or *wildcard*."
            },
            "vrn": {
              "type": "string",
              "maxLength": 14,
              "description": "VRN. Exact match, or *wildcard*."
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "sort": {
              "type": "string",
              "enum": [
                "serial_number",
                "manufacturer",
                "manufacturing_date",
                "calibration_time_stamp",
                "next_calibration_date"
              ]
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            }
          },
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema2": {
              "type": "boolean"
            }
          }
        }
      },
      "list_vehicles": {
        "name": "list_vehicles",
        "description": "List vehicles",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "vehicleVin": {
              "type": "string",
              "maxLength": 17,
              "description": "VIN (17 characters). Exact match, or *wildcard*."
            },
            "vehicleVrn": {
              "type": "string",
              "maxLength": 14,
              "description": "Vehicle registration number. Exact match, or *wildcard*."
            },
            "vuSerialNumber": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991,
              "description": "Serial number of the vehicle unit. Exact numeric match."
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "sort": {
              "type": "string",
              "enum": [
                "vin",
                "manufacturer",
                "model_year",
                "vrn"
              ]
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            }
          },
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema2": {
              "type": "boolean"
            }
          }
        }
      },
      "list_vehicle_positions": {
        "name": "list_vehicle_positions",
        "description": "List vehicle positions",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "vehicleVin": {
              "type": "string",
              "maxLength": 17,
              "description": "VIN. Exact match, or *wildcard*."
            },
            "vehicleVrn": {
              "type": "string",
              "maxLength": 14,
              "description": "Vehicle registration number. Exact match, or *wildcard*."
            },
            "timestampFrom": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Earliest position time (inclusive), ISO-8601 with offset, for example `2023-04-01T00:00:00Z` (a `+` in an offset must be URL-encoded as `%2B`)."
            },
            "timestampTo": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
              "description": "Latest position time (inclusive), same format as `timestampFrom`."
            },
            "page": {
              "default": 1,
              "description": "1-based page number. `0`, negative values and text are rejected with `400` (`'page' must be a whole number >= 1, got: 0`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema0"
                }
              ]
            },
            "size": {
              "default": 25,
              "description": "Page size. Default 25, maximum 200 (larger values are capped, values ≤ 0 fall back to 25).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema1"
                }
              ]
            },
            "sort": {
              "type": "string",
              "enum": [
                "timestamp",
                "vehicle_vin",
                "vehicle_vrn"
              ]
            },
            "desc": {
              "default": false,
              "description": "`true` = descending order, `false` = ascending. Other values are rejected with `400` (`'desc' must be true or false, got: …`).",
              "allOf": [
                {
                  "$ref": "#/definitions/__schema2"
                }
              ]
            }
          },
          "definitions": {
            "__schema0": {
              "type": "integer",
              "minimum": 1,
              "maximum": 9007199254740991
            },
            "__schema1": {
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            },
            "__schema2": {
              "type": "boolean"
            }
          }
        }
      },
      "list_reports_or_create_a_report_by_link": {
        "name": "list_reports_or_create_a_report_by_link",
        "description": "List reports or create a report by link",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "reportName": {
              "type": "string",
              "description": "Report to create, for example `driver_infringement_debrief`. Without it the list is returned."
            },
            "variant": {
              "default": "default",
              "type": "string"
            },
            "format": {
              "type": "string",
              "enum": [
                "pdf",
                "xml"
              ]
            },
            "card": {
              "type": "string",
              "description": "Required with `reportName`: company card or driver card, as in `POST /api/v1/reports`."
            },
            "from": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
            },
            "to": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
            },
            "language": {
              "type": "string",
              "description": "For example `de` or `de-CH`."
            }
          }
        }
      },
      "create_a_report": {
        "name": "create_a_report",
        "description": "Create a report",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "body": {
              "type": "object",
              "properties": {
                "reportName": {
                  "type": "string",
                  "example": "company_incident_report"
                },
                "variant": {
                  "default": "default",
                  "type": "string",
                  "description": "Variant from `GET /api/v1/reports`. An unknown variant falls back to `default`."
                },
                "format": {
                  "type": "string",
                  "enum": [
                    "pdf",
                    "xml"
                  ]
                },
                "card": {
                  "type": "string",
                  "minLength": 13,
                  "maxLength": 13,
                  "example": "DU00000579229"
                },
                "from": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                  "description": "First day of the period, local date at the company seat. Default `to` minus the default period of the report plus one day."
                },
                "to": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                  "description": "Last day of the period, local date at the company seat. Default today."
                },
                "language": {
                  "type": "string",
                  "example": "de"
                }
              },
              "required": [
                "reportName",
                "card"
              ],
              "additionalProperties": {}
            }
          },
          "required": [
            "body"
          ]
        }
      },
      "test_credentials": {
        "name": "test_credentials",
        "description": "Test credentials",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {}
        }
      },
      "list_training_videos": {
        "name": "list_training_videos",
        "description": "List training videos",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "infringementCode": {
              "type": "string",
              "description": "Full infringement code, exact, or a pattern with `*` for any characters, for example `Reg. (EC) 561/2006 8.*` for all rest-period infringements."
            },
            "language": {
              "type": "string",
              "minLength": 2,
              "maxLength": 2,
              "description": "ISO 639-1 language, for example `de`. Only videos available in this language."
            }
          }
        }
      },
      "open_a_training_video_and_record_the_view": {
        "name": "open_a_training_video_and_record_the_view",
        "description": "Open a training video and record the view",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "type": "object",
          "properties": {
            "infringementCode": {
              "type": "string",
              "description": "Full infringement code, exact (no wildcards), as in `GET /api/v1/training-videos`."
            },
            "driverCard": {
              "type": "string",
              "minLength": 13,
              "maxLength": 13,
              "description": "Static 13-character driver card number."
            },
            "language": {
              "type": "string",
              "minLength": 2,
              "maxLength": 2,
              "description": "ISO 639-1 language. Default the language of the country that issued the driver card. Without a video in this language English is used."
            }
          },
          "required": [
            "infringementCode",
            "driverCard"
          ]
        }
      }
    },
    "resources": [],
    "prompts": []
  }
}