Skip to content

Commit

Permalink
More fixed metapaths in keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire committed Aug 23, 2021
1 parent f47b867 commit 700b138
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/metaschema/oscal_implementation-common_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@
<key-field target="@role-id"></key-field>
</index-has-key>
<index-has-key name="index-metadata-party-uuid" target="responsible-party">
<key-field target="@party-uuid"></key-field>
<key-field target="party-uuid"></key-field>
</index-has-key>
<is-unique id="unique-inventory-item-responsible-party" target="responsible-party">
<key-field target="@role-id"/>
Expand Down
4 changes: 2 additions & 2 deletions src/metaschema/oscal_metadata_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
<key-field target="@class"/>
<key-field target="@value"/>
</is-unique>
<index id="index-metadata-property-id" name="index-metadata-property-id" target=".//prop">
<key-field target="@id"/>
<index id="index-metadata-property-uuid" name="index-metadata-property-uuid" target=".//prop">
<key-field target="@uuid"/>
</index>
<is-unique id="unique-metadata-link" target="link">
<key-field target="@href"/>
Expand Down
4 changes: 2 additions & 2 deletions src/metaschema/oscal_ssp_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -727,10 +727,10 @@
&allowed-values-responsible-roles-operations;
</allowed-values>
<index-has-key name="index-metadata-role-id" target="responsible-role|statement/responsible-role|.//by-component//responsible-role">
<key-field target="@role-id"></key-field>
<key-field target="@role-id"/>
</index-has-key>
<index-has-key name="index-metadata-party-uuid" target="responsible-role|statement/responsible-role|.//by-component//responsible-role">
<key-field target="@party-uuid"></key-field>
<key-field target="party-uuid"/>
</index-has-key>
<has-cardinality target=".//by-component" min-occurs="1">
<remarks>
Expand Down

0 comments on commit 700b138

Please sign in to comment.