{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-organizations/json-schema/amazon-organizations-put-resource-policy-response-schema.json",
  "title": "PutResourcePolicyResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-organizations-resource-policy-api-openapi.yml#/components/schemas/PutResourcePolicyResponse",
  "type": "object",
  "properties": {
    "ResourcePolicy": {
      "$ref": "#/$defs/ResourcePolicy"
    }
  },
  "$defs": {
    "ResourcePolicy": {
      "type": "object",
      "properties": {
        "ResourcePolicySummary": {
          "$ref": "#/$defs/ResourcePolicySummary"
        },
        "Content": {
          "type": "string",
          "description": "The policy text of the resource policy."
        }
      }
    },
    "ResourcePolicySummary": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The unique identifier (ID) of the resource policy."
        },
        "Arn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the resource policy."
        }
      }
    }
  }
}