{
  "$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-schema.json",
  "title": "CdoCliMacro",
  "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/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",
  "$defs": {
    "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"
    }
  }
}