Appearance
accrualStatesDataItems Schema
txt
EMRALD_Model#/definitions/Variable/properties/accrualStatesData/items
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | EMRALD_JsonSchemaV3_0.json* |
items Type
object
(accrualStatesDataItems)
items Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
stateName | string | Required | cannot be null | EMRALD_Model |
type | string | Required | cannot be null | EMRALD_Model |
accrualMult | number | Required | cannot be null | EMRALD_Model |
multRate | string | Required | cannot be null | EMRALD_Model |
accrualTable | array | Required | cannot be null | EMRALD_Model |
stateName
Reference name to the state contributiong to the accrual calculation.
stateName
is required
Type:
string
cannot be null
defined in: EMRALD_Model
stateName Type
string
type
Type of accrual for the specified state.
type
is required
Type:
string
cannot be null
defined in: EMRALD_Model
type Type
string
type Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"ctMultiplier" | |
"ctTable" |
accrualMult
Optional. If type is ctMultiplier then this is the multiplier value for every time increment, specified by the multRate, spent in the state.
accrualMult
is required
Type:
number
cannot be null
defined in: EMRALD_Model
accrualMult Type
number
multRate
This is the time rate for the accrualMult in calculating the value for the variable.
multRate
is required
Type:
string
cannot be null
defined in: EMRALD_Model
multRate Type
string
accrualTable
Optional. If the type is ctTable then this is the array of values used in calculating this states contribution to the variable value. Example for the first hour the accrual multiplier is 0.5, for the second hour the accrual multiplier is 0.1
accrualTable
is required
Type:
integer[][]
cannot be null
defined in: EMRALD_Model
accrualTable Type
integer[][]