{
  "openapi": "3.0.1",
  "info": {
    "title": "EKK eCare VDP API",
    "description": "Vehicle Diagnostic Platform API for TMC diagnostic data processing",
    "version": "v1"
  },
  "paths": {
    "/healthcheck": {
      "get": {
        "tags": [
          "VDP"
        ],
        "summary": "Health check endpoint to verify API is running",
        "description": "Simple healthcheck endpoint that returns the current status of the VDP API.\r\nThis endpoint does not require authentication.",
        "responses": {
          "200": {
            "description": "API is running successfully"
          }
        }
      }
    },
    "/warning24": {
      "post": {
        "tags": [
          "VDP"
        ],
        "summary": "WNG (Warning) data endpoint for TMC vehicle diagnostic warnings",
        "description": "Accepts WNG warning data packets from TMC vehicles and stores them for processing.\r\nThe request body should contain a WngRequest JSON object with warning details.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WngRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns VdpResponse with success/error result code",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              }
            }
          }
        }
      }
    },
    "/dtc24": {
      "post": {
        "tags": [
          "VDP"
        ],
        "summary": "DTC (Diagnostic Trouble Code) data endpoint for TMC vehicle diagnostics",
        "description": "Accepts DTC diagnostic data packets from TMC vehicles and stores them for processing.\r\nThe request body should contain a DtcRequest JSON object with diagnostic trouble codes.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DtcRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns VdpResponse with success/error result code",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              }
            }
          }
        }
      }
    },
    "/ssr24": {
      "post": {
        "tags": [
          "VDP"
        ],
        "summary": "SSR (Snapshot Status Record) data endpoint for TMC vehicle diagnostics",
        "description": "Accepts SSR diagnostic snapshot data packets from TMC vehicles and stores them for processing.\r\nThe request body should contain a SsrRequest JSON object with snapshot records.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SsrRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns VdpResponse with success/error result code",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              }
            }
          }
        }
      }
    },
    "/last24": {
      "post": {
        "tags": [
          "VDP"
        ],
        "summary": "LAST data endpoint for TMC vehicle diagnostics",
        "description": "Accepts LAST diagnostic data packets from TMC vehicles and stores them for processing.\r\nThe request body should contain a LastRequest JSON object with diagnostic information.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LastRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns VdpResponse with success/error result code",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              }
            }
          }
        }
      }
    },
    "/directcommand24": {
      "post": {
        "tags": [
          "VDP"
        ],
        "summary": "DirectCommand data endpoint for TMC vehicle diagnostics",
        "description": "Accepts DirectCommand diagnostic data packets from TMC vehicles and stores them for processing.\r\nThe request body should contain a DirectCommandRequest JSON object with direct command diagnostic data.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DirectCommandRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns VdpResponse with success/error result code",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              }
            }
          }
        }
      }
    },
    "/ecu24": {
      "post": {
        "tags": [
          "VDP"
        ],
        "summary": "ECU Information data endpoint for TMC vehicle diagnostics",
        "description": "Accepts ECU Information data packets from TMC vehicles and stores them for processing.\r\nThe request body should contain an EcuInformationRequest JSON object with ECU diagnostic information.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EcuInformationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns VdpResponse with success/error result code",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              }
            }
          }
        }
      }
    },
    "/collectionstatusnotification24": {
      "post": {
        "tags": [
          "VDP"
        ],
        "summary": "Collection Status Notification endpoint for TMC vehicle diagnostic data collection status",
        "description": "**Collection Status Notification Interface (BD07 Specification)**\r\n\r\nThis endpoint receives collection status notifications from TMC vehicles indicating the result of diagnostic data collection requests.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CsnRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Returns VdpResponse with success/error result code",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/VdpResponse"
                },
                "example": {"responseTime":"2023-04-01T16:50:40.987+03:00","requestId":"0004294967297","resultCd":0}
              }
            }
          }
        }
      }
    },
    "/ffd24": {
      "post": {
        "tags": [
          "VDP"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CommonHeaderDto": {
        "required": [
          "vin"
        ],
        "type": "object",
        "properties": {
          "vin": {
            "maxLength": 17,
            "minLength": 1,
            "type": "string"
          },
          "countryCode": {
            "maxLength": 2,
            "minLength": 2,
            "type": "string",
            "nullable": true
          },
          "centerReceiptTime": {
            "type": "string",
            "format": "date-time"
          },
          "centerReceiptSequence": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "requestId": {
            "maxLength": 50,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "textVersion": {
            "type": "integer",
            "format": "int32"
          },
          "electronicPf": {
            "type": "integer",
            "format": "int32"
          },
          "geodesyInformation": {
            "type": "integer",
            "format": "int32"
          },
          "ecuHardwareMaker": {
            "type": "string",
            "nullable": true
          },
          "interfaceType": {
            "type": "integer",
            "format": "int32"
          },
          "underRepairFlag": {
            "type": "boolean"
          },
          "messageId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CsnRequest": {
        "required": [
          "dataCollectionStatus",
          "requestId",
          "vin"
        ],
        "type": "object",
        "properties": {
          "vin": {
            "maxLength": 17,
            "minLength": 1,
            "type": "string",
            "description": "Vehicle Identification Number - Required field per BD07 specification\r\nRaw VIN used to identify the vehicle that sent the notification",
            "example": "ZVW50-0000000"
          },
          "pseudonymousVin": {
            "maxLength": 36,
            "minLength": 0,
            "type": "string",
            "description": "Pseudonymized (anonymized) VIN if applicable - Optional field per BD07 specification\r\nUsed when privacy requirements mandate VIN anonymization",
            "nullable": true,
            "example": "anonymous_vin_12345678901234567890123456"
          },
          "requestId": {
            "maxLength": 13,
            "minLength": 0,
            "type": "string",
            "description": "Request ID from the original data collection request - Required field per BD07 specification\r\nLinks this notification back to the original collection request",
            "example": "0004294967297"
          },
          "dataCollectionStatus": {
            "maximum": 4,
            "minimum": 1,
            "type": "integer",
            "description": "Data Collection Status indicating the result of the collection request - Required field per BD07 specification\r\nDefines why the original data collection request could not be completed successfully",
            "format": "int32",
            "example": 2
          }
        },
        "additionalProperties": false,
        "description": "Collection Status Notification request model based on BD07 Interface Specification\r\nUsed to report the status of diagnostic data collection requests from TMC vehicles"
      },
      "DirectCommandDetailDto": {
        "type": "object",
        "properties": {
          "ecuAddress": {
            "type": "string",
            "nullable": true
          },
          "nta": {
            "type": "string",
            "nullable": true
          },
          "diagnosticsPhase": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ecuPhaseId": {
            "type": "string",
            "nullable": true
          },
          "communicationProtocol": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "communicationType": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nodeFriendlyName": {
            "type": "string",
            "nullable": true
          },
          "odxVersion": {
            "type": "string",
            "nullable": true
          },
          "sid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectCommandSidDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DirectCommandDidDto": {
        "type": "object",
        "properties": {
          "did": {
            "type": "string",
            "nullable": true
          },
          "friendlyDname": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectCommandItemDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DirectCommandItemDto": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "nullable": true
          },
          "friendlyName": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "nullable": true
          },
          "actual": {
            "nullable": true
          },
          "unitFriendlyName": {
            "type": "string",
            "nullable": true
          },
          "bytePosition": {
            "type": "string",
            "nullable": true
          },
          "bitPosition": {
            "type": "string",
            "nullable": true
          },
          "bitLength": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DirectCommandRequest": {
        "type": "object",
        "properties": {
          "commonHeader": {
            "$ref": "#/components/schemas/CommonHeaderDto"
          },
          "presignedUrlHeader": {
            "$ref": "#/components/schemas/PresignedUrlHeaderDto"
          },
          "counterValue": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "diagnosticsAcquisitionTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "latitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "longitude": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "obd2InstalledFlag": {
            "type": "boolean",
            "nullable": true
          },
          "odoInformationKm": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "odoInformationMile": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "mergeStatus": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectCommandDetailDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DirectCommandSidDto": {
        "type": "object",
        "properties": {
          "sid": {
            "type": "string",
            "nullable": true
          },
          "sf": {
            "type": "string",
            "nullable": true
          },
          "did": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DirectCommandDidDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DtcCodeDto": {
        "type": "object",
        "properties": {
          "dtc": {
            "type": "string",
            "nullable": true
          },
          "dtcValue": {
            "type": "string",
            "nullable": true
          },
          "friendlyName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DtcEcuDetailDto": {
        "type": "object",
        "properties": {
          "ecuAddress": {
            "type": "string",
            "nullable": true
          },
          "nta": {
            "type": "string",
            "nullable": true
          },
          "diagnosticsPhase": {
            "type": "integer",
            "format": "int32"
          },
          "ecuPhaseId": {
            "type": "string",
            "nullable": true
          },
          "communicationProtocol": {
            "type": "integer",
            "format": "int32"
          },
          "nodeFriendlyName": {
            "type": "string",
            "nullable": true
          },
          "odxVersion": {
            "type": "string",
            "nullable": true
          },
          "sid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DtcSidDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DtcRequest": {
        "required": [
          "commonHeader"
        ],
        "type": "object",
        "properties": {
          "commonHeader": {
            "$ref": "#/components/schemas/CommonHeaderDto"
          },
          "triggerType": {
            "type": "integer",
            "format": "int32"
          },
          "counterValue": {
            "type": "integer",
            "format": "int32"
          },
          "diagnosticsAcquisitionTime": {
            "type": "string",
            "format": "date-time"
          },
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          },
          "obd2InstalledFlag": {
            "type": "boolean"
          },
          "odoInformationKm": {
            "type": "number",
            "format": "double"
          },
          "odoInformationMile": {
            "type": "number",
            "format": "double"
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DtcEcuDetailDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DtcSidDto": {
        "type": "object",
        "properties": {
          "sid": {
            "type": "string",
            "nullable": true
          },
          "sf": {
            "type": "string",
            "nullable": true
          },
          "dtc": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DtcCodeDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcuInformationDetailDto": {
        "type": "object",
        "properties": {
          "ecuPhaseId": {
            "type": "string",
            "nullable": true
          },
          "txEcuAddress": {
            "type": "string",
            "nullable": true
          },
          "txNta": {
            "type": "string",
            "nullable": true
          },
          "rxEcuAddress": {
            "type": "string",
            "nullable": true
          },
          "rxNta": {
            "type": "string",
            "nullable": true
          },
          "nodeFriendlyName": {
            "type": "string",
            "nullable": true
          },
          "diagnosticsPhase": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "communicationProtocol": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "communicationType": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lastUpdateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ecuActiveFlag": {
            "type": "boolean",
            "nullable": true
          },
          "hardwarePartNumber": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcuPartNumberDto"
            },
            "nullable": true
          },
          "softwarePartNumber": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcuPartNumberDto"
            },
            "nullable": true
          },
          "sid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcuInformationSidDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcuInformationDidDto": {
        "type": "object",
        "properties": {
          "did": {
            "type": "string",
            "nullable": true
          },
          "friendlyDname": {
            "type": "string",
            "nullable": true
          },
          "bytePosition": {
            "type": "string",
            "nullable": true
          },
          "bitPosition": {
            "type": "string",
            "nullable": true
          },
          "bitLength": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcuInformationItemDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcuInformationItemDto": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "nullable": true
          },
          "friendlyName": {
            "type": "string",
            "nullable": true
          },
          "bytePosition": {
            "type": "string",
            "nullable": true
          },
          "bitPosition": {
            "type": "string",
            "nullable": true
          },
          "bitLength": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcuInformationRequest": {
        "required": [
          "commonHeader"
        ],
        "type": "object",
        "properties": {
          "commonHeader": {
            "$ref": "#/components/schemas/CommonHeaderDto"
          },
          "presignedUrlHeader": {
            "$ref": "#/components/schemas/PresignedUrlHeaderDto"
          },
          "counterValue": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dataCreationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "obd2InstalledFlag": {
            "type": "boolean",
            "nullable": true
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcuInformationDetailDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcuInformationSidDto": {
        "type": "object",
        "properties": {
          "sid": {
            "type": "string",
            "nullable": true
          },
          "sf": {
            "type": "string",
            "nullable": true
          },
          "did": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EcuInformationDidDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EcuPartNumberDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "partNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LastRequest": {
        "required": [
          "commonHeader"
        ],
        "type": "object",
        "properties": {
          "commonHeader": {
            "$ref": "#/components/schemas/CommonHeaderDto"
          },
          "triggerType": {
            "type": "integer",
            "format": "int32"
          },
          "counterValue": {
            "type": "integer",
            "format": "int32"
          },
          "dataCreationDate": {
            "type": "string",
            "format": "date-time"
          },
          "diagnosticsAcquisitionTime": {
            "type": "string",
            "format": "date-time"
          },
          "obd2InstalledFlag": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PresignedUrlHeaderDto": {
        "type": "object",
        "properties": {
          "presignedUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SsrDidDto": {
        "type": "object",
        "properties": {
          "did": {
            "type": "string",
            "nullable": true
          },
          "friendlyDname": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SsrItemDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SsrDto": {
        "type": "object",
        "properties": {
          "dtc": {
            "type": "string",
            "nullable": true
          },
          "dtcValue": {
            "type": "string",
            "nullable": true
          },
          "friendlyName": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "ssrNo": {
            "type": "string",
            "nullable": true
          },
          "did": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SsrDidDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SsrEcuDetailDto": {
        "type": "object",
        "properties": {
          "ecuAddress": {
            "type": "string",
            "nullable": true
          },
          "nta": {
            "type": "string",
            "nullable": true
          },
          "diagnosticsPhase": {
            "type": "integer",
            "format": "int32"
          },
          "ecuPhaseId": {
            "type": "string",
            "nullable": true
          },
          "communicationProtocol": {
            "type": "integer",
            "format": "int32"
          },
          "nodeFriendlyName": {
            "type": "string",
            "nullable": true
          },
          "odxVersion": {
            "type": "string",
            "nullable": true
          },
          "sid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SsrSidDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SsrItemDto": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "nullable": true
          },
          "friendlyName": {
            "type": "string",
            "nullable": true
          },
          "value": { },
          "unitFriendlyName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SsrRequest": {
        "required": [
          "commonHeader"
        ],
        "type": "object",
        "properties": {
          "commonHeader": {
            "$ref": "#/components/schemas/CommonHeaderDto"
          },
          "presignedUrlHeader": {
            "$ref": "#/components/schemas/PresignedUrlHeaderDto"
          },
          "triggerType": {
            "type": "integer",
            "format": "int32"
          },
          "counterValue": {
            "type": "integer",
            "format": "int32"
          },
          "timeStamp": {
            "type": "string",
            "format": "date-time"
          },
          "diagnosticsAcquisitionTime": {
            "type": "string",
            "format": "date-time"
          },
          "dtc": {
            "type": "string",
            "nullable": true
          },
          "dtcValue": {
            "type": "string",
            "nullable": true
          },
          "ecuMakerCode": {
            "type": "integer",
            "format": "int32"
          },
          "latitude": {
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "type": "number",
            "format": "double"
          },
          "obd2InstalledFlag": {
            "type": "boolean"
          },
          "odoInformationKm": {
            "type": "number",
            "format": "double"
          },
          "odoInformationMile": {
            "type": "number",
            "format": "double"
          },
          "softwarePartNumber": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SsrSoftwarePartDto"
            },
            "nullable": true
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SsrEcuDetailDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SsrSidDto": {
        "type": "object",
        "properties": {
          "sid": {
            "type": "string",
            "nullable": true
          },
          "sf": {
            "type": "string",
            "nullable": true
          },
          "ssr": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SsrDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SsrSoftwarePartDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "partNumber": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VdpResponse": {
        "type": "object",
        "properties": {
          "responseTime": {
            "type": "string",
            "format": "date-time"
          },
          "requestId": {
            "type": "string",
            "nullable": true
          },
          "resultCd": {
            "$ref": "#/components/schemas/VdpResultCode"
          }
        },
        "additionalProperties": false,
        "description": "Standard response returned by VDP endpoints."
      },
      "VdpResultCode": {
        "enum": [
          0,
          90,
          91,
          99
        ],
        "type": "integer",
        "description": "Result code mapping derived from TMC VDP interface specification.",
        "format": "int32"
      },
      "WngDetailDto": {
        "type": "object",
        "properties": {
          "wngInformationConsecutiveNumber": {
            "type": "string",
            "nullable": true
          },
          "wngSymbol": {
            "type": "string",
            "nullable": true
          },
          "wngType": {
            "type": "string",
            "nullable": true
          },
          "wngDisplayName": {
            "type": "string",
            "nullable": true
          },
          "wngConditionFlag": {
            "type": "string",
            "nullable": true
          },
          "wngConversionAvailabilityFlag": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Detail information for each warning item inside the payload."
      },
      "WngRequest": {
        "required": [
          "commonHeader",
          "details"
        ],
        "type": "object",
        "properties": {
          "commonHeader": {
            "$ref": "#/components/schemas/CommonHeaderDto"
          },
          "counterValue": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer",
            "format": "int32"
          },
          "warningTriggerOccurrenceTime": {
            "type": "string",
            "format": "date-time"
          },
          "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number",
            "format": "double"
          },
          "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number",
            "format": "double"
          },
          "obd2InstalledFlag": {
            "type": "boolean"
          },
          "odoInformationKm": {
            "minimum": 0,
            "type": "number",
            "format": "double"
          },
          "odoInformationMile": {
            "minimum": 0,
            "type": "number",
            "format": "double"
          },
          "warningData": {
            "maxLength": 1000,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WngDetailDto"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "description": "API Key authentication required for VDP endpoints. \r\n                        Add X-API-KEY header with your API key value.\r\n                        Example: X-API-KEY: abcdefghijklmnoprstuvwxyz1234567890\r\n                        Note: /healthcheck endpoint does not require authentication.",
        "name": "X-API-KEY",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": [ ]
    }
  ]
}