Rule

APIs.ioEngineeringPlatform

Properties

Name Type Description
action object
action_parameters object The parameters configuring the rule's action.
categories array The categories of the rule.
description string An informative description of the rule.
enabled object
expression string The expression defining which traffic will match the rule.
id object
last_updated string The timestamp of when the rule was last modified.
logging object An object configuring the rule's logging behavior.
ref string The reference of the rule (the rule ID by default).
version string The version of the rule.
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-rulesets-rule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/rulesets_Rule",
  "title": "Rule",
  "properties": {
    "action": {
      "$ref": "#/components/schemas/rulesets_RuleAction"
    },
    "action_parameters": {
      "description": "The parameters configuring the rule's action.",
      "title": "Action parameters",
      "type": "object"
    },
    "categories": {
      "description": "The categories of the rule.",
      "example": [
        "directory-traversal",
        "header"
      ],
      "items": {
        "$ref": "#/components/schemas/rulesets_RuleCategory"
      },
      "minItems": 1,
      "readOnly": true,
      "title": "Categories",
      "type": "array",
      "uniqueItems": true
    },
    "description": {
      "default": "",
      "description": "An informative description of the rule.",
      "title": "Description",
      "type": "string"
    },
    "enabled": {
      "allOf": [
        {
          "$ref": "#/components/schemas/rulesets_RuleEnabled"
        },
        {
          "default": true
        }
      ]
    },
    "expression": {
      "description": "The expression defining which traffic will match the rule.",
      "example": "ip.src ne 1.1.1.1",
      "minLength": 1,
      "title": "Expression",
      "type": "string"
    },
    "id": {
      "$ref": "#/components/schemas/rulesets_RuleId"
    },
    "last_updated": {
      "description": "The timestamp of when the rule was last modified.",
      "example": "2000-01-01T00:00:00.000000Z",
      "format": "date-time",
      "readOnly": true,
      "title": "Last updated",
      "type": "string"
    },
    "logging": {
      "description": "An object configuring the rule's logging behavior.",
      "properties": {
        "enabled": {
          "description": "Whether to generate a log when the rule matches.",
          "example": true,
          "title": "Enabled",
          "type": "boolean"
        }
      },
      "required": [
        "enabled"
      ],
      "title": "Logging",
      "type": "object"
    },
    "ref": {
      "description": "The reference of the rule (the rule ID by default).",
      "example": "my_ref",
      "minLength": 1,
      "title": "Ref",
      "type": "string"
    },
    "version": {
      "description": "The version of the rule.",
      "example": "1",
      "pattern": "^[0-9]+$",
      "readOnly": true,
      "title": "Version",
      "type": "string"
    }
  },
  "required": [
    "version",
    "last_updated"
  ],
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apis-io-engineering-platform-rulesets-rule"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.