{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://satsimjs.org/schemas/command/v1/commands/stepGimbalAxes.schema.json",
  "title": "stepGimbalAxes",
  "description": "Steps gimbal axes by degree deltas. Tracking is cleared before the step so manual control has one behavior across clients.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "observer"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "stepGimbalAxes",
        "step_gimbal_axes"
      ],
      "description": "Command discriminator. Use canonical 'stepGimbalAxes' in newly generated commands."
    },
    "observer": {
      "$ref": "https://satsimjs.org/schemas/command/v1/defs.schema.json#/definitions/nonEmptyString",
      "description": "Observatory/site name that owns the target actuator or sensor."
    },
    "axes": {
      "$ref": "https://satsimjs.org/schemas/command/v1/defs.schema.json#/definitions/axisMap",
      "description": "Gimbal axis deltas in degrees, commonly az and el."
    },
    "deltas": {
      "$ref": "https://satsimjs.org/schemas/command/v1/defs.schema.json#/definitions/axisMap",
      "description": "Alias for axes; accepted for step command input compatibility."
    }
  },
  "examples": [
    {
      "type": "stepGimbalAxes",
      "observer": "OBS-1",
      "axes": {
        "az": 1,
        "el": -0.5
      }
    }
  ],
  "anyOf": [
    {
      "properties": {
        "axes": {}
      },
      "required": [
        "axes"
      ]
    },
    {
      "properties": {
        "deltas": {}
      },
      "required": [
        "deltas"
      ]
    }
  ]
}
