Closed desaikd closed 1 year ago
This PR works on adding a variably occurring type reference implementation which will be used by the schema model.
<VARIABLY_OCCURRING_TYPE_ARGUMENT> ::= { <OCCURS>, <CONSTRAINT>... } | <TYPE_ARGUMENT> <OCCURS> ::= occurs: <INT> | occurs: <RANGE_INT> | occurs: optional | occurs: required
https://amazon-ion.github.io/ion-schema/docs/isl-2-0/spec#variably-occurring-type-arguments
IslVariablyOccurringTypeRef
VariablyOccurringTypeRef
TypeId
ordered_elements
fields
IslTypeRef
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #157:
Description of changes:
This PR works on adding a variably occurring type reference implementation which will be used by the schema model.
Grammar:
Ion Schema Specification:
https://amazon-ion.github.io/ion-schema/docs/isl-2-0/spec#variably-occurring-type-arguments
List of changes:
IslVariablyOccurringTypeRef
in isl module.IslVariablyOccurringTypeRef
toVariablyOccurringTypeRef
which contains resolvedTypeId
.ordered_elements
andfields
constraints takes inIslVariablyOccurringTypeRef
instead of previousIslTypeRef
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.