{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-inspector/json-schema/amazon-inspector-list-assessment-templates-request-schema.json",
  "title": "ListAssessmentTemplatesRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-inspector-assessment-template-api-openapi.yml#/components/schemas/ListAssessmentTemplatesRequest",
  "type": "object",
  "properties": {
    "assessmentTargetArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of ARNs that specifies the assessment targets whose assessment templates you want to list."
    },
    "filter": {
      "$ref": "#/$defs/AssessmentTemplateFilter"
    },
    "nextToken": {
      "type": "string",
      "description": "You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListAssessmentTemplates action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data."
    },
    "maxResults": {
      "type": "integer",
      "description": "You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500."
    }
  },
  "$defs": {
    "AssessmentTemplateFilter": {
      "type": "object",
      "properties": {
        "namePattern": {
          "type": "string",
          "description": "For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTemplateName property of the AssessmentTemplate data type."
        },
        "durationRange": {
          "$ref": "#/$defs/DurationRange"
        },
        "rulesPackageArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type."
        }
      }
    },
    "DurationRange": {
      "type": "object",
      "properties": {
        "minSeconds": {
          "type": "integer",
          "description": "The minimum value of the duration range. Must be greater than zero."
        },
        "maxSeconds": {
          "type": "integer",
          "description": "The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week)."
        }
      }
    }
  }
}