Skip to content

accrualStatesDataItems Schema

txt
EMRALD_Model#/definitions/Variable/properties/accrualStatesData/items
AbstractExtensibleStatusIdentifiableCustom PropertiesAdditional PropertiesAccess RestrictionsDefined In
Can be instantiatedNoUnknown statusNoForbiddenForbiddennoneEMRALD_JsonSchemaV3_0.json*

items Type

object (accrualStatesDataItems)

items Properties

PropertyTypeRequiredNullableDefined by
stateNamestringRequiredcannot be nullEMRALD_Model
typestringRequiredcannot be nullEMRALD_Model
accrualMultnumberRequiredcannot be nullEMRALD_Model
multRatestringRequiredcannot be nullEMRALD_Model
accrualTablearrayRequiredcannot be nullEMRALD_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:

ValueExplanation
"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[][]