{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/danubedata-ro/json-schema/danubedata-ro-post-api-v1-storage-buckets-id-policy-folder-grants-request-schema.json",
  "title": "PostApiV1StorageBucketsIdPolicyFolderGrantsRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/danubedata-ro-openapi-generated.yml#/components/schemas/PostApiV1StorageBucketsIdPolicyFolderGrantsRequest",
  "type": "object",
  "properties": {
    "key_id": {
      "type": "string",
      "description": "The id of the access key"
    },
    "folder": {
      "type": "string",
      "description": "Folder to grant access to"
    },
    "whole_bucket": {
      "type": "boolean",
      "description": "Grant access to whole bucket"
    },
    "level": {
      "type": "string",
      "description": "Access level (read, readwrite, full)"
    }
  },
  "required": [
    "key_id",
    "level"
  ]
}