RuleSchema#

class langchain_community.tools.ainetwork.owner.RuleSchema[source]#

Bases: BaseModel

Schema for owner operations.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

param address: str | List[str] | None = None#

A single address or a list of addresses

param branch_owner: bool | None = False#

Authority to initialize owner of sub-paths

param path: str [Required]#

Blockchain reference path

param type: OperationType [Required]#
param write_function: bool | None = False#

Authority to set function for the path

param write_owner: bool | None = False#

Authority to edit the owner property of the path

param write_rule: bool | None = False#

Authority to edit write rule for the path