metaschema-framework / metaschema

Other
0 stars 4 forks source link

Support `message` syntax and semantics to all constraint types #34

Open aj-stein-gsa opened 1 month ago

aj-stein-gsa commented 1 month ago

User Story:

As a Metaschema-enabled software developer, I want more flexible reporting for a variety of constraints not just expect, so I would like the ability to add a message to the following types of constraints:

Goals:

Dependencies:

{Describe any previous issues or related work that must be completed to start or complete this issue.}

Acceptance Criteria

{The items above are general acceptance criteria for all User Stories. Please describe anything else that must be completed for this issue to be considered resolved.}

aj-stein-gsa commented 3 weeks ago

@david-waltermire I just wanted to point out there a pretty good example of how the most efficient way to calculate model deviations with constraints for a large set of document instances (yes, plural) in OSCAL came up and I would much rather do it that way with index-has-key. However, knowing the user base of the constraints the output messages are hard to customize for downstream users who are not well-read on the Metaschema models. Example output here.

https://github.com/GSA/fedramp-automation/pull/736#pullrequestreview-2395336713

Is this something we can discuss later today?

aj-stein-gsa commented 3 weeks ago

Met with the maintainers and discussed this issue. They are not opposed moving forward.