Defines the ReadFunction model, which is used to define a function that runs on a read access to an instance defined in the name property.
| Properties | Type | Description |
|---|---|---|
| _meta | Meta |
Metadata
See
Meta
for more information.
|
| _type |
|
|
| access◊ | CodeAbstract |
See
definitions.access in
CodeAbstract
for more information.
|
| condition | CodeAbstract |
See
definitions.condition in
CodeAbstract
for more information.
|
| name◊ | CodeAbstract |
See
definitions.name in
CodeAbstract
for more information.
|
|
||
|
||
{
"additionalProperties": false,
"info": [
"Defines the ReadFunction model, which is used to define a function that runs on a read access to an instance defined in the `name` property."
],
"type": "object",
"properties": {
"_meta": {
"$ref": "../Meta.json",
"info": [
"Metadata"
]
},
"_type": {
"enum": [
"Accessors.ReadFunction"
]
},
"access": {
"$ref": "CodeAbstract.json#/definitions/access"
},
"condition": {
"$ref": "CodeAbstract.json#/definitions/condition"
},
"name": {
"$ref": "CodeAbstract.json#/definitions/name"
}
},
"required": [
"access",
"name"
],
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ReadFunction"
}