{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-gateway-set-api-schema.json",
  "title": "GatewaySetApi",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-gateway-api-openapi.yml#/components/schemas/GatewaySetApi",
  "properties": {
    "credentialName": {
      "type": "string"
    },
    "deviceType": {
      "enum": [
        "PALO_ALTO",
        "JUNIPER",
        "PENSANDO_DSC",
        "PENSANDO_DSS",
        "FORTI_GATE",
        "PENSANDO_DSC_PDT",
        "CMCD",
        "ASA_INTERFACE",
        "ASA_GLOBAL"
      ],
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "networkDevices": {
      "items": {
        "$ref": "#/$defs/NetworkDevice"
      },
      "type": "array"
    },
    "status": {
      "enum": [
        "ACTIVE",
        "HELD",
        "SKIPPED",
        "UNMANAGED"
      ],
      "type": "string"
    },
    "useBuckets": {
      "type": "boolean"
    }
  },
  "required": [
    "deviceType",
    "networkDevices",
    "status"
  ],
  "type": "object",
  "$defs": {
    "NetworkDevice": {
      "properties": {
        "hostname": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "ipAddress": {
          "type": "string"
        },
        "osVersion": {
          "type": "string"
        },
        "port": {
          "format": "int32",
          "type": "integer"
        }
      },
      "required": [
        "id",
        "port"
      ],
      "type": "object"
    }
  }
}