Skip to content

Commit 3a75b0f

Browse files
committed
Add grouping construct to props for #1064. (#1412)
1 parent da9a707 commit 3a75b0f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/metaschema/oscal_metadata_metaschema.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<key-field target="@name"/>
6868
<key-field target="@ns"/>
6969
<key-field target="@class"/>
70+
<key-field target="@group"/>
7071
<key-field target="@value"/>
7172
</is-unique>
7273
<index id="index-metadata-property-uuid" name="index-metadata-property-uuid" target=".//prop">
@@ -644,6 +645,13 @@
644645
<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>
645646
</remarks>
646647
</define-flag>
648+
<define-flag name="group" as-type="token">
649+
<formal-name>Property Group</formal-name>
650+
<description>An identifier for relating distinct sets of properties.</description>
651+
<remarks>
652+
<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>
653+
</remarks>
654+
</define-flag>
647655
<model>
648656
<field ref="remarks" in-xml="WITH_WRAPPER"/>
649657
</model>

0 commit comments

Comments
 (0)