{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-secrets-manager/json-schema/amazon-secrets-manager-validate-resource-policy-request-schema.json",
  "title": "ValidateResourcePolicyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-secrets-manager-resource-policy-api-openapi.yml#/components/schemas/ValidateResourcePolicyRequest",
  "type": "object",
  "properties": {
    "SecretId": {
      "type": "string",
      "description": "The ARN or name of the secret with the resource-based policy you want to validate."
    },
    "ResourcePolicy": {
      "type": "string",
      "description": "A JSON-formatted string that contains an Amazon Web Services resource-based policy. The policy in the string identifies who can access or manage this secret and its versions. For example policies, see Permissions policy examples."
    }
  },
  "required": [
    "ResourcePolicy"
  ]
}