JSON Schema Validation for Policy Output
From the Technical Requirements document IDM.TSA.E1.00009
Optional policy configuration files may specify mandatory JSON schemas which must be part of the JSON output from a policy evaluation. The validation must check whether the schemas are present and must validate the JSON document with Strict validation. To execute the validation procedure, a new HTTP URL can be automatically generated. Example:
Evaluation URL pattern: /{repo}/policies/{group}/{policyname}/{version}/evaluation
Validation URL pattern: /{repo}/policies/{group}/{policyname}/{version}/validation
If the validation fails, the policy service might LOCK the policy for execution and log an error/warning in the logs.
Edited by Lyuben Penkovski