Open aj-stein-gsa opened 1 month 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?
Met with the maintainers and discussed this issue. They are not opposed moving forward.
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 amessage
to the following types of constraints:Goals:
message
in the identified constraintsallowed-values
has-cardinality
index
index-has-key
is-unique
matches
expect
message
usage, if applicableDependencies:
{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.}