{
  "$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-response-schema.json",
  "title": "ValidateResourcePolicyResponse",
  "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/ValidateResourcePolicyResponse",
  "type": "object",
  "properties": {
    "PolicyValidationPassed": {
      "type": "boolean",
      "description": "True if your policy passes validation, otherwise false."
    },
    "ValidationErrors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ValidationErrorsEntry"
      },
      "description": "Validation errors if your policy didn't pass validation."
    }
  },
  "$defs": {
    "ValidationErrorsEntry": {
      "type": "object",
      "properties": {
        "CheckName": {
          "type": "string",
          "description": "Checks the name of the policy."
        },
        "ErrorMessage": {
          "type": "string",
          "description": "Displays error messages if validation encounters problems during validation of the resource policy."
        }
      }
    }
  }
}