Versions Compared

Key

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

This custom schema element represents a justification tree for the configured attribute. When you add this element to your domain schema, it looks like this:

image2018-8-17_14-26-3.pngImage RemovedImage Added

Parameters

The following parameters are available:

...

Code Block
javascript
javascript
{
    "Costs": 3000.0,
    "AQ_JustificationTreeV2": {
        "key": "Tax.AnnualAmount",
        "values": [
            {
                "type": "number",
                "value": 3000.0
            }
        ],
        "justification": [
            {
                "key": "AdditionalText",
                "value": "Additional Justification tax statement."
            },
            {
                "key": "Text",
                "value": "A car that is over 60k has a high annual tax."
            }
        ],
        "used_values": [
            {
                "key": "Car.ModelYear",
                "values": [
                    {
                        "type": "integer",
                        "value": 1993
                    }
                ],
                "justification": null
            },
            {
                "key": "Car.Value",
                "values": [
                    {
                        "type": "number",
                        "value": 70000.0
                    }
                ],
                "justification": null
            }
        ]
    }
}

Differences with AQ_JustificationTree

  • The V2 schema element will return typed values
  • The V2 schema element will include the name of the asset format and it will be able to return multiple justification texts for different purposes
  • In the V2 schema element, it is possible to configure that the technical name should be used