{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shade-inc/json-schema/shade-inc-put-workspaces-drives-driveid-public-file-shares-shareid-request-schema.json",
  "title": "PutWorkspacesDrivesDriveidPublicFileSharesShareidRequest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/shade-inc-openapi-generated.yml#/components/schemas/PutWorkspacesDrivesDriveidPublicFileSharesShareidRequest",
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "Path to the file or folder"
    },
    "name": {
      "type": "string",
      "description": "Name for the share link"
    },
    "is_public_enabled": {
      "type": "string",
      "description": "Whether the link is active"
    },
    "allowed_actions": {
      "type": "string",
      "description": "Array of actions (e.g., read, comment, download)"
    },
    "expiration_date": {
      "type": "string",
      "description": "ISO 8601 date when the link expires"
    },
    "password": {
      "type": "string",
      "description": "Password required to view the link"
    },
    "max_view_count": {
      "type": "string",
      "description": "Maximum number of unique viewers"
    },
    "removed_password": {
      "type": "string",
      "description": "Set true to remove an existing password"
    }
  },
  "required": [
    "path",
    "is_public_enabled",
    "allowed_actions"
  ]
}