This PR works on adding changes for allowing open content within schema and adds APIs to retrieve open content.
List of changes:
adds open_content() in IslType as well IslSchema to retrieve open content
adds load_isl_schema() that load a schema content as an internal ISL model which can be programmatically manipulated
adds related tests for open content
Note: IslSchema#open_content() only provides top level open content. For open content in type definition added IslType#open_content()
Test:
adds unit tests inside system and isl modules
allows test files from ion-schema-tests to verify open content is allowed
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #6
Description of changes:
This PR works on adding changes for allowing open content within schema and adds APIs to retrieve open content.
List of changes:
open_content()
inIslType
as wellIslSchema
to retrieve open contentload_isl_schema()
that load a schema content as an internal ISL model which can be programmatically manipulatedIslSchema#open_content()
only provides top level open content. For open content in type definition addedIslType#open_content()
Test:
system
andisl
modulesion-schema-tests
to verify open content is allowedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.