Skip to content

Align SRMDSICCore Schematron rules with updated Appendix A SRMD mapping - #2

Merged
pmai merged 3 commits into
mainfrom
copilot/enhance-mapping-srmd-appendix-a
May 22, 2026
Merged

pmai merged 3 commits into
mainfrom
copilot/enhance-mapping-srmd-appendix-a

Conversation

Copilot AI commented May 21, 2026

Copy link
Copy Markdown
Contributor

Appendix A introduced updated SRMD keywords, revised obligations, and composite-attribute sub-keys, but SRMDSICCore.xsd still enforced the previous mapping. This change aligns embedded Schematron validation and QuickFix behavior to the current appendix mapping.

  • Schema alignment to normative mapping

    • Replaced the Mandatory Attributes rule set with the current mandatory keyword list from Appendix A (including composite base keys now marked mandatory, e.g. administrative.simulation-task, execution.model, execution.parameters, execution.tool).
    • Replaced the Recommended Attributes rule set with the current recommended keyword list (including newly represented composite base/sub-attribute keys).
  • Keyword model update (allowlist)

    • Rebuilt allowed-keywords to match Appendix A exactly, including:
      • renamed keys (e.g. design.model, design.parameter, design.test-case)
      • new dot-separated composite sub-attributes (.version, .identifier, .url, .full-name)
      • removal of legacy/obsolete entries (e.g. fulfillment.credibility, old pluralized variants no longer used)
  • Rule-specific normalization

    • Updated confidentiality-enum validation scope to renamed keys:
      • implementation.test-case.confidentiality
      • requirements.test-case.confidentiality
<sch:assert test="stc:ClassificationEntry[@keyword='design.model']">
  Missing recommended Model Design Specification attribute.
</sch:assert>

<sch:assert test="stc:ClassificationEntry[@keyword='fulfillment.quality']">
  Missing recommended Quality Fulfilled attribute.
</sch:assert>

@pmai
pmai marked this pull request as ready for review May 21, 2026 06:58
@pmai
pmai merged commit 49beb40 into main May 22, 2026
4 checks passed
@pmai
pmai deleted the copilot/enhance-mapping-srmd-appendix-a branch May 22, 2026 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants