{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-access-rule-update-input-schema.json",
  "title": "AccessRuleUpdateInput",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-asa-access-rules-api-openapi.yml#/components/schemas/AccessRuleUpdateInput",
  "properties": {
    "destinationDynamicObject": {
      "$ref": "#/$defs/DestinationDynamicObjectContent"
    },
    "destinationNetwork": {
      "$ref": "#/$defs/DestinationNetworkContent"
    },
    "destinationPort": {
      "$ref": "#/$defs/DestinationPortContent"
    },
    "index": {
      "description": "Access rule index position in Access Group ordered rule list.",
      "format": "int32",
      "type": "integer"
    },
    "isActiveRule": {
      "description": "Is active. True by default",
      "type": "boolean"
    },
    "logSettings": {
      "$ref": "#/$defs/LogSettings",
      "description": "The set of of interface and direction pairs or global resource."
    },
    "protocol": {
      "$ref": "#/$defs/ProtocolContent"
    },
    "remark": {
      "description": "A remark.",
      "type": "string"
    },
    "ruleAction": {
      "description": "The rule's action: PERMIT or DENY.",
      "enum": [
        "PERMIT",
        "DENY"
      ],
      "type": "string"
    },
    "ruleTimeRange": {
      "$ref": "#/$defs/AccessRuleDetailsContent"
    },
    "sourceDynamicObject": {
      "$ref": "#/$defs/SourceDynamicObjectContent"
    },
    "sourceNetwork": {
      "$ref": "#/$defs/SourceNetworkContent"
    },
    "sourcePort": {
      "$ref": "#/$defs/SourcePortContent"
    },
    "uid": {
      "description": "The unique identifier, represented as a UUID, of the Access Rule.",
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "uid"
  ],
  "type": "object",
  "$defs": {
    "AccessRuleDetailsContent": {
      "properties": {
        "elements": {
          "description": "The list of elements.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name",
          "type": "string"
        },
        "type": {
          "description": "The type of the policy object.",
          "enum": [
            "NETWORK_OBJECT",
            "IPV4_ADDRESS_POOL",
            "IPV6_ADDRESS_POOL",
            "NETWORK_GROUP",
            "SERVICE_OBJECT",
            "SERVICE_TCP_OBJECT",
            "SERVICE_UDP_OBJECT",
            "SERVICE_ICMPV4_OBJECT",
            "SERVICE_ICMPV6_OBJECT",
            "SERVICE_PROTOCOL_OBJECT",
            "SERVICE_GROUP",
            "SERVICE_FTD_GROUP",
            "PROTOCOL_GROUP",
            "ICMP_GROUP",
            "URL_OBJECT",
            "URL_GROUP",
            "APPLICATION_FILTER_OBJECT",
            "TIME_RANGE"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "DestinationDynamicObjectContent": {
      "description": "The destination dynamic object.",
      "properties": {
        "elements": {
          "description": "The list of elements.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name",
          "type": "string"
        },
        "type": {
          "description": "The type of the policy object.",
          "enum": [
            "NETWORK_OBJECT",
            "IPV4_ADDRESS_POOL",
            "IPV6_ADDRESS_POOL",
            "NETWORK_GROUP",
            "SERVICE_OBJECT",
            "SERVICE_TCP_OBJECT",
            "SERVICE_UDP_OBJECT",
            "SERVICE_ICMPV4_OBJECT",
            "SERVICE_ICMPV6_OBJECT",
            "SERVICE_PROTOCOL_OBJECT",
            "SERVICE_GROUP",
            "SERVICE_FTD_GROUP",
            "PROTOCOL_GROUP",
            "ICMP_GROUP",
            "URL_OBJECT",
            "URL_GROUP",
            "APPLICATION_FILTER_OBJECT",
            "TIME_RANGE"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "DestinationNetworkContent": {
      "description": "The destination network.",
      "properties": {
        "elements": {
          "description": "The list of elements.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name",
          "type": "string"
        },
        "type": {
          "description": "The type of the policy object.",
          "enum": [
            "NETWORK_OBJECT",
            "IPV4_ADDRESS_POOL",
            "IPV6_ADDRESS_POOL",
            "NETWORK_GROUP",
            "SERVICE_OBJECT",
            "SERVICE_TCP_OBJECT",
            "SERVICE_UDP_OBJECT",
            "SERVICE_ICMPV4_OBJECT",
            "SERVICE_ICMPV6_OBJECT",
            "SERVICE_PROTOCOL_OBJECT",
            "SERVICE_GROUP",
            "SERVICE_FTD_GROUP",
            "PROTOCOL_GROUP",
            "ICMP_GROUP",
            "URL_OBJECT",
            "URL_GROUP",
            "APPLICATION_FILTER_OBJECT",
            "TIME_RANGE"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "DestinationPortContent": {
      "description": "The destination port.",
      "properties": {
        "elements": {
          "description": "The list of elements.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name",
          "type": "string"
        },
        "type": {
          "description": "The type of the policy object.",
          "enum": [
            "NETWORK_OBJECT",
            "IPV4_ADDRESS_POOL",
            "IPV6_ADDRESS_POOL",
            "NETWORK_GROUP",
            "SERVICE_OBJECT",
            "SERVICE_TCP_OBJECT",
            "SERVICE_UDP_OBJECT",
            "SERVICE_ICMPV4_OBJECT",
            "SERVICE_ICMPV6_OBJECT",
            "SERVICE_PROTOCOL_OBJECT",
            "SERVICE_GROUP",
            "SERVICE_FTD_GROUP",
            "PROTOCOL_GROUP",
            "ICMP_GROUP",
            "URL_OBJECT",
            "URL_GROUP",
            "APPLICATION_FILTER_OBJECT",
            "TIME_RANGE"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "LogSettings": {
      "properties": {
        "interval": {
          "description": "The interval",
          "format": "int32",
          "type": "integer"
        },
        "level": {
          "description": "The level",
          "type": "string"
        }
      },
      "required": [
        "level"
      ],
      "type": "object"
    },
    "ProtocolContent": {
      "description": "The protocol. Defaults to IP.",
      "properties": {
        "elements": {
          "description": "The list of elements.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name",
          "type": "string"
        },
        "type": {
          "description": "The type of the policy object.",
          "enum": [
            "NETWORK_OBJECT",
            "IPV4_ADDRESS_POOL",
            "IPV6_ADDRESS_POOL",
            "NETWORK_GROUP",
            "SERVICE_OBJECT",
            "SERVICE_TCP_OBJECT",
            "SERVICE_UDP_OBJECT",
            "SERVICE_ICMPV4_OBJECT",
            "SERVICE_ICMPV6_OBJECT",
            "SERVICE_PROTOCOL_OBJECT",
            "SERVICE_GROUP",
            "SERVICE_FTD_GROUP",
            "PROTOCOL_GROUP",
            "ICMP_GROUP",
            "URL_OBJECT",
            "URL_GROUP",
            "APPLICATION_FILTER_OBJECT",
            "TIME_RANGE"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "SourceDynamicObjectContent": {
      "description": "The source dynamic object.",
      "properties": {
        "elements": {
          "description": "The list of elements.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name",
          "type": "string"
        },
        "type": {
          "description": "The type of the policy object.",
          "enum": [
            "NETWORK_OBJECT",
            "IPV4_ADDRESS_POOL",
            "IPV6_ADDRESS_POOL",
            "NETWORK_GROUP",
            "SERVICE_OBJECT",
            "SERVICE_TCP_OBJECT",
            "SERVICE_UDP_OBJECT",
            "SERVICE_ICMPV4_OBJECT",
            "SERVICE_ICMPV6_OBJECT",
            "SERVICE_PROTOCOL_OBJECT",
            "SERVICE_GROUP",
            "SERVICE_FTD_GROUP",
            "PROTOCOL_GROUP",
            "ICMP_GROUP",
            "URL_OBJECT",
            "URL_GROUP",
            "APPLICATION_FILTER_OBJECT",
            "TIME_RANGE"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "SourceNetworkContent": {
      "description": "The source network.",
      "properties": {
        "elements": {
          "description": "The list of elements.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name",
          "type": "string"
        },
        "type": {
          "description": "The type of the policy object.",
          "enum": [
            "NETWORK_OBJECT",
            "IPV4_ADDRESS_POOL",
            "IPV6_ADDRESS_POOL",
            "NETWORK_GROUP",
            "SERVICE_OBJECT",
            "SERVICE_TCP_OBJECT",
            "SERVICE_UDP_OBJECT",
            "SERVICE_ICMPV4_OBJECT",
            "SERVICE_ICMPV6_OBJECT",
            "SERVICE_PROTOCOL_OBJECT",
            "SERVICE_GROUP",
            "SERVICE_FTD_GROUP",
            "PROTOCOL_GROUP",
            "ICMP_GROUP",
            "URL_OBJECT",
            "URL_GROUP",
            "APPLICATION_FILTER_OBJECT",
            "TIME_RANGE"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "SourcePortContent": {
      "description": "The source port.",
      "properties": {
        "elements": {
          "description": "The list of elements.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "description": "The name",
          "type": "string"
        },
        "type": {
          "description": "The type of the policy object.",
          "enum": [
            "NETWORK_OBJECT",
            "IPV4_ADDRESS_POOL",
            "IPV6_ADDRESS_POOL",
            "NETWORK_GROUP",
            "SERVICE_OBJECT",
            "SERVICE_TCP_OBJECT",
            "SERVICE_UDP_OBJECT",
            "SERVICE_ICMPV4_OBJECT",
            "SERVICE_ICMPV6_OBJECT",
            "SERVICE_PROTOCOL_OBJECT",
            "SERVICE_GROUP",
            "SERVICE_FTD_GROUP",
            "PROTOCOL_GROUP",
            "ICMP_GROUP",
            "URL_OBJECT",
            "URL_GROUP",
            "APPLICATION_FILTER_OBJECT",
            "TIME_RANGE"
          ],
          "type": "string"
        },
        "uid": {
          "description": "The unique identifier.",
          "format": "uuid",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    }
  }
}