Closed desaikd closed 2 years ago
Issue #9 #10
Description of changes: This PR works on adding implementation of element constraint.
element
Grammar:
<ELEMENT> ::= element: <TYPE_REFERENCE>
Ion Schema specification: https://amzn.github.io/ion-schema/docs/spec.html#element
List of changes:
Elemnt
IslConstraint
Constraint
ElementConstraint
ViolationCode::ElementMismatched
Tests: added unit tests for element implementation.
Issue #9 #10
Description of changes: This PR works on adding implementation of
element
constraint.Grammar:
Ion Schema specification: https://amzn.github.io/ion-schema/docs/spec.html#element
List of changes:
Elemnt
enum variants forIslConstraint
andConstraint
ElementConstraint
implementationsViolationCode::ElementMismatched
enum variantTests: added unit tests for
element
implementation.element
constraintelement
constraintelement
constraint