{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iam-access-analyzer/json-schema/amazon-iam-access-analyzer-check-no-public-access-response-schema.json",
  "title": "CheckNoPublicAccessResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iam-access-analyzer-policy-api-openapi.yml#/components/schemas/CheckNoPublicAccessResponse",
  "type": "object",
  "properties": {
    "result": {
      "type": "string",
      "description": "The result of the check for public access to the specified resource type. If the result is PASS, the policy doesn't allow public access to the specified resource type. If the result is FAIL, the policy might allow public access to the specified resource type."
    },
    "message": {
      "type": "string",
      "description": "The message indicating whether the specified policy allows public access to resources."
    },
    "reasons": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReasonSummary"
      },
      "description": "A list of reasons why the specified resource policy grants public access for the resource type."
    }
  },
  "$defs": {
    "ReasonSummary": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string",
          "description": "A description of the reasoning of a result of checking for access."
        },
        "statementIndex": {
          "type": "integer",
          "description": "The index number of the reason statement."
        },
        "statementId": {
          "type": "string",
          "description": "The identifier for the reason statement."
        }
      }
    }
  }
}