{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-cdo-cli-macro-page-schema.json",
  "title": "CdoCliMacroPage",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-command-line-interface-api-openapi.yml#/components/schemas/CdoCliMacroPage",
  "properties": {
    "count": {
      "description": "The total number of results available.",
      "format": "int32",
      "type": "integer"
    },
    "items": {
      "description": "The list of items retrieved.",
      "items": {
        "$ref": "#/$defs/CdoCliMacro"
      },
      "type": "array"
    },
    "limit": {
      "description": "The number of results retrieved.",
      "format": "int32",
      "type": "integer"
    },
    "offset": {
      "description": "The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.",
      "format": "int32",
      "type": "integer"
    }
  },
  "type": "object",
  "$defs": {
    "CdoCliMacro": {
      "properties": {
        "deviceType": {
          "$ref": "#/$defs/EntityType",
          "description": "The type of the device."
        },
        "name": {
          "description": "The name of the CLI macro.",
          "type": "string"
        },
        "parameters": {
          "description": "A set of parameters provided in the script",
          "items": {
            "type": "string"
          },
          "type": "array",
          "uniqueItems": true
        },
        "script": {
          "description": "The script executed to generate the CLI result.",
          "type": "string"
        },
        "systemDefined": {
          "description": "Indicating whether this CLI macro is system-defined.",
          "type": "boolean"
        },
        "uid": {
          "description": "The unique identifier, represented as a UUID, of the CLI macro.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "deviceType",
        "uid"
      ],
      "type": "object"
    },
    "EntityType": {
      "enum": [
        "ASA",
        "CDFMC_MANAGED_FTD",
        "ONPREM_FMC_MANAGED_FTD",
        "ONPREM_FMC_MANAGED_FIREPOWER",
        "ONPREM_FMC_NGIPS",
        "FDM_MANAGED_FTD",
        "IOS",
        "ISR",
        "SSH_DEVICE",
        "GENERIC_DEVICE",
        "MERAKI_MX",
        "CLOUD_DNG",
        "SFCN",
        "SFCN_DNG",
        "SFCN_STS",
        "ONPREM_FMC",
        "CDFMC",
        "AWS_VPC",
        "AZURE_VNET",
        "DUO_ADMIN_PANEL",
        "UMBRELLA_ORGANIZATION"
      ],
      "type": "string"
    }
  }
}