{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-opensearch/json-schema/amazon-opensearch-es-describe-packages-request-schema.json",
  "title": "EsDescribePackagesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-opensearch-packages-api-openapi.yml#/components/schemas/EsDescribePackagesRequest",
  "type": "object",
  "properties": {
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EsDescribePackagesFilter"
      },
      "description": "Only returns packages that match the DescribePackagesFilterList values."
    },
    "MaxResults": {
      "type": "integer",
      "description": "Limits results to a maximum number of packages."
    },
    "NextToken": {
      "type": "string",
      "description": "Used for pagination. Only necessary if a previous API call includes a non-null NextToken value. If provided, returns results for the next page."
    }
  },
  "$defs": {
    "EsDescribePackagesFilter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "enum": [
            "PackageID",
            "PackageName",
            "PackageStatus"
          ],
          "description": "Any field from PackageDetails."
        },
        "Value": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A non-empty list of values for the specified field."
        }
      }
    }
  }
}