{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2-auto-scaling/json-schema/amazon-ec2-auto-scaling-describe-scaling-plans-request-schema.json",
  "title": "DescribeScalingPlansRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-auto-scaling-scaling-plan-api-openapi.yml#/components/schemas/DescribeScalingPlansRequest",
  "type": "object",
  "properties": {
    "ScalingPlanNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The names of the scaling plans (up to 10). If you specify application sources, you cannot specify scaling plan names."
    },
    "ScalingPlanVersion": {
      "type": "integer",
      "description": "The version number of the scaling plan. Currently, the only valid value is 1. If you specify a scaling plan version, you must also specify a scaling plan name."
    },
    "ApplicationSources": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ApplicationSource"
      },
      "description": "The sources for the applications (up to 10). If you specify scaling plan names, you cannot specify application sources."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of scalable resources to return. This value can be between 1 and 50. The default value is 50."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of results."
    }
  },
  "$defs": {
    "ApplicationSource": {
      "type": "object",
      "properties": {
        "CloudFormationStackARN": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of a AWS CloudFormation stack."
        },
        "TagFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TagFilter"
          },
          "description": "A set of tags (up to 50)."
        }
      }
    },
    "TagFilter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The tag values (0 to 20)."
        }
      }
    }
  }
}