{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-access-rule-page-schema.json",
  "title": "AccessRulePage",
  "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/AccessRulePage",
  "properties": {
    "count": {
      "description": "The total number of results available.",
      "format": "int32",
      "type": "integer"
    },
    "items": {
      "description": "The list of items retrieved.",
      "items": {
        "$ref": "#/$defs/AccessRule"
      },
      "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": {
    "AccessRule": {
      "properties": {
        "accessGroupUid": {
          "description": "The unique identifier, represented as a UUID, of the Access Group associated with the Access Rule.",
          "format": "uuid",
          "type": "string"
        },
        "createdDate": {
          "description": "The time (in UTC) at which Access Rule was created, represented using the RFC-3339 standard.",
          "format": "date-time",
          "type": "string"
        },
        "destinationDynamicObject": {
          "$ref": "#/$defs/AccessRuleDetailsContent",
          "description": "The destination dynamic object."
        },
        "destinationNetwork": {
          "$ref": "#/$defs/AccessRuleDetailsContent",
          "description": "The destination network."
        },
        "destinationPort": {
          "$ref": "#/$defs/AccessRuleDetailsContent",
          "description": "The destination port."
        },
        "entityUid": {
          "description": "The unique identifier, represented as a UUID, of the device/manager associated with the Access Rule. Points to shared Access Group in case of shared Rule",
          "format": "uuid",
          "type": "string"
        },
        "index": {
          "description": "Access rule index position in Access Group ordered rule list.",
          "format": "int32",
          "type": "integer"
        },
        "isActiveRule": {
          "description": "Indicates whether this rule is active.",
          "type": "boolean"
        },
        "issues": {
          "description": "Indicates if rule has SHADOWED, SHARED or DUPLICATE (remark) issue.",
          "items": {
            "$ref": "#/$defs/AccessRuleIssue"
          },
          "type": "array",
          "uniqueItems": true
        },
        "logSettings": {
          "$ref": "#/$defs/LogSettings",
          "description": "The set of of interface and direction pairs or global resource."
        },
        "protocol": {
          "$ref": "#/$defs/AccessRuleDetailsContent",
          "description": "The protocol."
        },
        "remark": {
          "description": "A remark.",
          "type": "string"
        },
        "ruleAction": {
          "description": "Representation of the rule action.",
          "enum": [
            "PERMIT",
            "DENY"
          ],
          "type": "string"
        },
        "ruleConfigurationLineNumber": {
          "description": "Representation of the rule's line number in configuration.",
          "format": "int64",
          "type": "integer"
        },
        "ruleConfigurationText": {
          "description": "Representation of the rule in configuration.",
          "type": "string"
        },
        "ruleParsingError": {
          "description": "The error, if any, that was encountered when parsing the rule.",
          "type": "string"
        },
        "ruleTimeRange": {
          "$ref": "#/$defs/AccessRuleDetailsContent",
          "description": "The rule time range."
        },
        "ruleType": {
          "description": "The L3 level rule type. L3, L7 or CONTENT_FILTERING. Defaults to L3.",
          "type": "string"
        },
        "sharedAccessGroupUid": {
          "description": "Optional unique identifier for the shared Access Group associated with a shared Access Rule.",
          "format": "uuid",
          "type": "string"
        },
        "sourceDynamicObject": {
          "$ref": "#/$defs/AccessRuleDetailsContent",
          "description": "The source dynamic object."
        },
        "sourceNetwork": {
          "$ref": "#/$defs/AccessRuleDetailsContent",
          "description": "The source network."
        },
        "sourcePort": {
          "$ref": "#/$defs/AccessRuleDetailsContent",
          "description": "The source port."
        },
        "uid": {
          "description": "The unique identifier, represented as a UUID, of Access Rule in Security Cloud Control.",
          "format": "uuid",
          "type": "string"
        },
        "updatedDate": {
          "description": "The time (in UTC) at which Access Rule was updated, represented using the RFC-3339 standard.",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "accessGroupUid",
        "entityUid",
        "index",
        "uid"
      ],
      "type": "object"
    },
    "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"
    },
    "AccessRuleIssue": {
      "description": "Represents an access rule issue, including issue type and causes.",
      "properties": {
        "causes": {
          "description": "A list of the causes for the rule being marked with an issue.",
          "items": {
            "$ref": "#/$defs/Cause"
          },
          "type": "array"
        },
        "issueType": {
          "description": "Indicates if the rule has any known issue. For unknown issues, UNKNOWN value will be used.",
          "enum": [
            "SHADOWED",
            "SHARED",
            "DUPLICATE",
            "UNKNOWN"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "Cause": {
      "description": "Represents a specific cause for an access rule issue.",
      "properties": {
        "causeTypes": {
          "description": "A set of cause types for the issue.",
          "items": {
            "enum": [
              "SHADOWED_BY_NETWORK_ADDRESS",
              "SHADOWED_BY_PORT",
              "SHADOWED_BY_ICMP",
              "SHADOWED_BY_ACTION",
              "DUPLICATE_REMARK",
              "UNKNOWN"
            ],
            "type": "string"
          },
          "type": "array",
          "uniqueItems": true
        },
        "causingRule": {
          "description": "The rule that is causing the issue.",
          "type": "string"
        },
        "causingRuleIdx": {
          "description": "The index of the causing rule.",
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "LogSettings": {
      "properties": {
        "interval": {
          "description": "The interval",
          "format": "int32",
          "type": "integer"
        },
        "level": {
          "description": "The level",
          "type": "string"
        }
      },
      "required": [
        "level"
      ],
      "type": "object"
    }
  }
}