{
  "openapi": "3.1.0",
  "info": {
    "title": "Entur shared mobility router API",
    "description": "This is the API for Entur shared mobility router. It is used to route communication from the shared mobility application to the various transport operators. The application takes incoming messages and converts them to the correct Tomp version for the target trasnport operator before sending them to the correct recipient. The API is designed to be easy to use and understand, with clear documentation and examples. The API is also designed to be secure, with support for OAuth2 authentication and authorization.",
    "termsOfService": "https://developer.entur.no/terms-of-service",
    "contact": {
      "name": "Team Delingsmobilitet"
    },
    "version": "2026.11.0"
  },
  "servers": [
    {
      "url": "https://api.entur.io/shared-mobility-router/v1",
      "description": "Generated server url"
    }
  ],
  "security": [
    {
      "Authorization": []
    }
  ],
  "tags": [
    {
      "name": "TransportOperator"
    },
    {
      "name": "TOMP endpoints 1.6.x",
      "description": "Endpoints for TOMP API version 1.6.x"
    },
    {
      "name": "TOMP endpoints 1.5.0",
      "description": "Endpoints for TOMP API version 1.5.0"
    }
  ],
  "paths": {
    "/tomp/1.6.0/legs/{id}/events": {
      "post": {
        "tags": [
          "TOMP endpoints 1.6.x"
        ],
        "summary": "Alter the state of a leg",
        "description": "This endpoint must be used to alter the state of a leg.<br> Operations:<br> `PREPARE` the TO can send a message \n            |telling the MP that he is preparing the booked leg [To be implemented by the MP] (see (7.2) in the process flow - trip \n            |execution),<br> `ASSIGN_ASSET` can assign an asset to a leg. Can be to assign an asset in case there is still an asset type \n            |assigned [Optionally implementable by the MP]. See (4.7) in the process flow - trip execution<br> `SET_IN_USE` will activate \n            |the leg or resume the leg [TO and MP] (see (4.6) in process flow),<br> `TIME_EXTEND` will be used to request an extension in \n            |time; the end user wants to use the asset longer, the `time` field contains the new end time,<br> `TIME_POSTPONE` will be \n            |used to request a delay in the departure time, the end user wants to depart later, the `time` field contains the new \n            |departure time,<br> `PAUSE` will pause the leg [TO and MP] (see (4.6) in process flow),<br> `OPEN_TRUNK` request the TO to \n            |open up the trunk (of the scooter), e.g. to store the helmet<br> `START_FINISHING` will start the end-of-leg [Optionally \n            |implementable by TO and MP],<br> `FINISH` will end this leg (see (4.6) in process flow) [TO and MP]",
        "operationId": "legsIdEventsPost",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "A list of the languages/localizations the user would like to see the results in. For user privacy and ease of \n                |use on the TO side, this list should be kept as short as possible, ideally just one language tag from the list in \n                |operator/information",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Api",
            "in": "header",
            "description": "API description, can be TOMP or maybe other (specific/derived) API definitions",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Api-Version",
            "in": "header",
            "description": "Version of the API.",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maas-id",
            "in": "header",
            "description": "The ID of the sending maas operator",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "Leg identifier",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressed-to",
            "in": "header",
            "description": "The ID of the maas operator that has to receive this message",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegEventTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "operation successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "204": {
            "description": "Request was successful, no content to return.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. See https://github.com/TOMP-WG/TOMP-API/wiki/Error-handling-in-TOMP for further explanation \n                    |of error code.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "401": {
            "description": "Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". \n                    |That is, the client must authenticate itself to get the requested response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "403": {
            "description": "The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting \n                    |to give proper response. Unlike 401, the client's identity is known to the server.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "404": {
            "description": "The requested resources does not exist or the requester is not authorized to see it or know it exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "503": {
            "description": "In case of temporary malfunctioning, this response can be send (e.g. bluetooth lock jammed). See also \n                    |https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ET-Client-Name"
        },
        {
          "$ref": "#/components/parameters/X-Correlation-Id"
        }
      ]
    },
    "/tomp/1.6.1/legs/{id}/events": {
      "post": {
        "tags": [
          "TOMP endpoints 1.6.x"
        ],
        "summary": "Alter the state of a leg",
        "description": "This endpoint must be used to alter the state of a leg.<br> Operations:<br> `PREPARE` the TO can send a message \n            |telling the MP that he is preparing the booked leg [To be implemented by the MP] (see (7.2) in the process flow - trip \n            |execution),<br> `ASSIGN_ASSET` can assign an asset to a leg. Can be to assign an asset in case there is still an asset type \n            |assigned [Optionally implementable by the MP]. See (4.7) in the process flow - trip execution<br> `SET_IN_USE` will activate \n            |the leg or resume the leg [TO and MP] (see (4.6) in process flow),<br> `TIME_EXTEND` will be used to request an extension in \n            |time; the end user wants to use the asset longer, the `time` field contains the new end time,<br> `TIME_POSTPONE` will be \n            |used to request a delay in the departure time, the end user wants to depart later, the `time` field contains the new \n            |departure time,<br> `PAUSE` will pause the leg [TO and MP] (see (4.6) in process flow),<br> `OPEN_TRUNK` request the TO to \n            |open up the trunk (of the scooter), e.g. to store the helmet<br> `START_FINISHING` will start the end-of-leg [Optionally \n            |implementable by TO and MP],<br> `FINISH` will end this leg (see (4.6) in process flow) [TO and MP]",
        "operationId": "legsIdEventsPost_1",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "A list of the languages/localizations the user would like to see the results in. For user privacy and ease of \n                |use on the TO side, this list should be kept as short as possible, ideally just one language tag from the list in \n                |operator/information",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Api",
            "in": "header",
            "description": "API description, can be TOMP or maybe other (specific/derived) API definitions",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Api-Version",
            "in": "header",
            "description": "Version of the API.",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maas-id",
            "in": "header",
            "description": "The ID of the sending maas operator",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "Leg identifier",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressed-to",
            "in": "header",
            "description": "The ID of the maas operator that has to receive this message",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegEventTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "operation successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "204": {
            "description": "Request was successful, no content to return.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. See https://github.com/TOMP-WG/TOMP-API/wiki/Error-handling-in-TOMP for further explanation \n                    |of error code.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "401": {
            "description": "Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". \n                    |That is, the client must authenticate itself to get the requested response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "403": {
            "description": "The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting \n                    |to give proper response. Unlike 401, the client's identity is known to the server.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "404": {
            "description": "The requested resources does not exist or the requester is not authorized to see it or know it exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "503": {
            "description": "In case of temporary malfunctioning, this response can be send (e.g. bluetooth lock jammed). See also \n                    |https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ET-Client-Name"
        },
        {
          "$ref": "#/components/parameters/X-Correlation-Id"
        }
      ]
    },
    "/tomp/1.5.0/legs/{id}/events": {
      "post": {
        "tags": [
          "TOMP endpoints 1.5.0"
        ],
        "summary": "Alter the state of a leg",
        "description": "This endpoint must be used to alter the state of a leg.<br> Operations:<br> `PREPARE` the TO can send a message \n            |telling the MP that he is preparing the booked leg [To be implemented by the MP] (see (7.2) in the process flow - trip \n            |execution),<br> `ASSIGN_ASSET` can assign an asset to a leg. Can be to assign an asset in case there is still an asset type \n            |assigned [Optionally implementable by the MP]. See (4.7) in the process flow - trip execution<br> `SET_IN_USE` will activate \n            |the leg or resume the leg [TO and MP] (see (4.6) in process flow),<br> `TIME_EXTEND` will be used to request an extension in \n            |time; the end user wants to use the asset longer, the `time` field contains the new end time,<br> `TIME_POSTPONE` will be \n            |used to request a delay in the departure time, the end user wants to depart later, the `time` field contains the new \n            |departure time,<br> `PAUSE` will pause the leg [TO and MP] (see (4.6) in process flow),<br> `OPEN_TRUNK` request the TO to \n            |open up the trunk (of the scooter), e.g. to store the helmet<br> `START_FINISHING` will start the end-of-leg [Optionally \n            |implementable by TO and MP],<br> `FINISH` will end this leg (see (4.6) in process flow) [TO and MP]",
        "operationId": "legsIdEventsPost_2",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "A list of the languages/localizations the user would like to see the results in. For user privacy and ease of \n                |use on the TO side, this list should be kept as short as possible, ideally just one language tag from the list in \n                |operator/information",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Api",
            "in": "header",
            "description": "API description, can be TOMP or maybe other (specific/derived) API definitions",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Api-Version",
            "in": "header",
            "description": "Version of the API.",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maas-id",
            "in": "header",
            "description": "The ID of the sending maas operator",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "Leg identifier",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressed-to",
            "in": "header",
            "description": "The ID of the maas operator that has to receive this message",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegEventTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "operation successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "204": {
            "description": "Request was successful, no content to return.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. See https://github.com/TOMP-WG/TOMP-API/wiki/Error-handling-in-TOMP for further explanation \n                    |of error code.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "401": {
            "description": "Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". \n                    |That is, the client must authenticate itself to get the requested response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "403": {
            "description": "The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting \n                    |to give proper response. Unlike 401, the client's identity is known to the server.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "404": {
            "description": "The requested resources does not exist or the requester is not authorized to see it or know it exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "503": {
            "description": "In case of temporary malfunctioning, this response can be send (e.g. bluetooth lock jammed). See also \n                    |https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ET-Client-Name"
        },
        {
          "$ref": "#/components/parameters/X-Correlation-Id"
        }
      ]
    },
    "/tomp/legs/{id}/events": {
      "post": {
        "tags": [
          "TOMP endpoints 1.5.0"
        ],
        "summary": "Alter the state of a leg",
        "description": "This endpoint must be used to alter the state of a leg.<br> Operations:<br> `PREPARE` the TO can send a message \n            |telling the MP that he is preparing the booked leg [To be implemented by the MP] (see (7.2) in the process flow - trip \n            |execution),<br> `ASSIGN_ASSET` can assign an asset to a leg. Can be to assign an asset in case there is still an asset type \n            |assigned [Optionally implementable by the MP]. See (4.7) in the process flow - trip execution<br> `SET_IN_USE` will activate \n            |the leg or resume the leg [TO and MP] (see (4.6) in process flow),<br> `TIME_EXTEND` will be used to request an extension in \n            |time; the end user wants to use the asset longer, the `time` field contains the new end time,<br> `TIME_POSTPONE` will be \n            |used to request a delay in the departure time, the end user wants to depart later, the `time` field contains the new \n            |departure time,<br> `PAUSE` will pause the leg [TO and MP] (see (4.6) in process flow),<br> `OPEN_TRUNK` request the TO to \n            |open up the trunk (of the scooter), e.g. to store the helmet<br> `START_FINISHING` will start the end-of-leg [Optionally \n            |implementable by TO and MP],<br> `FINISH` will end this leg (see (4.6) in process flow) [TO and MP]",
        "operationId": "legsIdEventsPost_3",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "A list of the languages/localizations the user would like to see the results in. For user privacy and ease of \n                |use on the TO side, this list should be kept as short as possible, ideally just one language tag from the list in \n                |operator/information",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Api",
            "in": "header",
            "description": "API description, can be TOMP or maybe other (specific/derived) API definitions",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Api-Version",
            "in": "header",
            "description": "Version of the API.",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maas-id",
            "in": "header",
            "description": "The ID of the sending maas operator",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "Leg identifier",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressed-to",
            "in": "header",
            "description": "The ID of the maas operator that has to receive this message",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LegEventTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "operation successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "204": {
            "description": "Request was successful, no content to return.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "400": {
            "description": "Bad request. See https://github.com/TOMP-WG/TOMP-API/wiki/Error-handling-in-TOMP for further explanation \n                    |of error code.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "401": {
            "description": "Although the HTTP standard specifies \"unauthorized\", semantically this response means \"unauthenticated\". \n                    |That is, the client must authenticate itself to get the requested response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "403": {
            "description": "The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting \n                    |to give proper response. Unlike 401, the client's identity is known to the server.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorTO"
                }
              }
            }
          },
          "404": {
            "description": "The requested resources does not exist or the requester is not authorized to see it or know it exists.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          },
          "503": {
            "description": "In case of temporary malfunctioning, this response can be send (e.g. bluetooth lock jammed). See also \n                    |https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegTO"
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ET-Client-Name"
        },
        {
          "$ref": "#/components/parameters/X-Correlation-Id"
        }
      ]
    },
    "/tomp/1.6.1/operator/meta": {
      "get": {
        "tags": [
          "TOMP endpoints 1.6.x"
        ],
        "summary": "describes the running implementations",
        "description": "all versions that are implemented on this url, are described in the result of this endpoint. In contains all \n            |versions and per version the endpoints, their status and the supported scenarios.",
        "operationId": "operatorMetaGet",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "A list of the languages/localizations the user would like to see the results in. For user privacy and ease of \n                |use on the TO side, this list should be kept as short as possible, ideally just one language tag from the list in \n                |operator/information",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maas-id",
            "in": "header",
            "description": "The ID of the sending maas operator",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressed-to",
            "in": "header",
            "description": "The ID of the maas operator that has to receive this message",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EndpointImplementationTO"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ET-Client-Name"
        },
        {
          "$ref": "#/components/parameters/X-Correlation-Id"
        }
      ]
    },
    "/tomp/1.6.0/operator/meta": {
      "get": {
        "tags": [
          "TOMP endpoints 1.6.x"
        ],
        "summary": "describes the running implementations",
        "description": "all versions that are implemented on this url, are described in the result of this endpoint. In contains all \n            |versions and per version the endpoints, their status and the supported scenarios.",
        "operationId": "operatorMetaGet_1",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "A list of the languages/localizations the user would like to see the results in. For user privacy and ease of \n                |use on the TO side, this list should be kept as short as possible, ideally just one language tag from the list in \n                |operator/information",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maas-id",
            "in": "header",
            "description": "The ID of the sending maas operator",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressed-to",
            "in": "header",
            "description": "The ID of the maas operator that has to receive this message",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EndpointImplementationTO"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ET-Client-Name"
        },
        {
          "$ref": "#/components/parameters/X-Correlation-Id"
        }
      ]
    },
    "/tomp/1.5.0/operator/meta": {
      "get": {
        "tags": [
          "TOMP endpoints 1.5.0"
        ],
        "summary": "describes the running implementations",
        "description": "all versions that are implemented on this url, are described in the result of this endpoint. In contains all \n            |versions and per version the endpoints, their status and the supported scenarios.",
        "operationId": "operatorMetaGet_2",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "A list of the languages/localizations the user would like to see the results in. For user privacy and ease of \n                |use on the TO side, this list should be kept as short as possible, ideally just one language tag from the list in \n                |operator/information",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maas-id",
            "in": "header",
            "description": "The ID of the sending maas operator",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressed-to",
            "in": "header",
            "description": "The ID of the maas operator that has to receive this message",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EndpointImplementationTO"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ET-Client-Name"
        },
        {
          "$ref": "#/components/parameters/X-Correlation-Id"
        }
      ]
    },
    "/tomp/operator/meta": {
      "get": {
        "tags": [
          "TOMP endpoints 1.5.0"
        ],
        "summary": "describes the running implementations",
        "description": "all versions that are implemented on this url, are described in the result of this endpoint. In contains all \n            |versions and per version the endpoints, their status and the supported scenarios.",
        "operationId": "operatorMetaGet_3",
        "parameters": [
          {
            "name": "Accept-Language",
            "in": "header",
            "description": "A list of the languages/localizations the user would like to see the results in. For user privacy and ease of \n                |use on the TO side, this list should be kept as short as possible, ideally just one language tag from the list in \n                |operator/information",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "maas-id",
            "in": "header",
            "description": "The ID of the sending maas operator",
            "required": true,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addressed-to",
            "in": "header",
            "description": "The ID of the maas operator that has to receive this message",
            "required": false,
            "style": "simple",
            "explode": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EndpointImplementationTO"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      },
      "parameters": [
        {
          "$ref": "#/components/parameters/ET-Client-Name"
        },
        {
          "$ref": "#/components/parameters/X-Correlation-Id"
        }
      ]
    }
  },
  "components": {
    "schemas": {
      "AddressTO": {
        "type": "object",
        "properties": {
          "streetAddress": {
            "type": "string",
            "example": "example street 18, 2nd floor, 18-B33"
          },
          "areaReference": {
            "type": "string",
            "description": "city or town, principal subdivision such as province, state or county, could match Content-Language",
            "example": "Smallcity, Pinetree county"
          },
          "street": {
            "type": [
              "string",
              "null"
            ],
            "description": "street, consistent with streetAddress",
            "example": "null"
          },
          "houseNumber": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "house number, consistent with streetAddress",
            "example": null
          },
          "houseNumberAddition": {
            "type": [
              "string",
              "null"
            ],
            "description": "the additional part of the house number (f.x. 13bis, where 'bis' is the additional part), consistent with streetAddress",
            "example": "null"
          },
          "addressAdditionalInfo": {
            "type": [
              "string",
              "null"
            ],
            "description": "additional information to find the address (f.x. just around the corner)",
            "example": "null"
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "description": "specified city or town, consistent with areaReference",
            "example": "null"
          },
          "province": {
            "type": [
              "string",
              "null"
            ],
            "description": "province or region, consistent with areaReference",
            "example": "null"
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "state, consistent with areaReference",
            "example": "null"
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "example": "null"
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "two-letter country codes according to ISO 3166-1",
            "example": "NL"
          }
        },
        "required": [
          "areaReference",
          "streetAddress"
        ]
      },
      "AssetPropertiesEcoLabelInnerTO": {
        "type": "object",
        "properties": {
          "countryCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "two-letter country codes according to ISO 3166-1",
            "example": "NL"
          },
          "ecoSticker": {
            "type": [
              "string",
              "null"
            ],
            "example": "null"
          }
        }
      },
      "AssetPropertiesTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "name of asset (type), required in either assetType or asset, should match Content-Language",
            "example": "null"
          },
          "location": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/PlaceTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "brand": {
            "type": [
              "string",
              "null"
            ],
            "description": "brand of the asset",
            "example": "null"
          },
          "model": {
            "type": [
              "string",
              "null"
            ],
            "example": "null"
          },
          "buildingYear": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "example": null
          },
          "colour": {
            "type": [
              "string",
              "null"
            ],
            "description": "colour of the asset, should match Content-Language",
            "example": "null"
          },
          "maxSpeed": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "the maximum allowed speed for this asset (in km/h)",
            "example": null
          },
          "wheelCount": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "the number of wheels",
            "example": null
          },
          "image": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link to an image of the asset",
            "example": "https://files.fietsersbond.nl/app/uploads/2014/10/30151126/ST2_Men_Side_CityKit-Stromer.jpg"
          },
          "icon": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link to an icon of the asset",
            "example": "null"
          },
          "accessMethods": {
            "type": [
              "array",
              "null"
            ],
            "description": "access method for trip execution. Data will be delivered in the response of /booking/{id}/events - COMMIT or /leg/{id}/events - PREPARE (preferred) or GET /bookings/{id}.",
            "example": "null",
            "items": {
              "type": "string",
              "enum": [
                "DEEPLINK",
                "QR",
                "AZTEC",
                "TOMP-API",
                "AXA-EKEY-OTP",
                "PHYSICAL-KEY",
                "BARCODE",
                "PDF",
                "HTML",
                "OVC",
                "EMV",
                "NONE"
              ]
            }
          },
          "fuel": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "NONE",
              "GASOLINE",
              "DIESEL",
              "ELECTRIC",
              "HYBRID_GASOLINE",
              "HYBRID_DIESEL",
              "HYBRID_GAS",
              "HYDROGEN",
              "GAS",
              "BIO_MASS",
              "KEROSINE",
              "OTHER"
            ],
            "example": "null"
          },
          "propulsion": {
            "type": [
              "string",
              "null"
            ],
            "description": "way in which the asset is powered",
            "enum": [
              "MUSCLE",
              "ELECTRIC",
              "GASOLINE",
              "DIESEL",
              "HYBRID",
              "LPG",
              "HYDROGEN"
            ],
            "example": "null"
          },
          "energyLabel": {
            "type": [
              "string",
              "null"
            ],
            "description": "Energy efficiency",
            "enum": [
              "A",
              "B",
              "C",
              "D",
              "E"
            ],
            "example": "null"
          },
          "ecoLabel": {
            "type": [
              "array",
              "null"
            ],
            "description": "see https://github.com/MobilityData/gbfs/blob/v2.3/gbfs.md",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/AssetPropertiesEcoLabelInnerTO"
            }
          },
          "co2PerKm": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "example": null
          },
          "gears": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "number of gears of the asset",
            "example": null
          },
          "gearbox": {
            "type": [
              "string",
              "null"
            ],
            "description": "type of gearbox",
            "enum": [
              "MANUAL",
              "AUTOMATIC",
              "SEMIAUTOMATIC"
            ],
            "example": "null"
          },
          "airConditioning": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "airconditioning available",
            "example": null
          },
          "cabrio": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "cabrio model",
            "example": null
          },
          "towingHook": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "towing hook available",
            "example": null
          },
          "winterTires": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "winter tires applied",
            "example": null
          },
          "nrOfDoors": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "the number of doors of the vehicle. Return only when applicable",
            "example": null
          },
          "nrOfHelmets": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "the number of available helmets. Return only when applicable",
            "example": null
          },
          "navigation": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "navigation available",
            "example": null
          },
          "cruiseControl": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "cruise control available",
            "example": null
          },
          "persons": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "number of persons able to use the asset",
            "example": null
          },
          "infantSeat": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "true indicates infant seat is supplied",
            "example": null
          },
          "pets": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "true indicates pets are allowed on asset",
            "example": null
          },
          "smoking": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "true indicates smoking is allowed on asset",
            "example": null
          },
          "easyAccessibility": {
            "type": [
              "string",
              "null"
            ],
            "description": "describes if asset is or needs to be easily accessible",
            "enum": [
              "LIFT",
              "ESCALATOR",
              "GROUND_LEVEL",
              "SIGHTIMPAIRMENT",
              "HEARINGIMPAIRMENT",
              "WHEELCHAIR"
            ],
            "example": "null"
          },
          "ancillaries": {
            "type": [
              "array",
              "null"
            ],
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/RequirementTO"
            }
          },
          "regionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "the region where this asset or assetType is used.",
            "example": "null"
          },
          "cargo": {
            "type": [
              "string",
              "null"
            ],
            "description": "describes options to carry cargo, should match Content-Language",
            "example": "null"
          },
          "cargoVolume": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "the volume in liters of the cargo",
            "example": null
          },
          "cargoLoad": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "the weight in kilograms of the cargo",
            "example": null
          },
          "travelAbroad": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "true indicates asset is allowed to travel abroad",
            "example": null
          },
          "undergroundParking": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "true indicates underground parking is allowed with asset",
            "example": null
          },
          "helmetRequired": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "is a helmet required to operate this asset",
            "example": null
          },
          "defaultReserveTime": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "Maximum time in minutes that a vehicle can be reserved before a rental begins. When a vehicle is reserved by a user, the vehicle remains locked until the rental begins. During this time the vehicle is unavailable and cannot be reserved or rented by other users. The vehicle status in free_bike_status.json MUST be set to is_reserved = true. If the value of default_reserve_time elapses without a rental beginning, the vehicle status MUST change to is_reserved = false. If default_reserve_time is set to 0, the vehicle type cannot be reserved.",
            "example": null
          },
          "other": {
            "type": [
              "string",
              "null"
            ],
            "description": "free text to describe asset, should match Content-Language",
            "example": "null"
          },
          "meta": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {},
            "description": "this object can contain extra information about the type of asset. For instance values from the 'Woordenboek Reizigerskenmerken'. [https://github.com/efel85/TOMP-API/issues/17]. These values can also be used in the planning.",
            "example": "null"
          }
        }
      },
      "AssetTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier of an asset. Whenever used in Operator Information changed after every trip (GDPR).",
            "example": "null"
          },
          "isReserved": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "true indicates the bike is currently reserved for someone else",
            "example": null
          },
          "isReservedFrom": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "optional addition to determine if an asset is reserved in the future",
            "example": "null"
          },
          "isReservedTo": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "optional addition to determine when asset is available in the future",
            "example": "null"
          },
          "isDisabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "true indicates the asset is currently disabled (broken)",
            "example": null
          },
          "availableUntil": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "The date and time when any rental of the vehicle must be completed. The vehicle must be returned and made available for the next user by this time. If this field is empty, it indicates that the vehicle is available indefinitely. This field SHOULD be published by carsharing or other mobility systems where vehicles can be booked in advance for future travel.",
            "example": "null"
          },
          "rentalUrl": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "deep-linking option from GBFS+. Only added to be consistent with GBFS 2.0",
            "example": "https://www.rentmyfreebike.com/app?sid=1234567890"
          },
          "rentalUrlAndroid": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "deep-linking option from GBFS 2.0. Only added to be consistent with GBFS 2.0",
            "example": "https://www.rentmyfreebike.com/app?sid=1234567890&platform=android"
          },
          "rentalUrlIOS": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "deep-linking option from GBFS 2.0. Only added to be consistent with GBFS 2.0",
            "example": "https://www.rentmyfreebike.com/app?sid=1234567890&platform=ios"
          },
          "mileage": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "description": "the current mileage of the asset",
            "example": null
          },
          "stateOfCharge": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "percentage of charge available",
            "example": null
          },
          "maxRange": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "maximum range in meters",
            "example": null
          },
          "licensePlate": {
            "type": [
              "string",
              "null"
            ],
            "description": "the usage of this field requires a secure environment. When assets are published in available-assets, this field can be used to track assets. Be aware of this.",
            "example": "null"
          },
          "stationId": {
            "type": [
              "string",
              "null"
            ],
            "description": "reference to station_id in /operator/stations, station where it is located",
            "example": "null"
          },
          "homeStationId": {
            "type": [
              "string",
              "null"
            ],
            "description": "reference to station_id in /operator/stations, station where it is assigned to",
            "example": "null"
          },
          "damages": {
            "type": [
              "array",
              "null"
            ],
            "description": "List of known vehicle damages.",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/DamageTO"
            }
          },
          "overriddenProperties": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AssetPropertiesTO"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id"
        ]
      },
      "AssetTypeTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of an asset type,",
            "example": "null"
          },
          "stationId": {
            "type": [
              "string",
              "null"
            ],
            "description": "If stationId is present, the nrAvailable is expected to find the availability at that particular station",
            "example": "null"
          },
          "nrAvailable": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "example": null
          },
          "assets": {
            "type": [
              "array",
              "null"
            ],
            "description": "use this field only in the map-oriented scenario or in the committed bookings. Don't use it in public data (to prevent GDPR issues).",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/AssetTO"
            }
          },
          "assetClass": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "AIR",
              "BUS",
              "TROLLEYBUS",
              "TRAM",
              "COACH",
              "RAIL",
              "INTERCITYRAIL",
              "URBANRAIL",
              "METRO",
              "WATER",
              "CABLEWAY",
              "FUNICULAR",
              "TAXI",
              "SELFDRIVE",
              "FOOT",
              "BICYCLE",
              "MOTORCYCLE",
              "CAR",
              "SHUTTLE",
              "OTHER",
              "PARKING",
              "MOPED",
              "STEP",
              "FERRY"
            ],
            "example": "null"
          },
          "assetSubClass": {
            "type": [
              "string",
              "null"
            ],
            "description": "a more precise classification of the asset, like 'cargo bike', 'public bus', 'coach bus', 'office bus', 'water taxi',  'segway'. This is mandatory when using 'OTHER' as class.",
            "example": "null"
          },
          "sharedProperties": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AssetPropertiesTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "applicablePricings": {
            "type": [
              "array",
              "null"
            ],
            "description": "pricing plans that can be applicable for this assetType. Business logic to determine the final pricing plan is not exposed. Just call the plannings endpoint (v1.2) or the inquiries endpoint (v.1.3)",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/SystemPricingPlanTO"
            }
          },
          "defaultPricingPlan": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/SystemPricingPlanTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "conditions": {
            "type": [
              "array",
              "null"
            ],
            "description": "extra information about the asset type, making it possible to f.x. specifying that booking this car requires a driver license.",
            "example": "null",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ConditionDepositTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionPayWhenFinishedTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionPostponedCommitTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireBookingDataTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireEvidenceTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireOffboardingStepsTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireOnboardingStepsTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequirePausingStepsTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireResumingStepsTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionReturnAreaTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionUpfrontPaymentTO"
                }
              ]
            }
          }
        },
        "required": [
          "id"
        ]
      },
      "ConditionDepositTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "amount": {
                "type": [
                  "number",
                  "null"
                ],
                "format": "float",
                "description": "This should be in the base unit as defined by the ISO 4217 currency code with the appropriate number of decimal places and omitting the currency symbol. e.g. if the price is in US Dollars the price would be 9.95. This is inclusive VAT",
                "example": 9.95
              },
              "amountExVat": {
                "type": [
                  "number",
                  "null"
                ],
                "format": "float",
                "example": 8.95
              },
              "currencyCode": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "ISO 4217 currency code",
                "example": "null"
              },
              "vatRate": {
                "type": [
                  "number",
                  "null"
                ],
                "format": "float",
                "description": "value added tax rate (percentage of amount)",
                "example": 21
              },
              "vatCountryCode": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "two-letter country codes according to ISO 3166-1",
                "example": "NL"
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ]
      },
      "ConditionPayWhenFinishedTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ]
      },
      "ConditionPostponedCommitTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "ultimateResponseTime": {
                "type": "string",
                "format": "date-time",
                "example": "null"
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ],
        "required": [
          "ultimateResponseTime"
        ]
      },
      "ConditionRequireBookingDataTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "requiredFields": {
                "type": "array",
                "example": "null",
                "items": {
                  "type": "string",
                  "enum": [
                    "FROM_ADDRESS",
                    "TO_ADDRESS",
                    "BIRTHDATE",
                    "EMAIL",
                    "PERSONAL_ADDRESS",
                    "PHONE_NUMBERS",
                    "LICENSES",
                    "BANK_CARDS",
                    "DISCOUNT_CARDS",
                    "TRAVEL_CARDS",
                    "ID_CARDS",
                    "CREDIT_CARDS",
                    "NAME",
                    "AGE",
                    "BLOCKCHAIN_CLAIMS"
                  ]
                }
              },
              "claims": {
                "type": [
                  "array",
                  "null"
                ],
                "description": "when in the 'requiredFields' array 'BLOCKCHAIN_CLAIMS' is specified, in this array claims can be specified. On the WIKI page, the known ones are enlisted, but this list isn't finalized yet. https://github.com/TOMP-WG/TOMP-API/wiki/Blockchain---Verifiable-credentials",
                "example": "null",
                "items": {
                  "type": "string"
                }
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ],
        "required": [
          "requiredFields"
        ]
      },
      "ConditionRequireEvidenceTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "evidenceTypes": {
                "type": "array",
                "example": "null",
                "items": {
                  "type": "string",
                  "enum": [
                    "PARKED",
                    "HELMET_IN_BASKET",
                    "CHARGING"
                  ]
                }
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ],
        "required": [
          "evidenceTypes"
        ]
      },
      "ConditionRequireOffboardingStepsTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "steps": {
                "type": "array",
                "example": "null",
                "items": {
                  "$ref": "#/components/schemas/OffBoardingStepTO"
                }
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ],
        "required": [
          "steps"
        ]
      },
      "ConditionRequireOnboardingStepsTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "steps": {
                "type": "array",
                "example": "null",
                "items": {
                  "$ref": "#/components/schemas/OnBoardingStepTO"
                }
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ],
        "required": [
          "steps"
        ]
      },
      "ConditionRequirePausingStepsTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "steps": {
                "type": "array",
                "example": "null",
                "items": {
                  "$ref": "#/components/schemas/PausingStepTO"
                }
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ],
        "required": [
          "steps"
        ]
      },
      "ConditionRequireResumingStepsTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "steps": {
                "type": "array",
                "example": "null",
                "items": {
                  "$ref": "#/components/schemas/ResumingStepTO"
                }
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ],
        "required": [
          "steps"
        ]
      },
      "ConditionReturnAreaTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "stationId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "station to which the asset should be returned",
                "example": "null"
              },
              "returnArea": {
                "type": [
                  "array",
                  "null"
                ],
                "description": "geojson representation of a polygon. First and last point must be equal. See also https://geojson.org/geojson-spec.html#polygon and example https://geojson.org/geojson-spec.html#id4. The order should be lon, lat [[[lon1, lat1], [lon2,lat2], [lon3,lat3], [lon1,lat1]]], the first point should match the last point.",
                "example": [
                  [
                    [
                      1,
                      1
                    ],
                    [
                      0,
                      1
                    ],
                    [
                      0,
                      0
                    ],
                    [
                      1,
                      0
                    ],
                    [
                      1,
                      1
                    ]
                  ]
                ],
                "items": {
                  "type": "array",
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "format": "float"
                    }
                  }
                }
              },
              "coordinates": {
                "example": "null",
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CoordinatesTO"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "returnHours": {
                "type": [
                  "array",
                  "null"
                ],
                "description": "the return hours of the facility (if different from operating-hours)",
                "example": "null",
                "items": {
                  "$ref": "#/components/schemas/SystemHoursTO"
                }
              },
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ]
      },
      "ConditionTO": {
        "type": "object",
        "discriminator": {
          "propertyName": "conditionType"
        },
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "An identifier for this condition that can be used to refer to this condition",
            "example": "deposit50eu"
          },
          "conditionType": {
            "type": "string"
          }
        },
        "required": [
          "conditionType"
        ]
      },
      "ConditionUpfrontPaymentTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConditionTO"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "An identifier for this condition that can be used to refer to this condition",
                "example": "deposit50eu"
              }
            }
          }
        ]
      },
      "CoordinatesTO": {
        "type": "object",
        "properties": {
          "lng": {
            "type": "number",
            "format": "float",
            "example": 6.169639
          },
          "lat": {
            "type": "number",
            "format": "float",
            "example": 52.253279
          },
          "alt": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "description": "altitude, in meters above sea level",
            "example": null
          }
        },
        "required": [
          "lat",
          "lng"
        ]
      },
      "DamageTO": {
        "type": "object",
        "properties": {
          "vehicleComponent": {
            "type": "string",
            "description": "Part/Component of the vehicle affected. If OTHER is specified the description needs to provide more detail as to what part/component is affected.",
            "enum": [
              "FRONT",
              "REAR",
              "LEFT",
              "RIGHT",
              "TOP",
              "BOTTOM",
              "INTERIOR",
              "TIRE",
              "ANCILLARY",
              "OTHER"
            ],
            "example": "null"
          },
          "description": {
            "type": "string",
            "description": "Description of the damage.",
            "example": "null"
          },
          "pictures": {
            "type": [
              "array",
              "null"
            ],
            "description": "URL where pictures of the damage can be accessed. Any special characters in the URL must be correctly escaped.",
            "example": "null",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "description",
          "vehicleComponent"
        ]
      },
      "FarePartTO": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "format": "float",
            "description": "This should be in the base unit as defined by the ISO 4217 currency code with the appropriate number of decimal places and omitting the currency symbol. e.g. if the price is in US Dollars the price would be 9.95. This is inclusive VAT",
            "example": 9.95
          },
          "amountExVat": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "example": 8.95
          },
          "currencyCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "ISO 4217 currency code",
            "example": "null"
          },
          "vatRate": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "description": "value added tax rate (percentage of amount)",
            "example": 21
          },
          "vatCountryCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "two-letter country codes according to ISO 3166-1",
            "example": "NL"
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "type of fare part. If there is only one farepart and this field is missing, it should be assumed it is 'FIXED'. In all other situations this field is mandatory.",
            "enum": [
              "FIXED",
              "FLEX",
              "MAX"
            ],
            "example": "null"
          },
          "kind": {
            "type": [
              "string",
              "null"
            ],
            "description": "is this the default price or is this an additional part (discount, price surge). In case of a DISCOUNT, the amount must always be negative and in case of SURGE it must be positive. This also means, that when you're working with discounts or surges, you have to deliver 2 fareparts, one for the default price and one for the discount/surge. This can be used in combination with as well the fixed price parts as with the flex price parts.",
            "enum": [
              "DEFAULT",
              "DISCOUNT",
              "SURGE"
            ],
            "example": "null"
          },
          "unitType": {
            "type": [
              "string",
              "null"
            ],
            "description": "in case of 'FLEX' mandatory, otherwise not allowed. E.g. 0.5 EUR per HOUR",
            "enum": [
              "KM",
              "SECOND",
              "MINUTE",
              "HOUR",
              "MILE",
              "PERCENTAGE"
            ],
            "example": "null"
          },
          "units": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "description": "the number of km, seconds etc. Mandatory when the type is 'FLEX', otherwise not allowed. In case of 0.5 EUR per 15 MINUTES, `units` should contain 15 and `unitType` MINUTES.",
            "example": null
          },
          "scaleFrom": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "description": "in case of scaling, this is the bottom value (f.x. in the first hour 3 CAD, the `scaleFrom` should contain 0 and the `scaleType` HOUR). When `scaleTo` is used, but this field is missing, it should be assumed it is a 0.",
            "example": null
          },
          "scaleTo": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "description": "the upper value of the scale (f.x. 3 CAD in the first hour, this field should contain 1, `scaleFrom` 0 and `scaleType` HOUR)",
            "example": null
          },
          "scaleType": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "KM",
              "MILE",
              "HOUR",
              "MINUTE"
            ],
            "example": "null"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "an optional description of this fare part.",
            "example": "null"
          },
          "class": {
            "type": "string",
            "description": "class of this fare part. Could be FARE or ANCILLARY",
            "enum": [
              "FARE",
              "ANCILLARY"
            ],
            "example": "null"
          },
          "minimumAmount": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "description": "The minimum price, in the same currency as amount. Place in `amount` the most likely value.",
            "example": 9
          },
          "maximumAmount": {
            "type": [
              "number",
              "null"
            ],
            "format": "float",
            "description": "The minimum price, in the same currency as amount. Place in `amount` the most likely value.",
            "example": 11
          },
          "assetState": {
            "type": [
              "string",
              "null"
            ],
            "description": "in case the fare is dependent on being in use or being paused, this field must be used. Default IN_USE",
            "enum": [
              "IN_USE",
              "PAUSED"
            ],
            "example": "null"
          },
          "meta": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {},
            "example": "null"
          }
        },
        "required": [
          "amount"
        ]
      },
      "FareTO": {
        "type": "object",
        "properties": {
          "estimated": {
            "type": "boolean",
            "description": "is this fare an estimation?",
            "example": null
          },
          "parts": {
            "type": "array",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/FarePartTO"
            }
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "user friendly description of the fare (e.g. 'full fare'), should match Content-Language",
            "example": "null"
          },
          "class": {
            "type": "string",
            "description": "in the future we'll set up an enumeration of possible \"fare classes\". For now it's free format.",
            "example": "null"
          }
        },
        "required": [
          "estimated",
          "parts"
        ]
      },
      "InformationTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "the type of the information provided",
            "enum": [
              "URL",
              "IMAGE",
              "PLAIN_TEXT",
              "HTML"
            ],
            "example": "null"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "the internet location of the information, used in case or type `URL` or `IMAGE`",
            "example": "null"
          },
          "goal": {
            "type": [
              "string",
              "null"
            ],
            "description": "the purpose of the information",
            "enum": [
              "INSTRUCTIONS",
              "SALES"
            ],
            "example": "null"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "free format text or HTML, depending on the type. Not to use in combination with `URL` or `IMAGE`",
            "example": "null"
          },
          "showTime": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "the moment when the information must be displayed",
            "enum": [
              "PLANNING",
              "COMMITTED_BOOKING",
              "PREPARE",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH"
            ],
            "example": "null"
          }
        }
      },
      "LegTO": {
        "type": "object",
        "properties": {
          "from": {
            "$ref": "#/components/schemas/PlaceTO",
            "example": "null"
          },
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "The unique identifier (TO) of this leg",
            "example": "null"
          },
          "to": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/PlaceTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "departureTime": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "The departure time of this leg. Or, in case of a parking, the start of the usage.",
            "example": "null"
          },
          "arrivalTime": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "The intended arrival time at the to place. Or, in case of a parking, the end of the usage.",
            "example": "null"
          },
          "actualArrivalTime": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "the 'arrivalTime' can be used as 'plannedArrivalTime' whenever the leg has ended. Use this field to ease searching for discrepances between planned and actual arrival times",
            "example": "null"
          },
          "actualDepartureTime": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "the 'departureTime' can be used as 'plannedDepartureTime' whenever the leg has started. Use this field to ease searching for discrepances between planned and actual departure times",
            "example": "null"
          },
          "travelerReferenceNumbers": {
            "type": [
              "array",
              "null"
            ],
            "description": "reference to the travelers field of the request. If missing, it is refering to the first (if any). it is an array to facilitate multiple users on one leg (e.g. using a car). If multiple access informations are needed, please create a leg per used asset.",
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "assetType": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AssetTypeTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "legSequenceNumber": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "The order of the leg in the booking. There can be multiple legs with the same sequence (different user or parallel usage (eg. parking lot and a bike)).",
            "example": null
          },
          "asset": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AssetTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "pricing": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/FareTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "suboperator": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/SuboperatorTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "conditions": {
            "type": [
              "array",
              "null"
            ],
            "description": "The conditions that apply to this leg, there may be more conditions in a parent booking and planning object (if this is returned as part of those)",
            "example": "null",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ConditionDepositTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionPayWhenFinishedTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionPostponedCommitTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireBookingDataTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireEvidenceTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireOffboardingStepsTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireOnboardingStepsTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequirePausingStepsTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionRequireResumingStepsTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionReturnAreaTO"
                },
                {
                  "$ref": "#/components/schemas/ConditionUpfrontPaymentTO"
                }
              ]
            }
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "NOT_STARTED",
              "PREPARING",
              "IN_USE",
              "PAUSED",
              "FINISHING",
              "FINISHED",
              "ISSUE_REPORTED",
              "CANCELLED"
            ],
            "example": "null"
          },
          "departureDelay": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "A duration of some time (relative to a time) in milliseconds",
            "example": 11112
          },
          "arrivalDelay": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "A duration of some time (relative to a time) in milliseconds",
            "example": 11112
          },
          "distance": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "The estimated distance travelled in the leg (in meters)",
            "example": 7250
          },
          "progressGeometry": {
            "type": [
              "array",
              "null"
            ],
            "description": "An array  of WGS84 coordinate pairs",
            "example": [
              [
                6.169639,
                52.253279
              ],
              [
                6.05623,
                52.63473
              ]
            ],
            "items": {
              "type": "array",
              "items": {
                "type": "number",
                "format": "float"
              }
            }
          },
          "ticket": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/TokenTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "assetAccessData": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/TokenTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "allAssetAccessData": {
            "type": [
              "array",
              "null"
            ],
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/TokenTO"
            }
          },
          "userCommunication": {
            "type": [
              "array",
              "null"
            ],
            "description": "Additional information a TO can send to a customer (instructions, sales info, ...)",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/InformationTO"
            }
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "example": "null"
          }
        },
        "required": [
          "from"
        ]
      },
      "OffBoardingStepTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "the type of the information provided",
            "enum": [
              "URL",
              "IMAGE",
              "PLAIN_TEXT",
              "HTML"
            ],
            "example": "null"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "the internet location of the information, used in case or type `URL` or `IMAGE`",
            "example": "null"
          },
          "goal": {
            "type": [
              "string",
              "null"
            ],
            "description": "the purpose of the information",
            "enum": [
              "INSTRUCTIONS",
              "SALES",
              "TERMS_CONDITIONS"
            ],
            "example": "null"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "free format text or HTML, depending on the type. Not to use in combination with `URL` or `IMAGE`",
            "example": "null"
          },
          "showTime": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "the moment when the information must be displayed",
            "enum": [
              "PLANNING",
              "COMMITTED_BOOKING",
              "PREPARE",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH"
            ],
            "example": "null"
          },
          "action": {
            "type": [
              "string",
              "null"
            ],
            "description": "these actions are available<br> `SEND_START_FINISHING` - the TO needs to be informed the leg is about to finish<br> `PARK_ASSIST` - user action to park (stop) using the asset<br> `UNLOCK_LOCKER` - user action, could be triggered by the START_FINISH event<br> `CONNECT_CHARGER` - user action<br> `LOCK_ASSET` - user action, could be triggered by the FINISH event<br> `SEND_OPEN_TRUNK` - the TO opens the trunk remotely <br> `UNLOCK_TRUNK` - user action <br> `STOW_HELMET` - user action <br> `LOCK_TRUNK` - user action <br> `LOCK_LOCKER` - user action <br> `SEND_FINISH` - the TO wants to be informed about the end of the leg<br> `SEND_EVIDENCE_PARKED` - the TO requires parking evidence<br> `SEND_EVIDENCE_HELMET` - the TO requires evidence of storing the helmet<br> `SEND_EVIDENCE_CHARGER` - the TO requires evidence of correct usage of the charger",
            "enum": [
              "SEND_START_FINISHING",
              "PARK_ASSIST",
              "UNLOCK_LOCKER",
              "CONNECT_CHARGER",
              "LOCK_ASSET",
              "SEND_OPEN_TRUNK",
              "UNLOCK_TRUNK",
              "STOW_HELMET",
              "LOCK_TRUNK",
              "LOCK_LOCKER",
              "SEND_FINISH",
              "SEND_EVIDENCE_PARKED",
              "SEND_EVIDENCE_HELMET",
              "SEND_EVIDENCE_CHARGER"
            ],
            "example": "null"
          }
        }
      },
      "OnBoardingStepTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "the type of the information provided",
            "enum": [
              "URL",
              "IMAGE",
              "PLAIN_TEXT",
              "HTML"
            ],
            "example": "null"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "the internet location of the information, used in case or type `URL` or `IMAGE`",
            "example": "null"
          },
          "goal": {
            "type": [
              "string",
              "null"
            ],
            "description": "the purpose of the information",
            "enum": [
              "INSTRUCTIONS",
              "SALES",
              "TERMS_CONDITIONS"
            ],
            "example": "null"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "free format text or HTML, depending on the type. Not to use in combination with `URL` or `IMAGE`",
            "example": "null"
          },
          "showTime": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "the moment when the information must be displayed",
            "enum": [
              "PLANNING",
              "COMMITTED_BOOKING",
              "PREPARE",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH"
            ],
            "example": "null"
          },
          "action": {
            "type": [
              "string",
              "null"
            ],
            "description": "The possible steps are described here<br> `SEND_PREPARE` - indicate the leg is going to start <br> `UNLOCK_LOCKER` - user action - optionally triggered by the PREPARE event<br> `DISCONNECT_CHARGER` - requested user action <br> `SHOW_DAMAGES` - show known damages to end user <br> `UNLOCK_ASSET` - requested user action or triggered by SET_IN_USE event <br> `START_ASSET` - requested user action <br> `SEND_OPEN_TRUNK` - request TO to open trunk/helmet case remotely<br> `UNLOCK_TRUNK` - requested user action <br> `TAKE_HELMET` - requested user action <br> `SEND_SET_IN_USE` - request to start leg <br> `SEND_ASSIGN_ASSET` - request to assign the specified asset to the leg <br> `LOCK_LOCKER` - requested user action",
            "enum": [
              "SEND_PREPARE",
              "UNLOCK_LOCKER",
              "DISCONNECT_CHARGER",
              "SHOW_DAMAGES",
              "UNLOCK_ASSET",
              "START_ASSET",
              "SEND_OPEN_TRUNK",
              "UNLOCK_TRUNK",
              "TAKE_HELMET",
              "SEND_SET_IN_USE",
              "SEND_ASSIGN_ASSET",
              "LOCK_LOCKER"
            ],
            "example": "null"
          }
        }
      },
      "PausingStepTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "the type of the information provided",
            "enum": [
              "URL",
              "IMAGE",
              "PLAIN_TEXT",
              "HTML"
            ],
            "example": "null"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "the internet location of the information, used in case or type `URL` or `IMAGE`",
            "example": "null"
          },
          "goal": {
            "type": [
              "string",
              "null"
            ],
            "description": "the purpose of the information",
            "enum": [
              "INSTRUCTIONS",
              "SALES",
              "TERMS_CONDITIONS"
            ],
            "example": "null"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "free format text or HTML, depending on the type. Not to use in combination with `URL` or `IMAGE`",
            "example": "null"
          },
          "showTime": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "the moment when the information must be displayed",
            "enum": [
              "PLANNING",
              "COMMITTED_BOOKING",
              "PREPARE",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH"
            ],
            "example": "null"
          },
          "action": {
            "type": [
              "string",
              "null"
            ],
            "description": "allowed actions<br> `SEND_PAUSE` - send leg event PAUSE to inform the TO<br> `PARK_ASSIST` - user action, the end user can be informed how and where to park<br> `LOCK_ASSET` - user action, can be triggered by the PAUSE event<br> `SEND_OPEN_TRUNK` - request TO to open the trunk remotely<br> `UNLOCK_TRUNK` - user action<br> `STOW_HELMET` - user action<br> `LOCK_TRUNK` - user action",
            "enum": [
              "SEND_PAUSE",
              "PARK_ASSIST",
              "LOCK_ASSET",
              "SEND_OPEN_TRUNK",
              "UNLOCK_TRUNK",
              "STOW_HELMET",
              "LOCK_TRUNK"
            ],
            "example": "null"
          }
        }
      },
      "PlaceTO": {
        "type": "object",
        "properties": {
          "coordinates": {
            "$ref": "#/components/schemas/CoordinatesTO",
            "example": "null"
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Human readable name of the place, could match Content-Language",
            "example": "null"
          },
          "stopReference": {
            "type": [
              "array",
              "null"
            ],
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/StopReferenceTO"
            }
          },
          "stationId": {
            "type": [
              "string",
              "null"
            ],
            "description": "reference to /operator/stations",
            "example": "null"
          },
          "physicalAddress": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AddressTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "extraInfo": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {},
            "example": "null"
          }
        },
        "required": [
          "coordinates"
        ]
      },
      "RequirementTO": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "references to the first column of the specification initial values [ HR, AV, HV, AB, AER, K, ZR, RR ]",
            "example": "null"
          },
          "number": {
            "type": "string",
            "description": "references to the second column of the specification",
            "example": "null"
          },
          "source": {
            "type": [
              "string",
              "null"
            ],
            "description": "if obsolete, it is referencing the travelers' dictionary (https://github.com/TOMP-WG/TOMP-API/blob/master/documents/CROW%20passenger%20characteristics.xlsx)",
            "example": "null"
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "conditionally extra information, referencing to the 3th column",
            "example": "null"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "extra field for detailed information, not standardized",
            "example": "null"
          },
          "variable-number": {
            "type": "integer",
            "format": "int32",
            "description": "in some requirements there is references to '[variable number]' e.g. of meters (like ZR06)",
            "example": null
          },
          "applicable-days": {
            "type": "array",
            "description": "days of week that are applicable",
            "example": "null",
            "items": {
              "type": "string",
              "enum": [
                "MO",
                "TU",
                "WE",
                "TH",
                "FR",
                "SA",
                "SU"
              ]
            }
          }
        },
        "required": [
          "category",
          "number"
        ]
      },
      "ResumingStepTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "the type of the information provided",
            "enum": [
              "URL",
              "IMAGE",
              "PLAIN_TEXT",
              "HTML"
            ],
            "example": "null"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "the internet location of the information, used in case or type `URL` or `IMAGE`",
            "example": "null"
          },
          "goal": {
            "type": [
              "string",
              "null"
            ],
            "description": "the purpose of the information",
            "enum": [
              "INSTRUCTIONS",
              "SALES",
              "TERMS_CONDITIONS"
            ],
            "example": "null"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "free format text or HTML, depending on the type. Not to use in combination with `URL` or `IMAGE`",
            "example": "null"
          },
          "showTime": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "the moment when the information must be displayed",
            "enum": [
              "PLANNING",
              "COMMITTED_BOOKING",
              "PREPARE",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH"
            ],
            "example": "null"
          },
          "action": {
            "type": [
              "string",
              "null"
            ],
            "description": "possible values<br> `UNLOCK_ASSET` - user action, could be triggered by SET_IN_USE event<br> `SEND_OPEN_TRUNK` - request TO to open trunk remotely<br> `UNLOCK_TRUNK` - user action<br> `TAKE_HELMET` - user action<br> `LOCK_TRUNK` - user action<br> `START_ASSET` - user action<br> `SEND_SET_IN_USE` - the TO wants to be informed that the leg is resumed. Optionally triggers the unlock of the vehicle",
            "enum": [
              "UNLOCK_ASSET",
              "SEND_OPEN_TRUNK",
              "UNLOCK_TRUNK",
              "TAKE_HELMET",
              "LOCK_TRUNK",
              "START_ASSET",
              "SEND_SET_IN_USE"
            ],
            "example": "null"
          }
        }
      },
      "StopReferenceTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "description": "type of external reference (GTFS, CHB).",
            "enum": [
              "GTFS_STOP_ID",
              "GTFS_STOP_CODE",
              "GTFS_AREA_ID",
              "CHB_STOP_PLACE_CODE",
              "CHB_QUAY_CODE",
              "NS_CODE"
            ],
            "example": "null"
          },
          "id": {
            "type": "string",
            "description": "this field should contain the complete ID. E.g. NL:S:13121110 or BE:S:79640040",
            "example": "null"
          },
          "country": {
            "type": "string",
            "description": "two-letter country codes according to ISO 3166-1",
            "example": "NL"
          }
        },
        "required": [
          "country",
          "id",
          "type"
        ]
      },
      "SuboperatorTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the operator, could match Content-Language",
            "example": "null"
          },
          "maasId": {
            "type": [
              "string",
              "null"
            ],
            "description": "the maasId from the operator",
            "example": "null"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "short description of the operator, should match Content-Language",
            "example": "null"
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "description": "contact information, should match Content-Language",
            "example": "null"
          }
        },
        "required": [
          "name"
        ]
      },
      "SystemHoursTO": {
        "type": "object",
        "properties": {
          "startTime": {
            "type": "string",
            "example": "null"
          },
          "endTime": {
            "type": "string",
            "example": "null"
          },
          "days": {
            "type": "array",
            "description": "An array of abbreviations (first 3 letters) of English names of the days of the week that this hour object applies to (i.e. [\"mon\", \"tue\"]). Each day can only appear once within all of the hours objects in this feed.",
            "example": "null",
            "items": {
              "type": "string",
              "enum": [
                "MON",
                "TUE",
                "WED",
                "THU",
                "FRI",
                "SAT",
                "SUN"
              ]
            }
          },
          "userType": {
            "type": [
              "string",
              "null"
            ],
            "description": "This indicates that this set of rental hours applies to either members or non-members only.",
            "enum": [
              "MEMBER",
              "NON_MEMBERS"
            ],
            "example": "MEMBER"
          },
          "stationId": {
            "type": [
              "string",
              "null"
            ],
            "description": "If this parameter is present, it means that startTime and endTime correspond to the opening and closing hours of the station. (GET /operator/stations)",
            "example": "null"
          },
          "regionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "If this parameter is present, it means that startTime and endTime correspond to the opening and closing hours for the region. (GET /operator/regions)",
            "example": "null"
          }
        },
        "required": [
          "days",
          "endTime",
          "startTime"
        ]
      },
      "SystemPricingPlanTO": {
        "type": "object",
        "properties": {
          "planId": {
            "type": "string",
            "description": "a unique identifier for this plan in the system",
            "example": "freeplan1"
          },
          "name": {
            "type": "string",
            "description": "name of this pricing scheme, could match Content-Language",
            "example": "Free Plan"
          },
          "fare": {
            "$ref": "#/components/schemas/FareTO",
            "example": "null"
          },
          "isTaxable": {
            "type": "boolean",
            "description": "false indicates that no additional tax will be added (either because tax is not charged, or because it is included) true indicates that tax will be added to the base price",
            "example": null
          },
          "description": {
            "type": "string",
            "description": "Text field describing the particular pricing plan in human readable terms. This should include the duration, price, conditions, etc. that the publisher would like users to see. This is intended to be a human-readable description and should not be used for automatic calculations, should match Content-Language",
            "example": "Unlimited plan for free bikes, as long as you don't break them!"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "a fully qualified URL where the customer can learn more about this particular scheme",
            "example": "https://www.rentmyfreebike.com/freeplan"
          },
          "stationId": {
            "type": [
              "string",
              "null"
            ],
            "description": "pricing plan for a specific station",
            "example": "null"
          },
          "regionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "pricing plan for a specific region",
            "example": "null"
          },
          "surgePricing": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Is there currently an increase in price in response to increased demand in this pricing plan? If this field is empty, it means there is no surge pricing in effect.",
            "example": null
          }
        },
        "required": [
          "description",
          "fare",
          "isTaxable",
          "name",
          "planId"
        ]
      },
      "TokenDataTO": {
        "discriminator": {
          "propertyName": "tokenType"
        },
        "properties": {
          "tokenType": {
            "type": "string"
          }
        },
        "required": [
          "tokenType"
        ]
      },
      "TokenDeeplinkTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TokenDataTO"
          },
          {
            "type": "object",
            "properties": {
              "url": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "the base deeplink url for the MP app. Can be extended by the 'knownParamaters'. Including the scheme.",
                "example": "mp1.app://something/?auth=sdfkjhrkjsdf003df38=dfsdf"
              },
              "knownParameters": {
                "type": [
                  "array",
                  "null"
                ],
                "example": [
                  "return-url",
                  "error-url",
                  "error-code",
                  "error-description"
                ],
                "items": {
                  "type": "string"
                }
              }
            }
          }
        ]
      },
      "TokenDefaultTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TokenDataTO"
          },
          {
            "type": "object",
            "properties": {
              "url": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "download url for html/pdf",
                "example": "null"
              }
            }
          }
        ]
      },
      "TokenEKeyAllOfEkeyTO": {
        "type": "object",
        "properties": {
          "key": {
            "type": [
              "string",
              "null"
            ],
            "description": "certificate",
            "example": "null"
          },
          "passkey": {
            "type": [
              "string",
              "null"
            ],
            "description": "one time pass key",
            "example": "null"
          }
        }
      },
      "TokenEKeyAllOfLockTO": {
        "type": "object",
        "properties": {
          "bdAddress": {
            "type": [
              "string",
              "null"
            ],
            "description": "physical address",
            "example": "null"
          },
          "deviceName": {
            "type": [
              "string",
              "null"
            ],
            "description": "how it advertises itself",
            "example": "null"
          }
        }
      },
      "TokenEKeyTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TokenDataTO"
          },
          {
            "type": "object",
            "properties": {
              "ekey": {
                "$ref": "#/components/schemas/TokenEKeyAllOfEkeyTO",
                "example": "null"
              },
              "lock": {
                "$ref": "#/components/schemas/TokenEKeyAllOfLockTO",
                "example": "null"
              }
            }
          }
        ],
        "required": [
          "ekey",
          "lock"
        ]
      },
      "TokenQRTO": {
        "allOf": [
          {
            "$ref": "#/components/schemas/TokenDataTO"
          },
          {
            "type": "object",
            "properties": {
              "base64": {
                "type": "string",
                "description": "base 64 QR code",
                "example": "null"
              },
              "version": {
                "type": [
                  "string",
                  "null"
                ],
                "example": "null"
              }
            }
          }
        ],
        "required": [
          "base64"
        ]
      },
      "TokenTO": {
        "type": "object",
        "properties": {
          "validFrom": {
            "type": "string",
            "format": "date-time",
            "example": "null"
          },
          "validUntil": {
            "type": "string",
            "format": "date-time",
            "example": "null"
          },
          "tokenType": {
            "type": "string",
            "description": "The type of data held in this token, will later be an enum",
            "enum": [
              "tokenDefault",
              "tokenDeeplink",
              "tokenEKey",
              "tokenQR"
            ],
            "example": "null"
          },
          "tokenData": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/TokenDeeplinkTO"
              },
              {
                "$ref": "#/components/schemas/TokenDefaultTO"
              },
              {
                "$ref": "#/components/schemas/TokenEKeyTO"
              },
              {
                "$ref": "#/components/schemas/TokenQRTO"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "tokenType",
          "validFrom",
          "validUntil"
        ]
      },
      "ErrorTO": {
        "type": "object",
        "properties": {
          "errorcode": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "The TOMP specific error code. See https://github.com/TOMP-WG/TOMP-API/wiki/Error-handling-in-TOMP for more details of this error.",
            "example": null
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "The category of this type of error.",
            "example": "null"
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "A short, human-readable summary of the problem type.  It SHOULD NOT change from occurrence to occurrence of the problem, except to match Content-Language",
            "example": "null"
          },
          "status": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.",
            "example": null
          },
          "detail": {
            "type": [
              "string",
              "null"
            ],
            "description": "A human-readable explanation specific to this occurrence of the problem, could match Content-Language",
            "example": "null"
          },
          "instance": {
            "type": [
              "string",
              "null"
            ],
            "description": "A URI reference that identifies the specific occurrence of the problem.  It may or may not yield further information if dereferenced.",
            "example": "null"
          }
        }
      },
      "LegEventTO": {
        "type": "object",
        "properties": {
          "time": {
            "type": "string",
            "format": "date-time",
            "example": "null"
          },
          "event": {
            "type": "string",
            "enum": [
              "PREPARE",
              "ASSIGN_ASSET",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH",
              "TIME_EXTEND",
              "TIME_POSTPONE",
              "CANCEL"
            ],
            "example": "null"
          },
          "comment": {
            "type": [
              "string",
              "null"
            ],
            "description": "free text, should match Content-Language",
            "example": "null"
          },
          "url": {
            "type": [
              "array",
              "null"
            ],
            "description": "urls to support the event e.g. pictures justifying the exit conditions",
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "userLocation": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/PlaceTO"
              },
              {
                "type": "null"
              }
            ]
          },
          "asset": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/AssetTO"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "event",
          "time"
        ]
      },
      "BookingStepTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "the type of the information provided",
            "enum": [
              "URL",
              "IMAGE",
              "PLAIN_TEXT",
              "HTML"
            ],
            "example": "null"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "the internet location of the information, used in case or type `URL` or `IMAGE`",
            "example": "null"
          },
          "goal": {
            "type": [
              "string",
              "null"
            ],
            "description": "the purpose of the information",
            "enum": [
              "INSTRUCTIONS",
              "SALES",
              "TERMS_CONDITIONS"
            ],
            "example": "null"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "free format text or HTML, depending on the type. Not to use in combination with `URL` or `IMAGE`",
            "example": "null"
          },
          "showTime": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "the moment when the information must be displayed",
            "enum": [
              "PLANNING",
              "COMMITTED_BOOKING",
              "PREPARE",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH"
            ],
            "example": "null"
          },
          "action": {
            "type": [
              "string",
              "null"
            ],
            "description": "The possible steps are described here<br> `PENDING` - to show whenever the booking is in PENDING state (not confirmed)<br> `WAITING` - to indicate that the TO is processing the booking, optionally after an extension of the expiry time<br> `WAITING_FOR_PAYMENT` - to indicate that the payment hasn't been settled, after an extension of the expiry time with reason payment<br> `CONFIRMED` - to show whenever the booking is in a COMMITTED state (confirmed)<br> `CANCELLED` - to show whenever the booking is cancelled<br> `CONDITIONAL_CONFIRMED` - to show whenever the booking is conditionally confirmed (see process identifiers)<br> `EXPIRED` - to show whenever the booking is expired (the expiry time has passed)<br>",
            "enum": [
              "PENDING",
              "WAITING_FOR_PAYMENT",
              "CONFIRMED",
              "CONDITIONAL_CONFIRMED",
              "CANCELLED",
              "EXPIRED"
            ],
            "example": "null"
          }
        }
      },
      "EndpointImplementationStepsTO": {
        "type": "object",
        "properties": {
          "planning": {
            "type": [
              "array",
              "null"
            ],
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/PlanningStepTO"
            }
          },
          "booking": {
            "type": [
              "array",
              "null"
            ],
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/BookingStepTO"
            }
          },
          "onboarding": {
            "type": [
              "array",
              "null"
            ],
            "description": "this array should be considered as a sequence!",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/OnBoardingStepTO"
            }
          },
          "offboarding": {
            "type": [
              "array",
              "null"
            ],
            "description": "this array should be considered as a sequence!",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/OffBoardingStepTO"
            }
          },
          "pausing": {
            "type": [
              "array",
              "null"
            ],
            "description": "this array should be considered as a sequence!",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/PausingStepTO"
            }
          },
          "resuming": {
            "type": [
              "array",
              "null"
            ],
            "description": "this array should be considered as a sequence!",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/ResumingStepTO"
            }
          }
        }
      },
      "EndpointImplementationTO": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string",
            "example": "null"
          },
          "baseUrl": {
            "type": "string",
            "example": "null"
          },
          "endpoints": {
            "type": "array",
            "example": "null",
            "items": {
              "$ref": "#/components/schemas/EndpointTO"
            }
          },
          "scenarios": {
            "type": "array",
            "example": "null",
            "items": {
              "type": "string",
              "enum": [
                "POSTPONED_COMMIT",
                "DEPOSIT",
                "PAY_WHEN_FINISHED",
                "REQUIRE_BOOKING_DATA",
                "RETURN_AREA",
                "UPFRONT_PAYMENT"
              ]
            }
          },
          "processIdentifiers": {
            "$ref": "#/components/schemas/ProcessIdentifiersTO",
            "example": "null"
          },
          "steps": {
            "example": "null",
            "oneOf": [
              {
                "$ref": "#/components/schemas/EndpointImplementationStepsTO"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "baseUrl",
          "endpoints",
          "processIdentifiers",
          "scenarios",
          "version"
        ]
      },
      "EndpointTO": {
        "type": "object",
        "properties": {
          "method": {
            "type": "string",
            "enum": [
              "POST",
              "PUT",
              "GET",
              "DELETE",
              "PATCH"
            ],
            "example": "null"
          },
          "path": {
            "type": "string",
            "description": "the exact path of the endpoint, starting after the base URL",
            "example": "/plannings/"
          },
          "status": {
            "type": "string",
            "enum": [
              "NOT_IMPLEMENTED",
              "DIALECT",
              "IMPLEMENTED"
            ],
            "example": "null"
          },
          "eventType": {
            "type": [
              "string",
              "null"
            ],
            "description": "in case the path is ending in /events, the event type/operator enum should be added here.",
            "enum": [
              "PREPARE",
              "ASSIGN_ASSET",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH",
              "ISSUE",
              "CANCEL",
              "EXPIRE",
              "DENY",
              "COMMIT"
            ],
            "example": "null"
          },
          "supportsPaging": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "does this endpoint support paging? In that case this endpoint can be accessed using query parameters offset=x and limit=y. Only allowed at endpoints that have specified these query parameters.",
            "example": null
          },
          "maxPageSize": {
            "type": [
              "integer",
              "null"
            ],
            "format": "int32",
            "description": "the maximum size of the pages (only valid when supportsPaging=true). If the limit-parameter of the request is above this amount, a http code 400 will be returned.",
            "example": null
          },
          "externalType": {
            "type": [
              "string",
              "null"
            ],
            "description": "this field must be used when adressing other standards for exchanging 'static' data (Level 1 MaaS)",
            "enum": [
              "GBFS",
              "GTFS",
              "NeTEx",
              "OSDM_Offline",
              "IXSI5",
              "APDS",
              "CDS"
            ],
            "example": "null"
          },
          "useAssetTypes": {
            "type": [
              "array",
              "null"
            ],
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "useAssets": {
            "type": [
              "array",
              "null"
            ],
            "example": "null",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "method",
          "path",
          "status"
        ]
      },
      "PlanningStepTO": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "the type of the information provided",
            "enum": [
              "URL",
              "IMAGE",
              "PLAIN_TEXT",
              "HTML"
            ],
            "example": "null"
          },
          "url": {
            "type": [
              "string",
              "null"
            ],
            "description": "the internet location of the information, used in case or type `URL` or `IMAGE`",
            "example": "null"
          },
          "goal": {
            "type": [
              "string",
              "null"
            ],
            "description": "the purpose of the information",
            "enum": [
              "INSTRUCTIONS",
              "SALES",
              "TERMS_CONDITIONS"
            ],
            "example": "null"
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "free format text or HTML, depending on the type. Not to use in combination with `URL` or `IMAGE`",
            "example": "null"
          },
          "showTime": {
            "type": [
              "string",
              "null"
            ],
            "deprecated": true,
            "description": "the moment when the information must be displayed",
            "enum": [
              "PLANNING",
              "COMMITTED_BOOKING",
              "PREPARE",
              "SET_IN_USE",
              "PAUSE",
              "OPEN_TRUNK",
              "START_FINISHING",
              "FINISH"
            ],
            "example": "null"
          },
          "action": {
            "type": [
              "string",
              "null"
            ],
            "description": "the `RESULT_SHOWN` action requires the MP to display some information to the customer when it is viewing the proposed legs. the `SHOW_TERMS_CONDITIONS` action requires the MP to show the terms & conditions, as provided in the step",
            "enum": [
              "RESULT_SHOWN",
              "SHOW_TERMS_CONDITIONS"
            ],
            "example": "null"
          }
        }
      },
      "ProcessIdentifiersTO": {
        "type": "object",
        "properties": {
          "operatorInformation": {
            "type": "array",
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "planning": {
            "type": "array",
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "booking": {
            "type": "array",
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "tripExecution": {
            "type": "array",
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "support": {
            "type": "array",
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "payment": {
            "type": "array",
            "example": "null",
            "items": {
              "type": "string"
            }
          },
          "general": {
            "type": "array",
            "example": "null",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "booking",
          "general",
          "operatorInformation",
          "payment",
          "planning",
          "support",
          "tripExecution"
        ]
      }
    },
    "parameters": {
      "ET-Client-Name": {
        "name": "ET-Client-Name",
        "in": "header",
        "description": "Entur Client Header.\nIt is required that all consumers identify themselves by using this header.\nEntur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.\nThe structure of ET-Client-Name should be: `<company>-<application>`.",
        "required": false,
        "style": "simple",
        "explode": false,
        "schema": {
          "type": "string"
        }
      },
      "X-Correlation-Id": {
        "name": "X-Correlation-Id",
        "in": "header",
        "description": "Correlation id",
        "required": false,
        "style": "simple",
        "explode": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "securitySchemes": {
      "Authorization": {
        "type": "http",
        "description": "Authorization header",
        "scheme": "bearer",
        "bearerFormat": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCIf36POk6yJV_adQssw5c"
      }
    }
  }
}