{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-get-resource-policies-output-schema.json",
  "title": "GetResourcePoliciesOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-getresourcepolicies-api-openapi.yml#/components/schemas/GetResourcePoliciesOutput",
  "type": "object",
  "properties": {
    "resourcePolicies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourcePolicy"
      },
      "description": "Details about the resource policy attached to the response plan."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token to use when requesting the next set of items. If there are no additional items to return, the string is null."
    }
  },
  "required": [
    "resourcePolicies"
  ],
  "$defs": {
    "ResourcePolicy": {
      "type": "object",
      "properties": {
        "policyDocument": {
          "type": "string",
          "description": "The JSON blob that describes the policy."
        },
        "policyId": {
          "type": "string",
          "description": "The ID of the resource policy."
        },
        "ramResourceShareRegion": {
          "type": "string",
          "description": "The Amazon Web Services Region that policy allows resources to be used in."
        }
      },
      "required": [
        "policyDocument",
        "policyId",
        "ramResourceShareRegion"
      ]
    }
  }
}