{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://satsimjs.org/schemas/command/v1/commands/setGimbalAxes.schema.json",
  "title": "setGimbalAxes",
  "description": "Sets absolute gimbal axis targets in degrees and leaves the gimbal in fixed mode. Azimuth targets are normalized to 0-360 degrees.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "observer",
    "axes"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "setGimbalAxes",
        "set_gimbal_axes"
      ],
      "description": "Command discriminator. Use canonical 'setGimbalAxes' 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": "Absolute gimbal axis values in degrees, commonly az and el."
    }
  },
  "examples": [
    {
      "type": "setGimbalAxes",
      "observer": "OBS-1",
      "axes": {
        "az": 10,
        "el": 20
      }
    }
  ]
}
