Releases: ro-pi/json-schema-evaluator
Releases · ro-pi/json-schema-evaluator
v0.4.3
v0.4.2
v0.4.1
v0.4.0
- BREAKING: Changed RuntimeEvaluationResult to distinguish between annotations and errors (see #1)
- Public property "type" added to RuntimeEvaluationResult, which can have the value "error" or "annotation"
- Failed applicator keywords now create RuntimeEvaluationResults with type "error" (Note: The "error" property would be empty in this case in order to be able to ignore these errors, as they are not as relevant or informative as the errors of sub-schemas)
- Renamed property "annotation", method setAnnotation() and method getAnnotation() of RuntimeEvaluationResult to "annotationValue", setAnnotationValue() and getAnnotationValue()
- Removed property "suppressAnnotation" of RuntimeEvaluationResult as no longer required
- Removed property "evaluationResult", method setAnnotationValue() and method getAnnotationValue() of RuntimeEvaluationResult as no longer required
- The keyword value is now passed to RuntimeEvaluationContext::createResultForKeyword() method (must be passed through to RuntimeEvaluationResult)
- The keyword value is now passed to RuntimeEvaluationResult::__construct() method (as additional information and for annotation default values in output units of output formats)
- BasicOutput now returns the proper structure, returns the annotations for succeeded validations and each output unit contains now the "type" property, which can have the value "annotation" or "error"