{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-get-resource-policies-response-schema.json",
  "title": "GetResourcePoliciesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-resource-policy-api-openapi.yml#/components/schemas/GetResourcePoliciesResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of items to return. Use this token to get the next set of results."
    },
    "Policies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GetResourcePoliciesResponseEntry"
      },
      "description": "An array of the Policy object."
    }
  },
  "$defs": {
    "GetResourcePoliciesResponseEntry": {
      "type": "object",
      "properties": {
        "PolicyId": {
          "type": "string",
          "description": "A policy ID."
        },
        "PolicyHash": {
          "type": "string",
          "description": "ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy."
        },
        "Policy": {
          "type": "string",
          "description": "A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems)."
        }
      }
    }
  }
}