Skip to content

Commit bc7efd3

Browse files
1797 allow local definition of asset type prop values (#1821)
* adjusted asset-type value * Apply suggestions from code review --------- Co-authored-by: A.J. Stein <[email protected]>
1 parent 2b848fa commit bc7efd3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/metaschema/oscal_component_metaschema.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
&allowed-values-responsible-roles-component-production;
178178
</allowed-values>
179179

180-
<allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='asset-type']/@value">
180+
<allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='asset-type']/@value" allow-other="yes">
181181
&allowed-values-property-name-asset-type-values;
182182
</allowed-values>
183183

src/metaschema/oscal_implementation-common_metaschema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
&allowed-values-responsible-roles-component-production;
121121
</allowed-values>
122122

123-
<allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='asset-type']/@value">
123+
<allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='asset-type']/@value" allow-other="yes">
124124
&allowed-values-property-name-asset-type-values;
125125
</allowed-values>
126126

@@ -579,7 +579,7 @@
579579
&allowed-values-component_inventory-item_property-name;
580580

581581
</allowed-values>
582-
<allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='asset-type']/@value">
582+
<allowed-values target="prop[has-oscal-namespace('http://csrc.nist.gov/ns/oscal') and @name='asset-type']/@value" allow-other="yes">
583583
&allowed-values-property-name-asset-type-values;
584584
</allowed-values>
585585

0 commit comments

Comments
 (0)