{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-xray/json-schema/amazon-xray-list-resource-policies-result-schema.json",
  "title": "ListResourcePoliciesResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-xray-listresourcepolicies-api-openapi.yml#/components/schemas/ListResourcePoliciesResult",
  "type": "object",
  "properties": {
    "ResourcePolicies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourcePolicy"
      },
      "description": "The list of resource policies in the target Amazon Web Services account."
    },
    "NextToken": {
      "type": "string",
      "description": "Pagination token. Not currently supported."
    }
  },
  "$defs": {
    "ResourcePolicy": {
      "type": "object",
      "properties": {
        "PolicyName": {
          "type": "string",
          "description": "The name of the resource policy. Must be unique within a specific Amazon Web Services account."
        },
        "PolicyDocument": {
          "type": "string",
          "description": "The resource policy document, which can be up to 5kb in size."
        },
        "PolicyRevisionId": {
          "type": "string",
          "description": "Returns the current policy revision id for this policy name."
        },
        "LastUpdatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the policy was last updated, in Unix time seconds."
        }
      }
    }
  }
}