{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-verified-permissions/json-schema/amazon-verified-permissions-list-policy-templates-output-schema.json",
  "title": "ListPolicyTemplatesOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-verified-permissions-listpolicytemplates-api-openapi.yml#/components/schemas/ListPolicyTemplatesOutput",
  "type": "object",
  "properties": {
    "nextToken": {
      "type": "string",
      "description": "If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results."
    },
    "policyTemplates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PolicyTemplateItem"
      },
      "description": "The list of the policy templates in the specified policy store."
    }
  },
  "required": [
    "policyTemplates"
  ],
  "$defs": {
    "PolicyTemplateItem": {
      "type": "object",
      "properties": {
        "policyStoreId": {
          "type": "string",
          "description": "The unique identifier of the policy store that contains the template."
        },
        "policyTemplateId": {
          "type": "string",
          "description": "The unique identifier of the policy template."
        },
        "description": {
          "type": "string",
          "description": "The description attached to the policy template."
        },
        "createdDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the policy template was created."
        },
        "lastUpdatedDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date and time that the policy template was most recently updated."
        },
        "name": {
          "type": "string",
          "description": "The name of the policy template, if one was assigned when the policy template was created or last updated."
        }
      },
      "required": [
        "policyStoreId",
        "policyTemplateId",
        "createdDate",
        "lastUpdatedDate"
      ]
    }
  }
}