You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.png

Parameters

The following parameters are available:

Parameter nameRequiredDefault valueDescription
entityNameyesn/aThe name of the entity
attributeNameyesn/aThe name of the attribute within the entity for which the justification tree should be created
assetFormatno'Text'The asset format that should be returned for the justification tree justification texts

Example

A Justification Tree in a response of a BaaRS could look like this:

{
    "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
            }
        ]
    }
}
  • No labels