{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-xdr/json-schema/cisco-xdr-get-all-rules-paginated-response-schema.json",
  "title": "An GetAllRulesPaginatedResponse model.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-xdr-rules-api-openapi.yml#/components/schemas/GetAllRulesPaginatedResponse",
  "type": "object",
  "properties": {
    "_links": {
      "$ref": "#/$defs/PaginationLink"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GetAllRuleResponse"
      },
      "x-go-name": "Results"
    },
    "total_count": {
      "type": "integer",
      "format": "int32",
      "x-go-name": "TotalCount"
    }
  },
  "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models",
  "$defs": {
    "GetAllRuleResponse": {
      "title": "An GetAllRuleResponse model.",
      "type": "object",
      "properties": {
        "base_type": {
          "type": "string",
          "x-go-name": "BaseType"
        },
        "created_by": {
          "type": "string",
          "x-go-name": "CreatedBy"
        },
        "created_on": {
          "type": "string",
          "format": "date-time",
          "x-go-name": "CreatedOn"
        },
        "description": {
          "type": "string",
          "x-go-name": "Description"
        },
        "disabled": {
          "type": "boolean",
          "x-go-name": "Disabled"
        },
        "group_by_priority_order": {
          "type": "string",
          "x-go-name": "GroupByPriorityOrder"
        },
        "id": {
          "type": "string",
          "x-go-name": "RuleID"
        },
        "name": {
          "type": "string",
          "x-go-name": "Name"
        },
        "owner": {
          "type": "string",
          "x-go-name": "Owner"
        },
        "properties": {
          "type": "object",
          "additionalProperties": {
            "type": "object",
            "properties": {}
          },
          "x-go-name": "Properties"
        },
        "rule_type": {
          "$ref": "#/$defs/RuleType"
        },
        "schema_id": {
          "type": "string",
          "x-go-name": "ViewSchemaID"
        },
        "standalone": {
          "type": "string",
          "x-go-name": "Standalone"
        },
        "status": {
          "$ref": "#/$defs/RuleStatus"
        },
        "stop_subsequent_rules": {
          "type": "string",
          "x-go-name": "StopSubsequentRules"
        },
        "title": {
          "type": "string",
          "x-go-name": "Title"
        },
        "type": {
          "type": "string",
          "x-go-name": "Type"
        },
        "unique_name": {
          "type": "string",
          "x-go-name": "UniqueName"
        },
        "updated_by": {
          "type": "string",
          "x-go-name": "UpdatedBy"
        },
        "updated_on": {
          "type": "string",
          "format": "date-time",
          "x-go-name": "UpdatedOn"
        },
        "version": {
          "type": "string",
          "x-go-name": "Version"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/be-console/models"
    },
    "PaginationLink": {
      "type": "object",
      "properties": {
        "next": {
          "type": "string",
          "x-go-name": "Next"
        },
        "prev": {
          "type": "string",
          "x-go-name": "Prev"
        },
        "self": {
          "type": "string",
          "x-go-name": "Self"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/ao-libs/api/models"
    },
    "RuleStatus": {
      "title": "RuleStatus ...",
      "type": "object",
      "properties": {
        "details": {
          "$ref": "#/$defs/StatusDetails"
        },
        "error_msg": {
          "type": "string",
          "x-go-name": "ErrorMsg"
        },
        "prev_state": {
          "$ref": "#/$defs/State"
        },
        "state": {
          "$ref": "#/$defs/State"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "RuleType": {
      "title": "RuleType ...",
      "type": "string",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "State": {
      "type": "string",
      "description": "DefinitionState",
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    },
    "StatusDetails": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "x-go-name": "Code"
        },
        "description": {
          "type": "string",
          "x-go-name": "Description"
        },
        "message": {
          "type": "string",
          "x-go-name": "Message"
        }
      },
      "x-go-package": "bitbucket-eng-sjc1.cisco.com/bitbucket/nextg/lib-data/models"
    }
  }
}