PlaceOS::Driver::DriverModel::Metadata
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
arity(function_name : String | Symbol)
Sourcefunctions=(functions : Hash(String, Hash(String, Array(JSON::Any))) | Nil)
Sourceinterface=(interface : Hash(String, Hash(String, JSON::Any)) | Nil)
Functions available on module, map of function name to args
requirements=(requirements : Hash(String, Array(String)))
Module requirements, map of module name to required interfaces
security=(security : Hash(String, Array(String)))
Function access control, map of access level to function names
settings=(settings : NamedTuple(type: String, properties: Hash(String, JSON::Any) | Nil, required: Array(String) | Nil) | Nil)
JSON Schema derived from the settings used in the driver