Skip to content

Commit

Permalink
Add grouping construct to props for usnistgov#1064. (usnistgov#1412)
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-nist committed Sep 28, 2023
1 parent 5ddabf4 commit c376eeb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/metaschema/oscal_metadata_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
<key-field target="@name"/>
<key-field target="@ns"/>
<key-field target="@class"/>
<key-field target="@group"/>
<key-field target="@value"/>
</is-unique>
<index id="index-metadata-property-uuid" name="index-metadata-property-uuid" target=".//prop">
Expand Down Expand Up @@ -644,6 +645,13 @@
<p>A <code>class</code> can be used in validation rules to express extra constraints over named items of a specific <code>class</code> value.</p>
</remarks>
</define-flag>
<define-flag name="group" as-type="token">
<formal-name>Property Group</formal-name>
<description>An identifier for relating distinct sets of properties.</description>
<remarks>
<p>Different sets of properties may relate to separate contexts. Declare a group on a property to associate it with one or more other properties in a given context.</p>
</remarks>
</define-flag>
<model>
<field ref="remarks" in-xml="WITH_WRAPPER"/>
</model>
Expand Down

0 comments on commit c376eeb

Please sign in to comment.