AARCHMRS Schema 2.7.4

↚ Home

Accessors.WriteFunction object

Defines the WriteFunction model, which is used to define a function that runs on a write access to an instance defined in the name property.

object

Properties Type Description
_meta Meta

Metadata

See Meta for more information.
_type
Enum
Accessors.WriteFunction
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.
Additional Properties
Not Allowed
◊ Required
Properties marked with ◊ are required properties.

Schema http://json-schema.org/draft-04/schema#

{
  "additionalProperties": false,
  "info": [
    "Defines the WriteFunction model, which is used to define a function that runs on a write access to an instance defined in the `name` property."
  ],
  "type": "object",
  "properties": {
    "_meta": {
      "$ref": "../Meta.json",
      "info": [
        "Metadata"
      ]
    },
    "_type": {
      "enum": [
        "Accessors.WriteFunction"
      ]
    },
    "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": "WriteFunction"
}