metanorma / oscal-ruby

Gem for accessing/writing OSCAL content
BSD 2-Clause "Simplified" License
5 stars 3 forks source link

Utilize OSCAL "metaschema" for parsing OSCAL #18

Open ronaldtse opened 1 year ago

ronaldtse commented 1 year ago

The OSCAL data structures are versioned according to a "metaschema". Once we have this, it means that we can support 1.0, 1.0.1, 1.0.4 etc versions in the same gem.

We will need to reimplement the internals of the current gem because we need to generate the classes depending on the metaschema XML.

Let's first do the Catalog metaschema:

The other metaschemas can be found at:

ronaldtse commented 7 months ago

Maybe we can bridge this using the Shale gem? @HassanAkbar

HassanAkbar commented 7 months ago

@ronaldtse Sure, will look into it after finalizing stepmod-utils issues.

RS-Credentive commented 3 months ago

Hey, I am working on this with a couple of others (for python) here: https://github.com/Credentive-Sec/metaschema-python

I have some design notes and there are weekly calls with the metaschema team to talk about the challenges and discuss ideas. Let me know if you're interested in joining. The more the merrier!

ronaldtse commented 4 weeks ago

Instead of the Shale gem we are looking at our own lutaml-model gem which has superseded Shale.