{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.dynamics.work_power/1.0.0/input.json",
  "title": "Work and Power Calculator — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "W",
        "P_from_W",
        "P_from_Fv"
      ]
    },
    "F_N": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "s_m": {
      "type": "number"
    },
    "t_s": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "v_m_s": {
      "type": "number"
    },
    "W_J": {
      "type": "number"
    },
    "angle_deg": {
      "type": "number"
    }
  },
  "required": [
    "mode"
  ],
  "description": "W=Fs cosθ and P=W/t or Fv. (calculation_version 1.0.0)"
}
