Skip to content

Commit

Permalink
imported-relation relations for #1023.
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-stein-nist committed Aug 25, 2022
1 parent 6489d47 commit 923fa0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/metaschema/oscal_implementation-common_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
<!-- ========================================================================================================== -->
&allowed-values-component_component_link-rel;
<enum value="uses-network">This component uses the network provided by the identified network component.</enum>
<enum value="imported-from">Identifies the UUID or URI the <code>component-definition</code> that originally defined the <code>component</code>.</enum>
</allowed-values>

<allowed-values target="responsible-role/@role-id" allow-other="yes">
Expand Down
5 changes: 5 additions & 0 deletions src/metaschema/oscal_ssp_metaschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<!-- OSCAL Implementation Layer: System Security Plan (SSP) METASCHEMA -->
<!-- validate with XSD and Schematron (linked) -->
<!DOCTYPE METASCHEMA [
<!ENTITY allowed-values-component_component_link-rel SYSTEM "./shared-constraints/allowed-values-component_component_link-rel.ent">
<!ENTITY allowed-values-responsible-roles-system SYSTEM "./shared-constraints/allowed-values-responsible-roles-system.ent">
<!ENTITY allowed-values-responsible-roles-operations SYSTEM "./shared-constraints/allowed-values-responsible-roles-operations.ent">
<!ENTITY allowed-values-responsible-roles-component-production SYSTEM "./shared-constraints/allowed-values-responsible-roles-component-production.ent">
Expand Down Expand Up @@ -705,6 +706,10 @@
<field ref="remarks" in-xml="WITH_WRAPPER"/>
</model>
<constraint>
<allowed-values target="link/@rel" allow-other="yes">
&allowed-values-component_component_link-rel;
<enum value="imported-from">Identifies the UUID or URI the <code>component-definition</code> that originally defined the <code>component</code>.</enum>
</allowed-values>
<allowed-values target="prop/@name" allow-other="yes">
<enum value="control-origination">Identifies the source of the implemented control.</enum>
</allowed-values>
Expand Down

0 comments on commit 923fa0a

Please sign in to comment.