{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.kinematics.displacement/1.0.0/input.json",
  "title": "Displacement Calculator — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "dx",
        "mag2d"
      ]
    },
    "x_m": {
      "type": "number"
    },
    "x0_m": {
      "type": "number"
    },
    "dx_m": {
      "type": "number"
    },
    "dy_m": {
      "type": "number"
    }
  },
  "required": [
    "mode"
  ],
  "description": "1D Δx and 2D displacement magnitude. (calculation_version 1.0.0)"
}
