Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
javascript
javascript
{
    "Costs": 3000.0,
    "AQ_JustificationTree": {
        "key": "AnnualAmount",
        "values": ["3000.0"],
        "justification": "A car that is over 60k has a high annual tax.",
        "used_values": [
            {
                "key": "ModelYear",
                "values": ["1993"],
                "justification": null
            },
            {
                "key": "Value",
                "values": ["7000.0"],
                "justification": null
            }
        ]
    }
}

Justification Tree during mapping

It might be the case that the attribute referenced by the parameters of the AQ_JustificationTree already has an attached value for the justification. This value can be set during mapping, if this was configured properly in the Configuration module. 

In this case, the 'assetFormat' property will be ignored.

Info

In the case where the justification was constructed during mapping, that value will have precedence over the value which is being constructed on the fly when the domain schema is composed. For more details on how to set the value of a Justification during mapping, please check Mapping Justification Trees for attribute values