Scalability · JSON Structure

Scalability Scaling Policy Structure

Hierarchical structure of a scaling policy used in event-driven and metric-based autoscaling systems.

Type: Properties: 0
Auto-ScalingCloud ComputingDevOpsDistributed SystemsElasticityHigh AvailabilityInfrastructureLoad BalancingPerformanceScalability

Scaling Policy is a JSON Structure definition published by Scalability.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "Scaling Policy",
  "description": "Hierarchical structure of a scaling policy used in event-driven and metric-based autoscaling systems.",
  "fields": [
    {
      "name": "name",
      "type": "string",
      "description": "Unique name for the scaling policy.",
      "required": true
    },
    {
      "name": "namespace",
      "type": "string",
      "description": "Namespace or resource group scope.",
      "required": false
    },
    {
      "name": "targetRef",
      "type": "object",
      "description": "The workload being scaled.",
      "required": true,
      "fields": [
        {"name": "apiVersion", "type": "string", "description": "API group and version.", "required": false},
        {"name": "kind", "type": "string", "description": "Resource kind (e.g., Deployment, StatefulSet).", "required": true},
        {"name": "name", "type": "string", "description": "Resource name.", "required": true}
      ]
    },
    {
      "name": "minReplicaCount",
      "type": "integer",
      "description": "Minimum replicas; 0 enables scale-to-zero.",
      "required": false,
      "default": 0
    },
    {
      "name": "maxReplicaCount",
      "type": "integer",
      "description": "Maximum replicas for scale-out ceiling.",
      "required": false,
      "default": 100
    },
    {
      "name": "pollingInterval",
      "type": "integer",
      "description": "Seconds between metric polls.",
      "required": false,
      "default": 30
    },
    {
      "name": "cooldownPeriod",
      "type": "integer",
      "description": "Seconds to wait before scaling down after trigger becomes inactive.",
      "required": false,
      "default": 300
    },
    {
      "name": "triggers",
      "type": "array",
      "description": "Scaling triggers driving autoscaling decisions.",
      "required": true,
      "items": {
        "type": "object",
        "fields": [
          {"name": "type", "type": "string", "description": "Trigger type (e.g., cpu, kafka, prometheus).", "required": true},
          {"name": "name", "type": "string", "description": "Optional trigger name.", "required": false},
          {"name": "threshold", "type": "number", "description": "Target metric value for scale-out.", "required": false},
          {"name": "metadata", "type": "object", "description": "Trigger-specific parameters.", "required": false},
          {"name": "authenticationRef", "type": "object", "description": "Reference to authentication credentials.", "required": false}
        ]
      }
    },
    {
      "name": "scalingBehavior",
      "type": "object",
      "description": "Controls scale-up and scale-down rate policies.",
      "required": false,
      "fields": [
        {
          "name": "scaleUp",
          "type": "object",
          "description": "Rules for scaling up.",
          "fields": [
            {"name": "stabilizationWindowSeconds", "type": "integer", "description": "Look-back window for scale-up decisions."},
            {"name": "policies", "type": "array", "description": "Rate policies (Pods or Percent per period)."},
            {"name": "selectPolicy", "type": "string", "description": "Max, Min, or Disabled."}
          ]
        },
        {
          "name": "scaleDown",
          "type": "object",
          "description": "Rules for scaling down.",
          "fields": [
            {"name": "stabilizationWindowSeconds", "type": "integer", "description": "Look-back window for scale-down decisions."},
            {"name": "policies", "type": "array", "description": "Rate policies (Pods or Percent per period)."},
            {"name": "selectPolicy", "type": "string", "description": "Max, Min, or Disabled."}
          ]
        }
      ]
    }
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/scalability-scaling-policy-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

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

Get an API key

Free tier, no email required.

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