{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-device-gateway-api-request-schema.json",
  "title": "DeviceGatewayApiRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-commands-api-openapi.yml#/components/schemas/DeviceGatewayApiRequest",
  "properties": {
    "deviceUid": {
      "description": "The unique identifier, represented as a UUID, of the target device for the command. Currently, only FMC devices are supported.",
      "minLength": 1,
      "type": "string"
    },
    "request": {
      "$ref": "#/$defs/FmcRequest",
      "description": "The request that the user wants to execute on the device."
    }
  },
  "required": [
    "deviceUid",
    "request"
  ],
  "type": "object",
  "$defs": {
    "Command": {
      "properties": {
        "body": {
          "description": "The body of the command (optional).",
          "type": "string"
        },
        "link": {
          "description": "The FMC endpoint to invoke for this command.",
          "minLength": 1,
          "type": "string"
        },
        "method": {
          "description": "The HTTP method for the command.",
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "link",
        "method"
      ],
      "type": "object"
    },
    "FmcRequest": {
      "properties": {
        "commands": {
          "description": "A list of commands to be executed on the device.",
          "items": {
            "$ref": "#/$defs/Command"
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "required": [
        "commands"
      ],
      "type": "object"
    }
  }
}