Scan Configuration JSON Schema

Below you can find the full JSON Schema used for the Tire Tread ScanView configuration.

JSON Schemas are case sensitive The values defined in the JSON Schema are case sensitive. Make sure to only use values in your JSON that are also listed in the JSON Schemas. Using incorrect spelling or wrongly cased values may result in undefined behavior.
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "measurementSystem": {
      "type": "string",
      "default": "Metric"
    },
    "scanSpeed": {
      "type": "string",
      "enum": [
          "Slow",
          "Fast"
      ],
      "default": "Slow"
    },
    "useDefaultUI": {
      "type": "boolean",
      "default": "true"
    },
    "defaultUIConfig": {
      "type": "object",
      "properties": {
        "distanceIndicatorConfig": {
          "type": "object",
          "properties": {
            "visible": {
              "type": "boolean"
            },
            "textOk": {
              "type": "string"
            },
            "textMoveCloser": {
              "type": "string"
            },
            "textMoveAway": {
              "type": "string"
            }
          }
        },
        "focusPointTooltipConfig": {
          "type": "object",
          "properties": {
            "visible": {
              "type": "boolean"
            },
            "text": {
              "type": "string"
            }
          }
        },
        "tapToStartScanningTooltipConfig": {
          "type": "object",
          "properties": {
            "visible": {
              "type": "boolean"
            },
            "text": {
              "type": "string"
            }
          }
        },
        "tireOverlayConfig": {
          "type": "object",
          "properties": {
            "visible": {
              "type": "boolean"
            }
          }
        },
        "uploadViewConfig": {
          "type": "object",
          "properties": {
            "visible": {
              "type": "boolean"
            },
            "text": {
              "type": "string"
            }
          }
        },
        "orientationWarningConfig": {
          "type": "object",
          "properties": {
            "visible": {
              "type": "boolean"
            },
            "text": {
              "type": "string"
            }
          }
        },
        "tireWidthInputConfig": {
          "type": "object",
          "properties": {
            "visible": {
              "type": "boolean"
            },
            "skipButtonText": {
              "type": "string"
            },
            "titleText": {
              "type": "string"
            },
            "explanationText": {
              "type": "string"
            },
            "continueButtonText": {
              "type": "string"
            },
            "prefilledTireWidth": {
              "type": "integer"
            },
            "tireWidthRange": {
              "type": "object",
              "properties": {
                "lowerLimit": {
                  "type": "integer"
                },
                "upperLimit": {
                  "type": "integer"
                }
              }
            },
            "tireWidthOptions": {
              "type": "array",
              "items": {
                "type": "number"
              }
            }
          }
        }
      }
    },
    "additionalContext": {
      "type": "object",
      "properties": {
        "tirePosition": {
          "type": "object",
          "properties": {
            "axle": {
              "type": "integer",
              "minimum": 1
            },
            "side": {
              "type": "string",
              "enum": [
                  "Left",
                  "Right",
                  "Center"
              ]
            },
            "positionOnAxle": {
              "type": "integer",
              "minimum": 1
            }
          },
          "required": ["axle", "side", "positionOnAxle"]
        },
        "correlationId": {
          "type": "string"
        }
      }
    }
  }
}