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 if the input data cannot be parsed to form a valid model.

param address: List[str] | 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