zio.blocks.schema.json.EvaluationResult
See theEvaluationResult companion object
final case class EvaluationResult(errors: List[Single], evaluatedProperties: Set[String], evaluatedItems: Set[Int])
Result of schema validation that tracks evaluated properties and items.
Per JSON Schema 2020-12, unevaluatedProperties and unevaluatedItems need to know which properties/items were evaluated by any applicator keyword in the schema tree.
Value parameters
- errors
-
Accumulated validation errors
- evaluatedItems
-
Set of array indices that were evaluated by applicator keywords
- evaluatedProperties
-
Set of property names that were evaluated by applicator keywords
Attributes
- Companion
- object
- Source
- JsonSchema.scala
- Graph
-
- Supertypes
Members list
In this article