{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3/json-schema/amazon-s3-put-access-point-scope-request-schema.json",
  "title": "PutAccessPointScopeRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-scope-api-openapi.yml#/components/schemas/PutAccessPointScopeRequest",
  "type": "object",
  "properties": {
    "AccountId": {
      "type": "string",
      "description": "The Amazon Web Services account ID that owns the access point with scope that you want to create or replace."
    },
    "Name": {
      "type": "string",
      "description": "The name of the access point with the scope that you want to create or replace."
    },
    "Scope": {
      "$ref": "#/$defs/Scope"
    }
  },
  "required": [
    "AccountId",
    "Name",
    "Scope"
  ],
  "$defs": {
    "Scope": {
      "type": "object",
      "properties": {
        "Prefixes": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 256 bytes in size."
        },
        "Permissions": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "GetObject",
              "GetObjectAttributes",
              "ListMultipartUploadParts",
              "ListBucket",
              "ListBucketMultipartUploads",
              "PutObject",
              "DeleteObject",
              "AbortMultipartUpload"
            ]
          },
          "description": "You can include one or more API operations as permissions."
        }
      }
    }
  }
}