A JsonTemplate that matches a JsonTuple.
This template matches a JsonTuple if and only if its inner JsonTemplates matches against the corresponding elements of the tuple. Being a tuple in fact a representation of a JSON Array, the JSON Schema specification allows matching JSON Arrays even if not all of its elements have a template to match against, but limits the matching abilities only to the first ones, the ones which corresponds to inner templates. This is reflected allowing "additional items" to be present, so allowing that this template can match even if the number of its inner JsonTemplates is not equal to the arity of the tuple, but it is inferior. A template with more inner templates than the tuple that is trying to match against will never match.
Attributes
- Companion
- object
- Graph
-
- Supertypes