{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/json-schema/amazon-macie-block-public-access-schema.json",
  "title": "BlockPublicAccess",
  "description": "Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account or bucket level. For detailed information about each setting, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html\">Blocking public access to your Amazon S3 storage</a> in the <i>Amazon Simple Storage Service User Guide</i>.",
  "type": "object",
  "properties": {
    "blockPublicAcls": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__boolean"
        },
        {
          "description": "Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket."
        }
      ]
    },
    "blockPublicPolicy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__boolean"
        },
        {
          "description": "Specifies whether Amazon S3 blocks public bucket policies for the bucket."
        }
      ]
    },
    "ignorePublicAcls": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__boolean"
        },
        {
          "description": "Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket."
        }
      ]
    },
    "restrictPublicBuckets": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__boolean"
        },
        {
          "description": "Specifies whether Amazon S3 restricts public bucket policies for the bucket."
        }
      ]
    }
  }
}